debian/sysdeps/linux.mk does not follow links when searching for linux headers

Bug #617329 reported by Peter Pearse
6
This bug affects 1 person
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/sysdeps/linux.mk

KERNEL_HEADER_DIR = $(stamp)mkincludedir
$(stamp)mkincludedir:
        rm -rf debian/include
        mkdir debian/include
        ln -s $(LINUX_HEADERS)/linux debian/include
        # 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/include/assert.h

During bootstrapping of a cross compiler this can fail since links are not followed.

Adding the find parameter -follow solves this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.