Your message dated Sun, 16 Aug 2020 14:35:08 +0000
with message-id <[email protected]>
and subject line Bug#968481: fixed in codec2 0.9.2-3
has caused the Debian Bug report #968481,
regarding codec2 FTCBFS: does not pass cross flags to cmake
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 [email protected]
immediately.)


-- 
968481: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968481
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: codec2
Version: 0.9.2-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

codec2 fails to cross build from source, because it does not pass cross
flags to cmake. It actually has two cmake invocations - one via
dh_auto_configure and another direct one. Only the latter fails. Also
wrapping it in dh_auto_configure makes codec2 cross buildable. Please
consider applying the attached patch.

Also note that repeating e.g. --buildsystem=cmake is unnecessary in
general as it is passed to the main dh invocation. It can be dropped
everywhere if you are interested in conciseness.

Helmut
diff --minimal -Nru codec2-0.9.2/debian/changelog codec2-0.9.2/debian/changelog
--- codec2-0.9.2/debian/changelog       2019-12-22 18:12:40.000000000 +0100
+++ codec2-0.9.2/debian/changelog       2020-08-16 06:44:28.000000000 +0200
@@ -1,3 +1,10 @@
+codec2 (0.9.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 16 Aug 2020 06:44:28 +0200
+
 codec2 (0.9.2-2) unstable; urgency=medium
 
   * Upload to unstable
diff --minimal -Nru codec2-0.9.2/debian/rules codec2-0.9.2/debian/rules
--- codec2-0.9.2/debian/rules   2019-11-17 23:31:01.000000000 +0100
+++ codec2-0.9.2/debian/rules   2020-08-16 06:44:18.000000000 +0200
@@ -11,8 +11,8 @@
 
 override_dh_auto_build:
        dh_auto_build --builddirectory=Build --buildsystem=cmake
-       mkdir Build/lpcnet-build
-       cd Build/lpcnet-build && cmake -DCMAKE_VERBOSE_MAKEFILE=ON 
-DDISABLE_CPU_OPTIMIZATION=ON -DCODEC2_BUILD_DIR=$(CURDIR)/Build ../../lpcnet
+       dh_auto_configure --builddirectory=Build/lpcnet-build 
--sourcedirectory=lpcnet -- \
+       -DCMAKE_VERBOSE_MAKEFILE=ON -DDISABLE_CPU_OPTIMIZATION=ON 
-DCODEC2_BUILD_DIR=$(CURDIR)/Build
        cd Build/lpcnet-build && cmake --build .
        cd Build && cmake -DLPCNET_BUILD_DIR=lpcnet-build ..
        cd Build && cmake --build .

--- End Message ---
--- Begin Message ---
Source: codec2
Source-Version: 0.9.2-3
Done: [email protected] (A. Maitland Bottoms)

We believe that the bug you reported is fixed in the latest version of
codec2, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
A. Maitland Bottoms <[email protected]> (supplier of updated codec2 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 16 Aug 2020 08:50:20 -0400
Source: codec2
Architecture: source
Version: 0.9.2-3
Distribution: unstable
Urgency: medium
Maintainer: A. Maitland Bottoms <[email protected]>
Changed-By: A. Maitland Bottoms <[email protected]>
Closes: 968481
Changes:
 codec2 (0.9.2-3) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake.
     (Closes: #968481)
 .
   [ A. Maitland Bottoms ]
   * apply above patch and upload. Thanks Helmut!
   * bump Standards-Version, compat, Rules-Requires-Root: no
Checksums-Sha1:
 6c4211c426325b6e0606e4a1a5352425f4b58b7d 2603 codec2_0.9.2-3.dsc
 458eeafa468ae030f5aa8981e91801126979915d 52172 codec2_0.9.2-3.debian.tar.xz
 965265b7e255a792340acc57b79728fa1974d623 7987 codec2_0.9.2-3_amd64.buildinfo
Checksums-Sha256:
 1114dc20d9033530f92125e38ea7bc629b01015ae0d28fe5f43fee0fef2089e5 2603 
codec2_0.9.2-3.dsc
 4a28e5853add748c65a7c0029ea2e2349c664ed22ea2a93ab618df0b5a24aef4 52172 
codec2_0.9.2-3.debian.tar.xz
 80603e0f82f96c4b889516b8332265435dfd3d07fb7634ee29305fffd6d9d612 7987 
codec2_0.9.2-3_amd64.buildinfo
Files:
 af0245be5a24dbb61c28471ec600f4d6 2603 sound optional codec2_0.9.2-3.dsc
 587d867f21f2467374db4b5902f5831b 52172 sound optional 
codec2_0.9.2-3.debian.tar.xz
 1e84489c70043016486888ec195a8918 7987 sound optional 
codec2_0.9.2-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAl85N24ACgkQUEHxiR9E
4JDN0hAAqnd8DvICopfWHftfjkS8hfASHsD+R9jmM11LWM6Fc2WSOhiCYt8+Mcel
rl9pGCmJP99D3ImZbL5f8QE5j9pTLrA7z/9UfECc97B8n6duK4y9nxjQGCIV4J62
2WY4E7fI4nrhZbLX+dWDxDgV+tKVOMVpyKc/UXVKbeeI7fmlL8BYqEVLw0Ho5QF3
zP6d+eMLVPvK7pxn1ztqPEh0wN4o1E+Hb5l2XhOVD9n2YzHv9fDI02ugTY+5DXt4
zj8K8cUGrOim4YjyrnAkpbgG+m/TXOu0H5Xn0R35/YBvoihChwxcEzZgoWtBJLkx
bptF1RqnomxTVnNA9b+ameQ9Cco4ULuti1hhJE4NkPK9nfyOWxfXZkBB3aVVmt5S
ZAhUMyOP9CrfJsXYWZOt4BzZmMPCjcraL6iSPC/9KxDl3digrnHcFmNK2v4wDf+Z
NjFFilUOf+lY2QKpie3eNsHDGprHNgV/PZUFQ8zkx0ykBBVcnL/v8KvVjWcuEuWC
dJbbOyowY2OgIsow3+wl6DFALgdU3e4N/8QGgEdB1uRLPz8h5xPFqm4+0E4R2VCr
rAnL08NAVIjQJksqsjGvhOqmz+jjCwbW/4W5Z4KFV4mn5hCW+FQLFvbmW7Yz0xvR
rC0Auyytj+sRfNp2e+ElKoCasktUm1NgEJ7KBMFGJhdbpi6nCC4=
=K3Sc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to