While trying to setup a new ~x86 setup, I got the following build error: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_GNUC_VISIBILITY -DG_LOG_DOMAIN=\"xfconfd\" -DLIBXFCONF_COMPILATION -DBINDIR=\"/usr/bin\" -DLOCALEDIR=\"/usr/share/locale\" -I.. -I../common -I.. -I../common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pg -O3 -march=native -pipe -fomit-frame-pointer -c -o xfconfd-xfconf-backend.o `test -f 'xfconf-backend.c' || echo './'`xfconf-backend.c i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible make[3]: *** [xfconfd-main.o] Error 1 make[3]: *** Waiting for unfinished jobs.... It seems the ebuild is not working as desired for the profile USE flag. I don't have that flag enabled: # emerge -pv xfconf These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] xfce-base/xfconf-4.6.1 USE="perl -debug -profile" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB # grep CFLAGS /etc/make.conf CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" I fixed the problem by taking the profile lines out of the ebuild. I'll attach that ebuild shortly. Reproducible: Always
Created attachment 199951 [details] ebuild This is just a workaround to get xfconf to build. It does not address the bug as profiling support is completely removed.
The ebuild contains: use profile && filter-flags -fomit-frame-pointer. Maybe it should be: if use profile; then filter-flags -fomit-frame-pointer else filter-flags -pg fi or something like that.
No. This was already fixed silently in Portage few hours ago. Please sync.