debian/sysdeps/linux.mk does not follow links when searching for linux headers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In eglibc 2.12-0ubuntu5
the linux headers are found by searching:-
debian/
KERNEL_HEADER_DIR = $(stamp)
$(stamp)
rm -rf debian/include
mkdir debian/include
ln -s $(LINUX_
# Link all asm directories. We can't just link asm and asm-generic
# because of explicit references to <asm-sparc/*> and
# <asm-sparc64/*>.
find $(LINUX_HEADERS) -maxdepth 1 -xtype d -name asm\* \
-exec ln -s '{}' debian/include ';'
# To make configure happy if libc6-dev is not installed.
touch debian/
During bootstrapping of a cross compiler this can fail since links are not followed.
Adding the find parameter -follow solves this.