From unknown Thu Jun 19 12:38:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11306 <11306@debbugs.gnu.org> To: bug#11306 <11306@debbugs.gnu.org> Subject: Status: Automake 1.11d on MacOS X Reply-To: bug#11306 <11306@debbugs.gnu.org> Date: Thu, 19 Jun 2025 19:38:40 +0000 retitle 11306 Automake 1.11d on MacOS X reassign 11306 automake submitter 11306 Bruno Haible severity 11306 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 21 14:12:53 2012 Received: (at submit) by debbugs.gnu.org; 21 Apr 2012 18:12:53 +0000 Received: from localhost ([127.0.0.1]:45996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLeng-0006qt-7l for submit@debbugs.gnu.org; Sat, 21 Apr 2012 14:12:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33287) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLenY-0006qc-Vh for submit@debbugs.gnu.org; Sat, 21 Apr 2012 14:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLemr-00055V-TY for submit@debbugs.gnu.org; Sat, 21 Apr 2012 14:12:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLemr-00055L-Pn for submit@debbugs.gnu.org; Sat, 21 Apr 2012 14:11:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeml-0002IT-QS for bug-automake@gnu.org; Sat, 21 Apr 2012 14:11:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLemf-00052U-HE for bug-automake@gnu.org; Sat, 21 Apr 2012 14:11:51 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.161]:58608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLemf-00052J-76 for bug-automake@gnu.org; Sat, 21 Apr 2012 14:11:45 -0400 X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvY44zMkpA== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-070-142.pools.arcor-ip.net [88.68.70.142]) by smtp.strato.de (jored mo22) (RZmta 28.11 DYNA|AUTH) with ESMTPA id R06ad4o3LFaCHw ; Sat, 21 Apr 2012 20:11:40 +0200 (CEST) From: Bruno Haible To: bug-automake@gnu.org Bcc: bruno@haible.de Subject: Automake 1.11d on MacOS X Date: Sat, 21 Apr 2012 20:13:52 +0200 Message-ID: <1667626.n4KvquVPuK@linuix> User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <4F8EF87C.4040201@gmail.com> References: <4F8EF87C.4040201@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > The beta release "1.11d" of Automake is now available at > . On MacOS X 10.5, with Autoconf 2.65: 6 tests fail. FAIL: t/lex-libobj.sh FAIL: t/parallel-am.sh FAIL: t/parallel-am2.sh FAIL: t/parallel-am3.sh FAIL: t/tap-summary-color.sh FAIL: t/werror3.sh Details: $ m4 --version m4 (GNU M4) 1.4.13 $ gm4 --version GNU M4 1.4.6 FAIL: t/lex-libobj ================== Running from installcheck: no Using TAP: no PATH = /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/ax:/Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/wrap:.:/Users/bruno/data/local-macos/bin:/opt/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin ++ pwd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/lex-libobj.dir + cat + cat + cat + cat + aclocal-1.11d -Werror + autoconf + automake-1.11d --foreign -Werror -Wall -a configure.ac: installing './ylwrap' + ./configure checking for a BSD-compatible install... /Users/bruno/data/local-macos/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /Users/bruno/data/local-macos/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for ranlib... ranlib checking for flex... lex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for yywrap... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + grep LIBOBJS Makefile foo_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LIBOBJS) LIBOBJS = LTLIBOBJS = foo_LDADD = $(LEXLIB) $(LIBOBJS) + make /bin/sh ./ylwrap foo.l lex.yy.c foo.c -- lex cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"lex-libobj\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-libobj\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -DHAVE_YYWRAP=1 -I. -Wall -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.c foo.c:1033: warning: 'yyunput' defined but not used mv -f .deps/foo.Tpo .deps/foo.Po cc -g -O2 -o foo foo.o -lfl + make distclean test -z "foo" || rm -f foo rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f cscope.out cscope.in.out cscope.po.out cscope.files rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -rf .deps ./.deps rm -f Makefile + ./configure 'LEXLIB=-L /lib' checking for a BSD-compatible install... /Users/bruno/data/local-macos/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /Users/bruno/data/local-macos/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for ranlib... ranlib checking for flex... lex checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for yywrap... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + grep LIBOBJS Makefile foo_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LIBOBJS) LIBOBJS = ${LIBOBJDIR}yywrap$U.o LTLIBOBJS = ${LIBOBJDIR}yywrap$U.lo foo_LDADD = $(LEXLIB) $(LIBOBJS) + grep '^LIBOBJS *=.*yywrap.*\.o' Makefile LIBOBJS = ${LIBOBJDIR}yywrap$U.o + make cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"lex-libobj\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-libobj\" -DVERSION=\"1.0\" -I. -Wall -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.c foo.c:1033: warning: 'yyunput' defined but not used mv -f .deps/foo.Tpo .deps/foo.Po cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"lex-libobj\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-libobj\" -DVERSION=\"1.0\" -I. -Wall -g -O2 -MT yywrap.o -MD -MP -MF .deps/yywrap.Tpo -c -o yywrap.o yywrap.c mv -f .deps/yywrap.Tpo .deps/yywrap.Po cc -g -O2 -o foo foo.o -L /lib yywrap.o ld: file not found: /lib collect2: ld returned 1 exit status make: *** [foo] Error 1 + exit_status=2 + set +e + cd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d + test no = yes + case $am_explicit_skips in + test 2 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x lex-libobj: exit 2 On this machine, /usr/bin/lex is a shell script that invokes /usr/bin/flex. There is a /usr/lib/libfl.a. Everything looks right up until the line ./configure 'LEXLIB=-L /lib' I don't know how _adding_ a -L option to a compiler/linker command is meant to hide a library that is installed in /usr/lib ?? FAIL: t/parallel-am =================== Running from installcheck: no Using TAP: no PATH = /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/ax:/Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/wrap:.:/Users/bruno/data/local-macos/bin:/opt/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin ++ pwd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/parallel-am.dir + cat + cat + list='1 2 3 4 5 6 7 8 9' + for i in '$list' + echo 'AC_CONFIG_FILES([sub1/Makefile])' + echo 'SUBDIRS += sub1' + mkdir sub1 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub2/Makefile])' + echo 'SUBDIRS += sub2' + mkdir sub2 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub3/Makefile])' + echo 'SUBDIRS += sub3' + mkdir sub3 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub4/Makefile])' + echo 'SUBDIRS += sub4' + mkdir sub4 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub5/Makefile])' + echo 'SUBDIRS += sub5' + mkdir sub5 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub6/Makefile])' + echo 'SUBDIRS += sub6' + mkdir sub6 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub7/Makefile])' + echo 'SUBDIRS += sub7' + mkdir sub7 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub8/Makefile])' + echo 'SUBDIRS += sub8' + mkdir sub8 + echo + for i in '$list' + echo 'AC_CONFIG_FILES([sub9/Makefile])' + echo 'SUBDIRS += sub9' + mkdir sub9 + echo + echo 'include foo.am' + echo 'include bar.am' + echo 'python_PYTHON = foo.py' + echo 'lisp_LISP = foo.el' + echo 'bin_PROGRAMS = p' + rm -f install-sh missing depcomp + mkdir build-aux + aclocal-1.11d -Werror + unset AUTOMAKE_JOBS + AUTOMAKE_run --add-missing + am__desc= + am__exp_rc=0 + test 1 -gt 0 + case $1 in + break + am__got_rc=0 + automake-1.11d --foreign -Werror -Wall --add-missing + cat stderr configure.ac:3: installing 'build-aux/install-sh' configure.ac:3: installing 'build-aux/missing' sub7/bar.am:1: installing 'build-aux/py-compile' sub7/Makefile.am:2: 'sub7/foo.am' included from here sub7/foo.am:1: 'sub7/bar.am' included from here sub8/Makefile.am:2: installing 'build-aux/elisp-comp' sub9/Makefile.am: installing 'build-aux/depcomp' + cat stdout + test no '!=' yes + test 0 -eq 0 + return + mv stderr expected ++ find . -name Makefile.in + Makefile_ins='./Makefile.in ./sub1/Makefile.in ./sub2/Makefile.in ./sub3/Makefile.in ./sub4/Makefile.in ./sub5/Makefile.in ./sub6/Makefile.in ./sub7/Makefile.in ./sub8/Makefile.in ./sub9/Makefile.in' + for file in '$Makefile_ins' + mv ./Makefile.in ./Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub1/Makefile.in ./sub1/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub2/Makefile.in ./sub2/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub3/Makefile.in ./sub3/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub4/Makefile.in ./sub4/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub5/Makefile.in ./sub5/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub6/Makefile.in ./sub6/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub7/Makefile.in ./sub7/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub8/Makefile.in ./sub8/Makefile.in.exp + for file in '$Makefile_ins' + mv ./sub9/Makefile.in ./sub9/Makefile.in.exp + AUTOMAKE_JOBS=5 + export AUTOMAKE_JOBS + for run in 1 2 3 4 5 6 7 + rm -f build-aux/depcomp build-aux/elisp-comp build-aux/install-sh build-aux/missing build-aux/py-compile 'sub*/Makefile.in' + AUTOMAKE_run --add-missing + am__desc= + am__exp_rc=0 + test 1 -gt 0 + case $1 in + break + am__got_rc=0 + automake-1.11d --foreign -Werror -Wall --add-missing ./defs: line 293: 97391 Bus error $AUTOMAKE ${1+"$@"} > stdout 2> stderr + am__got_rc=138 + cat stderr configure.ac:3: installing 'build-aux/install-sh' configure.ac:3: installing 'build-aux/missing' sub7/bar.am:1: installing 'build-aux/py-compile' sub7/Makefile.am:2: 'sub7/foo.am' included from here sub7/foo.am:1: 'sub7/bar.am' included from here sub8/Makefile.am:2: installing 'build-aux/elisp-comp' sub9/Makefile.am: installing 'build-aux/depcomp' + cat stdout + test no '!=' yes + test 138 -eq 0 + Exit 1 + set +e + test 77 = 1 + exit 1 + exit 1 + exit_status=1 + set +e + cd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x parallel-am: exit 1 Apparently, the "automake-1.11d --foreign -Werror -Wall --add-missing" command got a bus error. It is a shell script that runs perl (/usr/bin/perl, version 5.8.8). FAIL: t/parallel-am2 ==================== ... + am__got_rc=0 + automake-1.11d --foreign -Werror -Wall --add-missing ./defs: line 293: 97831 Bus error $AUTOMAKE ${1+"$@"} > stdout 2> stderr + am__got_rc=138 + cat stderr configure.ac:2: installing './install-sh' configure.ac:2: installing './missing' automake: warnings are treated as errors Makefile.am:3: warning: compiling 'sub/main.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac' Makefile.am: installing './depcomp' /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC' /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/lib/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again Makefile.am: error: C source seen but 'CC' is undefined Makefile.am: The usual way to define 'CC' is to add 'AC_PROG_CC' Makefile.am: to 'configure.ac' and run 'autoconf' again. sub1/Makefile.am: error: C source seen but 'CC' is undefined sub1/Makefile.am: The usual way to define 'CC' is to add 'AC_PROG_CC' sub1/Makefile.am: to 'configure.ac' and run 'autoconf' again. sub2/Makefile.am: error: C source seen but 'CC' is undefined sub2/Makefile.am: The usual way to define 'CC' is to add 'AC_PROG_CC' sub2/Makefile.am: to 'configure.ac' and run 'autoconf' again. sub3/Makefile.am: error: C source seen but 'CC' is undefined sub3/Makefile.am: The usual way to define 'CC' is to add 'AC_PROG_CC' sub3/Makefile.am: to 'configure.ac' and run 'autoconf' again. + cat stdout + test no '!=' yes + test 138 -eq 1 + Exit 1 + set +e + test 77 = 1 + exit 1 + exit 1 + exit_status=1 + set +e + cd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x parallel-am2: exit 1 Likewise. FAIL: t/parallel-am3 ==================== ... + am__got_rc=0 + automake-1.11d --foreign -Werror -Wall --add-missing ./defs: line 293: 98271 Bus error $AUTOMAKE ${1+"$@"} > stdout 2> stderr + am__got_rc=138 + cat stderr configure.ac:3: installing 'build-aux/install-sh' configure.ac:3: installing 'build-aux/missing' sub1/Makefile.am: installing 'build-aux/depcomp' sub1/Makefile.am:2: installing 'build-aux/elisp-comp' sub1/Makefile.am:1: installing 'build-aux/py-compile' + cat stdout + test no '!=' yes + test 138 -eq 0 + Exit 1 + set +e + test 77 = 1 + exit 1 + exit 1 + exit_status=1 + set +e + cd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x parallel-am3: exit 1 Likewise. FAIL: t/tap-summary-color ========================= No color escape sequences produced, like I reported for openSUSE Linux. Probable cause: not a tty, or no $TERM. FAIL: t/werror3 =============== Running from installcheck: no Using TAP: no PATH = /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/ax:/Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/wrap:.:/Users/bruno/data/local-macos/bin:/opt/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin ++ pwd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d/t/werror3.dir + cat + mkdir sub + cat + cat + aclocal-1.11d -Werror + unset AUTOMAKE_JOBS + AUTOMAKE_run -Wno-error + am__desc= + am__exp_rc=0 + test 1 -gt 0 + case $1 in + break + am__got_rc=0 + automake-1.11d --foreign -Werror -Wall -Wno-error + cat stderr Makefile.am:2: warning: VAR multiply defined in condition TRUE ... Makefile.am:1: ... 'VAR' previously defined here + cat stdout + test no '!=' yes + test 0 -eq 0 + return + grep 'VAR multiply defined' stderr Makefile.am:2: warning: VAR multiply defined in condition TRUE ... + AUTOMAKE_JOBS=2 + export AUTOMAKE_JOBS + AUTOMAKE_run -Wno-error + am__desc= + am__exp_rc=0 + test 1 -gt 0 + case $1 in + break + am__got_rc=0 + automake-1.11d --foreign -Werror -Wall -Wno-error ./defs: line 293: 83221 Bus error $AUTOMAKE ${1+"$@"} > stdout 2> stderr + am__got_rc=138 + cat stderr Makefile.am:2: warning: VAR multiply defined in condition TRUE ... Makefile.am:1: ... 'VAR' previously defined here + cat stdout + test no '!=' yes + test 138 -eq 0 + Exit 1 + set +e + test 77 = 1 + exit 1 + exit 1 + exit_status=1 + set +e + cd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x werror3: exit 1 A bus error again. Bruno From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 21 14:53:38 2012 Received: (at 11306) by debbugs.gnu.org; 21 Apr 2012 18:53:38 +0000 Received: from localhost ([127.0.0.1]:46034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLfR6-0007pm-Ae for submit@debbugs.gnu.org; Sat, 21 Apr 2012 14:53:37 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:52556) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLfQx-0007pT-LN for 11306@debbugs.gnu.org; Sat, 21 Apr 2012 14:53:30 -0400 Received: by wgbdq11 with SMTP id dq11so11151040wgb.15 for <11306@debbugs.gnu.org>; Sat, 21 Apr 2012 11:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=yp2M/7f97EwoVWEMLT4zq9JLFytkgOofgIPOAAXIr2M=; b=LQM3wPPv7AQlRaMOQZ2qJ10SvXUNNtjaWXs+t8XY50AzI6wlvNwe6LAMMyqNEKruYO rm1ddLbroYSvBpnOH5GHkuYeg3JF3Aciq+W/UEquvOlYz9HYwerzs9u7kXI+Kg229HAM +UdnlQQ2YzW+BgVuquqUnUaHHmRyMpinW8oG9HR4i0qhB31oZPTjQU1PgWEJCf5bFrXL ViPUdK4bNI8LrdtcKkfnEgcd+/zUmNmpayCXdBcitytqfuO7ArFyzxfkpy8VrbJSV31X flKfrCWkU5kQGfCdm/CcKF2ke1L+T7otKD+mWmHjyIDfUIHUwef6pyIKR9d7RS85aWdX R2vQ== Received: by 10.180.95.37 with SMTP id dh5mr7994826wib.8.1335034366302; Sat, 21 Apr 2012 11:52:46 -0700 (PDT) Received: from [82.60.36.21] (host21-36-dynamic.60-82-r.retail.telecomitalia.it. [82.60.36.21]) by mx.google.com with ESMTPS id ca3sm8095541wib.6.2012.04.21.11.52.44 (version=SSLv3 cipher=OTHER); Sat, 21 Apr 2012 11:52:45 -0700 (PDT) Message-ID: <4F9301F4.9010200@gmail.com> Date: Sat, 21 Apr 2012 20:52:36 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11306: Automake 1.11d on MacOS X References: <4F8EF87C.4040201@gmail.com> <1667626.n4KvquVPuK@linuix> In-Reply-To: <1667626.n4KvquVPuK@linuix> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11306 Cc: 11306@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Hi Bruno, thanks for the report. On 04/21/2012 08:13 PM, Bruno Haible wrote: >> The beta release "1.11d" of Automake is now available at >> . > > On MacOS X 10.5, with Autoconf 2.65: 6 tests fail. > > FAIL: t/lex-libobj.sh > FAIL: t/parallel-am.sh > FAIL: t/parallel-am2.sh > FAIL: t/parallel-am3.sh > FAIL: t/tap-summary-color.sh > FAIL: t/werror3.sh > > Details: > > $ m4 --version > m4 (GNU M4) 1.4.13 > $ gm4 --version > GNU M4 1.4.6 > > > FAIL: t/lex-libobj > ================== > + ./configure 'LEXLIB=-L /lib' > checking for a BSD-compatible install... /Users/bruno/data/local-macos/bin/install -c > ... > + make > cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" ... > foo.c:1033: warning: 'yyunput' defined but not used > mv -f .deps/foo.Tpo .deps/foo.Po > cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" ... > mv -f .deps/yywrap.Tpo .deps/yywrap.Po > cc -g -O2 -o foo foo.o -L /lib yywrap.o > ld: file not found: /lib > collect2: ld returned 1 exit status > make: *** [foo] Error 1 > + exit_status=2 > > On this machine, /usr/bin/lex is a shell script that invokes /usr/bin/flex. > There is a /usr/lib/libfl.a. > Everything looks right up until the line > ./configure 'LEXLIB=-L /lib' > I don't know how _adding_ a -L option to a compiler/linker command is meant > to hide a library that is installed in /usr/lib ?? > Oh, it's not intended to work like that; simply, setting $LEXLIB to a non-empty value ensures that configure won't look for a "lex library", and simply rely on the $LEXLIB to provide it, if needed. We could override $LEXLIB with any valid (list of) linker options. Does the problem disappear if you use: ./configure LEXLIB='-L .' instead? > > FAIL: t/parallel-am > FAIL: t/parallel-am2 > FAIL: t/parallel-am3 > FAIL: t/werror3 > > Likewise. > > Apparently, the "automake-1.11d ..." command [run with the AUTOMAKE_JOBS > environment variable set to a value > 1] got a bus error. It is a shell > script that runs perl (/usr/bin/perl, version 5.8.8). > I have tested automake with perl 5.8.8, 5.10.1, 5.12.4 and even perl 5.6.2, never seeing any error in these tests. So it seems like an an issue with perl multithreading on your system. Could you somehow verify whether this is truly the case? > FAIL: t/tap-summary-color > ========================= > > No color escape sequences produced, like I reported for openSUSE Linux. > Probable cause: not a tty, or no $TERM. > Correct; and already fixed: Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 22 14:08:38 2012 Received: (at 11306) by debbugs.gnu.org; 22 Apr 2012 18:08:39 +0000 Received: from localhost ([127.0.0.1]:47143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM1DB-0006y9-WC for submit@debbugs.gnu.org; Sun, 22 Apr 2012 14:08:38 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.161]:41145) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM1D7-0006xw-S6 for 11306@debbugs.gnu.org; Sun, 22 Apr 2012 14:08:36 -0400 X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvY44zMkpA== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-070-142.pools.arcor-ip.net [88.68.70.142]) by smtp.strato.de (jorabe mo99) (RZmta 28.11 DYNA|AUTH) with ESMTPA id i05ae1o3MFQt4R ; Sun, 22 Apr 2012 20:07:55 +0200 (CEST) From: Bruno Haible To: Stefano Lattarini Bcc: bruno@haible.de Subject: Re: bug#11306: Automake 1.11d on MacOS X Date: Sun, 22 Apr 2012 20:10:21 +0200 Message-ID: <14864196.EDezHyD8iF@linuix> User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <4F9301F4.9010200@gmail.com> References: <4F8EF87C.4040201@gmail.com> <1667626.n4KvquVPuK@linuix> <4F9301F4.9010200@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11306 Cc: 11306@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hi Stefano, > > FAIL: t/lex-libobj > > ================== > > > + ./configure 'LEXLIB=-L /lib' > > checking for a BSD-compatible install... /Users/bruno/data/local-macos/bin/install -c > > ... > > + make > > cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" ... > > foo.c:1033: warning: 'yyunput' defined but not used > > mv -f .deps/foo.Tpo .deps/foo.Po > > cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" ... > > mv -f .deps/yywrap.Tpo .deps/yywrap.Po > > cc -g -O2 -o foo foo.o -L /lib yywrap.o > > ld: file not found: /lib > > collect2: ld returned 1 exit status > > make: *** [foo] Error 1 > > + exit_status=2 > > > > On this machine, /usr/bin/lex is a shell script that invokes /usr/bin/flex. > > There is a /usr/lib/libfl.a. > > Everything looks right up until the line > > ./configure 'LEXLIB=-L /lib' > > I don't know how _adding_ a -L option to a compiler/linker command is meant > > to hide a library that is installed in /usr/lib ?? > > > Oh, it's not intended to work like that; simply, setting $LEXLIB to a non-empty > value ensures that configure won't look for a "lex library", and simply rely on > the $LEXLIB to provide it, if needed. We could override $LEXLIB with any valid > (list of) linker options. Does the problem disappear if you use: > > ./configure LEXLIB='-L .' > > instead? Modifying a test apparently requires me to have the same exact Autoconf version (2.68) as you did. What an annoyance! I have to proceed like this: 1. On a machine with autoconf 2.68: - Unpack a fresh automake-1.11d directory. $ ./configure; make # This is necessary to build 'automake'. - Then only! change t/lex-libobj.sh $ make # This uses the built 'automake'. $ make distclean 2. Copy this directory to the target machine (without autoconf 2.68). 3. $ ./configure; make $ make check TESTS=t/lex-libobj Result: it still fails: cc -g -O2 -o foo foo.o -L . yywrap.o ld: in ., can't map file, errno=22 collect2: ld returned 1 exit status make: *** [foo] Error 1 + exit_status=2 + set +e + cd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d + test no = yes + case $am_explicit_skips in + test 2 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x lex-libobj: exit 2 But setting LEXLIB to just whitespace makes the test succeed: diff -r -u automake-1.11d.orig/t/lex-libobj.sh automake-1.11d/t/lex-libobj.sh --- automake-1.11d.orig/t/lex-libobj.sh 2012-04-13 17:44:41.000000000 +0200 +++ automake-1.11d/t/lex-libobj.sh 2012-04-22 20:01:27.000000000 +0200 @@ -68,7 +68,7 @@ $MAKE distclean # Force "no system lex library". -./configure LEXLIB='-L /lib' +./configure LEXLIB=' ' grep LIBOBJS Makefile # For debugging. grep '^LIBOBJS *=.*yywrap.*\.o' Makefile # Sanity check. $MAKE > > Apparently, the "automake-1.11d ..." command [run with the AUTOMAKE_JOBS > > environment variable set to a value > 1] got a bus error. It is a shell > > script that runs perl (/usr/bin/perl, version 5.8.8). > > > I have tested automake with perl 5.8.8, 5.10.1, 5.12.4 and even perl 5.6.2, > never seeing any error in these tests. So it seems like an an issue with > perl multithreading on your system. Could you somehow verify whether this > is truly the case? How would I do this? $ perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level uname='darwin b04.apple.com 9.0 darwin kernel version 9.6.0: mon nov 24 17:37:00 pst 2008; root:xnu-1228.9.59~1release_i386 i386 ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-arch ppc -arch i386 -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc -mmacosx-version-min=10.5.6', ldflags ='-arch ppc -arch i386 -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-arch ppc -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: fix for regcomp CVE-2007-5116 security vulnerability fix for double-free CVE-2008-1927 security vulnerability /Library/Perl/Updates/ comes before system perl directories installprivlib and installarchlib points to the Updates directory Built under darwin Compiled at Jan 27 2010 23:39:09 %ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" @INC: /sw/lib/perl5 /sw/lib/perl5/darwin /Library/Perl/Updates/5.8.8 /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 . I don't know anything about Perl. Bruno From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 23 06:52:18 2012 Received: (at 11306) by debbugs.gnu.org; 23 Apr 2012 10:52:18 +0000 Received: from localhost ([127.0.0.1]:48455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMGsT-0001KE-BY for submit@debbugs.gnu.org; Mon, 23 Apr 2012 06:52:18 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:62828) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMGsP-0001K0-Ho for 11306@debbugs.gnu.org; Mon, 23 Apr 2012 06:52:14 -0400 Received: by bkuw5 with SMTP id w5so8290246bku.3 for <11306@debbugs.gnu.org>; Mon, 23 Apr 2012 03:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; bh=FB//PLDRZ4tGBaDsHEF3Jpj+Eix0IBS1v+It3x6+b9M=; b=YGWQYh/4SaAth9ZKn40wHhqI5S6NC12AnhQ5nOGLhrfx9H9PH7BkotjgioWzkP4kUQ 4RDcuR7I6/wRm7Q2bL/egQI1Mxr230O17DMeG9UKOxilB5b3O3f4Z06CP3gXCpUtkjU6 urbny+yUGioQ9YWbb54uMfVuxpFk5W2+SWSa+tbQwsBahHwZubt8AbLvydauq1ci9WRi x67NDkwYtozQ5ezHWQU9WSBTgzfQD9txFIi2d6aMURMsyFbeLwD6cenTdR4xbMJoIXHQ n6o27GBFeRNg2+eJVdT0RgJQu5Wd1zOWygunBwUzJg9o2xOQXreMZ4MgP8J3GyQLvQl8 GNDQ== Received: by 10.204.148.80 with SMTP id o16mr4982327bkv.3.1335178286286; Mon, 23 Apr 2012 03:51:26 -0700 (PDT) Received: from [87.2.102.139] (host139-102-dynamic.2-87-r.retail.telecomitalia.it. [87.2.102.139]) by mx.google.com with ESMTPS id f5sm24088990bke.9.2012.04.23.03.51.23 (version=SSLv3 cipher=OTHER); Mon, 23 Apr 2012 03:51:25 -0700 (PDT) Message-ID: <4F953422.5060403@gmail.com> Date: Mon, 23 Apr 2012 12:51:14 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11306: Automake 1.11d on MacOS X References: <4F8EF87C.4040201@gmail.com> <1667626.n4KvquVPuK@linuix> <4F9301F4.9010200@gmail.com> <14864196.EDezHyD8iF@linuix> In-Reply-To: <14864196.EDezHyD8iF@linuix> Content-Type: multipart/mixed; boundary="------------030009080601050106080603" X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11306 Cc: 11306@debbugs.gnu.org, "automake-patches@gnu.org" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------030009080601050106080603 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 04/22/2012 08:10 PM, Bruno Haible wrote: > Hi Stefano, > >>> FAIL: t/lex-libobj >>> ================== >> >>> + ./configure 'LEXLIB=-L /lib' >>> checking for a BSD-compatible install... /Users/bruno/data/local-macos/bin/install -c >>> ... >>> + make >>> cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" ... >>> foo.c:1033: warning: 'yyunput' defined but not used >>> mv -f .deps/foo.Tpo .deps/foo.Po >>> cc -DPACKAGE_NAME=\"lex-libobj\" -DPACKAGE_TARNAME=\"lex-libobj\" ... >>> mv -f .deps/yywrap.Tpo .deps/yywrap.Po >>> cc -g -O2 -o foo foo.o -L /lib yywrap.o >>> ld: file not found: /lib >>> collect2: ld returned 1 exit status >>> make: *** [foo] Error 1 >>> + exit_status=2 >>> >>> On this machine, /usr/bin/lex is a shell script that invokes /usr/bin/flex. >>> There is a /usr/lib/libfl.a. >>> Everything looks right up until the line >>> ./configure 'LEXLIB=-L /lib' >>> I don't know how _adding_ a -L option to a compiler/linker command is meant >>> to hide a library that is installed in /usr/lib ?? >>> >> Oh, it's not intended to work like that; simply, setting $LEXLIB to a non-empty >> value ensures that configure won't look for a "lex library", and simply rely on >> the $LEXLIB to provide it, if needed. We could override $LEXLIB with any valid >> (list of) linker options. Does the problem disappear if you use: >> >> ./configure LEXLIB='-L .' >> >> instead? > > Modifying a test apparently requires me to have the same exact Autoconf > version (2.68) as you did. What an annoyance! > Yes, the test suite inter-dependencies are correct but overly pedantic ... something to be fixed for 1.12.1. Feel free to open a new bug report about that if you want, to be extra-sure we won't forget about the issue. > [SNIP] > > Result: it still fails: > > cc -g -O2 -o foo foo.o -L . yywrap.o > ld: in ., can't map file, errno=22 > collect2: ld returned 1 exit status > make: *** [foo] Error 1 > + exit_status=2 > + set +e > + cd /Users/bruno/data/build/multibuild-2074/macosx/automake-1.11d > + test no = yes > + case $am_explicit_skips in > + test 2 -eq 0 > + keep_testdirs=yes > + am_keeping_testdirs > + case $keep_testdirs in > + return 0 > + set +x > lex-libobj: exit 2 > > But setting LEXLIB to just whitespace makes the test succeed: > > > diff -r -u automake-1.11d.orig/t/lex-libobj.sh automake-1.11d/t/lex-libobj.sh > --- automake-1.11d.orig/t/lex-libobj.sh 2012-04-13 17:44:41.000000000 +0200 > +++ automake-1.11d/t/lex-libobj.sh 2012-04-22 20:01:27.000000000 +0200 > @@ -68,7 +68,7 @@ > $MAKE distclean > > # Force "no system lex library". > -./configure LEXLIB='-L /lib' > +./configure LEXLIB=' ' > grep LIBOBJS Makefile # For debugging. > grep '^LIBOBJS *=.*yywrap.*\.o' Makefile # Sanity check. > $MAKE > Thanks. I will apply the attached patch then (comments and reviews welcome). >>> Apparently, the "automake-1.11d ..." command [run with the AUTOMAKE_JOBS >>> environment variable set to a value > 1] got a bus error. It is a shell >>> script that runs perl (/usr/bin/perl, version 5.8.8). >>> >> I have tested automake with perl 5.8.8, 5.10.1, 5.12.4 and even perl 5.6.2, >> never seeing any error in these tests. So it seems like an an issue with >> perl multithreading on your system. Could you somehow verify whether this >> is truly the case? > > How would I do this? I don't know anything about Perl. > Ah, OK, I wasn't aware of that. I'm no expert either, but I hope I'll be able to cook up (in the next days) a check of some sort. For the moment, let's ignore this issue (which would affect a real user only if he exported the AUTOMAKE_JOBS variable). Thanks, Stefano --------------030009080601050106080603 Content-Type: text/x-diff; name="0001-tests-fix-spurious-failure-on-Mac-OS-X.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-tests-fix-spurious-failure-on-Mac-OS-X.patch" >From 5e905daf11e59202b1420a972aeeb2469a3ebafa Mon Sep 17 00:00:00 2001 Message-Id: <5e905daf11e59202b1420a972aeeb2469a3ebafa.1335178066.git.stefano.lattarini@gmail.com> From: Stefano Lattarini Date: Mon, 23 Apr 2012 12:47:43 +0200 Subject: [PATCH] tests: fix spurious failure on Mac OS X See automake bug#11306. * t/lex-libobj.sh: We used to pass LEXLIB='-L /lib' to the ./configure invocation, to prevent it from explicitly searching for a "lex library". But the linker on MacOS X 10.5 apparently chokes on that: cc -g -O2 -o foo foo.o -L /lib yywrap.o ld: file not found: /lib collect2: ld returned 1 exit status So, we now instead pass LEXLIB=' ', which being non-empty is enough to prevent the search of a "lex library". And since we are at it, enhance comments on this non-obvious usage. Co-authored-by: Bruno Haible Signed-off-by: Stefano Lattarini --- t/lex-libobj.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/t/lex-libobj.sh b/t/lex-libobj.sh index 3bc2981..1c3b0cc 100755 --- a/t/lex-libobj.sh +++ b/t/lex-libobj.sh @@ -67,8 +67,13 @@ grep LIBOBJS Makefile # For debugging. $MAKE $MAKE distclean -# Force "no system lex library". -./configure LEXLIB='-L /lib' +# Force "no system lex library". Setting LEXLIB to a non-empty value +# ensures that configure won't search for a "lex library", and simply +# rely on the LEXLIB to provide it, if needed. So, by setting LEXLIB +# to a blank but non-empty value we can foo configure into thinking +# that no system-level library providing a 'yywrap' function is +# available. See also discussion on automake bug#11306. +./configure LEXLIB=' ' grep LIBOBJS Makefile # For debugging. grep '^LIBOBJS *=.*yywrap.*\.o' Makefile # Sanity check. $MAKE -- 1.7.9.5 --------------030009080601050106080603-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 23 08:57:39 2012 Received: (at 11306) by debbugs.gnu.org; 23 Apr 2012 12:57:39 +0000 Received: from localhost ([127.0.0.1]:48604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMIpm-0005yA-4q for submit@debbugs.gnu.org; Mon, 23 Apr 2012 08:57:39 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:53528) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMIpi-0005xt-Pl for 11306@debbugs.gnu.org; Mon, 23 Apr 2012 08:57:35 -0400 Received: by bkuw5 with SMTP id w5so8390051bku.3 for <11306@debbugs.gnu.org>; Mon, 23 Apr 2012 05:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=uohZnubJ48WJvIQBzdAJ8XZ6ay9wvS7u0glX/iDJMmo=; b=xMmzC9KzzodUIJlngXDc8W4A6qRKFVJQjKcU8bzfNT36OVjiTGZ/VnDMc6xIMoFR6v qAS3ASgUBWx3SOvjh8QMbAQ3JXSDxrHEoIrwOKbYIxAshyHjmIt/XMM3JYVv4qvTnRU9 QQ0k5olXtrgoOjyNdJK+10K6LnzBl+9DvwL8kTvB0WVKa9zJX8Dx2tfQzBK8zwZqW6y5 niccZvLEVxbp2iWHvkSmAYtmuZRvZWQOtFIRpEWAIl/18O8enQlc1q+plqXwnvD4yH/q qzAGR6wV15GPoEII7AHZ5R4f3Ejp3vbLq+V/tmSHpWY0vMkG/lVaPMt7ZiBrmadnpyos +Uow== Received: by 10.204.130.151 with SMTP id t23mr4911424bks.27.1335185806209; Mon, 23 Apr 2012 05:56:46 -0700 (PDT) Received: from [87.8.100.207] (host207-100-dynamic.8-87-r.retail.telecomitalia.it. [87.8.100.207]) by mx.google.com with ESMTPS id z14sm24899854bky.15.2012.04.23.05.56.43 (version=SSLv3 cipher=OTHER); Mon, 23 Apr 2012 05:56:45 -0700 (PDT) Message-ID: <4F955184.3000406@gmail.com> Date: Mon, 23 Apr 2012 14:56:36 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: davehart_gmail_exchange_tee@davehart.net Subject: Re: bug#11306: Automake 1.11d on MacOS X References: <4F8EF87C.4040201@gmail.com> <1667626.n4KvquVPuK@linuix> <4F9301F4.9010200@gmail.com> <14864196.EDezHyD8iF@linuix> <4F953422.5060403@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11306 Cc: Dave Hart , 11306@debbugs.gnu.org, Bruno Haible , "automake-patches@gnu.org" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 04/23/2012 02:40 PM, Dave Hart wrote: > Stefano, > > In the proposed patch, the word "foo" is used where "force" was > apparently intended. > In truth, "fool" was intended. I've fixed the patch accordingly. Thanks for catching this, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 23 11:26:32 2012 Received: (at 11306) by debbugs.gnu.org; 23 Apr 2012 15:26:32 +0000 Received: from localhost ([127.0.0.1]:49126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SML9s-0001z7-1U for submit@debbugs.gnu.org; Mon, 23 Apr 2012 11:26:32 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:59124) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMIaM-0004mJ-L0 for 11306@debbugs.gnu.org; Mon, 23 Apr 2012 08:41:43 -0400 Received: by bkuw5 with SMTP id w5so8375542bku.3 for <11306@debbugs.gnu.org>; Mon, 23 Apr 2012 05:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=fIykDkCVnkNwM5ENDFft17zcRJ1+rvg9EsruQcezCA0=; b=JM9IQvm2+MQRJojs2A2W820tloJbSgz9rzcH2u+VWaptdGDNUmAP9o9+3J000HTfW+ uQG2pbjoJrbOZvkFvckAgy9rt7Mzg3vTwFELbkqAVkhm2q+8N00eOHmALfh/v1gCaUn7 AL6WUlo4fk/+91tbCr/t0wKndgc+u+qGuWhcyuOzzLHn3PcpSw2u4088B0llJSaXR8Tx gDgnZAKHOkjpvxr7V6HpgnGDkyCiCgqFt2rkUJD5yWnxwzTZbdKKnEjLnctE/I+nfFia dBQIVSQAjitaIkEWjHkIRYNNwlH3lJCzNMx+YA1Leb9aQE8Qc3Lu/80UDaahlNKldIe8 F5JA== Received: by 10.204.154.84 with SMTP id n20mr411913bkw.75.1335184855320; Mon, 23 Apr 2012 05:40:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.205.142.146 with HTTP; Mon, 23 Apr 2012 05:40:34 -0700 (PDT) In-Reply-To: <4F953422.5060403@gmail.com> References: <4F8EF87C.4040201@gmail.com> <1667626.n4KvquVPuK@linuix> <4F9301F4.9010200@gmail.com> <14864196.EDezHyD8iF@linuix> <4F953422.5060403@gmail.com> From: Dave Hart Date: Mon, 23 Apr 2012 12:40:34 +0000 Message-ID: Subject: Re: bug#11306: Automake 1.11d on MacOS X To: Stefano Lattarini Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11306 X-Mailman-Approved-At: Mon, 23 Apr 2012 11:26:26 -0400 Cc: 11306@debbugs.gnu.org, Bruno Haible , "automake-patches@gnu.org" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: davehart_gmail_exchange_tee@davehart.net List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefano, In the proposed patch, the word "foo" is used where "force' was apparently intended. Without unwarranted aggressivity, Dave Hart From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 25 07:58:19 2012 Received: (at 11306) by debbugs.gnu.org; 25 Apr 2012 11:58:19 +0000 Received: from localhost ([127.0.0.1]:51524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN0rS-0004sQ-L0 for submit@debbugs.gnu.org; Wed, 25 Apr 2012 07:58:19 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:36733) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN0rQ-0004sC-3X for 11306@debbugs.gnu.org; Wed, 25 Apr 2012 07:58:17 -0400 Received: by bkuw5 with SMTP id w5so1311533bku.3 for <11306@debbugs.gnu.org>; Wed, 25 Apr 2012 04:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=xDrUzOXTRsmivReInFkit6pXFSC4kHTBSLOb75OYwp4=; b=zvqcsqa1OjM0gOsbOXO6QWm3RjzNah2tHCjqvJujmWUBtCtdD5WVX0r9+xmN/sDxqB mFin3z8jI2FuSSCKWp3F1UQXQe3L2k1Qyd3o7n3XnDlJe/+s1ZNq6QPZb9CkVR8YPDmc 4NByiJUVSW4+Zn5TIpR7QIiEmjWJpXARG/+isRRUOzrHUisLISevZhvQHJfDX9L8NjJr nqJi2ViBmGiGiLmahlqLyPwnUfDQZEf4GXC43ztcImP52bS2X0hAfZc6l63zFyvin0d4 RlTVmR8rvZz9EP0p3+8hywIoQGFBsGr7l7aFVhkZNlI0ITN0cyICw4p431N1pBS5tvwZ IZ+w== Received: by 10.204.9.204 with SMTP id m12mr726209bkm.114.1335355037670; Wed, 25 Apr 2012 04:57:17 -0700 (PDT) Received: from [87.21.62.195] (host195-62-dynamic.21-87-r.retail.telecomitalia.it. [87.21.62.195]) by mx.google.com with ESMTPS id v2sm27635638bkw.16.2012.04.25.04.57.15 (version=SSLv3 cipher=OTHER); Wed, 25 Apr 2012 04:57:16 -0700 (PDT) Message-ID: <4F97E693.7030005@gmail.com> Date: Wed, 25 Apr 2012 13:57:07 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11306: Automake 1.11d on MacOS X References: <4F8EF87C.4040201@gmail.com> <1667626.n4KvquVPuK@linuix> <4F9301F4.9010200@gmail.com> <14864196.EDezHyD8iF@linuix> <4F953422.5060403@gmail.com> In-Reply-To: <4F953422.5060403@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11306 Cc: 11306@debbugs.gnu.org, "automake-patches@gnu.org" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 04/23/2012 12:51 PM, Stefano Lattarini wrote: > On 04/22/2012 08:10 PM, Bruno Haible wrote: >> >> FAIL: t/lex-libobj >> >> But setting LEXLIB to just whitespace makes the test succeed: >> >> diff -r -u automake-1.11d.orig/t/lex-libobj.sh automake-1.11d/t/lex-libobj.sh >> --- automake-1.11d.orig/t/lex-libobj.sh 2012-04-13 17:44:41.000000000 +0200 >> +++ automake-1.11d/t/lex-libobj.sh 2012-04-22 20:01:27.000000000 +0200 >> @@ -68,7 +68,7 @@ >> $MAKE distclean >> >> # Force "no system lex library". >> -./configure LEXLIB='-L /lib' >> +./configure LEXLIB=' ' >> grep LIBOBJS Makefile # For debugging. >> grep '^LIBOBJS *=.*yywrap.*\.o' Makefile # Sanity check. >> $MAKE >> > Thanks. I will apply the attached patch then (comments and reviews welcome). > Pushed now. But I'm not yet closing the bug report, because the issue with perl multithreading is still not properly understood. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 21 05:30:32 2012 Received: (at 11306-done) by debbugs.gnu.org; 21 Nov 2012 10:30:32 +0000 Received: from localhost ([127.0.0.1]:58121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tb7Zf-0000Vp-PK for submit@debbugs.gnu.org; Wed, 21 Nov 2012 05:30:32 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:40479) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tb7Zc-0000RR-Vk for 11306-done@debbugs.gnu.org; Wed, 21 Nov 2012 05:30:29 -0500 Received: by mail-lb0-f172.google.com with SMTP id y2so5827097lbk.3 for <11306-done@debbugs.gnu.org>; Wed, 21 Nov 2012 02:29:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=jdPeoCMh5Qw7MUX5gt5grhfzlcaK+jKFqjo+f312pRE=; b=I3+fTqz7BGZnYl3ED4yRXhLx3K5sTdbUTHJ3u7ED6JQXV61003uZl/mmbWm7qpb7UI ZbrV2qhxNuVtT1/pQltiXTFFC1ciAy/YA/Gb0xRjX7GE9B3XtWfInd0iMebCmQKe+MMI OAeVQrbHwE0i21W18X1F7WWX0CMRxCz8An6mUFYHMuOyhSxxy8chMi3OYrDvsxnpEpem g3BKjbN3XlyA/3Gaq9/hjn3b8HMJQmBFm/DXVYokaWZ3Axay0ymqT/M6xmRbuttfupiO w89NYkX/OuCRdvcT6EuwVrYYBtCJmOHxfjKtOdPLDM0oz2memBFYRi0G97BaQkCQ/8XH i5fw== Received: by 10.152.106.110 with SMTP id gt14mr17169639lab.1.1353493753897; Wed, 21 Nov 2012 02:29:13 -0800 (PST) Received: from [192.168.178.21] (host247-100-dynamic.8-87-r.retail.telecomitalia.it. [87.8.100.247]) by mx.google.com with ESMTPS id eo4sm32341lbb.5.2012.11.21.02.29.12 (version=SSLv3 cipher=OTHER); Wed, 21 Nov 2012 02:29:13 -0800 (PST) Message-ID: <50ACACF5.7090909@gmail.com> Date: Wed, 21 Nov 2012 11:29:09 +0100 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11306: Automake 1.11d on MacOS X References: <4F8EF87C.4040201@gmail.com> <1667626.n4KvquVPuK@linuix> <4F9301F4.9010200@gmail.com> In-Reply-To: <4F9301F4.9010200@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 11306-done Cc: 11306-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) Reference: On 04/21/2012 08:52 PM, Stefano Lattarini wrote: > Hi Bruno, thanks for the report. > > On 04/21/2012 08:13 PM, Bruno Haible wrote: >> >> Apparently, the "automake-1.11d ..." command [run with the AUTOMAKE_JOBS >> environment variable set to a value > 1] got a bus error. It is a shell >> script that runs perl (/usr/bin/perl, version 5.8.8). >> > I have tested automake with perl 5.8.8, 5.10.1, 5.12.4 and even perl 5.6.2, > never seeing any error in these tests. So it seems like an an issue with > perl multithreading on your system. Could you somehow verify whether this > is truly the case? > Several months have passed since this report, the thread has seen no further activity, I haven't been unable to reproduce the remaining issue, and no-one else has reported a similar problem. In order to reduce the clutter in the Automake bug tracker, I'm taking the guess that the remaining failures were indeed due to multithreading-related bugs in Bruno's perl, and thus close this report as "not Automake's fault". In case anyone manages to reproduce a similar failure with more modern Automake releases: feel free to open a new dedicated bug report. Thanks, Stefano From unknown Thu Jun 19 12:38:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Dec 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator