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

Bug#914626: marked as done (playmidi FTCBFS: builds for the wrong architecture)



Your message dated Tue, 09 Jul 2024 16:36:32 +0000
with message-id <E1sRDpQ-00AoKz-Tx@fasolo.debian.org>
and subject line Bug#914626: fixed in playmidi 2.4debian-16
has caused the Debian Bug report #914626,
regarding playmidi FTCBFS: builds for the wrong 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.)


-- 
914626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914626
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: playmidi
Version: 2.4debian-11
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

playmidi fails to cross build from source, because it builds for the
wrong architecture. Using dh_auto_build mostly fixes that except for
xplaymidi.sh, which needs to be fixed separately. Please consider
applying the attached patch as it makes playmidi cross buildable.

Helmut
diff -u playmidi-2.4debian/debian/changelog playmidi-2.4debian/debian/changelog
--- playmidi-2.4debian/debian/changelog
+++ playmidi-2.4debian/debian/changelog
@@ -1,3 +1,12 @@
+playmidi (2.4debian-11.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + xplaymidi.sh also needs to use cross tools.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 25 Nov 2018 19:34:37 +0100
+
 playmidi (2.4debian-11) unstable; urgency=medium
 
   * QA upload.
diff -u playmidi-2.4debian/debian/control playmidi-2.4debian/debian/control
--- playmidi-2.4debian/debian/control
+++ playmidi-2.4debian/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Standards-Version: 3.9.3
-Build-Depends: debhelper (>= 4.1.16), libncurses5-dev | libncurses-dev, libxaw7-dev, libxt-dev
+Build-Depends: debhelper (>= 7), libncurses5-dev | libncurses-dev, libxaw7-dev, libxt-dev
 
 Package: playmidi
 Architecture: any
diff -u playmidi-2.4debian/debian/rules playmidi-2.4debian/debian/rules
--- playmidi-2.4debian/debian/rules
+++ playmidi-2.4debian/debian/rules
@@ -19,7 +19,7 @@
 build: build-stamp
 build-stamp: debian/po/templates.pot
 	dh_testdir
-	echo 2 | $(MAKE) INCNC= INCAWE= playmidi xplaymidi $(splaymidi)
+	echo 2 | dh_auto_build -- INCNC= INCAWE= playmidi xplaymidi $(splaymidi)
 	touch build-stamp
 
 clean:
diff -u playmidi-2.4debian/debian/xplaymidi.sh playmidi-2.4debian/debian/xplaymidi.sh
--- playmidi-2.4debian/debian/xplaymidi.sh
+++ playmidi-2.4debian/debian/xplaymidi.sh
@@ -1,5 +1,7 @@
 #! /bin/sh
 
+CROSS_COMPILE=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)-
+
 exec 3>&1
 exec >debian/xplaymidi.c
 
@@ -11,7 +13,7 @@
 {
   static const char *const libs[] = {
 EOF
-objdump -p xplaymidi | \
+${CROSS_COMPILE}objdump -p xplaymidi | \
 sed '/^  NEEDED/! d; s/^  NEEDED \+//; /^libc\.so\./ d' | \
 while read i; do
   echo '    "'"$i"'",'
@@ -40 +42 @@
-gcc -x c -o debian/xplaymidi debian/xplaymidi.c ${CFLAGS--O02 -g} -ldl
+${CROSS_COMPILE}gcc -x c -o debian/xplaymidi debian/xplaymidi.c ${CFLAGS--O02 -g} -ldl

--- End Message ---
--- Begin Message ---
Source: playmidi
Source-Version: 2.4debian-16
Done: Santiago Vila <sanvila@debian.org>

We believe that the bug you reported is fixed in the latest version of
playmidi, 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 914626@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated playmidi 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: Tue, 09 Jul 2024 18:10:00 +0200
Source: playmidi
Architecture: source
Version: 2.4debian-16
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 914626
Changes:
 playmidi (2.4debian-16) unstable; urgency=medium
 .
   * QA upload.
   * Generate playmidi.h first, then build the program.
     This is a workaround for a Makefile bug.
   * Convert package to simplified dh syntax.
   * Apply changes from Helmut Grohne for cross-build. Closes: #914626.
Checksums-Sha1:
 94fb37f27964e3e118cadeaa8268f9081bf8daf2 1564 playmidi_2.4debian-16.dsc
 206711b893ef184646f574f7d0b0c9499d524b3f 31776 playmidi_2.4debian-16.debian.tar.xz
 964c3ad08f3957340a480ae71aafead3521f5938 6112 playmidi_2.4debian-16_source.buildinfo
Checksums-Sha256:
 fce52db1b3ba0816f34dd44bf0eabf3163de75aa4e02305962bf66eec4ee23e6 1564 playmidi_2.4debian-16.dsc
 a3a2deb0c49f9d99287b93ea22e0313f6a9767e06fd6fc728fa9d2d487c8bb21 31776 playmidi_2.4debian-16.debian.tar.xz
 9d1fac67dd6121368a91e50b2cabb6e60fc8e16178cf091085069c08f49d0e81 6112 playmidi_2.4debian-16_source.buildinfo
Files:
 db81c7355cdb7cf92cae4f880c6b759a 1564 sound optional playmidi_2.4debian-16.dsc
 f34d6606c95fbfbbde6a0ab485e124d9 31776 sound optional playmidi_2.4debian-16.debian.tar.xz
 3d5d864d163a5da3c2439f84c40a65bc 6112 sound optional playmidi_2.4debian-16_source.buildinfo

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

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmaNY5UACgkQQc5/C58b
izLoZQgAp3AVeXpOnWlmPkphpIFHjYo9kMTun4EWsgyJUaAHkoq+BGFCo3vmyK5i
alB5Mf9ADb4Sh13MH0YxZlTjIs7Xprvc/PW/PxmbU/3RjHYTEjKfnpuePqTrBA3H
rsyF/+sHpDceYRBkQLgdu/o7/ahZgW2w/4KKfcXoQWxjx7/cxPuwPIQH22HrIUHm
Mu3sBbb/VoyL3+b5CSdZdBtsGD1UinYkUWPoGtzywBZ2c+xdXOy810/y9c6gowMi
eqGm94ZihRIj7ozGE8w71G/S3+jldzp/QKKcfcaLHXYjU1kkw+ZOB3a0ak8Oq4VR
iUhwrKpx6EZqMpDtYYxqjmY4x7csIw==
=CkQj
-----END PGP SIGNATURE-----

Attachment: pgpQlVmarYIEZ.pgp
Description: PGP signature


--- End Message ---

Reply to: