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

Bug#930901: marked as done (metapixel FTCBFS: does not pass cross tools to make)



Your message dated Wed, 10 Nov 2021 20:35:15 +0000
with message-id <E1mkuJP-00011Z-Ft@fasolo.debian.org>
and subject line Bug#930901: fixed in metapixel 1.0.2-9
has caused the Debian Bug report #930901,
regarding metapixel FTCBFS: does not pass cross tools to make
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.)


-- 
930901: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930901
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: metapixel
Version: 1.0.2-8
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

metapixel fails to cross build from source, because it does not pass
cross tools to make. The easiest way of fixing that is using
dh_auto_build. It still fails relinking metapixel during dh_auto_install
as debhelper does not pass cross tools there. This relinking is
unnecessary and could be avoided with correct makefile dependencies. The
attached patch fixes both and makes metapixel cross buildable. Please
consider applying it.

Helmut
diff --minimal -Nru metapixel-1.0.2/debian/changelog metapixel-1.0.2/debian/changelog
--- metapixel-1.0.2/debian/changelog	2019-06-09 01:53:30.000000000 +0200
+++ metapixel-1.0.2/debian/changelog	2019-06-22 07:58:15.000000000 +0200
@@ -1,3 +1,11 @@
+metapixel (1.0.2-9) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + cross.patch: Fix makefile dependencies.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 22 Jun 2019 07:58:15 +0200
+
 metapixel (1.0.2-8) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru metapixel-1.0.2/debian/patches/cross.patch metapixel-1.0.2/debian/patches/cross.patch
--- metapixel-1.0.2/debian/patches/cross.patch	1970-01-01 01:00:00.000000000 +0100
+++ metapixel-1.0.2/debian/patches/cross.patch	2019-06-22 07:58:15.000000000 +0200
@@ -0,0 +1,23 @@
+--- metapixel-1.0.2.orig/Makefile
++++ metapixel-1.0.2/Makefile
+@@ -30,8 +30,8 @@
+ 
+ all : metapixel metapixel.1 convert metapixel-imagesize
+ 
+-metapixel : $(OBJS) librwimg
+-	$(CC) $(LDOPTS) -o metapixel $(OBJS) rwimg/librwimg.a -lpng -ljpeg -lgif $(LIBFFM) -lm -lz
++metapixel : $(OBJS) rwimg/librwimg.a
++	$(CC) $(LDOPTS) -o metapixel $^ -lpng -ljpeg -lgif $(LIBFFM) -lm -lz
+ 
+ metapixel.1 : metapixel.xml
+ 	xsltproc --nonet $(MANPAGE_XSL) metapixel.xml
+@@ -48,7 +48,8 @@
+ %.o : %.c
+ 	$(CC) $(CCOPTS) $(FORMATDEFS) -c $<
+ 
+-librwimg :
++librwimg : rwimg/librwimg.a
++rwimg/librwimg.a :
+ 	$(MAKE) -C rwimg
+ 
+ install : metapixel metapixel.1
diff --minimal -Nru metapixel-1.0.2/debian/patches/series metapixel-1.0.2/debian/patches/series
--- metapixel-1.0.2/debian/patches/series	2019-06-09 01:20:49.000000000 +0200
+++ metapixel-1.0.2/debian/patches/series	2019-06-22 07:58:15.000000000 +0200
@@ -1,2 +1,3 @@
 libgif.patch
 libpng1.6.patch
+cross.patch
diff --minimal -Nru metapixel-1.0.2/debian/rules metapixel-1.0.2/debian/rules
--- metapixel-1.0.2/debian/rules	2019-06-09 01:38:55.000000000 +0200
+++ metapixel-1.0.2/debian/rules	2019-06-22 07:58:14.000000000 +0200
@@ -8,7 +8,7 @@
 	dh $@
 
 override_dh_auto_build:
-	$(MAKE) MANPAGE_XSL=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+	dh_auto_build -- MANPAGE_XSL=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
 
 override_dh_auto_install:
 	dh_auto_install -- PREFIX=$(PREFIX) BINDIR=$(BINDIR) MANDIR=$(MANDIR)

--- End Message ---
--- Begin Message ---
Source: metapixel
Source-Version: 1.0.2-9
Done: Tobias Frost <tobi@debian.org>

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

Debian distribution maintenance software
pp.
Tobias Frost <tobi@debian.org> (supplier of updated metapixel 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: SHA256

Format: 1.8
Date: Wed, 10 Nov 2021 20:01:21 +0100
Source: metapixel
Architecture: source
Version: 1.0.2-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Tobias Frost <tobi@debian.org>
Closes: 793155 930901
Changes:
 metapixel (1.0.2-9) unstable; urgency=medium
 .
   [ Tobias Frost ]
   * QA upload.
   * Point d/watch to monitor the git repository.
   * Change to debhelper-compat and to compat level 13.
   * Fix field name case in debian/control (VCS-Git => Vcs-Git).
   * Bump S-V to 4.6.0 -- no changes required
   * Add "Rules-Requires-Root" hint to d/control.
   * Add Applied-Upstream hints to the patches.
   * Fix "incorrectly follows symlinks (patch provided)", applyinh patch from
     the BTS, thanks to Yaroslav for providing it (Closes: #793155)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #930901)
     + Let dh_auto_build pass cross tools to make.
     + cross.patch: Fix makefile dependencies.
Checksums-Sha1:
 846b7e8c106e5ccf91aa83218ee6baede00e3b07 1930 metapixel_1.0.2-9.dsc
 f2e546436cee54ae51932d6a7159620f02e54c57 5600 metapixel_1.0.2-9.debian.tar.xz
 5ec0cbd2b5c9ec6cf4c73162d76e690c9275056c 6088 metapixel_1.0.2-9_source.buildinfo
Checksums-Sha256:
 23daac5db585f07c0882c86e40da35b4c20034cca5e65b90fd767cad8bf56277 1930 metapixel_1.0.2-9.dsc
 c513109dcce1a37125ac4ed3b60ee5bd0d5a04d735c6f4a1866b66b523754c6b 5600 metapixel_1.0.2-9.debian.tar.xz
 d146c1fcb5e9f3ea834cf21e84878a7cba3659309c83c957cafedae19bb78afc 6088 metapixel_1.0.2-9_source.buildinfo
Files:
 9c37ba897b0b4c6ca3ad8e669bdc08bf 1930 graphics optional metapixel_1.0.2-9.dsc
 1c1676c767190d0cf810798bcb7367c8 5600 graphics optional metapixel_1.0.2-9.debian.tar.xz
 97454e082aef80e76048685e025233dd 6088 graphics optional metapixel_1.0.2-9_source.buildinfo

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

iQIzBAEBCAAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAmGMIGQACgkQkWT6HRe9
XTanfA/+PonjcsSUAPKXsg+3JF2sk5zDvxIkYimBSM39j0ZRWFLIh/G0LfPlaq2L
TR61+T1NJ0oE91H8iuNMEH1dGP4aRwnaWPL6hZNLRHZRaBgRzPDRPCmEac4xUkdM
1kPGIKKvtsOg029AqEn09rWiimaPiKDbWYGF4nMugzpYijq4CpG6KoIpVCP1gTmN
0XFKEHs5WFsFqhgr3cjpnjhpktWiKabMQq6E2Wk/ZmPqluW+3568KUKCFa1wM/MC
lV6WWxeDm2zIQHY9I1WKIOiZYlcYAXsv8vtXMWIUCKDB/q/Luj0V1qOjZBgv9kuI
FK1464uVaJQdDHt85BYEMmKma1R/0YwQPZwnJ8AHGY0E1ELWsyB5h128inCHqTIK
bA8PJo/79JaKyFKpOkkGiwavECeyjwi5bIcVQV22zUu00pDj1wbnJYO4CVCr2CTy
6yUoCPcfKxZb28t6/bOwOjSc4s6OGUrdf056KlTm2/bevMJYyRIQjQDJ5xiZvMFb
63bHZ+dq+5Pwh2AM001H49HiLE3BkIEEWhvQEvtU3/vZipX74z4555Md+UXWb6rn
xYPP4dKA7b+W3rnHozwUe/JPSkKYsGI/2ez3rNY3Is3iRcGfZ1+iWnrdX7Qy+xpn
ZUYZ8bAAXjPWHJbo+rQ3cpzkSN1YRH5KOOufBFwsUdw09lgEEhA=
=o2JM
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: