Bug 714054 - binutils can't be rebuilt in mock
Summary: binutils can't be rebuilt in mock
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: binutils
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schwab
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-17 09:24 UTC by Levente Farkas
Modified: 2011-06-24 10:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-17 14:02:03 UTC
Target Upstream Version:


Attachments (Terms of Use)
the build log (420.40 KB, text/plain)
2011-06-17 12:40 UTC, Levente Farkas
no flags Details

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


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