Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 714054

Summary: binutils can't be rebuilt in mock
Product: Red Hat Enterprise Linux 6 Reporter: Levente Farkas <lfarkas>
Component: binutilsAssignee: Andreas Schwab <schwab>
Status: CLOSED NOTABUG QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: jan.kratochvil
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-17 14:02:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
the build log none

Description Levente Farkas 2011-06-17 09:24:03 UTC
while try to rebuild binutils-2.20.51.0.2-5.20.el6.src in mock during the %check phase it's give a lot's of errors:
----------------------------
                === binutils tests ===
Schedule of variations:
    unix
Running target unix
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/ar.exp ...
FAIL: ar long file names
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bintest.s: assembly failed
UNRESOLVED: ar symbol table
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bintest.s: assembly failed
UNRESOLVED: ar thin archive
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bintest.s: assembly failed
UNRESOLVED: ar thin archive with nested archive
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bintest.s: assembly failed
UNRESOLVED: ar argument parsing
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bintest.s: assembly failed
UNRESOLVED: ar deterministic archive
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/unique.s: assembly failed
UNRESOLVED: ar unique symbol in archive
FAIL: ar unique symbol in archive
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/arm/objdump.exp ...
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bfin/objdump.exp ...
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/dlltool.exp ...
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/hppa/objdump.exp ...
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/m68k/objdump.exp ...
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/nm.exp ...
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bintest.s: assembly failed
Running /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/objcopy.exp ...
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/bintest.s: assembly failed
ERROR: unresolved simple copy
UNRESOLVED: objcopy (simple copy)
FAIL: objcopy --reverse-bytes
FAIL: objcopy -O srec
ERROR: objdump can not recognize bintest.o
ERROR: objdump can not recognize bintest.o
UNRESOLVED: strip
UNTESTED: strip with saving a symbol
UNTESTED: simple objcopy of executable
UNTESTED: run objcopy of executable
UNTESTED: run stripped executable
UNTESTED: run stripped executable with saving a symbol
UNTESTED: keep only debug data
UNTESTED: simple objcopy of debug data
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/unknown.s: assembly failed
ERROR: unresolved ELF unknown section type
UNRESOLVED: objcopy (ELF unknown section type)
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/group.s: assembly failed
UNRESOLVED: objcopy (ELF group)
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/group-2.s: assembly failed
UNRESOLVED: objcopy (ELF group)
ERROR: /builddir/build/BUILD/binutils-2.20.51.0.2/binutils/testsuite/binutils-all/group-3.s: assembly failed
UNRESOLVED: objcopy (ELF group)
----------------------------

Comment 2 Andreas Schwab 2011-06-17 11:58:26 UTC
Please attach all logs.

Comment 3 Levente Farkas 2011-06-17 12:40:18 UTC
Created attachment 505270 [details]
the build log

Comment 4 Andreas Schwab 2011-06-17 14:02:03 UTC
ERROR: The system has no more ptys.  Ask your system administrator to create more.

Comment 5 Levente Farkas 2011-06-17 20:02:55 UTC
all previous and fedora binutils can be build in the same mock, but this version is not (anyway i'm the sysadm:-)
did you ever try to build anything in mock?

Comment 6 Jan Kratochvil 2011-06-24 10:23:52 UTC
May be due to a `mock' Bug:
Bug 701891 - Missing /dev breaks dejagnu=runtest