Any thoughts on the following issue? In an attempt to pinpoint the exact trigger of the fink make failures under the system perl, I have tried the following experiment in the past. Starting with a failing build (in this case the InfoTest of libcurl4) with fink make installed, I executed 'ps -le | grep perl' repeatedly to capture the failing process. In this case it was...
0 88998 67914 4106 0 31 0 2464884 3120 - S+ 0 ttys001 0:00.01 sudo -u fink-bld env CCACHE_DIR=/sw/var/ccache CFLAGS=-Os CPPFLAGS=-I/sw/include GDK_USE_XFT=1 HOME=/tmp/fink-build-HOME.05Kvd0IuiP INFOPATH=/sw/share/info:/sw/info:/usr/share/info LDFLAGS=-Wl,-dead_strip_dylibs -L/sw/lib MACOSX_DEPLOYMENT_TARGET=10.11 MAKEFLAGS=-j8 MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:/sw/lib/perl5/5.18.2/man PATH=/sw/var/lib/fink/path-prefix-libcxx:/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/X11/bin PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin PWD=/sw/src/fink.build/libcurl4-7.45.0-1 R_HOME=/sw/Library/Frameworks/R.framework/Versions/3.2/Resources SGML_CATALOG_FILES=/sw/etc/sgml/catalog SHLVL=2 TERM=xterm-256color XDG_CACHE_HOME=/tmp/fink-build-HOME.05Kvd0IuiP/.cache XDG_CONFIG_DIRS=/sw/etc/xdg XDG_CONFIG_HOME=/tmp/fink-build-HOME.05Kvd0IuiP/.config XDG_DATA_DIRS=/sw/share XDG_DATA_HOME=/tmp/fink-build-HOME.05Kvd0IuiP/.local/share XDG_RUNTIME_DIR=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/ XML_CATALOG_FILES=/sw/etc/xml/catalog ac_cv_path_INTLTOOL_PERL=/usr/bin/perl __CFPREFERENCES_AVOID_DAEMON=1 sh -c /tmp/fink.LHZn9 where /tmp/fink.LHZn9 contains... #!/usr/bin/perl use Fink::Services qw(execute); { local $/; $script = <DATA>; } exit &execute($script); __DATA__ #!/bin/bash -ev #These tests fail if you use OpenDNS or your ISP sucks #and uses wildcard dns lookups. echo '20' >>tests/data/DISABLED echo '237' >>tests/data/DISABLED echo '507' >>tests/data/DISABLED echo '530' >>tests/data/DISABLED echo '534' >>tests/data/DISABLED echo '584' >>tests/data/DISABLED #This test fails when run as root. echo '1001' >>tests/data/DISABLED echo '1112' >>tests/data/DISABLED #This test seems to hang. echo '283' >>tests/data/DISABLED echo '525' >>tests/data/DISABLED echo '554' >>tests/data/DISABLED echo '587' >>tests/data/DISABLED echo '906' >>tests/data/DISABLED echo '1006' >>tests/data/DISABLED echo '1007' >>tests/data/DISABLED echo '1086' >>tests/data/DISABLED echo '1099' >>tests/data/DISABLED echo '1316' >>tests/data/DISABLED echo '2002' >>tests/data/DISABLED echo '2003' >>tests/data/DISABLED echo '310' >>tests/data/DISABLED echo '311' >>tests/data/DISABLED echo '312' >>tests/data/DISABLED echo '313' >>tests/data/DISABLED # These tests don't work with darwinssl. echo '305' >>tests/data/DISABLED echo '404' >>tests/data/DISABLED echo '1801' >>tests/data/DISABLED echo '1901' >>tests/data/DISABLED echo '1902' >>tests/data/DISABLED #The SSH tests will also be skipped as root but this isn't fatal. #Build and run the tests. Disable use of valgrind because it takes a LONG time. make test-full TEST_F="-a -p -r -n" || exit 2 However, if I execute... cd /sw/src/fink.build/libcurl4-7.45.0-1/curl-7.45.0 sudo -u fink-bld env CCACHE_DIR=/sw/var/ccache CFLAGS=-Os CPPFLAGS=-I/sw/include GDK_USE_XFT=1 HOME=/tmp/fink-build-HOME.05Kvd0IuiP INFOPATH=/sw/share/info:/sw/info:/usr/share/info LDFLAGS="-Wl,-dead_strip_dylibs -L/sw/lib" MACOSX_DEPLOYMENT_TARGET=10.11 MAKEFLAGS=-j8 MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:/sw/lib/perl5/5.18.2/man PATH=/sw/var/lib/fink/path-prefix-libcxx:/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/X11/bin PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin PWD=/sw/src/fink.build/libcurl4-7.45.0-1 R_HOME=/sw/Library/Frameworks/R.framework/Versions/3.2/Resources SGML_CATALOG_FILES=/sw/etc/sgml/catalog SHLVL=2 TERM=xterm-256color XDG_CACHE_HOME=/tmp/fink-build-HOME.05Kvd0IuiP/.cache XDG_CONFIG_DIRS=/sw/etc/xdg XDG_CONFIG_HOME=/tmp/fink-build-HOME.05Kvd0IuiP/.config XDG_DATA_DIRS=/sw/share XDG_DATA_HOME=/tmp/fink-build-HOME.05Kvd0IuiP/.local/share XDG_RUNTIME_DIR=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/ XML_CATALOG_FILES=/sw/etc/xml/catalog ac_cv_path_INTLTOOL_PERL=/usr/bin/perl __CFPREFERENCES_AVOID_DAEMON=1 sh -c /tmp/fink.LHZn9 the InfoTest failure isn't triggered. I think we have to walk this back another layer or so such that the command above is issued from a system() call in perl (and perhaps even called from another instance of perl). If we can walk this back in the fink build enough levels to reproduce the failure in this fashion, we can then reduce it then to craft a sensible reproducer allowing a radar and a FSF make bug report. Jack
------------------------------------------------------------------------------
_______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel