When ever I try to put on pilot-link-0.11.8-r1 on my computer I get a compile failure. pilot-link-0.11.8 seems to work fine. Reproducible: Always Steps to Reproduce: 1. emerge pilot-link-0.11.8-r1 Actual Results: I /opt/blackdown-jdk-1.4.2_rc1/include/linux -L ../../libpisock/.libs -lpisock -shared -o libjpisock.so ./libjpisock.c /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/pilot-link-0.11.8-r1/temp/ccqhQdVE.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /var/tmp/portage/pilot-link-0.11.8-r1/temp/ccqhQdVE.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [java_lib] Error 1 make[3]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings/Java' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8' make: *** [all-recursive-am] Error 2 Expected Results: It compiles Portage 2.0.51_rc7 (gcc34-amd64-2004.1, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.9-rc1 x86_64) ================================================================= System uname: 2.6.9-rc1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb bitmap-fonts bzlib cdb cdr crypt cups dedicated divx4linux dvb dvd dvdr encode esd ethereal foomaticdb ftp gdbm gif gimpprint gpm gstreamer gtk gtk2 gtk2gtkhtml imagemagick imlib ipv6 java jpeg kde libg++ libwww mikmod mmap mng motif mozilla mpeg multilib ncurses nls oggvorbis openal opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype videos xine xml2 xmms xpm xprint xv zlib"
Created attachment 41476 [details] Tar contaning 2 patches and a modified ebuild. this tar substitutes the pilot-link-0.11.8-r1.ebuild and creates 2 patches to solve this bug and also the bug related to a amd64 java directory.
*** Bug 77512 has been marked as a duplicate of this bug. ***
thanks for the patches. sorry this has taken so long, but they patches are now in portage now. please test whether this now works on amd64 or not.
looks fine to me, but can't test it.. anybody that has a pilot?
well, technically the old pilot-link doesn't compile with the USE="java" for amd64 previously. so if it works now, then that solves this bug pretty much. i guess any of the ppl CC'ed on this bug ran into this bug before.
I am having the same problem. From the description below I should be able to emerge it without a problem but I have the same error again. After trying to emerge I downloading the tar.gz file and copied them into the correct locations in /usr/portage/app-pda/pilot-link/. But it gave me this: emerge /usr/portage/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild emerging by path implies --oneshot... adding --oneshot to options. *** emerging by path is broken and may not always work!!! Calculating dependencies ...done! >>> emerge (1 of 1) app-pda/pilot-link-0.11.8-r1 to / >>> md5 src_uri ;-) pilot-link-0.11.8.tar.bz2 >>> Unpacking source... >>> Unpacking pilot-link-0.11.8.tar.bz2 to /var/tmp/portage/pilot-link-0.11.8-r1/work * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/app-pda/pilot-link/files/pilot-link-0.11.8-javapath.patch * ( pilot-link-0.11.8-javapath.patch )
Although the java Makefile.am is getting patched properly to say amd64, when I actually build the package, the change doesn't get propagated to Makefile.in and Makefile (they still say 386). If I fix that problem by hand, the build still fails with a sandbox violation: cp libjpisock.so /opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/ ACCESS DENIED open_wr: /opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/libjpisock.so cp: cannot create regular file `/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/libjpisock.so': Permission denied make[2]: *** [install] Error 1 make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings/Java' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings' make: *** [install-recursive] Error 1 !!! ERROR: app-pda/pilot-link-0.11.8-r1 failed. !!! Function src_install, Line 82, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-pda_-_pilot-link-0.11.8-r1-28360.log" open_wr: /opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/libjpisock.so Setting FEATURES="-sandbox" allows the build to complete and install.
can't compile, complains about -fPIC. Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 13:48:20)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r3, 1.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.gentoo-pt.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/portage.tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo-pt.org/gentoo-portage" USE="X aac acpi alsa amd64 arts avi bash-completion bitmap-fonts bluethoot bzlib crypt cups curl dga divx4linux dvd dvdr f77 fam fbcon flac font-server freetype gd gif gimp gimpprint gstreamer gtkhtml ieee1394 imap imlib2 java jikes joystick jp2 jpeg kde lzw lzw-tiff matroska matrox motif mozilla mp3 mpeg mpeg4 mplayer msn multilib ncurses nls nptl opengl oss pam pda perl png pnp posix ppds python qt readline samba sasl sockets speedo ssl tcpd tidy tiff truetype truetype-fonts trusted type1 type1-fonts usb userlocales vcd videos xml xml2 xosd xpm xrandr xv xvid zlib video_cards_nvidia" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
with USE="-java" it works...
-r1 Fails to build on my system (works with -java): Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Opteron(tm) Processor 142 Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 23 2005, 08:45:48)] ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O3 -march=opteron -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=opteron -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnow 3dnowex X acpi alsa apache2 audiofile avi bash-completion berk-db berkdb bitmap-fonts bmp bonobo bzlib cdr crypt cups curl dvd dvdr encode esd evo f77 fam fbcon font-server foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 guile icq imagemagick imlib ipv6 java jp2 jpeg kde libwww lzw lzw-tiff mad maildir mbox mime mimemmap mmx mmx2 mozilla mpeg msn multilib ncurses nls nptl offensive oggvorbis openal opengl oscar oss pam pda pdflib perl php plotutils png ppds python quicktime readline samba sdl sndfile snmp soap sockets sox speex spell sse sse2 ssl tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts usb userlocales videos wxwindows xine xinerama xml xml2 xmms xpm xprint xrandr xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS make[3]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings/Java' cp libjpisock.so /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/ ACCESS DENIED open_wr: /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjpisock.so cp: cannot create regular file `/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjpisock.so': Permission denied make[2]: *** [install] Error 1 make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings/Java' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings' make: *** [install-recursive] Error 1 !!! ERROR: app-pda/pilot-link-0.11.8-r1 failed. !!! Function src_install, Line 82, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-pda_-_pilot-link-0.11.8-r1-4897.log" open_wr: /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjpisock.so --------------------------------------------------------------------------------
Created attachment 51945 [details] Build output for above
I want to +1 the information from Comment #7. It appears the tarball contains bad files "Makefile.in" and "Makefile". Therefore, the patch changes against "Makefile.am" are NOT getting propagated to the other two files. Perheps they aren't even being generated since they already exist? It appears pre-generated files were erroneously included in the tarball. I think fixing the tarball by removing the files would solve this issue. At the very least the amd64_install patch has to be extended. I've done quite a bit of testing and research on this. Let me know if you need any help, etc. I'm working around this for the time being with USE="-java".
i can't confirm that, it compiles/installs fine here, even with USE="java". can you still reproduce it? that's kinda strange...
waiting for a response...
I can still reproduce it: cp libjpisock.so /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/ ACCESS DENIED open_wr: /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjpisock.so cp: regul
I can still reproduce it: cp libjpisock.so /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/ ACCESS DENIED open_wr: /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjpisock.so cp: reguläre Datei ,,/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjpisock.so" kann nicht angelegt werden: Keine Berechtigung make[2]: *** [install] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings/Java' make[1]: *** [install-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8-r1/work/pilot-link-0.11.8/bindings' make: *** [install-recursive] Fehler 1 !!! ERROR: app-pda/pilot-link-0.11.8-r1 failed. !!! Function src_install, Line 82, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-pda_-_pilot-link-0.11.8-r1-5124.log" open_wr: /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjpisock.so -------------------------------------------------------------------------------- bash-2.05b# emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 23 2005, 00:49:43)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.4, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://gentoo.inode.at/source/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.tiscali.nl/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa arts artswrappersuid berkdb bitmap-fonts cddb cdr crypt cups curl dvd dvdr encode esd fam flac font-server foomaticdb fortran gd gdbm gif gimpprint gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg kde lzw lzw-tiff mad mozilla mp3 mpeg nas ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam perl png ppds python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml2 xpm xrandr xv zlib linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
k, thanks for the response
This directory doesn't exist: /opt/blackdown-jdk-1.4.2.01/jre/lib/i386 But there is an directory called /opt/blackdown-jdk-1.4.2.01/jre/lib/amd64 It's probably just a wrong path...
This presumably depends on whether one installed the 64 bit JDK or the 32 bit one, both of which (I should think?) will work.
Hi, I have the same issue too. I am using Live 2005.0 CD. Completed Gentoo instal. All system is updated: Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64) While installing KDE it got stuck at: /var/tmp/portage/pilot-link-0.11.8/temp/ccjiCHoq.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [java_lib] Error 1 make[3]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8' make: *** [all-recursive-am] Error 2 !!! ERROR: app-pda/pilot-link-0.11.8 failed. !!! Function src_compile, Line 57, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. So, the only way to proceed was with echo ">=app-pda/pilot-link-0.11.8 -java" >> /etc/portage/package.use But I wish to know two things: 1) When will this be fixed? 2) What will this -java take away from pilot-link as will need for sinking my device. Also, I do not know if this can help, I have another issue (minor) which I will file a bug too: when running revdep-rebuild (because I needed to Apply my entire system to USE flags change) I get always this error: Checking dynamic linking consistency... broken /opt/blackdown-jre-1.4.2.01/lib/amd64/libjsoundalsa.so (requires libasound.so.2) broken /opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/libjsoundalsa.so (requires libasound.so.2) done. (/root/.revdep-rebuild.3_rebuild) Here is where I have my thread open: http://forums.gentoo.org/viewtopic-t-345790-highlight-.html Please let us know. Thank you, Spiro
I have the same issue here. I even know why: bindings/Java/Makefile.am is updated, yet bindings/Java/Makefile.in is not! Thus bindings/Java/Makefile is not updated as well. If I add duplicate change applied to bindings/Java/Makefile.am in bindings/Java/Makefile.in everything works compiles. The question: what and when should rebuild Makefile.in in build process ? I've found no such place :(
can you all sync again and test the new pilot-link-0.11.8-r1 ?
Works fine now! Thanks.
-r1 tested here too... seems fine.
-r1 works here too.
0.11.8-r1 worked here, where 0.11.8 gave me: I /opt/blackdown-jdk-1.4.2_rc1/include/linux -L ../../libpisock/.libs -lpisock -shared -o libjpisock.so ./libjpisock.c /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/pilot-link-0.11.8-r1/temp/ccqhQdVE.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /var/tmp/portage/pilot-link-0.11.8-r1/temp/ccqhQdVE.o: could not read symbols: Bad value
seems to work, closing bug