This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[BUG] glibs tries to install bogus /usr/include/stdlib.h when "make check" is run twice
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: libc-alpha at sourceware dot org
- Date: Wed, 14 Dec 2016 14:39:46 +0100
- Subject: [BUG] glibs tries to install bogus /usr/include/stdlib.h when "make check" is run twice
- Authentication-results: sourceware.org; auth=none
(My sourceware.org/bugzilla/ account got blocked due to bogus SPAM
warning. So I send the report directly to the list.)
When one runs "make check" twice in a row, glibc tries to install
an internal header file to /usr/include/stdlib.h, e.g.:
% make -j4 check
...
Summary of test results:
1 FAIL
1565 PASS
20 UNSUPPORTED
2 XFAIL
2 XPASS
% make -j4 check
...
make[2]: Entering directory '/home/markus/glibc/nptl'
/usr/bin/install -c -m 644 ../include/stdlib.h /usr/include/stdlib.h
/usr/bin/install: cannot remove '/usr/include/stdlib.h': Permission denied
make[2]: *** [../Makerules:1269: /usr/include/stdlib.h] Error 1
make[2]: Leaving directory '/home/markus/glibc/nptl'
make[1]: *** [Makefile:215: nptl/tests] Error 2
make[1]: Leaving directory '/home/markus/glibc'
make: *** [Makefile:9: check] Error 2
--
Markus