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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to