Re: x11/fbpanel: pkg fallout at 10.x
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 20.12.2013 10:58, Baptiste Daroussin пишет: On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: Hi All! The last week I started to get pkg-fallout@ emails about x11/fbpanel error: - cc panel.o misc.o plugin.o gtkbar.o bg.o gtkbgbox.o ev.o run.o xconf.o gconf.o gconf_panel.o gconf_plugins.o -o fbpanel -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [fbpanel] Error 1 - Full log is here: http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-12-19_20h45m51s/logs/fbpanel-6.1_4.log However I can not reproduce it myself: http://gw.wart.ru/bulk/10-i386-testing/2013-12-19_21h02m40s/logs/fluxbox-1.3.5.log http://gw.wart.ru/bulk/10-amd64-testing/2013-12-19_21h01m49s/logs/fluxbox-1.3.5.log Any help is appreciated. Thanks. That is probably a gtk2 upgrade fallout. gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does not recursively get the DT_NEEDED from libraries it linked binaries to. Meaning in that case something exposes a X function to fbpanel, but does not tell it is needs to link to X11 /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value LDFLAGS+= -lX11 should solve this. I've seen some similar commit at the portstree. The problem is: I can't reproduce the errors (hence can't test a fix). The strange thing is that my test and pkg-fallout@ use different environments: === pkg-fallout === - ---Begin OPTIONS List--- === The following configuration options are available for fbpanel-6.1_4: DOCS=on: Build and/or install documentation === Use 'make config' to modify these settings - ---End OPTIONS List--- - --CONFIGURE_ARGS-- - --prefix=/usr/local - --End CONFIGURE_ARGS-- === === my poudriere test === - ---Begin OPTIONS List--- === The following configuration options are available for fluxbox-1.3.5: DEBUG=off: Install debug symbols DOCHTML=off: Install html documentation DOCS=on: Build and/or install documentation GNOME=off: GNOME desktop environment support IMLIB2=off: Imlib 2 image library support NLS=on: Native Language Support PDFDOCS=off: Build and install PDF documentation REMEMBER=on: Enable remember feature SLIT=on: Enable slit feature SYSTRAY=on: Enable systray feature TOOLBAR=on: Enable toolbar feature XINERAMA=off: X11 Xinerama extension support XRENDER=on: Enable xrender support === Use 'make config' to modify these settings - ---End OPTIONS List--- - --CONFIGURE_ARGS-- - --disable-imlib2 --enable-xinerama --enable-nls --enable-remember - --enable-slit --enable-systray --enable-toolbar --enable-xrender - --enable-gnome --x-libraries=/usr/local/lib - --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} - --End CONFIGURE_ARGS-- == Seems that pkg-fallout does not know anything about port options and their default values. My poudriere test uses default options. While pkg-fallout just use the DOCS option. - -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJStEwsAAoJEJYOILA6P20oWUkP/R9oAGPCupUMLLPUwxlPPXLq awBJO2iLNfYUlyW37wj8hAidMyCQpit0T4jcuj+f897Y/I7P2He33s7Z3d/gvzF+ M9E8XXHIRFbJYmeT9HDuPCVaOGBEVrHAHfQ4PBZw0zkhnhyjElMZsv0f8RlnQHFt EU+PsCUl33LabTpD7by3eVpM/whULSjedpmQEuqDsDn7pCBEGPH5f3Oige1h2VSH 5/Xy/3Iw/M5u5kn8Y83l0j3GmfJVQjNhfwrrqMPJFA5n4d29sMMdcaisiN5QYuNs kA9EPYt6IdOEv3NqW1G4lyIP5Pk6ijBgYcL0EVf7wy4bOaJ6Mk5W2XSKhV17qiPP P5Yrsao9qocErT02IPe/O4aW7hDVUeUzr50/rhRP/FzDeE0s7OLOrF/1uf1RST19 BMil5IO1LFeWsbfols/b12lOK+d/8T2am3uaEzKWm/JPH7dlyFQjh5kUsOmwgLY3 ty0QvgqvMHKUwE2tXlQJzhh1aAkerPENTX0sxfO/SChohMPJVE61nxNbZTaQL0Hn orm81c6quWWNpp+7CMGbe0PdSWxKXSkvQrKhJO6pY9B7QIKSwEvGZfVhJ3VEhmub LLICpttC2vSjEh6T8T3MS60/xB6Syrp7phdW9qvWnSZImo+RLulxu4OfQdCkJHAY UjpA3YRXX6XT9RUn2nMI =WWeA -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list
Re: x11/fbpanel: pkg fallout at 10.x
On 12/20/2013 14:54, Boris Samorodov wrote: 20.12.2013 10:58, Baptiste Daroussin пишет: On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does not recursively get the DT_NEEDED from libraries it linked binaries to. Meaning in that case something exposes a X function to fbpanel, but does not tell it is needs to link to X11 /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value LDFLAGS+= -lX11 should solve this. I've seen some similar commit at the portstree. The problem is: I can't reproduce the errors (hence can't test a fix). I've recently seen dozens of similar, new errors on dports/dragonfly. It's definitely a pkgconf issue and it just appeared. I haven't tracked it done yet, but adding LDFLAGS+= to every broken port is not ideal. It's better to figure out which .pc file is broken and fix that. John ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: x11/fbpanel: pkg fallout at 10.x
20.12.2013 18:00, John Marino пишет: It's better to figure out which .pc file is broken and fix that. I believe it's what kwm@ is working on. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: x11/fbpanel: pkg fallout at 10.x
On 20-12-2013 15:00, John Marino wrote: On 12/20/2013 14:54, Boris Samorodov wrote: 20.12.2013 10:58, Baptiste Daroussin пишет: On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does not recursively get the DT_NEEDED from libraries it linked binaries to. Meaning in that case something exposes a X function to fbpanel, but does not tell it is needs to link to X11 /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value LDFLAGS+= -lX11 should solve this. I've seen some similar commit at the portstree. The problem is: I can't reproduce the errors (hence can't test a fix). I've recently seen dozens of similar, new errors on dports/dragonfly. It's definitely a pkgconf issue and it just appeared. I haven't tracked it done yet, but adding LDFLAGS+= to every broken port is not ideal. It's better to figure out which .pc file is broken and fix that. John Should be fixed now, I restored the old behaviour. --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: x11/fbpanel: pkg fallout at 10.x
21.12.2013 01:20, Koop Mast пишет: On 20-12-2013 15:00, John Marino wrote: On 12/20/2013 14:54, Boris Samorodov wrote: 20.12.2013 10:58, Baptiste Daroussin пишет: On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does not recursively get the DT_NEEDED from libraries it linked binaries to. Meaning in that case something exposes a X function to fbpanel, but does not tell it is needs to link to X11 /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value LDFLAGS+= -lX11 should solve this. I've seen some similar commit at the portstree. The problem is: I can't reproduce the errors (hence can't test a fix). I've recently seen dozens of similar, new errors on dports/dragonfly. It's definitely a pkgconf issue and it just appeared. I haven't tracked it done yet, but adding LDFLAGS+= to every broken port is not ideal. It's better to figure out which .pc file is broken and fix that. Should be fixed now, I restored the old behaviour. Thank you! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: x11/fbpanel: pkg fallout at 10.x
On 12/20/2013 22:20, Koop Mast wrote: On 20-12-2013 15:00, John Marino wrote: On 12/20/2013 14:54, Boris Samorodov wrote: 20.12.2013 10:58, Baptiste Daroussin пишет: On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does not recursively get the DT_NEEDED from libraries it linked binaries to. Meaning in that case something exposes a X function to fbpanel, but does not tell it is needs to link to X11 /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value LDFLAGS+= -lX11 should solve this. I've seen some similar commit at the portstree. The problem is: I can't reproduce the errors (hence can't test a fix). I've recently seen dozens of similar, new errors on dports/dragonfly. It's definitely a pkgconf issue and it just appeared. I haven't tracked it done yet, but adding LDFLAGS+= to every broken port is not ideal. It's better to figure out which .pc file is broken and fix that. John Should be fixed now, I restored the old behaviour. Hmm, I fixed it differently. I waited until now until the partial bulk build completed, which confirmed the fix worked. The attached Makefile.DragonFly has been present for months, but the diff to the Makefile is what was missing which caused a bad .pc file generation. After adding the one line to the makefile and in addition to the changes in Makefile.DragonFly, all the broken ports built. John --- Makefile.orig 2013-12-20 16:29:25.910469000 + +++ Makefile @@ -61,6 +61,7 @@ post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${GREP} -l lgmodule | \ ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \ + -e 's|GTK_PACKAGES pangoft2|GTK_PACKAGES x11 pangoft2|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|@LN_S@|${LN} -sf|' ${WRKSRC}/gtk/Makefile.in @${REINPLACE_CMD} -e 's|file,cups|file,cups,lpr|' \ USE_XORG+= pixman LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 LIB_DEPENDS+= fontconfig:${PORTSDIR}/x11-fonts/fontconfig LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo LIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
x11/fbpanel: pkg fallout at 10.x
Hi All! The last week I started to get pkg-fallout@ emails about x11/fbpanel error: - cc panel.o misc.o plugin.o gtkbar.o bg.o gtkbgbox.o ev.o run.o xconf.o gconf.o gconf_panel.o gconf_plugins.o -o fbpanel -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [fbpanel] Error 1 - Full log is here: http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-12-19_20h45m51s/logs/fbpanel-6.1_4.log However I can not reproduce it myself: http://gw.wart.ru/bulk/10-i386-testing/2013-12-19_21h02m40s/logs/fluxbox-1.3.5.log http://gw.wart.ru/bulk/10-amd64-testing/2013-12-19_21h01m49s/logs/fluxbox-1.3.5.log Any help is appreciated. Thanks. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: x11/fbpanel: pkg fallout at 10.x
On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: Hi All! The last week I started to get pkg-fallout@ emails about x11/fbpanel error: - cc panel.o misc.o plugin.o gtkbar.o bg.o gtkbgbox.o ev.o run.o xconf.o gconf.o gconf_panel.o gconf_plugins.o -o fbpanel -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [fbpanel] Error 1 - Full log is here: http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-12-19_20h45m51s/logs/fbpanel-6.1_4.log However I can not reproduce it myself: http://gw.wart.ru/bulk/10-i386-testing/2013-12-19_21h02m40s/logs/fluxbox-1.3.5.log http://gw.wart.ru/bulk/10-amd64-testing/2013-12-19_21h01m49s/logs/fluxbox-1.3.5.log Any help is appreciated. Thanks. That is probably a gtk2 upgrade fallout. gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does not recursively get the DT_NEEDED from libraries it linked binaries to. Meaning in that case something exposes a X function to fbpanel, but does not tell it is needs to link to X11 /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value LDFLAGS+= -lX11 should solve this. regards, Bapt pgpzujELtEw9N.pgp Description: PGP signature
Re: x11/fbpanel: pkg fallout at 10.x
On 20-12-2013 7:58, Baptiste Daroussin wrote: On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: Hi All! The last week I started to get pkg-fallout@ emails about x11/fbpanel error: - cc panel.o misc.o plugin.o gtkbar.o bg.o gtkbgbox.o ev.o run.o xconf.o gconf.o gconf_panel.o gconf_plugins.o -o fbpanel -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [fbpanel] Error 1 - Full log is here: http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-12-19_20h45m51s/logs/fbpanel-6.1_4.log However I can not reproduce it myself: http://gw.wart.ru/bulk/10-i386-testing/2013-12-19_21h02m40s/logs/fluxbox-1.3.5.log http://gw.wart.ru/bulk/10-amd64-testing/2013-12-19_21h01m49s/logs/fluxbox-1.3.5.log Any help is appreciated. Thanks. That is probably a gtk2 upgrade fallout. gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does not recursively get the DT_NEEDED from libraries it linked binaries to. Meaning in that case something exposes a X function to fbpanel, but does not tell it is needs to link to X11 /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition //usr/local/lib/libX11.so.6: could not read symbols: Bad value LDFLAGS+= -lX11 should solve this. regards, Bapt Yeah this is my fault, will fix. --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org