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

Bug#947138: marked as done (udo FTCBFS: builds for the build architecture)



Your message dated Mon, 29 Mar 2021 14:18:38 +0000
with message-id <E1lQsj0-000AiZ-Qe@fasolo.debian.org>
and subject line Bug#947138: fixed in udo 6.4.1-6
has caused the Debian Bug report #947138,
regarding udo FTCBFS: builds for the build architecture
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.)


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

udo fails to cross build from source, because it does not pass cross
tools to make. The easiest way of fixing that - using dh_auto_build -
fails when the built udo is run to generate the documentation. Given
that udo is small and has few dependencies, we can simply build it twice
though. Please consider applying the attached patch.

Helmut
diff --minimal -Nru udo-6.4.1/debian/changelog udo-6.4.1/debian/changelog
--- udo-6.4.1/debian/changelog
+++ udo-6.4.1/debian/changelog
@@ -1,3 +1,9 @@
+udo (6.4.1-6) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Build a second time for cross building. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 21 Dec 2019 17:14:56 +0100
+
 udo (6.4.1-5) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru udo-6.4.1/debian/rules udo-6.4.1/debian/rules
--- udo-6.4.1/debian/rules
+++ udo-6.4.1/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE = 1
 
+include /usr/share/dpkg/architecture.mk
+
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-format
 
 %:
@@ -23,6 +25,11 @@
 	Source/udo --no-logfile --html -q -o eng/html/index.html $(CURDIR)/Guide/eng/manual/index.u
 	cp Guide/ger/manual/images/*.gif ger/html/images/
 	Source/udo --no-logfile --html -q -o ger/html/index.html $(CURDIR)/Guide/ger/manual/index.u
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+	dh_auto_clean --sourcedirectory=Source --buildsystem=makefile -- -f Makefile.debian
+	dh_auto_build --sourcedirectory=Source --buildsystem=makefile -- -f Makefile.debian \
+		CFLAGS="$(CFLAGS) $(CPPFLAGS) -D__LINUX__" LDFLAGS="$(LDFLAGS)"
+endif
 
 override_dh_auto_install:
 	$(MAKE) -C Source -f Makefile.debian install DESTDIR=$(CURDIR)/debian/tmp

--- End Message ---
--- Begin Message ---
Source: udo
Source-Version: 6.4.1-6
Done: Andreas Beckmann <anbe@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 947138@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@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: SHA256

Format: 1.8
Date: Mon, 29 Mar 2021 15:45:16 +0200
Source: udo
Architecture: source
Version: 6.4.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 947138
Changes:
 udo (6.4.1-6) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Build a second time for cross building. (Closes: #947138)
 .
   [ Andreas Beckmann ]
   * Do not deduplicate between packages to avoid creating broken symlinks.
   * Set Rules-Requires-Root: no.
Checksums-Sha1:
 7509527347ca9a083b3532a7f67ba4e213b90060 1833 udo_6.4.1-6.dsc
 c14a0281f1260ce335c6f8030c639245f28c6a30 5956 udo_6.4.1-6.debian.tar.xz
 0c6ed446c9f4c63c0dd802e3163e559843d12a43 5433 udo_6.4.1-6_source.buildinfo
Checksums-Sha256:
 c5fb31f2c398c4846aaf9ab8b772f3ac1b1b9f0bb303d5ea2931c4691c228c4c 1833 udo_6.4.1-6.dsc
 280acb7d649f88e9db281f6ecd0d4314abbd524300206e4b46651a49a93f2e53 5956 udo_6.4.1-6.debian.tar.xz
 e896453c8c07ceaf91e57aaf47753c036e54588127174fe0864743bbe03619d7 5433 udo_6.4.1-6_source.buildinfo
Files:
 d5f41da8ac75748b788bfcc78818c9c4 1833 text optional udo_6.4.1-6.dsc
 8821479d30aa01fd0c9b50df82c83fcc 5956 text optional udo_6.4.1-6.debian.tar.xz
 0682063613fe6ac223ad7085b4961c90 5433 text optional udo_6.4.1-6_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmBh2xIQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCD88EACvrvU6L8UgyxU464FfVkOriMTzpo9g3b/H
0g3HM6/dxYEfxSpSI7/kGtUDO8FE+N1upjZJImVZbdGnCs/j72Kx2SMHFEUH7TbO
XC+fQkdoVERTEJs2gkzATWzCk7mxgU/fvtNJEOEomFYJqUvQYvEXQsP1NsJj2y96
7I4LC5TFZCwPQ0l4qM9MzHjPQ5J2t20VOiJxqR+tgle+JmPGF9fYuQg9YGq3/xiM
exALZCfA1zaqR6fCjUQUfRIbijJbkuc3GrahBR5tTKbiMDuFjBuhPImIiS32aIbL
Uzc+sxtGCa8WMzoq6Vxf/wNIaItNZ7y0z89KTpRgyauZ1gsNhsrRfJnpVSIZcsov
lhPv+/2a7GnDPTzZ/cvVSkFrhUkzOF9xZ5brVKqGLs8Q0E5JHp6uJowDeTeTT5d6
d70SWV8BQGAeK/ETIofH3L8IyZV2lx2pdcaEIUwy+pKWapZT06daS+tSqtQ2FquB
wpV5qC6CN7zOrDy1kwk0so3vROPYI9NB8HWBBX+W3Sk5xAYlhOCiP7GvrHuiHJ/3
Eu/BWcgtm/urZZg4nb75GSdRPIHBL12NLrQ6ZGiroRxrceFrACvx/+qvp1t0jMF2
SXJwk2Ul2CRSyjvCpYaZf0X+12Epb0f5BOdagG/LkB1nLb8FsJ5HabEqQErmzf5I
aDr6S2tRsQ==
=DL3S
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: