--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: comptext FTCBFS: configures for the build architecture
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Sat, 11 Jan 2020 07:49:53 +0100
- Message-id: <20200111064952.GA16452@alf.mars>
Source: comptext
Version: 1.0.1-3
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
comptext fails to cross build from source, because it does not pass
--host to ./configure. Beyond that, it gets most paths wrong due to hard
coding x86 or getting the quoting wrong and fails honouring
DEB_BUILD_OPTIONS=terse. Please consider applying the attached patch to
fix all of that.
Helmut
diff --minimal -Nru comptext-1.0.1/debian/changelog comptext-1.0.1/debian/changelog
--- comptext-1.0.1/debian/changelog 2018-08-15 17:41:41.000000000 +0200
+++ comptext-1.0.1/debian/changelog 2020-01-11 07:44:07.000000000 +0100
@@ -1,3 +1,10 @@
+comptext (1.0.1-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Fix various issues in configure invocation. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 11 Jan 2020 07:44:07 +0100
+
comptext (1.0.1-3) unstable; urgency=medium
[ Ana C. Custura ]
diff --minimal -Nru comptext-1.0.1/debian/rules comptext-1.0.1/debian/rules
--- comptext-1.0.1/debian/rules 2018-08-15 17:35:59.000000000 +0200
+++ comptext-1.0.1/debian/rules 2020-01-11 07:44:05.000000000 +0100
@@ -1,7 +1,9 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/architecture.mk
+
%:
dh $@ --without autoreconf
override_dh_auto_configure:
- ./configure --disable-option-checking --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
+ ./configure --disable-option-checking --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --includedir=\$${prefix}/include --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --localstatedir=/var $(if $(filter terse,$(DEB_BUILD_OPTIONS)),,--disable-silent-rules) --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --libexecdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --disable-maintainer-mode --disable-dependency-tracking
--- End Message ---
--- Begin Message ---
Source: comptext
Source-Version: 1.0.1-4
We believe that the bug you reported is fixed in the latest version of
comptext, 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 948646@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ana Custura <ana@netstat.org.uk> (supplier of updated comptext 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: Sat, 08 Feb 2020 21:02:15 +0000
Source: comptext
Architecture: source
Version: 1.0.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Ana Custura <ana@netstat.org.uk>
Closes: 948646
Changes:
comptext (1.0.1-4) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: Fix various issues in configure invocation. (Closes: #948646)
.
[ Ana C. Custura ]
* Fixes VCS fields
* Bumps S-V to 4.4.1 (no changes required)
* Applies FTCBFS patch to make package cross-buildable
Checksums-Sha1:
d417bd0c94784709ab54f4184b5a5342507f07f2 1964 comptext_1.0.1-4.dsc
a6cf38e672b388641590daa2878b9e9bd50ec7a7 3452 comptext_1.0.1-4.debian.tar.xz
bab93355ff5bf2eb773be0b51c49923b2f573382 7789 comptext_1.0.1-4_amd64.buildinfo
Checksums-Sha256:
7287b28a6de27fcaa8097a4edf91b60d0e8bd5b4b503cc6386defb85de62386b 1964 comptext_1.0.1-4.dsc
eb65db2c5d0f8ac91b3005e84e1cd8d564e5ba257a7fb2db47c1ef0cc3fe5765 3452 comptext_1.0.1-4.debian.tar.xz
df490c9d1a7003441312e16700b76fdb570aac7b668f428ef1aa3e61c5ff1b73 7789 comptext_1.0.1-4_amd64.buildinfo
Files:
8eb6a36d4cd07a1ca03278c0249f833a 1964 hamradio optional comptext_1.0.1-4.dsc
2f47980914055394b46074e3b41267ae 3452 hamradio optional comptext_1.0.1-4.debian.tar.xz
4ee689aebd7f4eb0bab5efca48b55e53 7789 hamradio optional comptext_1.0.1-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEEMEVxS8/NmLlMBvgk0AURaWEueyoFAl4/I6cTHGFuYUBuZXRz
dGF0Lm9yZy51awAKCRDQBRFpYS57KleWD/4xec3vXfEzcLf48Lc4aHuK0XKRx/3k
MY+aZ/YUNM8iABNxQ/i0gvAUCivbB79UYVFpyJQDgc8aSkC0fppaeyq6CDL/YYdE
L1hxFyvCDjhHN8sPLHJULLe9N+bNvf0IlQHaEEZSUY34Lg3KFP05y3HNSX/6ITFT
nga/l034/LRtT7mKK7UrMShbK5ehjm/HJcgbRe8arDFe30+EFor6whi5DnoYc+bN
ja1z1aTlY+BgGBIXbfodjNTw3pNxJ4EOPJ2DQMR0gOBhJ1h/Qy0NUhsSva74Pjlk
C+zFE0iVvs/+tCdjKKRuEAhg8Ovf/rII7/NHFjPxdnqCA+rJIIKb2erB0WkqLJpt
uR3JiBUG35isAPYON+moLuqqIiJUMABWggIiHVxj0vKf2xIPZS9E90VMfyn4rZrL
gbK7K5kn0GX2xKfTjT7BGJI1llMcXk1NIVf0g6826MloXFpLX8fof9pFya45ZIpK
vlCpTCgJRGFC3wu4QJMFXSeLrQx+F2FcgnJeZK69BCGi6NvoBJxIJFiCPivPEvFO
YUjamNPnFqbDq4iO7bmDoDIpWq/8rdzIemto7fFo0e0ZOr275B/S3QAQflbfwkNs
3Y7K0gUm28CT76JhxO7djO5el12DjYNiy/hVWjxXmNeOMSjLJTW32Bpc4bOB1g+x
xIGvzs/S1ZNK1g==
=jDA9
-----END PGP SIGNATURE-----
--- End Message ---