Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26137 - dev-libs/pilot-link-0.11.8 (update)
Summary: dev-libs/pilot-link-0.11.8 (update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Dylan Carlson (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-08-07 10:35 UTC by Tristan Henderson
Modified: 2003-12-06 12:35 UTC (History)
3 users (show)

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


Attachments
pilot-link 0.11.8 ebuild (pilot-link-0.11.8.ebuild,1.84 KB, text/plain)
2003-08-07 10:36 UTC, Tristan Henderson
Details
Makfefile patch to install Java bindings (javapatch.diff,559 bytes, text/plain)
2003-08-07 10:37 UTC, Tristan Henderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Henderson 2003-08-07 10:35:54 UTC
pilot-link 0.11.8 has been out for a month or so, and I haven't seen an updated ebuild yet, so here is 
my attempt... The configure script has changed a bit, and I had to patch the makefile to install the 
Java bindings properly. The Makefile has the directory "i386" hardcoded into it - someone with more 
ebuild knowledge than me will have to change it, as I haven't got a non-x86 machine to test on...

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tristan Henderson 2003-08-07 10:36:23 UTC
Created attachment 15689 [details]
pilot-link 0.11.8 ebuild
Comment 2 Tristan Henderson 2003-08-07 10:37:14 UTC
Created attachment 15690 [details]
Makfefile patch to install Java bindings

The Makefile has "i386" hardcoded - this needs to be changed...
Comment 3 Dylan Carlson (RETIRED) gentoo-dev 2003-08-09 16:09:40 UTC
I have tested this on x86 and it installs and seems to work fine.  Probably needs some testing on the Java side, since that part was rewritten.
Comment 4 Josiah Ritchie (flickerfly) 2003-09-05 09:17:59 UTC
This is now in portage testing, but appears to be a different package to this one.

Tried both and received the following error:

<pre>ibjpisock.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 `/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)</pre>

I tried both the one currently in portage and by downloading the one here as they appeared to be a bit different.  I received the same error on both.  This is blocking my ability to update evolution as it is a required package (and I use the functions it provides).  I don't know java so can't help with the actual programming, but glad to test it out.  Also, I'm using blackdown java.  I have both installed, is there a way I can tell it to try to compile with Sun java?
Comment 5 Josiah Ritchie (flickerfly) 2003-09-22 12:14:22 UTC
I found my issue was related to java-config errors. I'm resolved... and this is probably a closed bug?

http://forums.gentoo.org/viewtopic.php?t=76147 includes what my problem was and how I resolved it with some help.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-06 12:35:05 UTC
fine, so this can be closed :)