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 1104968 - prebuilt binary without build-id gets installed
Summary: prebuilt binary without build-id gets installed
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: rawhide
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mat Booth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2014-06-05 06:53 UTC by Dan Horák
Modified: 2014-10-07 14:16 UTC (History)
10 users (show)

Fixed In Version: eclipse-4.4.1-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-07 14:16:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dan Horák 2014-06-05 06:53:56 UTC
This is rather a reminder of what I have found, no need to react now as s390 is still catching primary koji. The pre-built eclipse binary (.../contributed/gtk/linux/s390x/eclipse) gets installed, not the built one, and the build then fails with

...
~/build/BUILD/R4_platform-aggregator-I20140506-2000
+ find /builddir/build/BUILDROOT/eclipse-4.4.0-0.17.git201405062000.fc21.s390x//usr/lib64/eclipse -name '*.so' -exec chmod a+x '{}' ';'
+ /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/R4_platform-aggregator-I20140506-2000
extracting debug info from /builddir/build/BUILDROOT/eclipse-4.4.0-0.17.git201405062000.fc21.s390x/usr/lib64/eclipse/eclipse
*** ERROR: No build ID note found in /builddir/build/BUILDROOT/eclipse-4.4.0-0.17.git201405062000.fc21.s390x/usr/lib64/eclipse/eclipse
error: Bad exit status from /var/tmp/rpm-tmp.4o9roZ (%install)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.4o9roZ (%install)
Child return code was: 1


full logs are http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1424326

Version-Release number of selected component (if applicable):
>= eclipse-4.4.0-0.15.git201404280800.fc21 (now at 0.17)

Comment 1 Alexander Kurtakov 2014-06-05 07:05:39 UTC
Mat, please make sure that we remove these when creating the source tarball.

Comment 2 Mat Booth 2014-06-06 14:41:40 UTC
The pre-built binaries are now deleted when the source tarball is created so they definitely won't be installed instead of built one. I have not yet tried building eclipse-4.4.0-0.27.git201406042000.fc21 for s390 because the xmvn is not new enough on that platform.

I will not close this bug until I can verify it's definitely fixed on s390.

Comment 3 Dan Horák 2014-06-06 15:19:32 UTC
(In reply to Mat Booth from comment #2)
> The pre-built binaries are now deleted when the source tarball is created so
> they definitely won't be installed instead of built one. I have not yet
> tried building eclipse-4.4.0-0.27.git201406042000.fc21 for s390 because the
> xmvn is not new enough on that platform.
> 
> I will not close this bug until I can verify it's definitely fixed on s390.

There is currently xmvn-2.0.0-6.fc21 (1 day old today) in s390, but rather I think the eclipse-4.4.0-0.12.git201404220800.fc21 in the buildroot might be too old. I'll come back to you when I have fully up-to-date repos on s390.


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