This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc Makefile issues


Hi!

While glibc from CVS up to Sat built just fine, with today's
CVS I'm getting not completely reproduceable errors during make -jN
(not make install), like:

make[2]: Entering directory `/usr/src/build/186224-i686/BUILD/glibc-2.3.1-20021231/stdio-common'
mkdir /usr/src/build/186224-i686/BUILD/glibc-2.3.1-20021231/build-i686-linux2.4/stdio-common
/usr/bin/install: cannot remove `/usr/include/bits/stdio_lim.h': Permission denied
make[2]: *** [/usr/include/bits/stdio_lim.h] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/build/186224-i686/BUILD/glibc-2.3.1-20021231/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2

Got this twice on i686 (once in NPTL and once in linuxthreads build), once on i386,
once on x86_64 (from 4 builds on all arches, the remaining arches built fine).

Have tried to add back
+# Convenient target to update all the generated source files.
+.PHONY: generated
+generated: $(addprefix $(common-objpfx),$(common-generated)) \
+       $(addprefix $(objpfx),$(generated))
+

to Rules (and remove generated += $(foreach s,.c .S l.c l.S f.c f.S,$(calls:s_%=m_%$s))
from math/Makefile, since then IA-64 wouldn't build), but it happened again.

Any ideas what's going on (ie. why something other than make install is
attempting to install files)?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]