[fedora-java] Debuginfo problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



3 problems with building -debuginfo packages for native java packages. I'm using latest rawhide, find-and-nativify to nativify [which I keep typo-ing as nativity for some reason ;) ] and ecj as source-to-bytecode compiler.

1. gcj outputs bogus source filenames for inner classes, which makes
rpmbuild spew a shedload of errors like this when building the -debuginfo
package:

cpio: rssowl_1_1_src/src/java/net/sourceforge/rssowl/controller/GUI$4.java: No such file or directory

I filed this as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20735


2. cpio outputs some more "No such file or directory errors" referring to a few classes whose source files aren't part of this project at all, e.g.

cpio: rssowl_1_1_src/src/java/org/xml/sax/EntityResolver.java: No such file or directory cpio: rssowl_1_1_src/src/java/org/xml/sax/ErrorHandler.java: No such file or directory cpio: rssowl_1_1_src/src/java/org/xml/sax/InputSource.java: No such file or directory cpio: rssowl_1_1_src/src/java/org/xml/sax/SAXParseException.java: No such file or directory


3. For some strange reason - I only changed like one line in my spec file - I'm now getting this odd error:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/rssowl-1.1-1rdg
error: Installed (but unpackaged) file(s) found:
   /usr/lib/debug/usr/lib/rssowl/librssowl.jar.so.debug

/usr/src/debug/rssowl_1_1_src/src/java/net/sourceforge/rssowl/controller/ChannelInfo.java

/usr/src/debug/rssowl_1_1_src/src/java/net/sourceforge/rssowl/controller/DisposeListenerImpl.java

etc. (continues with list of lots and lots of source files)


So, I'm turning off -debuginfo building for my specfile for now.

--
Robin



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux