Poudriere errors encountered gathering ports metadata

Miroslav Lachman 000.fbsd at quip.cz
Wed Jan 10 14:14:10 UTC 2018


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


More information about the freebsd-ports mailing list