Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300852 - dev-db/sqldeveloper-1.5.4.59.40 failed: Cannot find jtds.jar
Summary: dev-db/sqldeveloper-1.5.4.59.40 failed: Cannot find jtds.jar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 326091
  Show dependency tree
 
Reported: 2010-01-13 15:37 UTC by Ján Bednár
Modified: 2010-07-19 06:00 UTC (History)
2 users (show)

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


Attachments
sqldeveloper-1.5.4.59.40.ebuild (sqldeveloper-1.5.4.59.40.ebuild,2.62 KB, text/plain)
2010-05-28 07:35 UTC, Ján Bednár
Details
patch for fixing jtds.jar dependency (sqldeveloper-fix_jtds_dep.patch,755 bytes, patch)
2010-05-28 07:36 UTC, Ján Bednár
Details | Diff
find-jars.patch (find-jars.patch,1.63 KB, patch)
2010-07-17 10:01 UTC, Petteri Räty (RETIRED)
Details | Diff
find-jars.patch (find-jars.patch,1.92 KB, patch)
2010-07-17 13:54 UTC, Petteri Räty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ján Bednár 2010-01-13 15:37:34 UTC
Emerging of sqldeveloper failed with message:
 * dev-java/jtds-1.2.4 does not provide jtds.jar!
 * ERROR: dev-db/sqldeveloper-1.5.4.59.40 failed:
 *   Cannot find jtds.jar                        

dev-java/jtds is installed and /usr/share/jtds-1.2/lib/jtds.jar exists.

Problem is that ebuild is looking for /usr/share/jtds-1.2.4/lib/jtds.jar which does not exists.
Please change the ebuild to look for /usr/share/jtds-1.2/lib/jtds.jar which exists.
Thanks.
Comment 1 Ján Bednár 2010-05-28 07:35:24 UTC
Created attachment 233223 [details]
sqldeveloper-1.5.4.59.40.ebuild

sqldeveloper-1.5.4.59.40.ebuild with fixed jtds.jar dependency
Comment 2 Ján Bednár 2010-05-28 07:36:51 UTC
Created attachment 233225 [details, diff]
patch for fixing jtds.jar dependency

patch for fixing jtds.jar dependency
Comment 3 Ján Bednár 2010-05-28 07:40:47 UTC
Nothing happened here for couple of months so I posted fixed ebuild. It differs only on two lines from ebuild in portage (see attached patch).

Please push it into main tree.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2010-07-17 10:01:50 UTC
Created attachment 239125 [details, diff]
find-jars.patch

Here's a better patch. Arch teams should try it. I couldn't easily find the distfile.
Comment 5 Andreas Schürch gentoo-dev 2010-07-17 12:06:33 UTC
The patch works somehow, as it installs the package and it works, but:

* QA Notice: command not found:
 *                              
 *      /var/tmp/portage/dev-db/sqldeveloper-1.5.4.59.40/temp/environment: line 2301: java-pkg_getjars: command not found
 *      /var/tmp/portage/dev-db/sqldeveloper-1.5.4.59.40/temp/environment: line 2305: java-pkg_getjars: command not found
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2010-07-17 13:54:16 UTC
Created attachment 239147 [details, diff]
find-jars.patch

(In reply to comment #5)
> The patch works somehow, as it installs the package and it works, but:
> 

Did you try actually connecting to a database? It seems the ebuild wasn't even inheriting our eclasses.
Comment 7 Andreas Schürch gentoo-dev 2010-07-17 14:32:19 UTC
(In reply to comment #6)
> Did you try actually connecting to a database? It seems the ebuild wasn't even
> inheriting our eclasses.
> 
At least it works with the mysql driver dev-java/jdbc-mysql-5.1.11 (after registering it as third party module).
Comment 8 Andreas Schürch gentoo-dev 2010-07-19 05:01:18 UTC
Ah, i've just seen now that you've posted a second find-jars patch... That one works flawless now! :-)
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2010-07-19 06:00:34 UTC
(In reply to comment #8)
> Ah, i've just seen now that you've posted a second find-jars patch... That one
> works flawless now! :-)
> 

Commmitted.