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

Bug #617329 reported by Peter Pearse on 2010-08-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)

Bug Description

In eglibc 2.12-0ubuntu5
the linux headers are found by searching:-


KERNEL_HEADER_DIR = $(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  Edit
Everyone can see this information.

Other bug subscribers