* [Bug general/23977] New: make check fails run-ar.sh in versions 0.173-0.175
@ 2018-12-11 18:59 knappr2 at earthlink dot net
2018-12-11 19:12 ` [Bug general/23977] " mark at klomp dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: knappr2 at earthlink dot net @ 2018-12-11 18:59 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
Bug ID: 23977
Summary: make check fails run-ar.sh in versions 0.173-0.175
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: general
Assignee: unassigned at sourceware dot org
Reporter: knappr2 at earthlink dot net
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
I am building elfutils >= 0.173 with GCC 8.2.0 on a SLES 12.3 system, and I
encounter the following error in the make check step:
FAIL: run-ar.sh
...
Testsuite summary for elfutils 0.173
============================================================================
# TOTAL: 196
# PASS: 192
# SKIP: 3
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://sourceware.org/bugzilla
============================================================================
Makefile:2163: recipe for target 'test-suite.log' failed
make[3]: *** [test-suite.log] Error 1
Makefile:2269: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 2
tests/test-suite.log points to the following:
Create a new ar file with the .o files.
ar: creating test.ar
<pathTo>/elfutils-0.173/src/ar: cannot represent ar_uid: No such file
or directory
<pathTo>/elfutils-0.173/src/ar: cannot create new file: No such file or
directory
FAIL run-ar.sh (exit status: 1)
Makefile:3707: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
Makefile:485: recipe for target 'check-recursive' failed
All advice to resolve will be appreciated.
Best regards,
-Rashawn
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175
2018-12-11 18:59 [Bug general/23977] New: make check fails run-ar.sh in versions 0.173-0.175 knappr2 at earthlink dot net
@ 2018-12-11 19:12 ` mark at klomp dot org
2018-12-11 20:31 ` knappr2 at earthlink dot net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2018-12-11 19:12 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Could you attach either the full tests/test-suite.log or the
tests/run-ar.sh.log file?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175
2018-12-11 18:59 [Bug general/23977] New: make check fails run-ar.sh in versions 0.173-0.175 knappr2 at earthlink dot net
2018-12-11 19:12 ` [Bug general/23977] " mark at klomp dot org
@ 2018-12-11 20:31 ` knappr2 at earthlink dot net
2018-12-11 23:35 ` mark at klomp dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: knappr2 at earthlink dot net @ 2018-12-11 20:31 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
Rashawn <knappr2 at earthlink dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |knappr2 at earthlink dot net
--- Comment #2 from Rashawn <knappr2 at earthlink dot net> ---
Created attachment 11451
--> https://sourceware.org/bugzilla/attachment.cgi?id=11451&action=edit
test-suite.log
Attached test-suite.log
--Rashawn
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175
2018-12-11 18:59 [Bug general/23977] New: make check fails run-ar.sh in versions 0.173-0.175 knappr2 at earthlink dot net
2018-12-11 19:12 ` [Bug general/23977] " mark at klomp dot org
2018-12-11 20:31 ` knappr2 at earthlink dot net
@ 2018-12-11 23:35 ` mark at klomp dot org
2018-12-12 21:25 ` knappr2 at earthlink dot net
2018-12-25 13:20 ` mark at klomp dot org
4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2018-12-11 23:35 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
Comment on attachment 11451
--> https://sourceware.org/bugzilla/attachment.cgi?id=11451
test-suite.log
It looks like the file we want to put into the ar has a numeric uid that cannot
be represented in the ar header. I am not sure yet how that could happen.
Does it work if you do the build and run the test not on an nfs file system?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175
2018-12-11 18:59 [Bug general/23977] New: make check fails run-ar.sh in versions 0.173-0.175 knappr2 at earthlink dot net
` (2 preceding siblings ...)
2018-12-11 23:35 ` mark at klomp dot org
@ 2018-12-12 21:25 ` knappr2 at earthlink dot net
2018-12-25 13:20 ` mark at klomp dot org
4 siblings, 0 replies; 6+ messages in thread
From: knappr2 at earthlink dot net @ 2018-12-12 21:25 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
--- Comment #4 from Rashawn <knappr2 at earthlink dot net> ---
(In reply to Mark Wielaard from comment #3)
> Comment on attachment 11451 [details]
> test-suite.log
>
> It looks like the file we want to put into the ar has a numeric uid that
> cannot be represented in the ar header. I am not sure yet how that could
> happen.
>
> Does it work if you do the build and run the test not on an nfs file system?
Hello Mark and others,
I did build onto the machine's local file system and encountered the same
error. I then went back and read through all of the configure options listed
via ./configure --help. I notice, in addition to --prefix, the
--enable-deterministic-archives might be worth trying as it is the only option
which mentions anything about archives, and based on the binutils description
of -D regarding setting uid and guids to zero it made sense because the make
check error complained about ar_uid. This worked, and I was able to install the
latest version 0.175 into the NFS allocation as originally planned.
My configure line using GCC 8.0.2 ended up like this: ./configure
--prefix=$eupref --enable-deterministic-archives CC=gcc 2>&1 | tee
../build-out-files/2018_1212_elfutils-0.175_gcc-8.2.0_configure-01.out.
Thank you for your input and advice. I am happy to have this solved.
Regards,
-Rashawn
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175
2018-12-11 18:59 [Bug general/23977] New: make check fails run-ar.sh in versions 0.173-0.175 knappr2 at earthlink dot net
` (3 preceding siblings ...)
2018-12-12 21:25 ` knappr2 at earthlink dot net
@ 2018-12-25 13:20 ` mark at klomp dot org
4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2018-12-25 13:20 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Rashawn from comment #4)
> I did build onto the machine's local file system and encountered the same
> error. I then went back and read through all of the configure options listed
> via ./configure --help. I notice, in addition to --prefix, the
> --enable-deterministic-archives might be worth trying as it is the only
> option which mentions anything about archives, and based on the binutils
> description of -D regarding setting uid and guids to zero it made sense
> because the make check error complained about ar_uid. This worked, and I was
> able to install the latest version 0.175 into the NFS allocation as
> originally planned.
>
> My configure line using GCC 8.0.2 ended up like this: ./configure
> --prefix=$eupref --enable-deterministic-archives CC=gcc 2>&1 | tee
> ../build-out-files/2018_1212_elfutils-0.175_gcc-8.2.0_configure-01.out.
>
> Thank you for your input and advice. I am happy to have this solved.
I am somewhat surprised that this worked around the issue. But happy there is a
workaround. Lets close this for now. Thank for experimenting.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-12-25 13:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11 18:59 [Bug general/23977] New: make check fails run-ar.sh in versions 0.173-0.175 knappr2 at earthlink dot net
2018-12-11 19:12 ` [Bug general/23977] " mark at klomp dot org
2018-12-11 20:31 ` knappr2 at earthlink dot net
2018-12-11 23:35 ` mark at klomp dot org
2018-12-12 21:25 ` knappr2 at earthlink dot net
2018-12-25 13:20 ` mark at klomp dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).