[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1019118: linux: [regression] introduction of rtla binary package broke cross builds



Source: linux
Version: 5.19.6-1
Severity: normal
X-Debbugs-Cc: josch@debian.org

Hi,

linux fails to cross build at least for arm64 but probably also for the
other architectures for which the new rtla binary package is built with
the following error message:

$ DEB_BUILD_OPTIONS=parallel=1 DEB_BUILD_PROFILES=cross sbuild -d unstable --build=amd64 --host=arm64 --no-run-lintian --no-run-autopkgtest linux_5.19.6-1
[...]
mkdir -p debian/build/build-tools/tools/tracing/rtla && env -u ABINAME -u ARCH -u FEATURESET -u FLAVOUR -u VERSION -u LOCALVERSION DISTRIBUTION_OFFICIAL_BUILD=1 DISTRIBUTOR="Debian" DISTRIBUTION_VERSION="5.19.6-1" KBUILD_BUILD_TIMESTAMP="Thu, 01 Sep 2022 09:04:35 +0200" KBUILD_BUILD_VERSION_TIMESTAMP="Debian 5.19.6-1 (2022-09-01)" KBUILD_BUILD_USER="debian-kernel" KBUILD_BUILD_HOST="lists.debian.org" KBUILD_VERBOSE=1 /usr/bin/make KCFLAGS=-fdebug-prefix-map=/<<PKGBUILDDIR>>/= KBUILD_HOSTCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' HOSTCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' KBUILD_HOSTLDFLAGS='-Wl,-z,relro' -C debian/build/build-tools/tools/tracing/rtla -f /<<PKGBUILDDIR>>/debian/rules.d/tools/tracing/rtla/Makefile top_srcdir=/<<PKGBUILDDIR>> top_rulesdir=/<<PKGBUILDDIR>>/debian/rules.d OUTDIR=tools/tracing/rtla VERSION=5.19 KERNEL_ARCH=arm64
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
echo '5.19' >VERSION
rsync -a /<<PKGBUILDDIR>>/tools/tracing/rtla/ .
rsync -a /<<PKGBUILDDIR>>/Documentation/tools/rtla/ Documentation/
/usr/bin/make EXTRA_CFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/tools/tracing/rtla -I/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla -isystem /<<PKGBUILDDIR>>/debian/build/build-tools/include' EXTRA_LDFLAGS='-Wl,-z,relro'
make[4]: Entering directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
********************************************
** NOTICE: libtraceevent version 1.5 or higher not found
**
** Consider installing the latest libtraceevent from your
** distribution, e.g., 'dnf install libtraceevent' on Fedora,
** or from source:
**
**  https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ 
**
********************************************
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
dh_testdir
dh_testroot
dh_prep
mkdir -p debian/build/build-tools/tools/tracing/rtla && env -u ABINAME -u ARCH -u FEATURESET -u FLAVOUR -u VERSION -u LOCALVERSION DISTRIBUTION_OFFICIAL_BUILD=1 DISTRIBUTOR="Debian" DISTRIBUTION_VERSION="5.19.6-1" KBUILD_BUILD_TIMESTAMP="Thu, 01 Sep 2022 09:04:35 +0200" KBUILD_BUILD_VERSION_TIMESTAMP="Debian 5.19.6-1 (2022-09-01)" KBUILD_BUILD_USER="debian-kernel" KBUILD_BUILD_HOST="lists.debian.org" KBUILD_VERBOSE=1 /usr/bin/make KCFLAGS=-fdebug-prefix-map=/<<PKGBUILDDIR>>/= KBUILD_HOSTCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' HOSTCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' KBUILD_HOSTLDFLAGS='-Wl,-z,relro' -C debian/build/build-tools/tools/tracing/rtla -f /<<PKGBUILDDIR>>/debian/rules.d/tools/tracing/rtla/Makefile top_srcdir=/<<PKGBUILDDIR>> top_rulesdir=/<<PKGBUILDDIR>>/debian/rules.d OUTDIR=tools/tracing/rtla VERSION=5.19 KERNEL_ARCH=arm64 install DESTDIR=/<<PKGBUILDDIR>>/debian/rtla
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
/usr/bin/make install
make[4]: Entering directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
/usr/bin/make -C Documentation/ install
make[5]: Entering directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla/Documentation'
rst2man --verbose rtla-osnoise-hist.rst > rtla-osnoise-hist.1
rst2man --verbose rtla-osnoise-top.rst > rtla-osnoise-top.1
rst2man --verbose rtla-osnoise.rst > rtla-osnoise.1
rst2man --verbose rtla-timerlat-hist.rst > rtla-timerlat-hist.1
rst2man --verbose rtla-timerlat-top.rst > rtla-timerlat-top.1
rst2man --verbose rtla-timerlat.rst > rtla-timerlat.1
rst2man --verbose rtla.rst > rtla.1
install -d -m 755 /<<PKGBUILDDIR>>/debian/rtla/usr/share/man/man1
install -m 644 rtla-osnoise-hist.1 rtla-osnoise-top.1 rtla-osnoise.1 rtla-timerlat-hist.1 rtla-timerlat-top.1 rtla-timerlat.1 rtla.1 /<<PKGBUILDDIR>>/debian/rtla/usr/share/man/man1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla/Documentation'
mkdir -p /<<PKGBUILDDIR>>/debian/rtla/usr/bin
install rtla -m 755 /<<PKGBUILDDIR>>/debian/rtla/usr/bin
install: cannot stat 'rtla': No such file or directory
make[4]: *** [Makefile:108: install] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
make[3]: *** [/<<PKGBUILDDIR>>/debian/rules.d/tools/tracing/rtla/Makefile:11: install] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/tracing/rtla'
make[2]: *** [debian/rules.real:850: install-rtla] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules.gen:55: binary-arch_arm64_real] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:56: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2


Reply to: