Your message dated Thu, 31 Aug 2023 13:19:16 +0000
with message-id <[email protected]>
and subject line Bug#1050910: fixed in mujs 1.3.3-2
has caused the Debian Bug report #1050910,
regarding mujs FTCBFS: uses the build architecture 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 [email protected]
immediately.)


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

mujs fails to cross build from source. The reason is using the build
architecture compiler in a linker step and then failing to find a
library that is only requested for the host architecture.

Stepping back, that linker invocation happens during dh_auto_install.
debhelper does not pass cross tools to dh_auto_install as it expects
the build to be complete at this point. So the real issue is that part
of the build is performed at dh_auto_install time. It turns out that the
default target performs a debug build while the install-shared target
needs a release build and these builds differ in build product paths.
Once telling dh_auto_build to perform a release build, it actually
builds what is needed for dh_auto_install and that also fixes the cross
build. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru mujs-1.3.3/debian/changelog mujs-1.3.3/debian/changelog
--- mujs-1.3.3/debian/changelog 2023-06-19 10:23:20.000000000 +0200
+++ mujs-1.3.3/debian/changelog 2023-08-30 09:28:20.000000000 +0200
@@ -1,3 +1,10 @@
+mujs (1.3.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Build during dh_auto_build. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 30 Aug 2023 09:28:20 +0200
+
 mujs (1.3.3-1) unstable; urgency=medium
 
   * New upstream version 1.3.3
diff --minimal -Nru mujs-1.3.3/debian/rules mujs-1.3.3/debian/rules
--- mujs-1.3.3/debian/rules     2023-06-19 10:23:20.000000000 +0200
+++ mujs-1.3.3/debian/rules     2023-08-30 09:28:19.000000000 +0200
@@ -14,7 +14,7 @@
 
 override_dh_auto_build:
        dh_auto_build -- CFLAGS="$(CFLAGS) -Wl,-soname,libmujs.so.3" 
build/release/libmujs.so
-       dh_auto_build -- CFLAGS="$(CFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS)" release
 
 override_dh_auto_install:
        $(MAKE) prefix=$(prefix) libdir=$(libdir) install-shared

--- End Message ---
--- Begin Message ---
Source: mujs
Source-Version: 1.3.3-2
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mujs, 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.
Bastian Germann <[email protected]> (supplier of updated mujs 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: SHA512

Format: 1.8
Date: Thu, 31 Aug 2023 14:38:01 +0200
Source: mujs
Architecture: source
Version: 1.3.3-2
Distribution: unstable
Urgency: medium
Maintainer: Bastian Germann <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1050910
Changes:
 mujs (1.3.3-2) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Build during dh_auto_build. (Closes: #1050910)
Checksums-Sha1:
 9ca81cac9aaf84744b306c0c2b227b3bf747e1b8 1737 mujs_1.3.3-2.dsc
 76a786c39b1aff22f6e2b57af05568276408363f 5852 mujs_1.3.3-2.debian.tar.xz
 51dfc39c16340b1a3bb36a6e0e0c6d40e6551c4e 5527 mujs_1.3.3-2_source.buildinfo
Checksums-Sha256:
 282777840c7d83ed6a9a31645cac3fcfc4e607dafbde223f8189b8a5c7bd7d22 1737 
mujs_1.3.3-2.dsc
 204bb6acf0b72fcf51d878b7b77d1de08fa5421417de47bc4c6d8b1f3d53f596 5852 
mujs_1.3.3-2.debian.tar.xz
 f0d88908205d985dc477df2fa260eb7eb3a55e1b52c15003162a1354a447f2cb 5527 
mujs_1.3.3-2_source.buildinfo
Files:
 2a5b549a887723d4920f2edbf5f3ae9f 1737 javascript optional mujs_1.3.3-2.dsc
 b0c22c0e9cd75851c58e94ce1240d972 5852 javascript optional 
mujs_1.3.3-2.debian.tar.xz
 91fb33489b7ba021ade051b77d258d5b 5527 javascript optional 
mujs_1.3.3-2_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmTwjq8QHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFPuzC/0eDaV2n+0P1e4+LjQZBQnUUvCDWlRnRir2
JmnNOswgVPbB0Bp0zoL5RZOyHUAN81oayauWMWv7l46M8daMjrYibsiJqEMARRVo
oT2GyqbghNJPmfo1oOx4J1X59hWKOXTjIkGuFdoFP0Ee0peQE7E2h371cvVK3cFO
Gb3pAG/wfGz3a2/14wUv+PuNfwc4g6BQ+91MDqkYfVkqEmyKwsX+pPVPXoFE2EJO
USrvXMUnx+YYX/mujMGXN0mGJQk6x9R55c1oVTwgv7XfMpknQpThXf3gpFRjbyUa
KmP5B9hxtF1FSNczdwyTpV58rr6onOoyjkBZm8jqiT+WRXn1s14MQFrItvyibWmz
WxxkdBAmD4QtU1vr8f2JoSbBxVCZG9HR9CuFtVYRv+49fiQ8HMRPIBxCvzrhtdOe
JYiOkP5+OhComm09DceyeBSine/PIs31KNsKEKttkBA3PaGX+EQiPSD7m4jBNgmV
wK9TMk/Mw0UMECE91awOdXUSHzbtu9Q=
=ma6a
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to