Created attachment 180035 [details] complete poudriere log configure: error: "Pango 1.2.0 or greater based on Xft2 is required" ===> Script "configure" failed unexpectedly. Please report the problem to gnome@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/x11-wm/marco/work/marco-1.12.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/x11-wm/marco ====>> Cleaning up wrkdir I am attaching the complete poudriere log.
This prevents from building x11/mate, which is especially annoying.
Created attachment 180051 [details] configure log
Please check output of: pkg-config --atleast-version 1.2.0 pangoxft ; echo $? command on a build box. If pangoxft is not found, check if file /usr/local/libdata/pkgconfig/pangoxft.pc is installed (as part of pango port).
(In reply to Anton Yuzhaninov from comment #3) Dear Anton, I have found the cause of the problem. I have "OPTIONS_UNSET= X11" globally in make.conf, so pango was being built without X11 support. When I explicitly configured OPTIONS_FILE_SET+=X11 for x11-toolkits/pango, the problem went away. It's up to you to decide if it is a correct behavior for x11-wm/marco to fail like that when X11 is unset in make.conf. or it should handle the situation more gracefully. Thank you for your time!
(In reply to vas from comment #4) I think it is one more example of generic problem in FreeBSD ports infrastructure: there is no way to specify that port X depend on port Y with options OPT1, OPT2, e.t.c. In this case port x11-wm/marco depends on port x11-toolkits/pango with X11=on option. This problem is discussed from time to time in maillists, but no solution has been offered yet. BTW Gentoo portage has support for dependencies with given USE flags, e. g.: app-misc/foo[-bar,baz] - dependency on foo with bar disabled and baz enabled. > It's up to you to decide if it is a correct behavior for x11-wm/marco to fail > like that when X11 is unset in make.conf. or it should handle the situation > more gracefully. I think we should wait for comment from gnome maintainers (I'm not the one). IMHO this behavior is not correct, but unfortunately, there is no easy way to fix.
(In reply to Anton Yuzhaninov from comment #5) Anton, thank you for a great explanation. I wonder, if in Gentoo one package depends on app-misc/foo[-bar] and another on app-misc/foo[+bar], how do they handle it? Build two variants of the app-misc/foo package?
(In reply to vas from comment #6) I don't remember exactly, but probably such packages can't be installed together and emerge tool will show message about conflict.
(In reply to Anton Yuzhaninov from comment #7) I see. Now I consider creating two separate sets in my poudriere: one for servers and another for desktops.
Do understand right, this is solved? So please, close the PR.
(In reply to w.schwarzenfeld from comment #9) As far as I understand, until there are major improvements in the FreeBSD ports infrastructure, we can do nothing about it, so let's close the PR.
As far as I understand, until there are major improvements in the FreeBSD ports infrastructure, we can do nothing about it, so let's close the PR.