GNU bug report logs - #24895
t/gcj.sh fails when `gcj` is installed, but -lgcj does not work

Previous Next

Package: automake;

Reported by: Diego Pignedoli <diego.pignedoli <at> gmail.com>

Date: Mon, 7 Nov 2016 16:35:01 UTC

Severity: normal

Tags: unreproducible

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24895 in the body.
You can then email your comments to 24895 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#24895; Package automake. (Mon, 07 Nov 2016 16:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Diego Pignedoli <diego.pignedoli <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 07 Nov 2016 16:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Diego Pignedoli <diego.pignedoli <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: [GNU Automake-1.99a] testsuite: 3 failed
Date: Mon, 7 Nov 2016 12:02:41 +0100
[Message part 1 (text/plain, inline)]

[Message part 2 (text/html, inline)]
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#24895; Package automake. (Sat, 15 Jul 2017 14:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 24895 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Diego Pignedoli <diego.pignedoli <at> gmail.com>
Cc: 24895 <at> debbugs.gnu.org
Subject: Re: bug#24895: [GNU Automake-1.99a] testsuite: 3 failed
Date: Sat, 15 Jul 2017 16:54:03 +0200
Hello Diego,

The test suite failures correspond to:

  - t/check12.sh
  - t/check12-w.sh
  - t/gcj.sh

The first two ones are related to DejaGNU and correspond to bug#26738

Diego Pignedoli <diego.pignedoli <at> gmail.com> writes:

> FAIL: t/gcj
> ===========
>
> Running from installcheck: no
> Test Protocol: none
> PATH = /media/void/AR_CADIA/Download/compile/automake-1.99/t/wrap:/media/void/AR_CADIA/Download/compile/automake-1.99/t/ax:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin
> + pwd
> /media/void/AR_CADIA/Download/compile/automake-1.99/t/gcj.dir
> + cat
> + cat
> + aclocal-1.99a -Werror
> + automake-1.99a --foreign -Werror -Wall
> + /bin/grep -F x/y/convert.$(OBJEXT) Makefile.in
> am__objects_1 = x/y/convert.$(OBJEXT)
> x/y/convert.$(OBJEXT): x/y/$(am__dirstamp) \
> 	test -f x/y/convert.$(OBJEXT)
> + autoconf
> + ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... 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 the compiler supports GNU C... yes
> checking whether cc accepts -g... yes
> checking for cc option to enable C11 features... none needed
> checking whether cc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of cc... gcc3
> checking dependency style of gcj... gcc3
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing depfiles commands
> + make
> rm -f x/y/convert.java-t x/y/convert.java
> test -d x/y || /bin/mkdir -p x/y
> echo 'public class convert {'                      >> x/y/convert.java-t
> echo '  public static void main (String[] args) {' >> x/y/convert.java-t
> echo '    System.out.println("Hello, World!");'    >> x/y/convert.java-t
> echo '  }'                                         >> x/y/convert.java-t
> echo '}'                                           >> x/y/convert.java-t
> chmod a-w x/y/convert.java-t && mv -f x/y/convert.java-t x/y/convert.java
> depbase=`echo x/y/convert.o | sed 's|[^/]*$|.deps/&|;s|\.[^.]*$||'` && \
> gcj   -MT x/y/convert.o -MD -MP -MF $depbase.Tpo -c -o x/y/convert.o  x/y/convert.java; \
> if test $? = 0; then mv -f $depbase.Tpo $depbase.Po; \
>   else rm -f $depbase.Tpo; false; fi
> gcj   --main=convert  -o convert x/y/convert.o  
> /usr/bin/ld: impossibile trovare -lgcj
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:369: convert] Error 1
> + am_exit_trap 2
> + exit_status=2
> + set +e
> + cd /media/void/AR_CADIA/Download/compile/automake-1.99
> + test none = tap
> + test 2 -eq 0
> + keep_testdirs=yes
> + am_keeping_testdirs
> + return 0
> + set +x
> FAIL t/gcj.sh (exit status: 2)

Regarding "t/gcj" The issue in seems in GCJ detection with
'_AM_DEPENDENCIES' since the compilation is processed even if libgcj
seems not available on the system.  I have not been able to reproduce it
since my distibution (Fedora 25) doesn't provide GCJ.

Thanks for the report.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Added tag(s) unreproducible. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 15 Jul 2017 14:55:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#24895; Package automake. (Sat, 15 Jul 2017 16:19:02 GMT) Full text and rfc822 format available.

Message #13 received at 24895 <at> debbugs.gnu.org (full text, mbox):

From: Diego Pignedoli <diego.pignedoli <at> gmail.com>
To: Mathieu Lirzin <mthl <at> gnu.org>
Cc: 24895 <at> debbugs.gnu.org
Subject: Re: bug#24895: [GNU Automake-1.99a] testsuite: 3 failed
Date: Sat, 15 Jul 2017 18:18:18 +0200
[Message part 1 (text/plain, inline)]
Ok.
Thanks,


Il 15 lug 2017 16:54, "Mathieu Lirzin" <mthl <at> gnu.org> ha scritto:

Hello Diego,

The test suite failures correspond to:

  - t/check12.sh
  - t/check12-w.sh
  - t/gcj.sh

The first two ones are related to DejaGNU and correspond to bug#26738

Diego Pignedoli <diego.pignedoli <at> gmail.com> writes:

> FAIL: t/gcj
> ===========
>
> Running from installcheck: no
> Test Protocol: none
> PATH = /media/void/AR_CADIA/Download/compile/automake-1.99/t/wrap:/
media/void/AR_CADIA/Download/compile/automake-1.99/t/ax:/
usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
/usr/games:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin
> + pwd
> /media/void/AR_CADIA/Download/compile/automake-1.99/t/gcj.dir
> + cat
> + cat
> + aclocal-1.99a -Werror
> + automake-1.99a --foreign -Werror -Wall
> + /bin/grep -F x/y/convert.$(OBJEXT) Makefile.in
> am__objects_1 = x/y/convert.$(OBJEXT)
> x/y/convert.$(OBJEXT): x/y/$(am__dirstamp) \
>       test -f x/y/convert.$(OBJEXT)
> + autoconf
> + ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... 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 the compiler supports GNU C... yes
> checking whether cc accepts -g... yes
> checking for cc option to enable C11 features... none needed
> checking whether cc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of cc... gcc3
> checking dependency style of gcj... gcc3
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing depfiles commands
> + make
> rm -f x/y/convert.java-t x/y/convert.java
> test -d x/y || /bin/mkdir -p x/y
> echo 'public class convert {'                      >> x/y/convert.java-t
> echo '  public static void main (String[] args) {' >> x/y/convert.java-t
> echo '    System.out.println("Hello, World!");'    >> x/y/convert.java-t
> echo '  }'                                         >> x/y/convert.java-t
> echo '}'                                           >> x/y/convert.java-t
> chmod a-w x/y/convert.java-t && mv -f x/y/convert.java-t x/y/convert.java
> depbase=`echo x/y/convert.o | sed 's|[^/]*$|.deps/&|;s|\.[^.]*$||'` && \
> gcj   -MT x/y/convert.o -MD -MP -MF $depbase.Tpo -c -o x/y/convert.o
x/y/convert.java; \
> if test $? = 0; then mv -f $depbase.Tpo $depbase.Po; \
>   else rm -f $depbase.Tpo; false; fi
> gcj   --main=convert  -o convert x/y/convert.o
> /usr/bin/ld: impossibile trovare -lgcj
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:369: convert] Error 1
> + am_exit_trap 2
> + exit_status=2
> + set +e
> + cd /media/void/AR_CADIA/Download/compile/automake-1.99
> + test none = tap
> + test 2 -eq 0
> + keep_testdirs=yes
> + am_keeping_testdirs
> + return 0
> + set +x
> FAIL t/gcj.sh (exit status: 2)

Regarding "t/gcj" The issue in seems in GCJ detection with
'_AM_DEPENDENCIES' since the compilation is processed even if libgcj
seems not available on the system.  I have not been able to reproduce it
since my distibution (Fedora 25) doesn't provide GCJ.

Thanks for the report.

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
[Message part 2 (text/html, inline)]

Changed bug title to 'Test suite failure for 't/gcj.sh'' from '[GNU Automake-1.99a] testsuite: 3 failed' Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Jul 2017 10:31:01 GMT) Full text and rfc822 format available.

Changed bug title to 't/gcj.sh fails when `gcj` is installed, but -lgcj does not work' from 'Test suite failure for 't/gcj.sh'' Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Tue, 08 Feb 2022 04:41:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 24895 <at> debbugs.gnu.org and Diego Pignedoli <diego.pignedoli <at> gmail.com> Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Tue, 08 Feb 2022 04:41:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Mar 2022 12:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.