From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 21 13:34:04 2012 Received: (at submit) by debbugs.gnu.org; 21 Apr 2012 17:34:04 +0000 Received: from localhost ([127.0.0.1]:45924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLeC6-0005v7-2O for submit@debbugs.gnu.org; Sat, 21 Apr 2012 13:34:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55496) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLeBx-0005un-NX for submit@debbugs.gnu.org; Sat, 21 Apr 2012 13:33:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLeBH-00015i-0A for submit@debbugs.gnu.org; Sat, 21 Apr 2012 13:33:13 -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]:57655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeBG-00015d-Rx for submit@debbugs.gnu.org; Sat, 21 Apr 2012 13:33:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeB9-0003ab-W5 for bug-automake@gnu.org; Sat, 21 Apr 2012 13:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLeB2-00014t-Kj for bug-automake@gnu.org; Sat, 21 Apr 2012 13:32:59 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.162]:44488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeB2-00014m-7n for bug-automake@gnu.org; Sat, 21 Apr 2012 13:32:52 -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 (joses mo30) (RZmta 28.11 DYNA|AUTH) with ESMTPA id n05ef4o3LF5lpn ; Sat, 21 Apr 2012 19:32:50 +0200 (CEST) From: Bruno Haible To: bug-automake@gnu.org Bcc: bruno@haible.de Subject: Automake 1.11d on openSUSE 12.1 Date: Sat, 21 Apr 2012 19:35:14 +0200 Message-ID: <2846068.0ufD0dVrua@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: quoted-printable Content-Type: text/plain; charset="utf-8" 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 (------) Stefano Lattarini wrote: > The beta release "1.11d" of Automake is now available at > . On openSUSE 12.1 x86_64: 9 tests failed. FAIL: t/depcomp2.sh FAIL: t/posixsubst-libraries.sh FAIL: t/posixsubst-ltlibraries.sh FAIL: t/posixsubst-scripts.sh FAIL: t/tap-summary-color.sh FAIL: t/transform3.sh FAIL: t/vala-vapi.sh FAIL: t/vala-mix.sh FAIL: t/vala-mix2.sh Autoconf version is 2.68. Details from test-suite.log: FAIL: t/depcomp2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Running from installcheck: no Using TAP: no PATH =3D /data/home-susekde4/bruno/data/build/multibuild-2074/linux/aut= omake-1.11d/t/ax:/data/home-susekde4/bruno/data/build/multibuild-2074/l= inux/automake-1.11d/t/wrap:/home/bruno/data/build/prefix-linux-x86_64/b= in:/home/bruno/bin:/arch/x86_64-linux/gnu/bin:/arch/x86-linux/gnu/bin:/= usr/lib64/mpi/gcc/openmpi/bin:/home/bruno/bin:/usr/local/bin:/usr/bin:/= bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mi= t/sbin ++ pwd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.1= 1d/t/depcomp2.dir + cat + cat + rm -f depcomp + mkdir subdir + cat + : + aclocal-1.11d -Werror + automake-1.11d --foreign -Werror -Wall --add-missing + autoconf + ./configure configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu= checking for a BSD-compatible install... /home/bruno/data/build/prefix-= linux-x86_64/bin/install -c checking whether build environment is sane... yes checking for x86_64-pc-linux-gnu-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /home/bruno/data/build/prefix-li= nux-x86_64/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables...=20 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... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating subdir/Makefile config.status: executing depfiles commands + cat stderr configure: WARNING: if you wanted to set the --build type, don't use --= host. If a cross compiler is detected then cross compile mode will be use= d + test '!' -s stderr + exit_status=3D1 + set +e + cd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automak= e-1.11d + test no =3D yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=3Dyes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x depcomp2: exit 1 The file 'stderr' is not empty: It contains this two-line warning configure: WARNING: if you wanted to set the --build type, don't use = --host. If a cross compiler is detected then cross compile mode will be u= sed This is because I configured with the arguments --host=3Dx86_64-pc-linux-gnu \ --prefix=3D/home/bruno/data/build/prefix-linux-x86_64 \ --libdir=3D/home/bruno/data/build/prefix-linux-x86_64/lib64 Apparently this led to a host_alias variable being passed to sub-config= ures: $ t/depcomp2.dir/config.status --version depcomp2 config.status 1.0 configured by ./configure, generated by GNU Autoconf 2.68, with options "'build_alias=3D' 'host_alias=3Dx86_64-pc-linux-gnu'" FAIL: t/posixsubst-libraries =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Running from installcheck: no Using TAP: no PATH =3D /data/home-susekde4/bruno/data/build/multibuild-2074/linux/aut= omake-1.11d/t/ax:/data/home-susekde4/bruno/data/build/multibuild-2074/l= inux/automake-1.11d/t/wrap:/home/bruno/data/build/prefix-linux-x86_64/b= in:/home/bruno/bin:/arch/x86_64-linux/gnu/bin:/arch/x86-linux/gnu/bin:/= usr/lib64/mpi/gcc/openmpi/bin:/home/bruno/bin:/usr/local/bin:/usr/bin:/= bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mi= t/sbin ++ pwd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.1= 1d/t/posixsubst-libraries.dir + cat + cat + echo 'int bar1(void) { return 0; }' + echo 'int bar2(void) { return 0; }' + aclocal-1.11d -Werror + autoconf + automake-1.11d --foreign -Werror -Wall -a configure.ac:6: installing './ar-lib' ++ pwd + cwd=3D/data/home-susekde4/bruno/data/build/multibuild-2074/linux/auto= make-1.11d/t/posixsubst-libraries.dir + ./configure --prefix=3D/data/home-susekde4/bruno/data/build/multibuil= d-2074/linux/automake-1.11d/t/posixsubst-libraries.dir/_inst configure: WARNING: if you wanted to set the --build type, don't use --= host. If a cross compiler is detected then cross compile mode will be use= d configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu= checking for a BSD-compatible install... /home/bruno/data/build/prefix-= linux-x86_64/bin/install -c checking whether build environment is sane... yes checking for x86_64-pc-linux-gnu-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /home/bruno/data/build/prefix-li= nux-x86_64/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables...=20 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 x86_64-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-pc-linux-gnu-ar... no checking for x86_64-pc-linux-gnu-lib... no checking for x86_64-pc-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + make cc -DPACKAGE_NAME=3D\"posixsubst-libraries\" -DPACKAGE_TARNAME=3D\"posi= xsubst-libraries\" -DPACKAGE_VERSION=3D\"1.0\" -DPACKAGE_STRING=3D\"pos= ixsubst-libraries\ 1.0\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\= " -DPACKAGE=3D\"posixsubst-libraries\" -DVERSION=3D\"1.0\" -I. -Wall = -W -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-al= ign -Wcoverage-mismatch -Wdisabled-optimization -Wformat-security -Wfor= mat-y2k -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-incl= ude-dirs -Wmissing-noreturn -Wmissing-prototypes -Wmudflap -Wmultichar = -Wno-logical-op -Wno-sign-compare -Wno-unused-parameter -Woverlength-st= rings -Wpacked -Wpacked-bitfield-compat -Wpointer-arith -Wshadow -Wstri= ct-aliasing -Wsync-nand -Wunknown-pragmas -Wunused -Wvolatile-register-= var -Wwrite-strings -fdiagnostics-show-option -g -O2 -MT libfoo1.o -MD= -MP -MF .deps/libfoo1.Tpo -c -o libfoo1.o libfoo1.c libfoo1.c:1:5: warning: no previous prototype for =E2=80=98bar1=E2=80=99= [-Wmissing-prototypes] mv -f .deps/libfoo1.Tpo .deps/libfoo1.Po rm -f libfoo1.a ar cru libfoo1.a libfoo1.o=20 ranlib libfoo1.a cc -DPACKAGE_NAME=3D\"posixsubst-libraries\" -DPACKAGE_TARNAME=3D\"posi= xsubst-libraries\" -DPACKAGE_VERSION=3D\"1.0\" -DPACKAGE_STRING=3D\"pos= ixsubst-libraries\ 1.0\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\= " -DPACKAGE=3D\"posixsubst-libraries\" -DVERSION=3D\"1.0\" -I. -Wall = -W -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-al= ign -Wcoverage-mismatch -Wdisabled-optimization -Wformat-security -Wfor= mat-y2k -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-incl= ude-dirs -Wmissing-noreturn -Wmissing-prototypes -Wmudflap -Wmultichar = -Wno-logical-op -Wno-sign-compare -Wno-unused-parameter -Woverlength-st= rings -Wpacked -Wpacked-bitfield-compat -Wpointer-arith -Wshadow -Wstri= ct-aliasing -Wsync-nand -Wunknown-pragmas -Wunused -Wvolatile-register-= var -Wwrite-strings -fdiagnostics-show-option -g -O2 -MT libfoo2.o -MD= -MP -MF .deps/libfoo2.Tpo -c -o libfoo2.o libfoo2.c libfoo2.c:1:5: warning: no previous prototype for =E2=80=98bar2=E2=80=99= [-Wmissing-prototypes] mv -f .deps/libfoo2.Tpo .deps/libfoo2.Po rm -f libfoo2.a ar cru libfoo2.a libfoo2.o=20 ranlib libfoo2.a echo 'int bar(void) { return 0; }' > libbar.c cc -DPACKAGE_NAME=3D\"posixsubst-libraries\" -DPACKAGE_TARNAME=3D\"posi= xsubst-libraries\" -DPACKAGE_VERSION=3D\"1.0\" -DPACKAGE_STRING=3D\"pos= ixsubst-libraries\ 1.0\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\= " -DPACKAGE=3D\"posixsubst-libraries\" -DVERSION=3D\"1.0\" -I. -Wall = -W -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-al= ign -Wcoverage-mismatch -Wdisabled-optimization -Wformat-security -Wfor= mat-y2k -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-incl= ude-dirs -Wmissing-noreturn -Wmissing-prototypes -Wmudflap -Wmultichar = -Wno-logical-op -Wno-sign-compare -Wno-unused-parameter -Woverlength-st= rings -Wpacked -Wpacked-bitfield-compat -Wpointer-arith -Wshadow -Wstri= ct-aliasing -Wsync-nand -Wunknown-pragmas -Wunused -Wvolatile-register-= var -Wwrite-strings -fdiagnostics-show-option -g -O2 -MT libbar.o -MD = -MP -MF .deps/libbar.Tpo -c -o libbar.o libbar.c libbar.c:1:5: warning: no previous prototype for =E2=80=98bar=E2=80=99 = [-Wmissing-prototypes] mv -f .deps/libbar.Tpo .deps/libbar.Po rm -f libbar.a ar cru libbar.a libbar.o=20 ranlib libbar.a + test -f libfoo2.c + make install make[1]: Entering directory `/data/bruno/build/multibuild-2074/linux/au= tomake-1.11d/t/posixsubst-libraries.dir' /home/bruno/data/build/prefix-linux-x86_64/bin/mkdir -p '/data/home-su= sekde4/bruno/data/build/multibuild-2074/linux/automake-1.11d/t/posixsub= st-libraries.dir/_inst/lib64' /home/bruno/data/build/prefix-linux-x86_64/bin/install -c -m 644 libf= oo1.a libfoo2.a libbar.a '/data/home-susekde4/bruno/data/build/multibui= ld-2074/linux/automake-1.11d/t/posixsubst-libraries.dir/_inst/lib64' ( cd '/data/home-susekde4/bruno/data/build/multibuild-2074/linux/autom= ake-1.11d/t/posixsubst-libraries.dir/_inst/lib64' && ranlib libfoo1.a )= ( cd '/data/home-susekde4/bruno/data/build/multibuild-2074/linux/autom= ake-1.11d/t/posixsubst-libraries.dir/_inst/lib64' && ranlib libfoo2.a )= ( cd '/data/home-susekde4/bruno/data/build/multibuild-2074/linux/autom= ake-1.11d/t/posixsubst-libraries.dir/_inst/lib64' && ranlib libbar.a ) make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/data/bruno/build/multibuild-2074/linux/aut= omake-1.11d/t/posixsubst-libraries.dir' + make installcheck ls -l /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automa= ke-1.11d/t/posixsubst-libraries.dir/_inst/lib ls: cannot access /data/home-susekde4/bruno/data/build/multibuild-2074/= linux/automake-1.11d/t/posixsubst-libraries.dir/_inst/lib: No such file= or directory make: *** [installcheck-local] Error 2 + exit_status=3D2 + set +e + cd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automak= e-1.11d + test no =3D yes + case $am_explicit_skips in + test 2 -eq 0 + keep_testdirs=3Dyes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x posixsubst-libraries: exit 2 The test looks for a lib/ directory, but "make install" created a lib64= / directory. This is due to the /usr/share/site/x86_64-unknown-linux-gnu (from $CONFIG_SITE, set by /etc/profile.d/site.sh) which sets a libdir that ends in /lib64 rather than /lib if it finds that the compiler is generating 64-bit code. FAIL: t/posixsubst-ltlibraries =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D ... + make installcheck ls -l /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automa= ke-1.11d/t/posixsubst-ltlibraries.dir/_inst/lib ls: cannot access /data/home-susekde4/bruno/data/build/multibuild-2074/= linux/automake-1.11d/t/posixsubst-ltlibraries.dir/_inst/lib: No such fi= le or directory make: *** [installcheck-local] Error 2 + exit_status=3D2 + set +e + cd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automak= e-1.11d + test no =3D yes + case $am_explicit_skips in + test 2 -eq 0 + keep_testdirs=3Dyes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x posixsubst-ltlibraries: exit 2 Likewise. FAIL: t/transform3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Running from installcheck: no Using TAP: no PATH =3D /data/home-susekde4/bruno/data/build/multibuild-2074/linux/aut= omake-1.11d/t/ax:/data/home-susekde4/bruno/data/build/multibuild-2074/l= inux/automake-1.11d/t/wrap:/home/bruno/data/build/prefix-linux-x86_64/b= in:/home/bruno/bin:/arch/x86_64-linux/gnu/bin:/arch/x86-linux/gnu/bin:/= usr/lib64/mpi/gcc/openmpi/bin:/home/bruno/bin:/usr/local/bin:/usr/bin:/= bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mi= t/sbin ++ pwd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.1= 1d/t/transform3.dir + cat + cat + cat + echo 'To be or not to be ...' + cat + cp foo mu + chmod a+x foo mu + aclocal-1.11d -Werror + autoconf + automake-1.11d --foreign -Werror -Wall -a configure.ac:5: installing './ar-lib' ++ pwd + ./configure --program-prefix=3Dgnu- --prefix /data/home-susekde4/brun= o/data/build/multibuild-2074/linux/automake-1.11d/t/transform3.dir/inst= configure: WARNING: if you wanted to set the --build type, don't use --= host. If a cross compiler is detected then cross compile mode will be use= d configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu= checking for a BSD-compatible install... /home/bruno/data/build/prefix-= linux-x86_64/bin/install -c checking whether build environment is sane... yes checking for x86_64-pc-linux-gnu-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /home/bruno/data/build/prefix-li= nux-x86_64/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables...=20 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 x86_64-pc-linux-gnu-ar... no checking for x86_64-pc-linux-gnu-lib... no checking for x86_64-pc-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for x86_64-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + make install cc -DPACKAGE_NAME=3D\"foo\" -DPACKAGE_TARNAME=3D\"foo\" -DPACKAGE_VERSI= ON=3D\"1.0\" -DPACKAGE_STRING=3D\"foo\ 1.0\" -DPACKAGE_BUGREPORT=3D\"\"= -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"foo\" -DVERSION=3D\"1.0\" -I. -Wa= ll -W -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast= -align -Wcoverage-mismatch -Wdisabled-optimization -Wformat-security -W= format-y2k -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-i= nclude-dirs -Wmissing-noreturn -Wmissing-prototypes -Wmudflap -Wmultich= ar -Wno-logical-op -Wno-sign-compare -Wno-unused-parameter -Woverlength= -strings -Wpacked -Wpacked-bitfield-compat -Wpointer-arith -Wshadow -Ws= trict-aliasing -Wsync-nand -Wunknown-pragmas -Wunused -Wvolatile-regist= er-var -Wwrite-strings -fdiagnostics-show-option -g -O2 -MT libzap.o -= MD -MP -MF .deps/libzap.Tpo -c -o libzap.o libzap.c libzap.c:1:5: warning: no previous prototype for =E2=80=98zap=E2=80=99 = [-Wmissing-prototypes] mv -f .deps/libzap.Tpo .deps/libzap.Po rm -f libzap.a ar cru libzap.a libzap.o=20 ranlib libzap.a make[1]: Entering directory `/data/bruno/build/multibuild-2074/linux/au= tomake-1.11d/t/transform3.dir' /home/bruno/data/build/prefix-linux-x86_64/bin/mkdir -p '/data/home-su= sekde4/bruno/data/build/multibuild-2074/linux/automake-1.11d/t/transfor= m3.dir/inst/bin' /home/bruno/data/build/prefix-linux-x86_64/bin/install -c foo '/data/h= ome-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.11d/t/tr= ansform3.dir/inst/bin/./gnu-foo' /home/bruno/data/build/prefix-linux-x86_64/bin/mkdir -p '/data/home-su= sekde4/bruno/data/build/multibuild-2074/linux/automake-1.11d/t/transfor= m3.dir/inst/lib64/foo' /home/bruno/data/build/prefix-linux-x86_64/bin/install -c -m 644 libz= ap.a '/data/home-susekde4/bruno/data/build/multibuild-2074/linux/automa= ke-1.11d/t/transform3.dir/inst/lib64/foo' ( cd '/data/home-susekde4/bruno/data/build/multibuild-2074/linux/autom= ake-1.11d/t/transform3.dir/inst/lib64/foo' && ranlib libzap.a ) /home/bruno/data/build/prefix-linux-x86_64/bin/mkdir -p '/data/home-su= sekde4/bruno/data/build/multibuild-2074/linux/automake-1.11d/t/transfor= m3.dir/inst/lib/foo' /home/bruno/data/build/prefix-linux-x86_64/bin/install -c mu '/data/ho= me-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.11d/t/tra= nsform3.dir/inst/lib/foo/./gnu-mu' /home/bruno/data/build/prefix-linux-x86_64/bin/mkdir -p '/data/home-su= sekde4/bruno/data/build/multibuild-2074/linux/automake-1.11d/t/transfor= m3.dir/inst/share/foo' /home/bruno/data/build/prefix-linux-x86_64/bin/install -c -m 644 bar.t= xt '/data/home-susekde4/bruno/data/build/multibuild-2074/linux/automake= -1.11d/t/transform3.dir/inst/share/foo' make[1]: Leaving directory `/data/bruno/build/multibuild-2074/linux/aut= omake-1.11d/t/transform3.dir' + find inst inst inst/lib inst/lib/foo inst/lib/foo/gnu-mu inst/bin inst/bin/gnu-foo inst/share inst/share/foo inst/share/foo/bar.txt inst/lib64 inst/lib64/foo inst/lib64/foo/libzap.a + test -f inst/bin/gnu-foo + test -x inst/bin/gnu-foo + test -f inst/share/foo/bar.txt + test '!' -d inst/share/gnu-foo + test -f inst/lib/foo/libzap.a + exit_status=3D1 + set +e + cd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automak= e-1.11d + test no =3D yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=3Dyes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x transform3: exit 1 Likewise, a lib vs. lib64 problem. FAIL: t/posixsubst-scripts =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D ... + make installcheck ls -l /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automa= ke-1.11d/t/posixsubst-scripts.dir/_inst/libexec /data/home-susekde4/bru= no/data/build/multibuild-2074/linux/automake-1.11d/t/posixsubst-scripts= .dir/_inst/bin /data/home-susekde4/bruno/data/build/multibuild-2074/lin= ux/automake-1.11d/t/posixsubst-scripts.dir/_inst/sbin ls: cannot access /data/home-susekde4/bruno/data/build/multibuild-2074/= linux/automake-1.11d/t/posixsubst-scripts.dir/_inst/libexec: No such fi= le or directory /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.1= 1d/t/posixsubst-scripts.dir/_inst/bin: total 4 -rwxr-xr-x 1 bruno users 15 Apr 21 17:38 quux.pl /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.1= 1d/t/posixsubst-scripts.dir/_inst/sbin: total 8 -rwxr-xr-x 1 bruno users 17 Apr 21 17:38 foo1.sh -rwxr-xr-x 1 bruno users 17 Apr 21 17:38 foo2.sh make: *** [installcheck-local] Error 2 + exit_status=3D2 + set +e + cd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automak= e-1.11d + test no =3D yes + case $am_explicit_skips in + test 2 -eq 0 + keep_testdirs=3Dyes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x posixsubst-scripts: exit 2 Likewise, /usr/share/site/x86_64-unknown-linux-gnu also sets libexecdir= : # If user did not specify libexecdir, guess the correct target: # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/= lib. libexecdir=3D'${exec_prefix}/lib' Therefore you cannot count on $libexecdir being $exec_prefix/libexec. FAIL: t/tap-summary-color =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Running from installcheck: no Using TAP: no PATH =3D /data/home-susekde4/bruno/data/build/multibuild-2074/linux/aut= omake-1.11d/t/ax:/data/home-susekde4/bruno/data/build/multibuild-2074/l= inux/automake-1.11d/t/wrap:/data/home-susekde4/bruno/data/build/multibu= ild-2074/linux/automake-1.11d/t/ax:/data/home-susekde4/bruno/data/build= /multibuild-2074/linux/automake-1.11d/t/wrap:/home/bruno/data/build/pre= fix-linux-x86_64/bin:/home/bruno/bin:/arch/x86_64-linux/gnu/bin:/arch/x= 86-linux/gnu/bin:/usr/lib64/mpi/gcc/openmpi/bin:/home/bruno/bin:/usr/lo= cal/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/m= it/bin:/usr/lib/mit/sbin +++ pwd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automake-1.1= 1d/t/tap-summary-color.dir ++ br=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D ++ case $use_colors in ++ fetch_tap_driver ++ case $am_tap_implementation in ++ AM_TAP_AWK=3Dgawk ++ export AM_TAP_AWK ++ sed '1s|#!.*|#! /bin/sh|' /data/home-susekde4/bruno/data/build/multi= build-2074/linux/automake-1.11d/lib/tap-driver.sh ++ chmod a+x tap-driver ++ sed 10q tap-driver #! /bin/sh # Copyright (C) 2011-2012 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of ++ cat ++ cat ++ test yes =3D yes ++ red=3D'=1B[0;31m' ++ grn=3D'=1B[0;32m' ++ lgn=3D'=1B[1;32m' ++ blu=3D'=1B[1;34m' ++ mgn=3D'=1B[0;35m' ++ brg=3D'=1B[1m' ++ std=3D'=1B[m' ++ echo AUTOMAKE_OPTIONS =3D color-tests ++ success_header=3D'=1B[0;32m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=1B[m =1B[0;32mTestsuite summary for GNU AutoTAP 5.12=1B[m =1B[0;32m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=1B[m' ++ success_footer=3D'=1B[0;32m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=1B[m' ++ failure_header=3D'=1B[0;31m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=1B[m =1B[0;31mTestsuite summary for GNU AutoTAP 5.12=1B[m =1B[0;31m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=1B[m' ++ failure_footer=3D'=1B[0;31m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=1B[m =1B[0;31mSee ./test-suite.log=1B[m =1B[0;31mPlease report to bug-automake@gnu.org=1B[m =1B[0;31m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=1B[m' ++ aclocal-1.11d -Werror ++ autoconf ++ automake-1.11d --foreign -Werror -Wall --add-missing ++ ./configure configure: WARNING: if you wanted to set the --build type, don't use --= host. If a cross compiler is detected then cross compile mode will be use= d configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu= checking for a BSD-compatible install... /home/bruno/data/build/prefix-= linux-x86_64/bin/install -c checking whether build environment is sane... yes checking for x86_64-pc-linux-gnu-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /home/bruno/data/build/prefix-li= nux-x86_64/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile ++ echo 1..1 ++ echo ok ++ do_check --pass ++ case $#,$1 in ++ expect_failure=3Dno ++ shift ++ cat ++ cat all.test 1..1 ok ++ st=3D0 ++ test yes =3D yes ++ make_cmd=3D'env AM_COLOR_TESTS=3Dalways make -e' ++ env AM_COLOR_TESTS=3Dalways make -e check ++ cat stdout make check-TESTS make[1]: Entering directory `/data/bruno/build/multibuild-2074/linux/au= tomake-1.11d/t/tap-summary-color.dir' make[2]: Entering directory `/data/bruno/build/multibuild-2074/linux/au= tomake-1.11d/t/tap-summary-color.dir' PASS: all.test 1 make[3]: Entering directory `/data/bruno/build/multibuild-2074/linux/au= tomake-1.11d/t/tap-summary-color.dir' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/bruno/build/multibuild-2074/linux/aut= omake-1.11d/t/tap-summary-color.dir' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Testsuite summary for GNU AutoTAP 5.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D make[2]: Leaving directory `/data/bruno/build/multibuild-2074/linux/aut= omake-1.11d/t/tap-summary-color.dir' make[1]: Leaving directory `/data/bruno/build/multibuild-2074/linux/aut= omake-1.11d/t/tap-summary-color.dir' ++ test no =3D yes ++ test 0 -eq 0 ++ /usr/bin/perl /data/home-susekde4/bruno/data/build/multibuild-2074/l= inux/automake-1.11d/t/ax/extract-testsuite-summary.pl stdout ++ cat summary.exp =1B[0;32m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=1B[m =1B[0;32mTestsuite summary for GNU AutoTAP 5.12=1B[m =1B[0;32m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=1B[m =1B[1m# TOTAL: 1=1B[m =1B[0;32m# PASS: 1=1B[m # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 =1B[0;32m=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=1B[m ++ cat summary.got =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Testsuite summary for GNU AutoTAP 5.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D ++ test yes =3D yes ++ compare=3Dcmp ++ cmp summary.exp summary.got summary.exp summary.got differ: byte 1, line 1 ++ Exit 1 ++ set +e ++ test 77 =3D 1 ++ exit 1 ++ exit 1 + exit_status=3D1 + set +e + cd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/automak= e-1.11d + test no =3D yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=3Dyes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x tap-summary-color: exit 1 This is probably because I'm executing the tests through an ssh login: ssh $machine 'cd ...; ./configure; make; make check' and in this situation the executing process is not connected to a tty, and maybe the TERM variable is not set. The vala-* test failures are being discussed in another thread . Bruno From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 21 14:56:15 2012 Received: (at 11302) by debbugs.gnu.org; 21 Apr 2012 18:56:15 +0000 Received: from localhost ([127.0.0.1]:46038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLfTd-0007te-8C for submit@debbugs.gnu.org; Sat, 21 Apr 2012 14:56:15 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:46108) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLfTT-0007sz-Sq for 11302@debbugs.gnu.org; Sat, 21 Apr 2012 14:56:07 -0400 Received: by werb10 with SMTP id b10so8536582wer.3 for <11302@debbugs.gnu.org>; Sat, 21 Apr 2012 11:55:22 -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=rC6iAGVW4rFegpx1Plw7TK+IMPZb8h3S/fdUA6qDuoI=; b=MCPLX3IL52sfcyebGnh8lWpB4v9QQoZE7QT3KKGx9HFxVkHhwHKAY0GQZ4Et3oWSC1 LvTVaA3za22tTFqXbWJyb2N4Cm6UY0tiR7hewiLfh1HaRyY+zLQp+ag+ZH45rqgxghwZ J7IqV/C3JfE/505wPj9e7fTa42e0RkxkgznoDKyLBdCE7tiGhfPAnLoftQfsgRH7yWYR w1sAOa5bHLknJhXjkEwSAbSsr97Ud5ydwSpoLunEVhevvHqFbpM+cYv3Lue94JctZCYC 5Etooltc0RnAilVtEZNsCbfCxC+b8VNyKyowHOmNcm7DafxFUc21HKvGgu2/BdY8KEgG fNCg== Received: by 10.216.218.193 with SMTP id k43mr6446039wep.104.1335034522484; Sat, 21 Apr 2012 11:55:22 -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 b3sm8124044wib.4.2012.04.21.11.55.20 (version=SSLv3 cipher=OTHER); Sat, 21 Apr 2012 11:55:21 -0700 (PDT) Message-ID: <4F930297.3080608@gmail.com> Date: Sat, 21 Apr 2012 20:55:19 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 References: <4F8EF87C.4040201@gmail.com> <2846068.0ufD0dVrua@linuix> In-Reply-To: <2846068.0ufD0dVrua@linuix> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11302 Cc: 11302@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 07:35 PM, Bruno Haible wrote: > Stefano Lattarini wrote: >> The beta release "1.11d" of Automake is now available at >> . > > On openSUSE 12.1 x86_64: 9 tests failed. > > FAIL: t/depcomp2.sh > FAIL: t/posixsubst-libraries.sh > FAIL: t/posixsubst-ltlibraries.sh > FAIL: t/posixsubst-scripts.sh > FAIL: t/tap-summary-color.sh > FAIL: t/transform3.sh > FAIL: t/vala-vapi.sh > FAIL: t/vala-mix.sh > FAIL: t/vala-mix2.sh > > Autoconf version is 2.68. > > Details from test-suite.log: > > > FAIL: t/depcomp2 > ================ > > [SNIP] > > configure: WARNING: if you wanted to set the --build type, don't use --host. > If a cross compiler is detected then cross compile mode will be used > + test '!' -s stderr > + exit_status=1 > + set +e > + cd /data/home-susekde4/bruno/data/build/multibuild-2074/linux/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 > depcomp2: exit 1 > > The file 'stderr' is not empty: It contains this two-line warning > > configure: WARNING: if you wanted to set the --build type, don't use --host. > If a cross compiler is detected then cross compile mode will be used > > This is because I configured with the arguments > > --host=x86_64-pc-linux-gnu \ > --prefix=/home/bruno/data/build/prefix-linux-x86_64 \ > --libdir=/home/bruno/data/build/prefix-linux-x86_64/lib64 > > Apparently this led to a host_alias variable being passed to sub-configures: > The autoconf manual reads: For historical reasons, whenever you specify --host, be sure to specify --build too; this will be fixed in the future. So, to enter cross compilation mode, use a command like this: ./configure --build=i686-pc-linux-gnu --host=m68k-coff Does the error disappear if you also pass the '--build' option to configure? > FAIL: t/tap-summary-color > ========================= > > [SNIP] > This is probably because I'm executing the tests through an ssh login: > ssh $machine 'cd ...; ./configure; make; make check' > and in this situation the executing process is not connected to a tty, > and maybe the TERM variable is not set. > Exactly. I had already fixed this issue yesterday: > The vala-* test failures are being discussed in another thread > . > And they are now fixed, right? I will reply about the other failures in a later mail. Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 21 15:34:13 2012 Received: (at 11302) by debbugs.gnu.org; 21 Apr 2012 19:34:13 +0000 Received: from localhost ([127.0.0.1]:46046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLg4Q-0000J9-JZ for submit@debbugs.gnu.org; Sat, 21 Apr 2012 15:34:12 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:53065) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLg4O-0000Iw-Ex for 11302@debbugs.gnu.org; Sat, 21 Apr 2012 15:34:09 -0400 Received: by wgbdq11 with SMTP id dq11so11169260wgb.15 for <11302@debbugs.gnu.org>; Sat, 21 Apr 2012 12:33:29 -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=iEdz0nY3/DSgccxY0MAlUvuJ7EW2RRqAmPRUuc45WTU=; b=aw0LpOS8a3aH7W1w2XfrpsDSkSWmtQ1Z6Wwd77ixp0GXIX6KoomD3QiKpzWuhdhiqh oP2dMpK1uHHRkRLoqDDRLcEFHvOsJAQZee/WJShL8yEDvxkM6YtsDopniJXnQGZF3kbh YPwoPU9kAqzxWbjXH+5V5vJzVypRN41L9FE6YSsxCxXgOpU4m6mq2WiOj1UlCCXua20R d3xYig5gLO8ESXvL0ziQM2lMJ1bOnbOqsL4MfTFzCwPv4FhAMVbr6YDXqnEjCMgYgxQ/ VKeev6wx3IeRwCdTwe43FdMZfMgqzej9iFfGXwfwF+Oy2V81O6lk+v13MB+8gqVUmVG9 685Q== Received: by 10.180.92.71 with SMTP id ck7mr8151041wib.21.1335036809601; Sat, 21 Apr 2012 12:33:29 -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 n20sm12853983wiw.5.2012.04.21.12.33.27 (version=SSLv3 cipher=OTHER); Sat, 21 Apr 2012 12:33:28 -0700 (PDT) Message-ID: <4F930B86.8070705@gmail.com> Date: Sat, 21 Apr 2012 21:33:26 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 References: <4F8EF87C.4040201@gmail.com> <2846068.0ufD0dVrua@linuix> In-Reply-To: <2846068.0ufD0dVrua@linuix> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11302 Cc: 11302@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 (--) On 04/21/2012 07:35 PM, Bruno Haible wrote: > > FAIL: t/posixsubst-libraries > > The test looks for a lib/ directory, but "make install" created a lib64/ > directory. This is due to the /usr/share/site/x86_64-unknown-linux-gnu > (from $CONFIG_SITE, set by /etc/profile.d/site.sh) which sets a libdir > that ends in /lib64 rather than /lib if it finds that the compiler is > generating 64-bit code. > > [SNIP] other similar failures > Could you post the contents of the files '/etc/profile.d/site.sh' and (most importantly) '/usr/share/site/x86_64-unknown-linux-gnu'? I'd like to see what cache variables they pre-set, since my idea is to fix some tests by adding a proper '--libdir' option to the configure invocation, and other by unsetting the offending cache variables. Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 22 13:41:02 2012 Received: (at 11302) by debbugs.gnu.org; 22 Apr 2012 17:41:02 +0000 Received: from localhost ([127.0.0.1]:47110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM0mT-0006KB-3M for submit@debbugs.gnu.org; Sun, 22 Apr 2012 13:41:01 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.162]:33151) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM0mP-0006K1-5o for 11302@debbugs.gnu.org; Sun, 22 Apr 2012 13:40:58 -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 mo100) (RZmta 28.11 DYNA|AUTH) with ESMTPA id l05defo3MDJFHO ; Sun, 22 Apr 2012 19:40:18 +0200 (CEST) From: Bruno Haible To: Stefano Lattarini Bcc: bruno@haible.de Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 Date: Sun, 22 Apr 2012 19:42:48 +0200 Message-ID: <1569476.yU9fdNOTQT@linuix> User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <4F930297.3080608@gmail.com> References: <4F8EF87C.4040201@gmail.com> <2846068.0ufD0dVrua@linuix> <4F930297.3080608@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: 11302 Cc: 11302@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/depcomp2 > > ================ > > > > [SNIP] > > ... > > The file 'stderr' is not empty: It contains this two-line warning > > > > configure: WARNING: if you wanted to set the --build type, don't use --host. > > If a cross compiler is detected then cross compile mode will be used > > > > This is because I configured with the arguments > > > > --host=x86_64-pc-linux-gnu \ > > --prefix=/home/bruno/data/build/prefix-linux-x86_64 \ > > --libdir=/home/bruno/data/build/prefix-linux-x86_64/lib64 > > > > Apparently this led to a host_alias variable being passed to sub-configures: > > > The autoconf manual reads: > > For historical reasons, whenever you specify --host, be sure to specify > --build too; this will be fixed in the future. It is safer for me in general to never use --build, only --host. config.guess is always doing its job right [1]; if I used --build, I would only increase the risk of mistakes. > Does the error disappear if you also pass the '--build' option to configure? The Autoconf manual says "this will be fixed in the future"; therefore the Automake test suite should be prepared to work with just --host and no --build option. Bruno [1] http://lists.gnu.org/archive/html/bug-automake/2012-01/msg00086.html From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 22 13:46:48 2012 Received: (at 11302) by debbugs.gnu.org; 22 Apr 2012 17:46:48 +0000 Received: from localhost ([127.0.0.1]:47115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM0s3-0006SC-GD for submit@debbugs.gnu.org; Sun, 22 Apr 2012 13:46:47 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.160]:45036) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM0s0-0006S4-Tp for 11302@debbugs.gnu.org; Sun, 22 Apr 2012 13:46: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 mo7) (RZmta 28.11 DYNA|AUTH) with ESMTPA id 605550o3MCMnEh ; Sun, 22 Apr 2012 19:46:06 +0200 (CEST) From: Bruno Haible To: Stefano Lattarini Bcc: bruno@haible.de Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 Date: Sun, 22 Apr 2012 19:48:36 +0200 Message-ID: <4241275.ARJ7CHCj0j@linuix> User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <4F930B86.8070705@gmail.com> References: <4F8EF87C.4040201@gmail.com> <2846068.0ufD0dVrua@linuix> <4F930B86.8070705@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: 11302 Cc: 11302@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, > > The test looks for a lib/ directory, but "make install" created a lib64/ > > directory. This is due to the /usr/share/site/x86_64-unknown-linux-gnu > > (from $CONFIG_SITE, set by /etc/profile.d/site.sh) which sets a libdir > > that ends in /lib64 rather than /lib if it finds that the compiler is > > generating 64-bit code. > > > Could you post the contents of the files '/etc/profile.d/site.sh' and > (most importantly) '/usr/share/site/x86_64-unknown-linux-gnu'? Sure: =========================== /etc/profile.d/site.sh =========================== CONFIG_SITE="/usr/share/site/x86_64-unknown-linux-gnu" export CONFIG_SITE ================== /usr/share/site/x86_64-unknown-linux-gnu ================== #!/bin/sh # Site script for configure. It is resourced via \$CONFIG_SITE environment varaible. # If user did not specify libdir, guess the correct target: # Use lib64 for 64 bit targets, keep the default for the rest. if test "$libdir" = '${exec_prefix}/lib' ; then # We are trying to guess 32-bit target compilation. It's not as easy as # it sounds, as there is possible several intermediate combinations. ac_config_site_32bit_target=NONE # User defined -m32 in CFLAGS or CXXFLAGS: # (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.) case "$CFLAGS" in *-m32*) ac_config_site_32bit_target=YES ;; esac case "$CXXFLAGS" in *-m32*) ac_config_site_32bit_target=YES ;; esac # User explicitly specified counterpart --host: # (If cross toolchain is installed, generates 32-bit, else generates native.) case "$host" in *i[3456]86-* | ppc-* | s390-* ) ac_config_site_32bit_target=YES ;; esac # Running with linux32: # (Changes detected platform, but not the toolchain target.) case "`/bin/uname -i`" in x86_64 | ppc64 | s390x ) ;; * ) ac_config_site_32bit_target=YES ;; esac if test "x$ac_config_site_32bit_target" = xNONE; then libdir='${exec_prefix}/lib64' fi fi # If user did not specify libexecdir, guess the correct target: # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib. libexecdir='${exec_prefix}/lib' # Continue with the standard behavior of configure defined in AC_SITE_LOAD: if test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done ============================================================================== You can see: 1. To avoid the libdir variable to be clobbered by this script, it is sufficient to pass a --libdir option. 2. It is not possible to avoid the libexecdir variable modification. You can either live with it, or clobber it afterwards. Bruno From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 22 16:36:33 2012 Received: (at 11302) by debbugs.gnu.org; 22 Apr 2012 20:36:33 +0000 Received: from localhost ([127.0.0.1]:47254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM3WK-0002hB-QM for submit@debbugs.gnu.org; Sun, 22 Apr 2012 16:36:33 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:50037) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SM3WI-0002gw-Ij for 11302@debbugs.gnu.org; Sun, 22 Apr 2012 16:36:31 -0400 Received: by werb10 with SMTP id b10so9081599wer.3 for <11302@debbugs.gnu.org>; Sun, 22 Apr 2012 13:35:44 -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=Dj/83YCwUa0074VsHEYsWHkJz046A6Jm29PSeV680I0=; b=XzifWDrX2TcbifZNkLQ3zALfrOpXUehySzUr8LkWvRB1LaMU0bjJqPfXIAWzsBBG5U sFsNAqvz4Xp9EhRRCuEbr20nnF2liCiXMnbI/HCaaJpClnhP6ZzY6hvNsbTFz5p4WG6C DWqxXucNexP4BFFwNk+klp11UyHqkvlMjCh5o46I77Rh0k16T6dxBsiOv9cjvzU34SCj +CvdxLfm7YJM6AyeJtNC4UQopQcIc0tfQhoEUfl5RWWIJcbEr4y2QU6UwR5loEjd8kPI rLGis9DU7L6LOKJiCflZp8G/CcQOjhqSKq0NNC9yVAVnJE8xmB7ug7koM7iB5j+tqE/h KcfA== Received: by 10.216.139.67 with SMTP id b45mr5246937wej.0.1335126944672; Sun, 22 Apr 2012 13:35:44 -0700 (PDT) Received: from [79.7.94.47] (host47-94-dynamic.7-79-r.retail.telecomitalia.it. [79.7.94.47]) by mx.google.com with ESMTPS id ea6sm17457944wib.5.2012.04.22.13.35.42 (version=SSLv3 cipher=OTHER); Sun, 22 Apr 2012 13:35:43 -0700 (PDT) Message-ID: <4F946B93.2030808@gmail.com> Date: Sun, 22 Apr 2012 22:35:31 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 References: <4F8EF87C.4040201@gmail.com> <2846068.0ufD0dVrua@linuix> <4F930297.3080608@gmail.com> <1569476.yU9fdNOTQT@linuix> In-Reply-To: <1569476.yU9fdNOTQT@linuix> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11302 Cc: 11302@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 (--) On 04/22/2012 07:42 PM, Bruno Haible wrote: > Hi Stefano, > >>> FAIL: t/depcomp2 >>> ================ >>> >>> [SNIP] >>> ... >>> The file 'stderr' is not empty: It contains this two-line warning >>> >>> configure: WARNING: if you wanted to set the --build type, don't use --host. >>> If a cross compiler is detected then cross compile mode will be used >>> >>> This is because I configured with the arguments >>> >>> --host=x86_64-pc-linux-gnu \ >>> --prefix=/home/bruno/data/build/prefix-linux-x86_64 \ >>> --libdir=/home/bruno/data/build/prefix-linux-x86_64/lib64 >>> >>> Apparently this led to a host_alias variable being passed to sub-configures: >>> >> The autoconf manual reads: >> >> For historical reasons, whenever you specify --host, be sure to specify >> --build too; this will be fixed in the future. > > It is safer for me in general to never use --build, only --host. > config.guess is always doing its job right [1]; if I used --build, I would > only increase the risk of mistakes. > Not if you do something like this: ./configure --host=whatever --build="`./lib/config.status`" >> Does the error disappear if you also pass the '--build' option to configure? > > The Autoconf manual says "this will be fixed in the future"; therefore > the Automake test suite should be prepared to work with just --host and no > --build option. > Well, the text in t/README is quite clear in explaining what you have to do if you want to run the testsuite with a cross compiler: For example, to run with a Linux-to-MinGW cross compiler, you will need something like this: ./configure --host i586-mingw32msvc --build i686-pc-linux-gnu To avoid possible spurious error, you really have to *explicitly* specify '--build' in addition to '--host'; the 'lib/config.guess' script can help determine the correct value to pass to '--build'. And I see that you've also already proposed a patch to fix the situation in autoconf proper (which is the best thing to do IMHO). So consider this part of the report labelled as a "wontfix". I will reply to the rest of the report tomorrow. Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 23 09:53:16 2012 Received: (at 11302) by debbugs.gnu.org; 23 Apr 2012 13:53:16 +0000 Received: from localhost ([127.0.0.1]:48619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMJha-00084S-Ot for submit@debbugs.gnu.org; Mon, 23 Apr 2012 09:53:16 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:51421) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMJhU-00084B-Q3 for 11302@debbugs.gnu.org; Mon, 23 Apr 2012 09:53:10 -0400 Received: by bkuw5 with SMTP id w5so8444568bku.3 for <11302@debbugs.gnu.org>; Mon, 23 Apr 2012 06:52:21 -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=E7oEcWHfQ7SvFp88RNs67jP5Jr+cluPELmTgSSydvfE=; b=HBIVd3eh7uHIhVrBlbjt35iwNLoKD34FmaD811KY6N0AbQf1leb7dANFaKRbaaRQ5h sgUl33IYZM5OGMoDAjmAk+/H0PlOK63JSlztLkhndUrEKqg5zxIPzfTvVz+4ZGyNaS2i MWRRZqchxHX6Hn6/7O/USbbeQUVljgljOpwpAO0wVoCmBW7uZaKOTNh8jqs79/n4JOG7 PEYkYmd47t2ImhvcL0SeeeB0kSQcj2tFYhDS/GNE+COrbmt5LfY2B/OGExbP3XjJ3wv4 CLwqqQqmE+1H3/UNd3emncsilO/bRySV17t0aer3CvDTIHnzN15/HT99TRWuJ3afOpI8 N5PA== Received: by 10.204.156.135 with SMTP id x7mr1268738bkw.131.1335189141162; Mon, 23 Apr 2012 06:52:21 -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 iq2sm5648229bkc.1.2012.04.23.06.52.18 (version=SSLv3 cipher=OTHER); Mon, 23 Apr 2012 06:52:20 -0700 (PDT) Message-ID: <4F955E91.3080104@gmail.com> Date: Mon, 23 Apr 2012 15:52:17 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 References: <4F8EF87C.4040201@gmail.com> <2846068.0ufD0dVrua@linuix> <4F930B86.8070705@gmail.com> <4241275.ARJ7CHCj0j@linuix> In-Reply-To: <4241275.ARJ7CHCj0j@linuix> Content-Type: multipart/mixed; boundary="------------010903030509000609040409" X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11302 Cc: 11302@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. --------------010903030509000609040409 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Bruno. On 04/22/2012 07:48 PM, Bruno Haible wrote: > Hi Stefano, > >>> The test looks for a lib/ directory, but "make install" created a lib64/ >>> directory. This is due to the /usr/share/site/x86_64-unknown-linux-gnu >>> (from $CONFIG_SITE, set by /etc/profile.d/site.sh) which sets a libdir >>> that ends in /lib64 rather than /lib if it finds that the compiler is >>> generating 64-bit code. >>> >> Could you post the contents of the files '/etc/profile.d/site.sh' and >> (most importantly) '/usr/share/site/x86_64-unknown-linux-gnu'? > > Sure: > > [SNIP] > > You can see: > 1. To avoid the libdir variable to be clobbered by this script, it is > sufficient to pass a --libdir option. > 2. It is not possible to avoid the libexecdir variable modification. > You can either live with it, or clobber it afterwards. > After all, I went for a different and more reliable fix, i.e., using $(libdir) instead of $(prefix)/lib, and similarly for the other $(foodir) variables. So, does the attached patch fix the problem for you? Thanks, Stefano --------------010903030509000609040409 Content-Type: text/x-diff; name="0001-tests-cater-to-systems-installing-libs-in-lib64.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-tests-cater-to-systems-installing-libs-in-lib64.patch" >From f357bed82aed91aa3eef5e157df4814c7fc26028 Mon Sep 17 00:00:00 2001 Message-Id: From: Stefano Lattarini Date: Mon, 23 Apr 2012 15:51:25 +0200 Subject: [PATCH] tests: cater to systems installing libs in /lib64 See automake bug#11302. On at least OpenSUSE 12.1, "make install" will install libraries in the '${prefix}/lib64' directory by default. This is due to the $CONFIG_SITE set by /etc/profile.d/site.sh, which sets a libdir that ends in '/lib64' rather than '/lib' if it finds that the compiler is generating 64-bit code. This behaviour was causing some spurious failures in our testsuite. Fix them. * t/posixsubst-libraries.sh: Assume the libraries are installed in '$(libdir)' rather than in '$(prefix)/lib'. * t/posixsubst-ltlibraries.sh: Likewise. * t/posixsubst-scripts.sh: Similarly, don't assume that '$(bindir)', '$(sbindir)' and '$(libexedir)' always defaults to respectively '$(prefix)/bin', '$(prefix)/sbin' and '$(prefix)/libexec'. * t/transform3.test: Likewise. Signed-off-by: Stefano Lattarini --- t/posixsubst-libraries.sh | 8 ++++---- t/posixsubst-ltlibraries.sh | 8 ++++---- t/posixsubst-scripts.sh | 22 +++++++++++----------- t/transform3.sh | 41 +++++++++++++++++++++++------------------ 4 files changed, 42 insertions(+), 37 deletions(-) diff --git a/t/posixsubst-libraries.sh b/t/posixsubst-libraries.sh index 8e6b265..f437571 100755 --- a/t/posixsubst-libraries.sh +++ b/t/posixsubst-libraries.sh @@ -41,10 +41,10 @@ libbar.c: CLEANFILES = libbar.c # For FreeBSD make. installcheck-local: - ls -l $(prefix)/lib - test -f $(prefix)/lib/libfoo1.a - test -f $(prefix)/lib/libfoo2.a - test -f $(prefix)/lib/libbar.a + ls -l $(libdir) + test -f $(libdir)/libfoo1.a + test -f $(libdir)/libfoo2.a + test -f $(libdir)/libbar.a END echo 'int bar1(void) { return 0; }' > libfoo1.c diff --git a/t/posixsubst-ltlibraries.sh b/t/posixsubst-ltlibraries.sh index 6a4cbd5..b4b2a92 100755 --- a/t/posixsubst-ltlibraries.sh +++ b/t/posixsubst-ltlibraries.sh @@ -41,10 +41,10 @@ libbar.c: CLEANFILES = libbar.c # For FreeBSD make. installcheck-local: - ls -l $(prefix)/lib - test -f $(prefix)/lib/libfoo1.la - test -f $(prefix)/lib/libfoo2.la - test -f $(prefix)/lib/libbar.la + ls -l $(libdir) + test -f $(libdir)/libfoo1.la + test -f $(libdir)/libfoo2.la + test -f $(libdir)/libbar.la END echo 'int bar1(void) { return 0; }' > libfoo1.c diff --git a/t/posixsubst-scripts.sh b/t/posixsubst-scripts.sh index 934b82e..cda515f 100755 --- a/t/posixsubst-scripts.sh +++ b/t/posixsubst-scripts.sh @@ -65,17 +65,17 @@ test2: distdir test ! -r $(distdir)/quux.pl installcheck-local: - ls -l $(prefix)/libexec $(prefix)/bin $(prefix)/sbin - test -f $(prefix)/sbin/foo1.sh - test -x $(prefix)/sbin/foo1.sh - test -f $(prefix)/sbin/foo2.sh - test -x $(prefix)/sbin/foo2.sh - test -f $(prefix)/libexec/bar1 - test -x $(prefix)/libexec/bar1 - test -f $(prefix)/libexec/bar2 - test -x $(prefix)/libexec/bar2 - test -f $(prefix)/bin/quux.pl - test -x $(prefix)/bin/quux.pl + ls -l $(libexecdir) $(bindir) $(sbindir) + test -f $(sbindir)/foo1.sh + test -x $(sbindir)/foo1.sh + test -f $(sbindir)/foo2.sh + test -x $(sbindir)/foo2.sh + test -f $(libexecdir)/bar1 + test -x $(libexecdir)/bar1 + test -f $(libexecdir)/bar2 + test -x $(libexecdir)/bar2 + test -f $(bindir)/quux.pl + test -x $(bindir)/quux.pl END cat > foo1.sh <<'END' diff --git a/t/transform3.sh b/t/transform3.sh index aaa69cb..6f1b811 100755 --- a/t/transform3.sh +++ b/t/transform3.sh @@ -35,6 +35,27 @@ bin_SCRIPTS = foo pkgdata_DATA = bar.txt pkglib_LIBRARIES = libzap.a pkglibexec_SCRIPTS = mu + +test-install: install + find $(prefix) ;: For debugging. + test -f $(bindir)/gnu-foo + test -x $(bindir)/gnu-foo + test -f $(datadir)/foo/bar.txt + test ! -d $(datadir)/gnu-foo + test -f $(libdir)/foo/libzap.a + test ! -d $(libdir)/gnu-foo + test -f $(libexecdir)/foo/gnu-mu + test -x $(libexecdir)/foo/gnu-mu + test ! -d $(libexecdir)/gnu-foo + +test-installdirs: installdirs + find $(prefix) ;: For debugging. + test -d $(datadir)/foo + test ! -d $(datadir)/gnu-foo + test -d $(libdir)/foo + test ! -d $(libdir)/gnu-foo + test -d $(libexecdir)/foo + test ! -d $(libexecdir)/gnu-foo END cat > libzap.c <<'END' @@ -59,29 +80,13 @@ $AUTOMAKE -a ./configure --program-prefix=gnu- --prefix "`pwd`/inst" -$MAKE install -find inst # For debugging. -test -f inst/bin/gnu-foo -test -x inst/bin/gnu-foo -test -f inst/share/foo/bar.txt -test ! -d inst/share/gnu-foo -test -f inst/lib/foo/libzap.a -test ! -d inst/lib/gnu-foo -test -f inst/libexec/foo/gnu-mu -test -x inst/libexec/foo/gnu-mu -test ! -d inst/libexec/gnu-foo +$MAKE test-install $MAKE uninstall test `find inst -type f -print | wc -l` = 0 # Opportunistically test for installdirs. rm -rf inst -$MAKE installdirs -test -d inst/share/foo -test ! -d inst/share/gnu-foo -test -d inst/lib/foo -test ! -d inst/lib/gnu-foo -test -d inst/libexec/foo -test ! -d inst/libexec/gnu-foo +$MAKE test-installdirs : -- 1.7.9.5 --------------010903030509000609040409-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 24 19:21:20 2012 Received: (at 11302) by debbugs.gnu.org; 24 Apr 2012 23:21:20 +0000 Received: from localhost ([127.0.0.1]:51166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMp2t-0002jV-Ty for submit@debbugs.gnu.org; Tue, 24 Apr 2012 19:21:20 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.162]:60099) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMp2r-0002jN-Tn for 11302@debbugs.gnu.org; Tue, 24 Apr 2012 19:21:18 -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 (josoe mo25) (RZmta 28.12 DYNA|AUTH) with ESMTPA id 206457o3OJ0xAs ; Wed, 25 Apr 2012 01:20:25 +0200 (CEST) From: Bruno Haible To: Stefano Lattarini Bcc: bruno@haible.de Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 Date: Wed, 25 Apr 2012 01:22:59 +0200 Message-ID: <1460243.39nXpyFTOk@linuix> User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <4F955E91.3080104@gmail.com> References: <4F8EF87C.4040201@gmail.com> <4241275.ARJ7CHCj0j@linuix> <4F955E91.3080104@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: 11302 Cc: 11302@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: -1.9 (-) Hi Stefano, > I went for a different and more reliable fix, i.e., using $(libdir) > instead of $(prefix)/lib, and similarly for the other $(foodir) variables. > > So, does the attached patch fix the problem for you? Yes, it fixes the test failures of t/posixsubst-libraries.sh t/posixsubst-ltlibraries.sh t/posixsubst-scripts.sh t/transform3.sh Thanks! Bruno From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 25 07:58:24 2012 Received: (at 11302) by debbugs.gnu.org; 25 Apr 2012 11:58:24 +0000 Received: from localhost ([127.0.0.1]:51527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN0rY-0004si-Bj for submit@debbugs.gnu.org; Wed, 25 Apr 2012 07:58:24 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:48118) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN0rW-0004sJ-3h; Wed, 25 Apr 2012 07:58:22 -0400 Received: by bkuw5 with SMTP id w5so1311619bku.3 for ; Wed, 25 Apr 2012 04:57:23 -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=kcO1pkwQejTtShBhPesFaMnNIdYSolbJCHUoENOmdSw=; b=doTAQwv/SN9T7qE8i8Pb+q7cMDILpfEjtHrcUGuqUT2+LdWvwbKwsos2XK9gdR+jlL osfmtbzsG/j01BHs9LsCjX+CMgpwb7Ke94RoXKAInc1rX7dVG18KKVkC9C6xw+Fnnwut cAtemO7BpTJolI+dzpcy8VSs1bmQTq1K7qmYQtTsNbgFTmXW893xDkv3eY1YU43iTXou URmn9EWlfj5ncUf+5vmRM91rWQzdai6ICYb/tTZuNUSN6FwUXHNn/XW8DVUWNF1meTRt oLogwtmIFkaJLO16KhZuoL1hbfD5tU8PdNHQNaZJ8L9bF14AxsOv8LGw6gRcU4KuTvOj qg8g== Received: by 10.204.153.204 with SMTP id l12mr769725bkw.49.1335355043713; Wed, 25 Apr 2012 04:57:23 -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 f11sm38072161bkw.6.2012.04.25.04.57.21 (version=SSLv3 cipher=OTHER); Wed, 25 Apr 2012 04:57:22 -0700 (PDT) Message-ID: <4F97E6A0.3000309@gmail.com> Date: Wed, 25 Apr 2012 13:57:20 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#11302: Automake 1.11d on openSUSE 12.1 References: <4F8EF87C.4040201@gmail.com> <4241275.ARJ7CHCj0j@linuix> <4F955E91.3080104@gmail.com> <1460243.39nXpyFTOk@linuix> In-Reply-To: <1460243.39nXpyFTOk@linuix> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11302 Cc: 11302@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 (--) severity 11302 minor tags 11302 patch close 11302 thanks On 04/25/2012 01:22 AM, Bruno Haible wrote: > > Yes, it fixes the test failures of > > t/posixsubst-libraries.sh > t/posixsubst-ltlibraries.sh > t/posixsubst-scripts.sh > t/transform3.sh > Thanks for confirming. I've pushed the patch, and I'm closing this bug report. Regards, Stefano From unknown Sat Jun 14 03:53:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 24 May 2012 11:24:02 +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