Public bug reported:

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.

** Affects: eglibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
debian/sysdeps/linux.mk does not follow links when searching for linux headers
https://bugs.launchpad.net/bugs/617329
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to