Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38314 - sun-j2sdk-1.4.2 doesn't compile
Summary: sun-j2sdk-1.4.2 doesn't compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 11:36 UTC by Alfonso Escribano
Modified: 2004-05-28 05:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alfonso Escribano 2004-01-15 11:36:11 UTC
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"
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2004-01-16 00:00:37 UTC
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.
Comment 2 Alfonso Escribano 2004-01-30 17:53:19 UTC
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.
Comment 3 Alfonso Escribano 2004-01-30 17:57:40 UTC
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.
Comment 4 Adrian Almenar 2004-02-14 20:36:27 UTC
any new report on this one ?
Comment 5 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-05-28 05:16:43 UTC
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.