On Wed, Aug 12, 2026 at 07:20:11PM +0200, Bastian Blank wrote:
> 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?
--- cross-toolchain-base-ports-77/debian/rules 2026-08-11 07:07:26.000000000
+0000
+++ cross-toolchain-base-ports-77/debian/rules 2026-08-11 07:07:26.000000000
+0000
@@ -472,7 +473,7 @@
cd glibc-${VER_GLIBC} && \
PATH=${CURDIR}/debian/tmp.${CROSS_ARCH}/$(PF)/bin/:${PATH} \
LD_LIBRARY_PATH=$(call
binutils_ldpath,$*):${CURDIR}/gcc/debian/lib$(libgcc_base)1-armel-cross/usr/${CROSS_GNU_TYPE}/lib/
\
- LINUX_SOURCE=${CURDIR}/debian/tmp.${CROSS_ARCH}/usr \
+ LINUX_SOURCE=/usr/${CROSS_GNU_TYPE} \
PATCHED_SOURCES=yes \
WITH_BUILD_SYSROOT=${CURDIR}/debian/tmp.${CROSS_ARCH} \
DEB_BUILD_PROFILES=stage1 \
@@ -545,7 +546,7 @@
cd glibc-${VER_GLIBC} && \
PATH=${CURDIR}/debian/tmp.${CROSS_ARCH}/$(PF)/bin/:${PATH} \
LD_LIBRARY_PATH=$(call
binutils_ldpath,$*):${CURDIR}/gcc/debian/lib$(libgcc_base)1-armel-cross/usr/${CROSS_GNU_TYPE}/lib/
\
- LINUX_SOURCE=${CURDIR}/debian/tmp.${CROSS_ARCH}/usr \
+ LINUX_SOURCE=/usr/${CROSS_GNU_TYPE} \
DEB_BUILD_OPTIONS="nocheck notest notests $(DH_PARALLEL)" \
PATCHED_SOURCES=yes \
WITH_BUILD_SYSROOT=${CURDIR}/debian/tmp.${CROSS_ARCH} \
Bastian
--
I'm a soldier, not a diplomat. I can only tell the truth.
-- Kirk, "Errand of Mercy", stardate 3198.9