Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1194817

Summary: /usr/lib/rpm/find-debuginfo.sh fails with "too many notes" error
Product: [Fedora] Fedora Reporter: Omair Majid <omajid>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: ffesti, jvanek, jzeleny, lkardos, novyjindrich, packaging-team-maint, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpm-4.12.0.1-5.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1320961 (view as bug list) Environment:
Last Closed: 2015-03-16 01:41:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1320961    

Description Omair Majid 2015-02-20 20:05:00 UTC
Description of problem:

 /usr/lib/rpm/find-debuginfo.sh fails with mysterious messages during rpmbuild

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


How reproducible:


Steps to Reproduce:
1. fedpkg clone -a java-1.8.0-openjdk
2. cd java-1.8.0-openjdk
3. fedpkg srpm
   Note the name of the rpm produced
4. fedpkg scratch-build --srpm $NAME_OF_RPM_FROM_PREVIOUS_STEP --target f21

Actual results:

From build.log (https://kojipkgs.fedoraproject.org//work/tasks/6124/9006124/build.log):

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.i386
stat: cannot stat '/builddir/build/BUILDROOT/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.i386/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.i386-debug/jre/lib/i386/server/libjvm.so,': No such file or directory
stat: cannot stat 'too': No such file or directory
stat: cannot stat 'many': No such file or directory
stat: cannot stat 'notes': No such file or directory
stat: cannot stat '(256)': No such file or directory
stat: cannot stat '/builddir/build/BUILDROOT/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.i386/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.i386/jre/lib/i386/server/libjvm.so,': No such file or directory
extracting debug info from /builddir/build/BUILDROOT/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.i386/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.i386-debug/jre/lib/jexec
stat: cannot stat 'too': No such file or directory
stat: cannot stat 'many': No such file or directory
stat: cannot stat 'notes': No such file or directory
stat: cannot stat '(256)': No such file or directory

Expected results:
/usr/lib/rpm/find-debuginfo.sh works correctly, or fails gracefully.

Additional info:

Comment 1 Omair Majid 2015-02-22 21:14:14 UTC
Looks like this upstream bug: http://www.rpm.org/ticket/887

Comment 2 jiri vanek 2015-02-23 13:13:22 UTC
Looking to the satus the changeset is already pushed. Reassigning and asking for backport.

Comment 3 jiri vanek 2015-02-23 13:14:09 UTC
Ah its already reassigned.

RPM, can you backport this patch to f21?

Comment 4 Omair Majid 2015-03-03 15:55:12 UTC
Any updates on this? This is preventing us from fixing bugs in the package...

Comment 5 Omair Majid 2015-03-03 15:58:29 UTC
In case it wasn't clear, the failure in /usr/lib/rpm/find-debuginfo.sh makes the entire rpmbuild fail. We can't build packages.

Comment 6 Florian Festi 2015-03-03 17:02:53 UTC
Added patch to 4.12.0.1-5

Comment 7 jiri vanek 2015-03-04 14:09:57 UTC
Modified? -  Is there some place I can add karma?

Comment 8 Florian Festi 2015-03-05 11:00:21 UTC
Sri, still new to this package maintainer business.

https://admin.fedoraproject.org/updates/rpm-4.12.0.1-5.fc21

Comment 9 Fedora Update System 2015-03-05 11:03:48 UTC
rpm-4.12.0.1-5.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/rpm-4.12.0.1-5.fc21

Comment 10 Fedora Update System 2015-03-06 06:58:52 UTC
Package rpm-4.12.0.1-5.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpm-4.12.0.1-5.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3307/rpm-4.12.0.1-5.fc21
then log in and leave karma (feedback).

Comment 11 Omair Majid 2015-03-06 15:15:25 UTC
Would it be possible to create a build override for this? This will allow us to start building OpenJDK packages in F21 again, without having to wait for the package to move through updates-testing to updates (which, I am afraid, will take a week or two).

Comment 12 Fedora Update System 2015-03-16 01:41:59 UTC
rpm-4.12.0.1-5.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.