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

Bug#1116232: marked as done (udo FTCBFS: passes host flags to the native compiler)



Your message dated Wed, 24 Sep 2025 16:36:51 +0000
with message-id <E1v1SU7-007qm7-0s@fasolo.debian.org>
and subject line Bug#1116232: fixed in udo 6.4.1-9
has caused the Debian Bug report #1116232,
regarding udo FTCBFS: passes host flags to the native compiler
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1116232: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116232
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: udo
Version: 6.4.1-8
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

udo fails to cross build from source, becuse it passes host compiler 
flags to the native build pass and the native compiler doesn't like 
that. Using *_FOR_BUILD flags fixes this. While at it, I also propose 
using dh_auto_build for consistency. I'm attaching a patch for your 
convenience.

Helmut
diff -Nru udo-6.4.1/debian/changelog udo-6.4.1/debian/changelog
--- udo-6.4.1/debian/changelog	2024-05-04 16:53:29.000000000 +0200
+++ udo-6.4.1/debian/changelog	2025-09-22 19:55:06.000000000 +0200
@@ -1,3 +1,10 @@
+udo (6.4.1-9) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Correctly compute build flags for cross compilation.
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 22 Sep 2025 19:55:06 +0200
+
 udo (6.4.1-8) unstable; urgency=medium
 
   * QA upload.
diff -Nru udo-6.4.1/debian/rules udo-6.4.1/debian/rules
--- udo-6.4.1/debian/rules	2024-05-04 16:38:34.000000000 +0200
+++ udo-6.4.1/debian/rules	2025-09-22 19:55:06.000000000 +0200
@@ -5,6 +5,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-format
 
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@
 
@@ -14,8 +16,9 @@
 	dh_auto_clean
 
 override_dh_auto_build:
-	$(MAKE) -C Source -f Makefile.debian \
-		CFLAGS="$(CFLAGS) $(CPPFLAGS) -D__LINUX__" LDFLAGS="$(LDFLAGS)"
+	dpkg-architecture -f -a$(DEB_BUILD_ARCH) -f -c \
+		dh_auto_build --reload-all-buildenv-variables --sourcedirectory=Source --buildsystem=makefile -- \
+		-f Makefile.debian CFLAGS="$(CFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) -D__LINUX__" LDFLAGS="$(LDFLAGS_FOR_BUILD)"
 	mkdir -p eng/html/images
 	mkdir -p ger/html/images
 	Source/udo --nroff -q -o udo.1 $(CURDIR)/Guide/eng/manual/manpage.u

--- End Message ---
--- Begin Message ---
Source: udo
Source-Version: 6.4.1-9
Done: Chris Hofstaedtler <zeha@debian.org>

We believe that the bug you reported is fixed in the latest version of
udo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1116232@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <zeha@debian.org> (supplier of updated udo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 24 Sep 2025 18:00:55 +0200
Source: udo
Architecture: source
Version: 6.4.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Chris Hofstaedtler <zeha@debian.org>
Closes: 1116232
Changes:
 udo (6.4.1-9) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Correctly compute build flags for cross compilation
     (Closes: 1116232)
Checksums-Sha1:
 e2612837bb948b9b8733d3b3f05734523619cc90 1906 udo_6.4.1-9.dsc
 31a7994db32f891c8fd23306969d1860c78061ed 6428 udo_6.4.1-9.debian.tar.xz
 c64efd0fe730ffef093b06a4210021c37c71b041 6357 udo_6.4.1-9_arm64.buildinfo
Checksums-Sha256:
 00e152a3b55d1d251df1dae6d6e86afc87d743adfdfd9e7ca7f4b16ebcdad555 1906 udo_6.4.1-9.dsc
 1b78037d3494ecc29b51bb9e1590b0efd9c3a073276e32405014bbaf8778b87e 6428 udo_6.4.1-9.debian.tar.xz
 19b46e3b61a8235171d98c295b21f0e271814acc730d5bcf5e694277f06d4954 6357 udo_6.4.1-9_arm64.buildinfo
Files:
 2b4921c0b5e49da590a405f4129973f2 1906 text optional udo_6.4.1-9.dsc
 56f5f30c2559f582cd4c5cf4884698c7 6428 text optional udo_6.4.1-9.debian.tar.xz
 abfebb0716c7fd19107a4fb400844864 6357 text optional udo_6.4.1-9_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmjUHIsACgkQXBPW25MF
LgN6wxAAnvyXLUhAQpH/ElEbaUSXTRdZsh/PyrTjKWngoxbGatKpEyKGgp+4ektQ
s/d+aCMP2tEnV73hZJ3WM68muG2zu2gAW3T3WequE5n0vClfgolMIYS+ur2SbKj6
P3fX0eXvUAI67Vd4t5SDcUZMqx8OrgBifVTSDRqdRKuX/oonJENCgPWz+dSedKqQ
aMp1N67aWAbJCJ2/NfJa+z7W5Mcn3oPs+1JA2FYY6vLRiUIGekHLUrkF7cL0cYP4
2Cz8ZCOZbOPMjG0J7v0RH2ZpJIpLxYRYlsWYVkan7U5mghb6cXkziHNXU42uCEE2
Jc+xzVwuYrajzw+sDXl0y2P7NwSCndjqorCOrvlk7h2qLLc0A8/9LQlVZJ+Cnevt
G7vSi7TKEen6IxuabQibAX51eC74CVNfKl6ByxWjl5zxAlHmUfIL0jTjKF9XJBxO
0gZ6KuX1EsnUrFS9V2aJj6REndrbrb7/C2c/Eyl+gBjrppr7v0OXq8VEsJ9kfHuJ
oF/dR/bzj7CWKvoIY2P1YK1Rm6hJD9wXbeQ2OrMCb6iw1Pl6laIkwRGn1/n/WCtN
nwq2GzSeEaYBtqrRE/+LMDw9u0O6lN4QiQl9oNlvux06mU6sZcNF82qBLmaxkTgh
5L0ib+2j47mr7FLmxwGmIou6fpabJGLf+S1FA5HxILNIdgJum0A=
=NtnI
-----END PGP SIGNATURE-----

Attachment: pgpVizqwRGcBP.pgp
Description: PGP signature


--- End Message ---

Reply to: