[Bug 436036] Review Request: jna - Pure Java access to native libraries

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 11 17:41:23 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: jna - Pure Java access to native libraries


https://bugzilla.redhat.com/show_bug.cgi?id=436036





------- Additional Comments From mtasaka at ioa.s.u-tokyo.ac.jp  2008-03-11 13:41 EST -------
Well, I am not familiar with java, so I must ask you
some question.

* ExcludeArch
  - Now "java-devel > 1.6" is provided by java-1.7.0-icedtea
    for all archs and this should build on all archs.

  - By the way now Fedora ships "java-1.6.0-openjdk" and
    I am not sure which mock tries to use by "BuildRequires:
    java-devel >= 1.6".

* libffi
  - From build.log jna uses internall libffi, however now
    (at least on rawhide) libffi is system-widely provided.
    Would you patch against jna to use system wide libffi?

* Fedora specific compilation flags
  - From build.log, Fedora specific compilation flags are
    not honored.
    (This compilation flags can be checked by $ rpm --eval %optflags,
     while build.log shows as below:)
------------------------------------------------------------------
   192       [exec]     if /bin/sh ./libtool --tag=CC --mode=compile gcc 
-DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/jna-3.0.2/native/libffi -I.  -I.
-I/builddir/build/BUILD/jna-3.0.2/native/libffi/include -Iinclude
-I/builddir/build/BUILD/jna-3.0.2/native/libffi/src  -Wall -g -fexceptions -g
-O2 -MT src/debug.lo -MD -MP -MF "$depbase.Tpo" -c -o src/debug.lo
/builddir/build/BUILD/jna-3.0.2/native/libffi/src/debug.c; \
------------------------------------------------------------------

* debuginfo? strip binaries?
  - From build.log
------------------------------------------------------------------
   240       [exec] gcc -o
/builddir/build/BUILD/jna-3.0.2/build/native/libtestlib.so -shared
-Wl,-soname,/builddir/build/BUILD/jna-3.0.2/build/native/libtestlib.so
-static-libgcc /builddir/build/BUILD/jna-3.0.2/build/native/testlib.o 
   241      [mkdir] Created dir:
/builddir/build/BUILD/jna-3.0.2/build/classes/com/sun/jna/linux-i386
   242       [copy] Copying 1 file to
/builddir/build/BUILD/jna-3.0.2/build/classes/com/sun/jna/linux-i386
   243      [mkdir] Created dir:
/builddir/build/BUILD/jna-3.0.2/build.eclipse/classes/com/sun/jna/linux-i386
   244       [copy] Copying 1 file to
/builddir/build/BUILD/jna-3.0.2/build.eclipse/classes/com/sun/jna/linux-i386
   245        [jar] Building jar:
/builddir/build/BUILD/jna-3.0.2/build/linux-i386.jar
------------------------------------------------------------------
     When Fedora compilation flags are correctly honored,
     libtestlib.so is created with debug flag "-g", and this will not be
     stripped as this library is packaged as jar style.
     - Are there any means to create "debuginfo" rpm for this library?
     - If not, should this library be stripped or not?


-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-package-review mailing list