Bug#1144189: c-t-b-ports fails to building glibc for arc-linux-gnu
Bastian Blank <[email protected]>
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <h5job7w5pkwtnbbcfwflnb5ihvwync5q3gpik6rouvpuikdk7x@3fzd6mawxvq5> |
On Wed, Aug 12, 2026 at 05:12:31AM +0200, Bastian Blank wrote: > | -isystem /build/reproducible-path/cross-toolchain-base-ports-77/glibc-2.43/debian/include And this is the clue: | # ls -al glibc-2.43/debian/include/ | total 8 | drwxr-xr-x 1 root root 54 Aug 12 14:09 . | drwxr-xr-x 1 root root 3694 Aug 12 17:11 .. | lrwxrwxrwx 1 root root 24 Aug 12 14:09 asm-generic -> /usr/include/asm-generic | -rw-r--r-- 1 root root 0 Aug 12 14:09 assert.h | lrwxrwxrwx 1 root root 18 Aug 12 14:09 linux -> /usr/include/linux | drwxr-xr-x 1 root root 0 Aug 12 14:09 sys glibc assumes a normal header arrangement and symlinks them into debian/include. As the cross-toolchain-base maintainer insists on the sysroot layout, he needs to somehow redirect this to that layout. Anyway, there is a LINUX_SOURCE definition in debian/rules. This is then used by glibc as additional search location and current set to debian/tmp.arc/usr/include. Did this in the past contain the headers, as side effect of the linux-libc-dev-*-cross build? Bastian