Source: linux
Version: 6.3.7-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

linux fails to cross build from source again. It seems like the perf
build gained a python extension and that extension happens to be built
for the build architecture, which doesn't go well. Please export the
magic python cross building environment variable to make this work. I'm
attaching a patch for your convenience.

Helmut
--- linux-6.3.7/debian/changelog        2023-06-12 08:25:26.000000000 +0200
+++ linux-6.3.7/debian/changelog        2023-06-14 16:09:09.000000000 +0200
@@ -1,3 +1,11 @@
+linux (6.3.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass _PYTHON_SYSCONFIGDATA_NAME to the perf build.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 14 Jun 2023 16:09:09 +0200
+
 linux (6.3.7-1) unstable; urgency=medium
 
   * New upstream stable update:
--- linux-6.3.7/debian/rules.real       2023-06-12 08:25:16.000000000 +0200
+++ linux-6.3.7/debian/rules.real       2023-06-14 16:09:09.000000000 +0200
@@ -632,6 +632,10 @@
        dh_md5sums
        dh_builddeb -- $(BUILDDEB_ARGS)
 
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+binary_perf build_perf: export 
_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_MULTIARCH)
+endif
+
 build_perf: $(STAMPS_DIR)/build-tools-headers
        $(call make-tools,tools/perf)
 

Reply via email to