First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 168800
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lars Wendler (Polynomial-C) <polynomial-c@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge--info.txt emerge --info text/plain Lars Wendler (Polynomial-C) 2007-02-28 22:36 0000 3.49 KB Details
build.log build.log text/plain Lars Wendler (Polynomial-C) 2007-02-28 22:37 0000 168.79 KB Details
build.log build.log text/plain Peter Alfredsen 2007-02-28 23:09 0000 196.82 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 168800 depends on: Show dependency tree
Bug 168800 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-28 22:35 0000
[ebuild  NS   ] dev-java/gnu-classpath-0.93  USE="alsa cairo -debug -dssi
-examples -gconf gtk nsplugin xml"

...

 gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include
-I../../../native/jni/classpath -I../../../native/jni/native-lib -W -Wall
-Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long
-Werror -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-march=athlon-xp -mtune=athlon-xp -O3 -pipe -frename-registers -c gthread-jni.c
 -fPIC -DPIC -o .libs/gthread-jni.o
cc1: warnings being treated as errors
gthread-jni.c: In function 'mutex_trylock_jni_impl':
gthread-jni.c:1521: warning: 'mcache.lockForPotentialLockersObj' may be used
uninitialized in this function
make[3]: *** [gthread-jni.lo] Error 1
make[3]: Leaving directory
`/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/work/classpath-0.93/native/jni/gtk-peer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/work/classpath-0.93/native/jni'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/work/classpath-0.93/native'
make: *** [all-recursive] Error 1

!!! ERROR: dev-java/gnu-classpath-0.93 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2976:   Called src_compile
  gnu-classpath-0.93.ebuild, line 106:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/temp/build.log'.


Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Lars Wendler (Polynomial-C) 2007-02-28 22:36:35 0000 -------
Created an attachment (id=111632) [edit]
emerge --info

------- Comment #2 From Petteri Räty 2007-02-28 22:37:55 0000 -------
(In reply to comment #0)

> !!! A complete build log is located at
> '/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/temp/build.log'.
> 

Please attach this file.

------- Comment #3 From Lars Wendler (Polynomial-C) 2007-02-28 22:37:55 0000 -------
Created an attachment (id=111635) [edit]
build.log

------- Comment #4 From Lars Wendler (Polynomial-C) 2007-02-28 22:44:22 0000 -------
(In reply to comment #2)
> (In reply to comment #0)
> 
> > !!! A complete build log is located at
> > '/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/temp/build.log'.
> > 
> 
> Please attach this file.
> 

done in the very same moment you asked me to do this ;)

------- Comment #5 From Peter Alfredsen 2007-02-28 23:09:29 0000 -------
Created an attachment (id=111637) [edit]
build.log

Reporter: please unrice your cflags and try again.
Try (in one line):
CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O3 -pipe"
LDFLAGS="" emerge -1v =dev-java/gnu-classpath-0.93

Apart from that, I also couldn't emerge gnu-classpath with this:
USE="alsa cairo -debug -dssi -examples -gconf gtk nsplugin xml" emerge -1v
=dev-java/gnu-classpath-0.93

Build.log attached

------- Comment #6 From Petteri Räty 2007-02-28 23:13:27 0000 -------
This is an upstream bug. gnu-classpath doesn't compile with -O3 it seems.
Changing it to -O2 while waiting for upstream to fix this.

------- Comment #7 From Lars Wendler (Polynomial-C) 2007-02-28 23:36:00 0000 -------
Indeed, changing -O3 to -O2 circumvents this problem but the next one comes
with "nsplugin" useflag, which is described in bug #168780 and which Peter
Alfredsen also suffers from.

First Last Prev Next    No search results available      Search page      Enter new bug