FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-03-2010, 09:07 PM
Rene Engelhard
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

Package: gcj-4.4-jdk
Version: 4.4.4-1
Severity: grave

Hi,

Seen this on the s390 build of openoffice.org 1:3.2.0-9
(https://buildd.debian.org/fetch.cgi?pkg=openoffice.org&arch=s390&ver=1%3A3.2 .0-9&stamp=1272919681&file=log&as=raw):

[...]
AOT_MAKEFLAGS=-j1 aot-compile -L /usr/lib/gcj/openoffice
debian/tmp/native-jars debian/tmp/native-jars/gcj
make[1]: Entering directory `/build/buildd-openoffice.org_3.2.0-9-s390-2XT8Hj/openoffice.org-3.2.0/debian/tmp/native-jars/gcj'
/usr/bin/gcj -c -g -O2 -fPIC -findirect-dispatch -fjni LuceneHelpWrapper.jar.1.jar -o LuceneHelpWrapper.jar.1.o
gcj: libgcj.spec: No such file or directory
make[1]: *** [LuceneHelpWrapper.jar.1.o] Error 1
make[1]: Leaving directory `/build/buildd-openoffice.org_3.2.0-9-s390-2XT8Hj/openoffice.org-3.2.0/debian/tmp/native-jars/gcj'
aot-compile: error: /usr/bin/make exited with code 2
make: *** [debian/stampdir/native-jars] Error 1

Regards,

Rene

--
Grüße/Regards,

Rene



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100503210710.GA18693@rene-engelhard.de">http://lists.debian.org/20100503210710.GA18693@rene-engelhard.de
 
Old 05-04-2010, 09:31 PM
Rene Engelhard
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

Hi,

On Mon, May 03, 2010 at 11:07:10PM +0200, Rene Engelhard wrote:
> Seen this on the s390 build of openoffice.org 1:3.2.0-9
> (https://buildd.debian.org/fetch.cgi?pkg=openoffice.org&arch=s390&ver=1%3A3.2 .0-9&stamp=1272919681&file=log&as=raw):
>
> [...]
> AOT_MAKEFLAGS=-j1 aot-compile -L /usr/lib/gcj/openoffice
> debian/tmp/native-jars debian/tmp/native-jars/gcj
> make[1]: Entering directory `/build/buildd-openoffice.org_3.2.0-9-s390-2XT8Hj/openoffice.org-3.2.0/debian/tmp/native-jars/gcj'
> /usr/bin/gcj -c -g -O2 -fPIC -findirect-dispatch -fjni LuceneHelpWrapper.jar.1.jar -o LuceneHelpWrapper.jar.1.o
> gcj: libgcj.spec: No such file or directory
> make[1]: *** [LuceneHelpWrapper.jar.1.o] Error 1
> make[1]: Leaving directory `/build/buildd-openoffice.org_3.2.0-9-s390-2XT8Hj/openoffice.org-3.2.0/debian/tmp/native-jars/gcj'
> aot-compile: error: /usr/bin/make exited with code 2
> make: *** [debian/stampdir/native-jars] Error 1

Same on armel.

Grüße/Regards,

René
--
.'`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' rene@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100504213142.GC2410@rene-engelhard.de">http://lists.debian.org/20100504213142.GC2410@rene-engelhard.de
 
Old 05-05-2010, 03:38 PM
Matthias Klose
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

tag 580148 + moreinfo
thanks

according to
http://packages.debian.org/search?searchon=contents&keywords=libgcj.spec&mode =path&suite=unstable&arch=s390
this is part of the package.

On 03.05.2010 23:07, Rene Engelhard wrote:

Package: gcj-4.4-jdk
Version: 4.4.4-1
Severity: grave

Hi,

Seen this on the s390 build of openoffice.org 1:3.2.0-9
(https://buildd.debian.org/fetch.cgi?pkg=openoffice.org&arch=s390&ver=1%3A3.2 .0-9&stamp=1272919681&file=log&as=raw):

[...]
AOT_MAKEFLAGS=-j1 aot-compile -L /usr/lib/gcj/openoffice
debian/tmp/native-jars debian/tmp/native-jars/gcj
make[1]: Entering directory `/build/buildd-openoffice.org_3.2.0-9-s390-2XT8Hj/openoffice.org-3.2.0/debian/tmp/native-jars/gcj'
/usr/bin/gcj -c -g -O2 -fPIC -findirect-dispatch -fjni LuceneHelpWrapper.jar.1.jar -o LuceneHelpWrapper.jar.1.o
gcj: libgcj.spec: No such file or directory
make[1]: *** [LuceneHelpWrapper.jar.1.o] Error 1
make[1]: Leaving directory `/build/buildd-openoffice.org_3.2.0-9-s390-2XT8Hj/openoffice.org-3.2.0/debian/tmp/native-jars/gcj'
aot-compile: error: /usr/bin/make exited with code 2
make: *** [debian/stampdir/native-jars] Error 1

Regards,

Rene






--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BE190F7.1070501@debian.org">http://lists.debian.org/4BE190F7.1070501@debian.org
 
Old 05-05-2010, 03:53 PM
Rene Engelhard
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

Hi,

On Wed, May 05, 2010 at 05:38:31PM +0200, Matthias Klose wrote:
> tag 580148 + moreinfo
> thanks

Which info do you need? I can try on my armel sid when the currently
running testbuild for an other thing is over.

> according to
> http://packages.debian.org/search?searchon=contents&keywords=libgcj.spec&mode =path&suite=unstable&arch=s390
> this is part of the package.

Maybe, but apparently gcj doesn't find it...

Grüße/Regards,

René
--
.'`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' rene@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100505155318.GB4249@rene-engelhard.de">http://lists.debian.org/20100505155318.GB4249@rene-engelhard.de
 
Old 05-05-2010, 04:45 PM
Rene Engelhard
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

On Wed, May 05, 2010 at 05:53:18PM +0200, Rene Engelhard wrote:
> Hi,
>
> On Wed, May 05, 2010 at 05:38:31PM +0200, Matthias Klose wrote:
> > tag 580148 + moreinfo
> > thanks
>
> Which info do you need? I can try on my armel sid when the currently
> running testbuild for an other thing is over.

And contrary to your statement that it "should just work", there's apparently
even more archs than just s390 and armel affected, I just stumbled over
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580007

Whatever the reason is, but something *is* broken... openoffice.org built
(including -gcj) on kfreebsd-amd64, though...

Grüße/Regards,

René
--
.'`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' rene@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100505164525.GC4249@rene-engelhard.de">http://lists.debian.org/20100505164525.GC4249@rene-engelhard.de
 
Old 05-06-2010, 10:53 AM
Denis Barbier
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

I do not have access to those boxes, but IMHO gcj does not find
libgcj.spec because gcj from gcj-4.4-jdk_4.4.4-1 looks for
/usr/lib/gcc/s390-linux-gnu/4.4.4/libgcj.spec whereas it ships
/usr/lib/gcc/s390-linux-gnu/4.4/libgcj.spec, and the 4.4.4 -> 4.4
symlink is provided by gcc-4.4-base_4.4.4-1 but not
gcc-4.4-base_4.4.3-9.
Thus gcj is broken when compiling with gcj-4.4-jdk_4.4.n and
gcc-4.4-base_4.4.(n-1).

The same problem occurs when compiling code wrapped by jni: on my x86 box
$ ls -l /usr/lib/jvm/java-gcj-4.4/include
total 4
lrwxrwxrwx 1 root root 43 6 mai 12:08 gcj ->
../../../gcc/i486-linux-gnu/4.4/include/gcj
lrwxrwxrwx 1 root root 48 6 mai 12:08 jawt.h ->
../../../gcc/i486-linux-gnu/4.4.4/include/jawt.h
lrwxrwxrwx 1 root root 47 6 mai 12:08 jni.h ->
../../../gcc/i486-linux-gnu/4.4.4/include/jni.h
drwxr-xr-x 2 root root 4096 6 mai 12:08 linux

It would help if gcj (and friends) did search for files under
triplet/4.4/ instead of triplet/4.4.n/, ditto for symlinks.
Note that gcc-4.4-base_4.4.4-1 is now installed on armel, but not on s390.


Denis



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: z2t7b3bdec71005060353lc8aa42c2sa5000f320cdc776b@ma il.gmail.com">http://lists.debian.org/z2t7b3bdec71005060353lc8aa42c2sa5000f320cdc776b@ma il.gmail.com
 
Old 05-06-2010, 11:06 AM
Rene Engelhard
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

severity 580148 serious
thanks

On Wed, May 05, 2010 at 06:45:25PM +0200, Rene Engelhard wrote:
> On Wed, May 05, 2010 at 05:53:18PM +0200, Rene Engelhard wrote:
> > Hi,
> >
> > On Wed, May 05, 2010 at 05:38:31PM +0200, Matthias Klose wrote:
> > > tag 580148 + moreinfo
> > > thanks
> >
> > Which info do you need? I can try on my armel sid when the currently
> > running testbuild for an other thing is over.
>
> And contrary to your statement that it "should just work", there's apparently
> even more archs than just s390 and armel affected, I just stumbled over
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580007
>
> Whatever the reason is, but something *is* broken... openoffice.org built
> (including -gcj) on kfreebsd-amd64, though...

Aha, we get nearer to it: The failed builds all had one in common:

one part 4.4.3-9, the other one 4.4.4-1. Indeed, I was just able to
reproduce the FTBFS of sacjava on my armel chroot with exactly that constellation.

Then did a dist-upgrade.

Then it works again.

So it's either a too lax depends or a missing Breaks:, depending on
how you want to see it...

I attach the diff between dpkg -l before and after for gc*-related packages..

Grüße/Regards,

René
 
Old 05-06-2010, 11:17 AM
Rene Engelhard
 
Default Bug#580148: gcj: libgcj.spec: No such file or directory

retitle 580148 gcj: libgcj.spec: No such file or directory
thanks

On Thu, May 06, 2010 at 12:53:16PM +0200, Denis Barbier wrote:
> I do not have access to those boxes, but IMHO gcj does not find
> libgcj.spec because gcj from gcj-4.4-jdk_4.4.4-1 looks for
> /usr/lib/gcc/s390-linux-gnu/4.4.4/libgcj.spec whereas it ships
> /usr/lib/gcc/s390-linux-gnu/4.4/libgcj.spec, and the 4.4.4 -> 4.4
> symlink is provided by gcc-4.4-base_4.4.4-1 but not
> gcc-4.4-base_4.4.3-9.
> Thus gcj is broken when compiling with gcj-4.4-jdk_4.4.n and
> gcc-4.4-base_4.4.(n-1).

Yeah, just had the same occurance on the try - dist-upgrade - try again
test I just did.

> The same problem occurs when compiling code wrapped by jni: on my x86 box
> $ ls -l /usr/lib/jvm/java-gcj-4.4/include
> total 4
> lrwxrwxrwx 1 root root 43 6 mai 12:08 gcj ->
> ../../../gcc/i486-linux-gnu/4.4/include/gcj
> lrwxrwxrwx 1 root root 48 6 mai 12:08 jawt.h ->
> ../../../gcc/i486-linux-gnu/4.4.4/include/jawt.h
> lrwxrwxrwx 1 root root 47 6 mai 12:08 jni.h ->
> ../../../gcc/i486-linux-gnu/4.4.4/include/jni.h
> drwxr-xr-x 2 root root 4096 6 mai 12:08 linux

Aha. So this explains also the problem I described on
http://lists.debian.org/debian-mips/2010/05/msg00013.html

rüße/Regards,

René
--
.'`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' rene@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100506111750.GE4249@rene-engelhard.de">http://lists.debian.org/20100506111750.GE4249@rene-engelhard.de
 

Thread Tools




All times are GMT. The time now is 12:20 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org