Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 15:13:54 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-ports@freebsd.org
Subject:   Re: Poudriere errors encountered gathering ports metadata
Message-ID:  <5A561FA2.4040505@quip.cz>
In-Reply-To: <5A54D8A2.3070506@quip.cz>
References:  <5A54D8A2.3070506@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Miroslav Lachman wrote on 2018/01/09 15:58:
> I am trying to rebuild ports for my PC-BSD based desktop computer.
>
> Options went fine:
>     poudriere options -z pcbsd -p pcbsd-head -f
> /usr/local/etc/poudriere.d/pkglists/pcbsd
>
> But when I run bulk I always get this error
>
>     poudriere bulk -vv -j 10_4_amd64 -z pcbsd -p pcbsd-head -f
> /usr/local/etc/poudriere.d/pkglists/pcbsd
>
> [00:00:06] Error: Fatal errors encountered gathering ports metadata
>
> For example:
>
> [00:00:06] x11-toolkits/gtk30 depends on x11/libXinerama
> [00:00:06] x11-toolkits/gtk30 depends on x11/libXrandr
> [00:00:06] x11-toolkits/gtk30 depends on x11/libXrender
> [00:00:06] Warning: (x11-toolkits/gtk30): [00:00:06] Debug:
> gather_port_vars_port (x11-toolkits/gtk30): Adding to depqueue
> [00:00:06] Error: Fatal errors encountered gathering ports metadata
> [00:00:06] Cleaning up
> 10_4_amd64-pcbsd-head-pcbsd: removed
> 10_4_amd64-pcbsd-head-pcbsd-n: removed
> [00:00:06] Unmounting file systems
>
> If I remove x11-toolkits/gtk30 from the ports list then I got this error
> for another one.
>
> What this error means and how can I debug it?

It was caused by some local port with dependency on port which no longer 
exists so i fixed this port and bulk build went fine.

But the question remains - how can I find which port causes this error? 
I tried to remove ports from list until bulk went fine but it is really 
slow and painful way if you are building 1500 ports for desktop machines.

Why poudriere does not print name of the port with error?

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A561FA2.4040505>