Bug 509471 - Build-classpath script does not detect jpcap library (a JNI Lib)
Summary: Build-classpath script does not detect jpcap library (a JNI Lib)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: jpackage-utils
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-03 00:57 UTC by Patrick Dignan
Modified: 2009-07-03 13:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-07-03 13:55:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Patrick Dignan 2009-07-03 00:57:33 UTC
Description of problem: The build-classpath script does not detect the jpcap library.  It may not even detect JNI libraries in general...


Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1.Use the $(build-classpath jpcap) macro in a spec file.
  
Actual results: A blank classpath


Expected results: A classpath with /usr/lib/jpcap/jpcap.jar in it


Additional info:

Comment 1 Deepak Bhole 2009-07-03 13:55:50 UTC
build-classpath will not work in this case. This is expected behaviour actually. Per the guidelines[1]:

"JAR files that require JNI shared objects  ........ <snip> ......... If you are depending on a JNI-using JAR file, you'll need to add it manually -- build-classpath will not find it. "

1: http://fedoraproject.org/wiki/Packaging/Java#Packaging_JAR_files_that_use_JNI


Note You need to log in before you can comment on or make changes to this bug.