Your message dated Fri, 20 Sep 2019 03:19:31 +0000
with message-id <[email protected]>
and subject line Bug#932660: fixed in libstb 0.0~git20190817.1.052dce1-1
has caused the Debian Bug report #932660,
regarding libstb cross builds a broken package
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.)


-- 
932660: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932660
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libstb
Version: 0.0~git20190617.5.c72a95d-2
Tags: patch

libstb successfully cross builds a broken package, because it uses the
build architecture compiler to discover the multiarch triplet to compute
LIBDIR. Using the host architecture compiler is correct here. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru libstb-0.0~git20190617.5.c72a95d/debian/changelog 
libstb-0.0~git20190617.5.c72a95d/debian/changelog
--- libstb-0.0~git20190617.5.c72a95d/debian/changelog   2019-07-10 
14:14:35.000000000 +0200
+++ libstb-0.0~git20190617.5.c72a95d/debian/changelog   2019-07-21 
20:08:52.000000000 +0200
@@ -1,3 +1,10 @@
+libstb (0.0~git20190617.5.c72a95d-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use the host compiler to discover the multiarch triplet. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 21 Jul 2019 20:08:52 +0200
+
 libstb (0.0~git20190617.5.c72a95d-2) unstable; urgency=medium
 
   * Fix FTBFS on many architectures
diff --minimal -Nru libstb-0.0~git20190617.5.c72a95d/debian/patches/cross.patch 
libstb-0.0~git20190617.5.c72a95d/debian/patches/cross.patch
--- libstb-0.0~git20190617.5.c72a95d/debian/patches/cross.patch 1970-01-01 
01:00:00.000000000 +0100
+++ libstb-0.0~git20190617.5.c72a95d/debian/patches/cross.patch 2019-07-21 
20:08:51.000000000 +0200
@@ -0,0 +1,10 @@
+--- libstb-0.0~git20190617.5.c72a95d.orig/Makefile
++++ libstb-0.0~git20190617.5.c72a95d/Makefile
+@@ -1,6 +1,6 @@
+ PROJECT = libstb
+ 
+-MULTIARCH := $(shell gcc --print-multiarch)
++MULTIARCH := $(shell $(CC) --print-multiarch)
+ 
+ INCLUDEDIR := $(DESTDIR)/usr/include/stb
+ LIBDIR := $(DESTDIR)/usr/lib/$(MULTIARCH)
diff --minimal -Nru libstb-0.0~git20190617.5.c72a95d/debian/patches/series 
libstb-0.0~git20190617.5.c72a95d/debian/patches/series
--- libstb-0.0~git20190617.5.c72a95d/debian/patches/series      2019-07-10 
14:14:35.000000000 +0200
+++ libstb-0.0~git20190617.5.c72a95d/debian/patches/series      2019-07-21 
20:08:30.000000000 +0200
@@ -6,3 +6,4 @@
 0006-tests-Makefile-refactor.patch
 0007-tests-image_test.c-use-library.patch
 0008-tests-image_write_test.c-use-library.patch
+cross.patch
diff --minimal -Nru libstb-0.0~git20190617.5.c72a95d/debian/rules 
libstb-0.0~git20190617.5.c72a95d/debian/rules
--- libstb-0.0~git20190617.5.c72a95d/debian/rules       2019-07-10 
14:14:35.000000000 +0200
+++ libstb-0.0~git20190617.5.c72a95d/debian/rules       2019-07-21 
20:08:52.000000000 +0200
@@ -8,6 +8,8 @@
 export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -fwrapv
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
 
 %:
        dh $@

--- End Message ---
--- Begin Message ---
Source: libstb
Source-Version: 0.0~git20190817.1.052dce1-1

We believe that the bug you reported is fixed in the latest version of
libstb, 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.
Yangfl <[email protected]> (supplier of updated libstb 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: Fri, 20 Sep 2019 08:31:51 +0800
Source: libstb
Architecture: source
Version: 0.0~git20190817.1.052dce1-1
Distribution: unstable
Urgency: medium
Maintainer: Yangfl <[email protected]>
Changed-By: Yangfl <[email protected]>
Closes: 932660 934966
Changes:
 libstb (0.0~git20190817.1.052dce1-1) unstable; urgency=medium
 .
   [ Boyuan Yang ]
   * New upstream snapshot
     + Include upstream CVE fixes:
       - CVE-2019-13217: heap buffer overflow in start_decoder()
       - CVE-2019-13218: stack buffer overflow in compute_codewords()
       - CVE-2019-13219: uninitialized memory in
                         vorbis_decode_packet_rest()
       - CVE-2019-13220: out-of-range read in draw_line()
       - CVE-2019-13221: issue with large 1D codebooks in
                         lookup1_values()
       - CVE-2019-13222: unchecked NULL returned by get_window()
       - CVE-2019-13223: division by zero in predict_point()
       (Closes: #934966)
   * debian/rules, Makefile: Make sure the package cross-builds
     correctly (Closes: #932660)
   * debian/libstb0.symbols: Add new symbols
Checksums-Sha1:
 fba07136b497cb3cb4947818ac2876bb34b03e5a 2054 
libstb_0.0~git20190817.1.052dce1-1.dsc
 e9e3b566bd563f149a5f2543decd8e5a09d43898 1357962 
libstb_0.0~git20190817.1.052dce1.orig.tar.gz
 c4eb8cd8561ba443d430d2fa0acabd6978dacc2c 10440 
libstb_0.0~git20190817.1.052dce1-1.debian.tar.xz
 3be243110fda26a693e5c104c380c8f5049be5f3 6327 
libstb_0.0~git20190817.1.052dce1-1_amd64.buildinfo
Checksums-Sha256:
 b0277b679de6f73afe8e1397d36420247b97d26e6fd8545a2a4751e43342e374 2054 
libstb_0.0~git20190817.1.052dce1-1.dsc
 466e7af7c4c8c435e5270d3b7aabf15bc580bf231a3e1fb84655c7a252e75ea2 1357962 
libstb_0.0~git20190817.1.052dce1.orig.tar.gz
 3c860e90ec67d5d6b0f1eaa303ab552a8b933d5868e122eec5f5c7912db54631 10440 
libstb_0.0~git20190817.1.052dce1-1.debian.tar.xz
 18443309de815dc00454495f87cdb3e85561e5ecb9a7ce82da4664b813f5254f 6327 
libstb_0.0~git20190817.1.052dce1-1_amd64.buildinfo
Files:
 b8a38f171c973487a10184f3d395929e 2054 libs optional 
libstb_0.0~git20190817.1.052dce1-1.dsc
 3fbf7d65d6755bc4c55c8dbcef57273d 1357962 libs optional 
libstb_0.0~git20190817.1.052dce1.orig.tar.gz
 265e5eca14584889087f6ab72c4727de 10440 libs optional 
libstb_0.0~git20190817.1.052dce1-1.debian.tar.xz
 76d4e08067750fa94d1532579d07485c 6327 libs optional 
libstb_0.0~git20190817.1.052dce1-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl2EP7kACgkQwpPntGGC
Ws7F+A/+IZbLe3Y95MMAwFiPa06PNo5SRJitNw81DdK/hDt4dSIrM7fp+T6zxtpm
vmJrgIeRm+icBjGa/zQAG6P6GB5dSH9hMPJaP4LaPgCroiKn/7oNrZzFlw/gqTEy
ArddaOjgo2bvPJN7JPHNiiz8s4AFbQVj/Na9pPORqqSlad8exHJ94QP1KbvC+BSf
cs0L495ABaQb49IsUtrJ6gcqfsdVljuypMU//yoO5hAubM1JqzLNafObNnAz8QeF
KpRGD7nDot/Hx4yG661nlitOUMvjtoFe3lZEBPklpb4bGNv1okthx3iAI0FDCNut
0Ns5DLZbl8rxCmYsFA3QdUweMLUenHmQ8wfsszY2v+fOEmg2oER+zW0eF+zNOWwL
2urqsI7GBXl66Vw9yZxYIMouQeWKgQ65O+L5rtXlmr3emNhIQFl4cSQH4eb3sJvT
g6d9vtpY6XjA3y91IqOTeWQOsYANdTGOuo70lKhJaWlVjt+wpHcNtBxMSc5quVyl
Nbnx49fTTQ2gcarvaGSszsi1CbBRhMSCKMrdYQzpPft/zO6RggYoeBnZC6+H/u9d
7KZxMFmKX2LlAqVOCJzNy7hAfh4JIKe6sDQ7pacvXGhw7fVZnGmPgc8M53w+UXZ2
ba8zzrXnDXThinP7Y6bndxQrgSYpJMC70fWsInNvKrDHWFCPaQ8=
=cOXB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to