On Mon, Dec 23, 2019 at 11:47:46PM +0100, Marc Espie wrote: > On Mon, Dec 23, 2019 at 01:22:05PM -0700, c...@openbsd.org wrote: > > Bulk build on macppc-1.ports.openbsd.org > > > > Critical path missing pkgs: > > http://build-failures.rhaalovely.net/powerpc/2019-12-08/summary.log > Lots of stuff because of x11/gnome/libgweather
> Failure: > g-ir-scanner: link: cc -pthread -o > /usr/obj/ports/libgweather-3.34.0/build-powerpc/tmp-introspecty_ix5pqn/GWeather-3.0 > -O2 -pipe > /usr/obj/ports/libgweather-3.34.0/build-powerpc/tmp-introspecty_ix5pqn/GWeather-3.0.o > -L. -Wl,-rpath,. -Wl,--no-as-needed > -L/usr/obj/ports/libgweather-3.34.0/build-powerpc/libgweather > -Wl,-rpath,/usr/obj/ports/libgweather-3.34.0/build-powerpc/libgweather > -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib > -Wl,-rpath,/usr/local/lib -lgweather-3 -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 > -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 > -lgobject-2.0 -lglib-2.0 -lintl -lsoup-2.4 -lxml2 -lgeocode-glib > -L/usr/local/lib -Wl,--export-dynamic -pthread -lgio-2.0 -lgobject-2.0 > -lgmodule-2.0 -lglib-2.0 -lintl > /usr/bin/ld: warning: libpixman-1.so.38.4, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libfontconfig.so.13.0, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libfreetype.so.30.0, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libxcb-shm.so.1.1, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libxcb.so.4.0, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libxcb-render.so.1.1, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libXrender.so.6.0, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libX11.so.17.0, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libXext.so.13.0, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libXinerama.so.6.0, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libXi.so.12.1, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libXrandr.so.7.1, needed by > /usr/local/lib/libgtk-3.so.2201.0, not found (try using -rpath or -rpath-link) > ... > looks like binutils really wants -L/usr/X11R6/lib in there. > (link line is the same on amd64, but it links) Exact same failures I was mentioning on sparc64. Making this change fixed a bunch of GNOME ports. may want something more generic because it is happening on KDE stuff and then ports that are neither. --Kurt Index: gnome.port.mk =================================================================== RCS file: /cvs/ports/x11/gnome/gnome.port.mk,v retrieving revision 1.115 diff -u -r1.115 gnome.port.mk --- gnome.port.mk 1 Dec 2018 13:04:41 -0000 1.115 +++ gnome.port.mk 7 Dec 2019 19:27:53 -0000 @@ -147,7 +147,8 @@ # If a port needs extra CPPFLAGS, they can just set MODGNOME_CPPFLAGS # to the desired value, like -I${X11BASE}/include _MODGNOME_cppflags ?= CPPFLAGS="${MODGNOME_CPPFLAGS} -I${LOCALBASE}/include" -_MODGNOME_ldflags ?= LDFLAGS="${MODGNOME_LDFLAGS} -L${LOCALBASE}/lib" +_MODGNOME_ldflags ?= LDFLAGS="${MODGNOME_LDFLAGS} -L${LOCALBASE}/lib \ + -L${X11BASE}/lib" .if ${CONFIGURE_STYLE:Mgnu} || ${CONFIGURE_STYLE:Msimple} || \ ${CONFIGURE_STYLE:Mcmake} || ${CONFIGURE_STYLE:Mmeson}