Red Hat Bugzilla – Bug 273881
rawhide RPM don't build java package ouside a jar file
Last modified: 2008-11-06 14:05:58 EST
Description of problem:
rpmbuild fails because check-buildroot find the build root in the debuginfo
package of a unpacked eclipse plugin (Java natively build program).
Perhaps, any Java program outside a jar file may have the same troubles.
Version-Release number of selected component (if applicable):
mkdir tmp && cd tmp
mock -r fedora-8-i386-core eclipse-rse-18.104.22.168-1.fc7.src.rpm
Found '/var/tmp/eclipse-rse-22.214.171.124-1.fc8-root-mockbuild' in installed
The package just build like on F-7 with (rpm-126.96.36.199-1.fc7)
There is already a workaround on the check-buildroot script to not check
.jar.so.debug files, thus the problem with buildroot string inside Java
debuginfo package seems to not be a new stuff.
The problem seems to come from the last changes added to make working the new
This is possibly due to me accidentally removing a patch that I thought was
already upstream but wasn't. If that's the case then the next rawhide build
should fix it. Can you try the packages from this build and see if it fixes this
for you? http://koji.fedoraproject.org/koji/taskinfo?taskID=146588
I don't have a rawhide machine under the hand to test this RPM version, If you
have one can you please make a try with this srpm ->
Otherwise, I should wait that this version is in rawhide to test it.
Actually the one referred to above was buggy in other ways so...
I don't have a rawhide box either, but it'll be included in next rawhide push
Have just make a try with (rpm-188.8.131.52-0.5.rc2) but the problem persist.
Ok it seems that this isn't related to the new find-debuginfo or buildid changes
at all, but instead an old problem that's just exposed now by rawhide having
post-build check-buildroot check run by default (which F7 didn't do).
One way to work around the issue is to disable the native compilation of
problematic bits (like was done here:
but it'd be nice to find some generic, proper solution to this... We can't go
adding specific excludes to the check-buildroot script for every other java
Based on the date this bug was created, it appears to have been reported
during the development of Fedora 8. In order to refocus our efforts as
a project we are changing the version of this bug to '8'.
If this bug still exists in rawhide, please change the version back to
(If you're unable to change the bug's version, add a comment to the bug
and someone will change it for you.)
Thanks for your help and we apologize for the interruption.
The process we're following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.