Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139817 - cyrus-sasl-2.1.21-r2 fails to emerge on AMD64 (endless loop in java compilation?)
Summary: cyrus-sasl-2.1.21-r2 fails to emerge on AMD64 (endless loop in java compilati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-09 14:33 UTC by rainer
Modified: 2007-03-03 03:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build-log of dev-libs-cyrus/sasl-2.1.21-r3 (2006-09-23-dev-libs-cyrus-sasl-2.1.21-r3-failes-to-build.txt,10.87 KB, text/plain)
2006-09-23 00:11 UTC, Arne Babenhauserheide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2006-07-09 14:33:19 UTC
config.status: creating java/CyrusSasl/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/java/CyrusSasl'
make[3]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/java/CyrusSasl'
CLASSPATH=..:./..:$CLASSPATH javac -d ..   Sasl.java GenericClient.java ClientFactory.java GenericCommon.java SaslClient.java SaslClientFactory.java SaslException.java SaslInputStream.java SaslOutputStream.java SaslUtils.java ServerFactory.java SaslServerFactory.java SaslServer.java GenericServer.java

========================================================
Here the compilation seems to be stuck in an endless loop with full processor load, there is no error message and the java compilation never seems to stop (I waited for almost 15 Minutes).

The same happens with 

javac -version
javac 1.5.0_07

and the Java compiler from Blackdown JDK 1.4.2.03.

# emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.gentoo.gr.jp ftp://ftp.romnet.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa apache apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts blas bluetooth bzip2 cdparanoia cdr cli crypt cups curl curlwrappers dga dio directfb dlloader doc dri dts dvb dvd dvdr dvdread eds emacs emacs-w3 emboss emul-linux-x86 encode esd ethereal evo examples exif fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp ggi gif ginac glut gnome gphoto2 gpm gstreamer gtk gtk2 gtk2html hal icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal lapack lcms ldap leim libedit libwww lirc lm_sensors lzw lzw-tiff mad madwifi mikmod mime mng mnogosearch mono mp3 mpeg mpi msn mule mysql mysqli nas ncurses nls nptl nsplugin nvidia ogg oggvorbis ole openal opengl osc oscar oss pam pcre pdf pdflib perl php plotutils png pppd python qt qt3 qt4 quicktime radius readline reflection samba scanner sdl session sockets socks5 spell spl ssl symlink szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts usb v4l vcd vhosts vorbis wifi xface xine xml xml2 xmlrpc xmms xorg xosd xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vga video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 rainer 2006-07-09 16:24:21 UTC
After waiting quite long, javac 1.5.0_07 stops with a segmentation fault:

/bin/sh: line 1: 13876 Segmentation fault      CLASSPATH=..:./..:$CLASSPATH javac -d .. Sasl.java GenericClient.java ClientFactory.java GenericCommon.java SaslClient.java SaslClientFactory.java SaslException.java SaslInputStream.java SaslOutputStream.java SaslUtils.java ServerFactory.java SaslServerFactory.java SaslServer.java GenericServer.java
make[3]: *** [classjavasasl.stamp] Error 139
make[3]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/java/CyrusSasl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21'
make: *** [all] Error 2

!!! ERROR: dev-libs/cyrus-sasl-2.1.21-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  cyrus-sasl-2.1.21-r2.ebuild, line 176:   Called die

!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 rainer 2006-07-09 23:22:38 UTC
javac from Blackdown JDK 1.4.2.03 does not stop even after an entire night. 
It seems the same problem exists for dev-libs/cyrus-sasl-2.1.20.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2006-07-10 12:07:59 UTC
(In reply to comment #0)
> config.status: creating java/CyrusSasl/Makefile
> config.status: executing depfiles commands
> make[3]: Leaving directory
> `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/java/CyrusSasl'
> make[3]: Entering directory
> `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/java/CyrusSasl'
> CLASSPATH=..:./..:$CLASSPATH javac -d ..   Sasl.java GenericClient.java
> ClientFactory.java GenericCommon.java SaslClient.java SaslClientFactory.java
> SaslException.java SaslInputStream.java SaslOutputStream.java SaslUtils.java
> ServerFactory.java SaslServerFactory.java SaslServer.java GenericServer.java
> 
> ========================================================
> Here the compilation seems to be stuck in an endless loop with full processor
> load, there is no error message and the java compilation never seems to stop (I
> waited for almost 15 Minutes).
> 
> The same happens with 
> 
> javac -version
> javac 1.5.0_07
> 

I think java team can help to solve this problem.
Comment 4 rainer 2006-07-11 12:13:37 UTC
Something is broken with Java in the version with java-config-wrapper 0.9-r5, java-config 2.0.26-r3 and the kernel 2.6.16-r12, whereby other packages are also affected in the same way, e.g.

dev-java/libreadline-java-0.8.0-r1

I was doing a fresh install on AMD64, this is unlikely to be a problem with my system only.
Comment 5 Colin Uhen 2006-07-29 00:31:12 UTC
This is not only an amd64 issue. I'm getting the same problem on an x86 machine.
Comment 6 Arne Babenhauserheide 2006-09-23 00:11:00 UTC
Created attachment 97819 [details]
build-log of dev-libs-cyrus/sasl-2.1.21-r3

I hope this helps a tiny bit.
Comment 7 Arne Babenhauserheide 2006-09-23 00:12:05 UTC
I also get a build-Problem with Suns Java (app-emulation/emul-linux-x86-java-1.5.0.08)

Attached is the log, where the first errors start, I hope log helps. 
Comment 8 Josh Nichols (RETIRED) gentoo-dev 2006-09-23 09:30:34 UTC
(In reply to comment #7)
> I also get a build-Problem with Suns Java
> (app-emulation/emul-linux-x86-java-1.5.0.08)
emul-linux-x86-java is only a JRE, not a JDK.
Comment 9 Arne Babenhauserheide 2006-09-24 07:49:06 UTC
Sorry for giving useless info.
I also have the sun-jdk-1.5.0.08. 
Comment 10 Marko Wallin 2007-02-06 17:49:07 UTC
Cyrus-sasl-2.1.22-r2 emerges alright on AMD64 (~arch) with sun-jdk-1.5.0.10.
Comment 11 Alistair Bush (RETIRED) gentoo-dev 2007-03-03 02:58:44 UTC
This ebuild is no longer in the portage tree,  having been removed  08 Jan 2007; Torsten Veller <tove@gentoo.org>  this bug can be closed.