I have kernel 2.6 with nptl and sun-jdk-1.4.2.03 Reproducible: Always Steps to Reproduce: 1.emerge sun-j2sdk-1.4.2 2. 3. Actual Results: cpio:/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/j2re-image/lib/i386/server/libjsig.so:No such file or directory cpio:/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/j2re-image/lib/i386/server/libjsig_g.so:No such file or directory cpio:/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/j2re-image/lib/i386/client/libjsig.so:No such file or directory cpio:/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/j2re-image/lib/i386/client/libjsig_g.so: No such file or directory 168113 blocks make[2]: *** [image-jre] Error 1 make[2]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/j2se/make' make[1]: *** [j2se-build] Error 2 make[1]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/make' make: *** [scsl-build] Error 2 !!! ERROR: dev-java/sun-j2sdk-1.4.2 failed. !!! Function src_compile, Line 139, Exitcode 2 !!! (no error message) Expected Results: sun-j2sdk-1.4.2 compiles and works Portage 2.0.50_pre14 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.1-gentoo-r1) ================================================================= System uname: 2.6.1-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59,sys-devel/autoconf-2.57a Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse -fforce-addr -ffast-math -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -fforce-mem -frerun-cse-after-loop -frerun-loop-opt -fPIC" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /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/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse -fforce-addr -ffast-math -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -fforce-mem -frerun-cse-after-loop -frerun-loop-opt -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache prelink sandbox" GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo/source" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="STL X X509 aalib acpi alsa apache apm arts avi berkdb cdr chroot crypt crypto cups curl dga dvd encode esd esound fbcon flash foomaticdb gd gdbm gif glx gphoto2 gpm gstreamer gtk gtk2 guile i8x0 imap imlib ipv4 ipv6 java jpeg kde ldap libg++ libgd libwww mad mcal memlimit mikmod mmx mod_php mod_ssl motif mozilla moznocompose moznoirc mpeg mysql nas ncurses nls nls:es_ES nptl odbc oggvorbis opengl openssh openssl oss pam pcmcia pda pdf pdflib perl php pic png prelink python qt qtmt quicktime readline samba sdk sdl slang spell sse ssh ssl stl svga tcltk tcpd tetex tettex threads tiff truetype x86 xfs xml xml2 xmms xv zlib video_cards_i830"
Can I have a full compile log produced with script, what is given here is inconclusive. A possible problem is a lack of hard disk space, because by the looks of it somewhere along the line the compiled binaries were not copied to the image directory.
Hi, Finaly I have compiled sun-j2sdk-1.4.2 but editing /var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/j2se/make/common/Release.gmk to know when it is going to do $(CD) $(OUTPUTDIR); $(FIND) lib | $(CPIO) -pdum $(JRE_IMAGE_DIR) and stoping it with crtl+z and doing by hand, then fg %1, the same all times that it is going to use cpio in Release.gmk, 15 minutes after it finish, and works very good. The complete log of the compile is like 9MB if u want I can put it here, but I think it's too big.
I'm using XFS, I think the problem it's something about filesystem and cpio, it seems like cpio try to copy a simbolic link before copy it source and it says that the source of the link doesn't exist. I'm triying to compile it another time to know if it has the same error or not.
any new report on this one ?
There is not enough to go on here to do a fix, I'm afraid. I'm closing the bug as NEEDINFO for now. If you have further suggestions, Alfonso, feel free to reopen the bug with additional info, and we'll look into it again. Also, note that you may actually be better off with using the pre-built JDKs, as the compilation of the j2sdk has proved fairly fickle.