Created attachment 147884 [details] patch The attached patch updates devel/libtool and devel/libltdl to version 2.4.2.418. It also adds patches to devel/libtool such that /usr/local/bin/libtool uses the same library version scheme as USES=libtool. These patches will be submitted upstream. All ports with USES=libtool:build have been adjusted where necessary (plist changes). For the purpose of the exp-run, /usr/local/bin/libtool has been modified to exit with a failure unless USES=libtool:build has been set. This is meant to expose ports that have a hidden dependency on devel/libtool. These ports may also need plist changes.
Auto-assigned to maintainer autotools@FreeBSD.org
Take for exp-run
Hi, libtool fails to build: http://package22.nyi.freebsd.org/data/10amd64-default-PR194068/2014-10-02_05h36m39s/logs/errors/libtool-2.4.2.418.log
Created attachment 147902 [details] patch2 Fix devel/libtool by restoring more time stamps in post-patch
Created attachment 147916 [details] patch3 - Let devel/libtool depend on devel/m4 for libtoolize - Fix devel/boehm-gc by removing USE_AUTOTOOLS - Fix net-mgmt/nagios-plugins and net-mgmt/monitoring-plugins by removing USES=autoreconf This patch requires a full exp-run again, so you can abort the current one.
I discovered another problem with libtoolize so please wait for patch4.
Created attachment 147920 [details] patch4 Add upstream patch so libtoolize no longer removes install-sh
A commit references this bug: Author: tijl Date: Fri Oct 3 12:05:45 UTC 2014 New revision: 369885 URL: https://svnweb.freebsd.org/changeset/ports/369885 Log: Remove some unneeded patches and other bits so USES=autoreconf can be removed (avoids a problem with upcoming devel/libtool update) PR: 194068 Changes: head/databases/py-sqlrelay/Makefile head/databases/sqlrelay/Makefile head/databases/sqlrelay/Makefile.common head/databases/sqlrelay/files/patch-acsite.m4 head/databases/sqlrelay/files/patch-config.mk.in head/databases/sqlrelay/files/patch-configure.in head/databases/sqlrelay/pkg-plist
A commit references this bug: Author: tijl Date: Fri Oct 3 12:41:34 UTC 2014 New revision: 369891 URL: https://svnweb.freebsd.org/changeset/ports/369891 Log: Remove some unneeded patches, patch configure and Makefile.in instead of configure.ac and Makefile.am so USES=autoreconf can be removed (avoids a problem with upcoming devel/libtool update) PR: 194068 Changes: head/net-mgmt/nagios-plugins/Makefile head/net-mgmt/nagios-plugins/files/patch-configure head/net-mgmt/nagios-plugins/files/patch-configure.ac head/net-mgmt/nagios-plugins/files/patch-gl__m4__extensions.m4 head/net-mgmt/nagios-plugins/files/patch-plugins__Makefile.am
A commit references this bug: Author: tijl Date: Fri Oct 3 12:42:44 UTC 2014 New revision: 369893 URL: https://svnweb.freebsd.org/changeset/ports/369893 Log: Remove some unneeded patches, patch configure and Makefile.in instead of configure.ac and Makefile.am so USES=autoreconf can be removed (avoids a problem with upcoming devel/libtool update) PR: 194068 Changes: head/net-mgmt/monitoring-plugins/Makefile head/net-mgmt/monitoring-plugins/files/patch-configure head/net-mgmt/monitoring-plugins/files/patch-configure.ac head/net-mgmt/monitoring-plugins/files/patch-gl__m4__extensions.m4 head/net-mgmt/monitoring-plugins/files/patch-plugins__Makefile.am
Exp-run results: http://package22.nyi.freebsd.org/build.html?mastername=10amd64-default-PR194068&build=2014-10-02_18h01m11s New failures: + {"origin"=>"benchmarks/sysbench", "pkgname"=>"sysbench-0.4.12_3", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"databases/sqlrelay", "pkgname"=>"sqlrelay-0.56", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"devel/liblangtag", "pkgname"=>"liblangtag-0.5.4", "phase"=>"configure", "errortype"=>"configure_error"} + {"origin"=>"dns/ldns", "pkgname"=>"ldns-1.6.17_2", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"emulators/tme", "pkgname"=>"tme-0.8_5", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"games/gnubg", "pkgname"=>"gnubg-1.03.001_2", "phase"=>"configure", "errortype"=>"???"} + {"origin"=>"graphics/mozjpeg", "pkgname"=>"mozjpeg-2.1_1", "phase"=>"stage", "errortype"=>"???"} + {"origin"=>"irc/hexchat", "pkgname"=>"hexchat-2.10.1", "phase"=>"configure", "errortype"=>"???"} + {"origin"=>"multimedia/transcode", "pkgname"=>"transcode-1.1.7_16", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"net-mgmt/collectd5", "pkgname"=>"collectd5-5.4.1_12", "phase"=>"configure", "errortype"=>"???"} + {"origin"=>"net/ntop", "pkgname"=>"ntop-5.0.1_8", "phase"=>"configure", "errortype"=>"???"} + {"origin"=>"net/xrdp", "pkgname"=>"xrdp-0.6.1_4,1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"net/xrdp-devel", "pkgname"=>"xrdp-devel-0.7.0.b20130912_3,1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"sysutils/clsync", "pkgname"=>"clsync-0.4.r2_1", "phase"=>"configure", "errortype"=>"???"} + {"origin"=>"sysutils/tlsdate", "pkgname"=>"tlsdate-0.0.7", "phase"=>"configure", "errortype"=>"???"} + {"origin"=>"sysutils/torque", "pkgname"=>"torque-2.5.13,1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"www/mod_rivet", "pkgname"=>"mod_rivet-2.2.0", "phase"=>"configure", "errortype"=>"???"} + {"origin"=>"x11/roxterm", "pkgname"=>"roxterm-2.9.4", "phase"=>"build", "errortype"=>"assumes_gcc"}
Created attachment 147948 [details] patch5 - Fix all build errors above. Many fixes have already been committed so this patch requires at least r369938. - Another fix for libtoolize (remove umask 0 so it doesn't create world writeable files with --ltdl option) - Adjust USES=libtool for the new libtool version Requires full exp-run.
this new version seems to have some problem fetching sometimes: http://package18.nyi.freebsd.org/data/91amd64-default-PR190676/2014-10-03_23h53m02s/logs/errors/libltdl-2.4.2.418.log
hmm actually something seems wrong for libltdl MASTER_SITE_SUBDIR= libtool may be missing?
Created attachment 147959 [details] patch6 Fix MASTER_SITES in devel/libtool/Makefile.common
There is 1 new failure on freebsd 9.1: http://package18.nyi.freebsd.org/data/91amd64-default-PR190676/2014-10-04_06h17m50s/logs/errors/boinc-client-7.2.33_5.log
A commit references this bug: Author: tijl Date: Sun Oct 5 09:57:17 UTC 2014 New revision: 370048 URL: https://svnweb.freebsd.org/changeset/ports/370048 Log: - Convert to USES=autoreconf - Use CXX compiler for OBJCXX so libtool recognises it. On FreeBSD 8 and 9 configure would set OBJCXX to g++ while CXX was c++. - Add NLS option - Add missing Xorg dependencies to MANAGER option - Combine post-extract, post-patch and post-configure into post-patch PR: 194068 Changes: head/net/boinc-client/Makefile
Created attachment 147991 [details] patch7 Patch rebased against r370051. No other changes.
Ok, this looks good to commit (with the LTTRAP part removed)
A commit references this bug: Author: tijl Date: Sun Oct 5 18:01:33 UTC 2014 New revision: 370099 URL: https://svnweb.freebsd.org/changeset/ports/370099 Log: - Update devel/libtool and devel/libltdl to version 2.4.2.418 - Patch libtool so it uses the same library version specification as on Darwin, Linux and other systems. Given the version current:revision:age a library will be given the extension .so.major.age.revision with major equal to current-age. Before libtool would use .so.current on FreeBSD. - Patch libtoolize to remove two cases of umask 0 that caused libltdl files to be copied world writable (--ltdl option) - Let USES=libtool patch this new version correctly - Adjust all ports with USES=libtool:build and bump PORTREVISION on their dependent ports if a library version changed PR: 194068 Exp-run by: antoine Approved by: portmgr (antoine) Changes: head/Mk/Uses/libtool.mk head/archivers/tardy/Makefile head/audio/libnoise/Makefile head/audio/libnoise/pkg-plist head/devel/bglibs/Makefile head/devel/bglibs/pkg-plist head/devel/cdialog/Makefile head/devel/cdialog/pkg-plist head/devel/fhist/Makefile head/devel/libdsp/Makefile head/devel/libdsp/pkg-plist head/devel/libexplain/Makefile head/devel/libexplain/pkg-plist head/devel/libltdl/Makefile head/devel/libltdl/pkg-plist head/devel/libmaa/Makefile head/devel/libtool/Makefile head/devel/libtool/Makefile.common head/devel/libtool/distinfo head/devel/libtool/files/patch-build-aux_ltmain.sh head/devel/libtool/files/patch-configure head/devel/libtool/files/patch-libltdl-Makefile.in head/devel/libtool/files/patch-libltdl_config_ltmain.sh head/devel/libtool/files/patch-libtoolize.in head/devel/libtool/files/patch-m4_libtool.m4 head/devel/libtool/pkg-plist head/devel/srecord/Makefile head/devel/srecord/pkg-plist head/devel/xparam/Makefile head/devel/xparam/pkg-plist head/dns/dnsutl/Makefile head/ftp/twoftpd/Makefile head/graphics/gexiv2/Makefile head/graphics/gexiv2/pkg-plist head/lang/gforth/Makefile head/lang/gforth/pkg-plist head/lang/oo2c/Makefile head/lang/oo2c/pkg-plist head/mail/mailfront/Makefile head/mail/qmail-autoresponder/Makefile head/mail/qmail-qfilter/Makefile head/math/libtommath/Makefile head/security/cvm/Makefile head/security/cvm/pkg-plist head/security/libtomcrypt/Makefile head/security/libtomcrypt/pkg-plist head/sysutils/ucspi-proxy/Makefile head/sysutils/vii/Makefile head/x11-toolkits/xmhtml/Makefile head/x11-toolkits/xmhtml/pkg-plist