Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37048 - pilot-link-0.11.8 fails to compile
Summary: pilot-link-0.11.8 fails to compile
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Jochen Maes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-02 13:08 UTC by Nicolai Langfeldt
Modified: 2006-02-04 06:04 UTC (History)
2 users (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 Nicolai Langfeldt 2004-01-02 13:08:15 UTC
# 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"
Comment 1 Nicolai Langfeldt 2004-01-02 13:09:26 UTC
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.
Comment 2 Dick Repasky 2004-02-03 05:54:00 UTC
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"
Comment 3 iago 2004-06-18 04:13:30 UTC
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->]
Comment 4 iago 2004-06-18 04:25:41 UTC
disabling USE flag java temporarily make this ebuild compile correctly.

# USE=-java emerge pilot-link
Comment 5 Luca Barbato gentoo-dev 2004-06-18 06:23:44 UTC
try to use ibm-jdk-bin

sadly blackdown isn't up to date since last year.
Comment 6 Luca Barbato gentoo-dev 2004-06-18 07:34:19 UTC
works with ibm-jdk-bin

The java library got misinstalled, sejo could you take a look?
Comment 7 Nicolai Langfeldt 2004-06-18 14:56:30 UTC
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
Comment 8 Jochen Maes (RETIRED) gentoo-dev 2004-06-19 02:36:35 UTC
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....
Comment 9 Luca Barbato gentoo-dev 2004-06-19 07:27:15 UTC
Same here, the only problem is that you get your java .so installed in the ./i386/ dir and that looks wrong to me.
Comment 10 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 14:36:21 UTC
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?
Comment 11 Jochen Maes (RETIRED) gentoo-dev 2004-09-23 02:28:36 UTC
bumped the version and, and added the patch for ppc. 

will test as soon as i have a palm here :-)

greetings
Comment 12 Jochen Maes (RETIRED) gentoo-dev 2004-09-24 14:23:16 UTC
tested on my machine with palm m500

greetings