# emerge pilot-link ... Making all in Java make[3]: Entering directory `/usr/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java' /opt/blackdown-jdk-1.3.1/bin/javac -d . ./org/gnu/pilotlink/AddressRecord.java ./org/gnu/pilotlink/AppInfo.java ./org/gnu/pilotlink/DatebookRecord.java./org/gnu/pilotlink/MemoRecord.java ./org/gnu/pilotlink/PilotLink.java ./org/gnu/pilotlink/RawAppInfo.java ./org/gnu/pilotlink/RawRecord.java ./org/gnu/pilotlink/Record.java ./org/gnu/pilotlink/SysInfo.java ./org/gnu/pilotlink/User.java ./test.java g++ -I../../include -I ../../include -I ../../include -I /opt/blackdown-jdk-1.3.1/include -I /opt/blackdown-jdk-1.3.1/include/linux -L ../../libpisock/.libs -lpisock -shared -o libjpisock.so ./libjpisock.c libjpisock.c: In function `jint Java_org_gnu_pilotlink_PilotLink_createDB(JNIEnv*, _jobject*, long int, long long int, _jstring*, long long int)': libjpisock.c:198: invalid conversion from `jint*' to `int*' libjpisock.c: In function `jint Java_org_gnu_pilotlink_PilotLink_openDB(JNIEnv*, _jobject*, long int, _jstring*)': libjpisock.c:231: invalid conversion from `jint*' to `int*' libjpisock.c: In function `jint Java_org_gnu_pilotlink_PilotLink_getRecordCount(JNIEnv*, _jobject*, long int, long int)': libjpisock.c:245: invalid conversion from `jint*' to `int*' libjpisock.c: In function `_jobject* Java_org_gnu_pilotlink_PilotLink_getRecordByIndex(JNIEnv*, _jobject*, long int, long int, long int)': libjpisock.c:259: invalid conversion from `jint*' to `int*' libjpisock.c:259: invalid conversion from `jint*' to `int*' libjpisock.c:259: invalid conversion from `jint*' to `int*' make[3]: *** [java_lib] Error 1 make[3]: Leaving directory `/usr/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 `/usr/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/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) Reproducible: Always Steps to Reproduce: 1. emerge pilot-link 2. watch it fail 3. Actual Results: Failure to compile Expected Results: Installed package # emerge info Portage 2.0.49-r15 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-ben2-r3) ================================================================= System uname: 2.4.22-ben2-r3 ppc Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://gentoo.linux.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.no.gentoo.org/gentoo-portage" USE="nls mitshm gnome gtk2 cups foomaticdb gnome-libs berkdb slang tcltk java guile tcpd libwww python imlib motif xft acl apm cdr crypt dvd emacs encode ethereal fbcon gdbm gif gpm gtk imap jpeg kde maildir mcal mozilla mpeg oggvorbis opengl oss pam perl png qt readline scanner sdl snmp spell ssl tetex tiff truetype trusted usb X Xaw3d xmms xv zlib ppc -esd -arts video_cards_radeon"
Oh, maybe this is relevant too: # gcc --version gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is probably not a ppc porting problem. I get the same errors when emerging on an intel box. Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24) ================================================================= System uname: 2.4.24 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" 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/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles"MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://ftp.ussg.indiana.edu/gentoo-portage/" USE="X apm arts avi berkdb cdr crypt cups dga dvd encode esd foomaticdb gdbm gif gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mbox mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv zlib" gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS=" ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://distfiles.gento.org/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
this shouldn't be a compiler issue. I got the same error with gcc-3.3.3 bash-2.05b# gcc --version gcc (GCC) 3.3.3 (Gentoo Linux 3.3.3_pre20040408-r1) [<-Copyright notice omitted->]
disabling USE flag java temporarily make this ebuild compile correctly. # USE=-java emerge pilot-link
try to use ibm-jdk-bin sadly blackdown isn't up to date since last year.
works with ibm-jdk-bin The java library got misinstalled, sejo could you take a look?
Two observations: - No java is installed on my ppc system - Java is not in my USE flags Also I see that it got compiled when I upgraded to 2004.2. Repeating the compile now i note that the build correctly detects no java and compiles without this. For my part his can now be closed, but there were other issues raised by others. Nicolai
luca, checked it out, use the latest ibm-{jdk,jre}-bin and it should work tried all possibilities, can't get it NOT to compile....
Same here, the only problem is that you get your java .so installed in the ./i386/ dir and that looks wrong to me.
If this hasn't already happened, the suggested workaround is to add a: use ppc && use java && die ... to the ebuild. Jochen has that java bug been fixed?
bumped the version and, and added the patch for ppc. will test as soon as i have a palm here :-) greetings
tested on my machine with palm m500 greetings