Hide Forgot
Description of problem: I'm trying to build oracle-instantclient in brew, but I'm getting in build.log: + find /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64 -type f + xargs file + awk -F: '/ELF/ {print $1}' + xargs /usr/bin/strip BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stEh3vPb: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stEh3vPb[.interp]: Bad value BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stEh3vPb: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stEh3vPb: Bad value BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stTqSlIB: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stTqSlIB[.interp]: Bad value BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stTqSlIB: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/bin/stTqSlIB: Bad value BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stwNoeB1: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stwNoeB1[.hash]: Bad value BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stwNoeB1: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stwNoeB1: Bad value BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stP3ArDx: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stP3ArDx[.hash]: Bad value BFD: /builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stP3ArDx: The first section in the PT_DYNAMIC segment is not the .dynamic section /usr/bin/strip:/builddir/build/BUILDROOT/oracle-instantclient-10.2.0-47.el6sat.x86_64/usr/lib/oracle/10.2.0.4/client64/lib/stP3ArDx: Bad value error: Bad exit status from /var/tmp/rpm-tmp.096OYF (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.096OYF (%install) I can confirm that this happen on x86_64 and not on i686 arch. I'm able to build the package if I have binutils-2.20.51.0.2-5.15.el6 in buildroot sucessfully. If I put there binutils-2.20.51.0.2-5.16.el6 this bug will start to appear. Version-Release number of selected component (if applicable): binutils-2.20.51.0.2-5.17.el6 How reproducible: always Steps to Reproduce: 1. Try to rebuild https://brewweb.devel.redhat.com//taskinfo?taskID=3130864 2. make sure binutils-2.20.51.0.2-5.17.el6 or binutils-2.20.51.0.2-5.16.el6 is in buildroot. Actual results: see above Expected results: no errors Additional info:
Does that also happen with binutils-2.21.51.0.6-1?
binutils-2.21.51.0.6-1 is not in brew. But I can say that it does *not* happend with binutils-2.20.51.0.7-6.fc14.x86_64 The problem is present in latest two RHEL6 builds.
2.20.51.0.7 is way too old, please test the latest one.
As I said, I tested it with binutils-2.20.51.0.2-5.17.el6 (which has this bug) and according the brew: https://brewweb.devel.redhat.com/packageinfo?packageID=196 It is most recent one. 2.20.51.0.7 is the latest which works. Everything above (what is in brew) contains this bug.
This is useless, please test 2.21.51.0.6.
And where I can find 2.21.51.0.6 build? Can you give me url?
http://koji.fedoraproject.org/koji/buildinfo?buildID=227947
Ehm, but that is Fedora build. Which I'm not unable to install on RHEL6: [root@dell-per300-01 ~]# rpm -Uvh binutils-2.21.51.0.6-1.fc15.x86_64.rpm error: Failed dependencies: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by binutils-2.21.51.0.6-1.fc15.x86_64 libz.so.1(ZLIB_1.2.0)(64bit) is needed by binutils-2.21.51.0.6-1.fc15.x86_64 [root@dell-per300-01 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Workstation release 6.1 Beta (Santiago) But if you want to compare Fedora and RHEL. In Fedora 14 with binutils-2.20.51.0.7-6.fc14.x86_64 this bug is not present. This bug is only present in Red Hat Enterprise Linux 6.1! And it is regression.
(In reply to comment #9) > Ehm, but that is Fedora build. Which I'm not unable to install on RHEL6: So what's the problem if you are able to install it? > But if you want to compare Fedora and RHEL. In Fedora 14 with > binutils-2.20.51.0.7-6.fc14.x86_64 this bug is not present. As I already told you this is way too old!
s/I'm not unable/I'm unable/ Sorry bad English.
If I remove binutils-rh614443.patch from src.rpm and rebuild the package it will start working.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0614.html