Your message dated Sun, 24 Nov 2024 13:04:36 +0000
with message-id <e1tfci0-00e1u0...@fasolo.debian.org>
and subject line Bug#1086784: fixed in imagemagick 8:7.1.1.39+dfsg1-3
has caused the Debian Bug report #1086784,
regarding imagemagick FTCBFS: multiple reasons
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 ow...@bugs.debian.org
immediately.)
--
1086784: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086784
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: imagemagick
Version: 8:7.1.1.39+dfsg1-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability ftcbfs
Hi,
imagemagick fails to cross build from source for multiple reason.
The first stumbling block is the g++ dependency. Rather than figure out
why, I checked that it is satisfied in buster, so we can simply drop it.
It actually starts building then until it passes host architecture
compiler flags to the build archiecture compiler used for building
PerlMagick. For cross compiling Perl stuff, one should extend the Perl
include path with the cross configuration directory. This fixes the
PerlMagick part.
Then, converting the icons cache fails as the built convert cannot be
run. I propose adding a recursive build dependency conditional to cross
compilation and then using that rather than building imagemagick twice.
And with all of that, it actually cross builds. I'm attaching a patch
containing all of the mentioned changes for your convenience.
Helmut
diff --minimal -Nru imagemagick-7.1.1.39+dfsg1/debian/changelog
imagemagick-7.1.1.39+dfsg1/debian/changelog
--- imagemagick-7.1.1.39+dfsg1/debian/changelog 2024-10-27 19:45:43.000000000
+0100
+++ imagemagick-7.1.1.39+dfsg1/debian/changelog 2024-11-05 17:21:45.000000000
+0100
@@ -1,3 +1,13 @@
+imagemagick (8:7.1.1.39+dfsg1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Drop versioned g++ dependency satisfied in buster.
+ + Export PERL5LIB for cross building.
+ + Use the installed convert for generating the icons cache.
+
+ -- Helmut Grohne <hel...@subdivi.de> Tue, 05 Nov 2024 17:21:45 +0100
+
imagemagick (8:7.1.1.39+dfsg1-1) unstable; urgency=medium
* New upstream version
diff --minimal -Nru imagemagick-7.1.1.39+dfsg1/debian/control
imagemagick-7.1.1.39+dfsg1/debian/control
--- imagemagick-7.1.1.39+dfsg1/debian/control 2024-10-19 17:16:30.000000000
+0200
+++ imagemagick-7.1.1.39+dfsg1/debian/control 2024-11-05 17:21:45.000000000
+0100
@@ -11,8 +11,6 @@
dpkg-dev (>= 1.22.5),
# for improving build
dh-exec,
-# ABI dump
- g++ (>= 4:7),
# for linking compiling ...
pkgconf, libltdl-dev,
# for libtool does not link to depends lib
@@ -40,7 +38,9 @@
# for libgomp symbols
dpkg-dev (>= 1.17.6),
# for perltest versioned due to name change
- fonts-tuffy (>= 20120614-3~)
+ fonts-tuffy (>= 20120614-3~),
+# for building icons cache
+ imagemagick <cross>,
# for documentation
Build-Depends-Indep: doxygen, doxygen-latex, graphviz,
libxml2-utils,
diff --minimal -Nru imagemagick-7.1.1.39+dfsg1/debian/rules
imagemagick-7.1.1.39+dfsg1/debian/rules
--- imagemagick-7.1.1.39+dfsg1/debian/rules 2024-08-20 11:23:17.000000000
+0200
+++ imagemagick-7.1.1.39+dfsg1/debian/rules 2024-11-05 17:21:45.000000000
+0100
@@ -43,9 +43,19 @@
export MAGICK ?= ./magick.sh magick
export CONVERT ?= $(MAGICK) convert
VALGRIND_CONVERT ?= ./libtool --mode=execute valgrind $(CONVERT)
+ifneq (,$(filter cross,$(DEB_BUILD_PROFILES)))
+CROSS_CONVERT = convert
+else
+CROSS_CONVERT = $(CONVERT)
+endif
CONVERT_FLAGS ?= -background none -define filter:blur=0.75 -filter Gaussian
# perl path
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+PERLVER := $(shell perl -MConfig -e 'print $$Config{version}')
+PERL5LIB := /usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-$(PERLVER)$(if
$(PERL5LIB),:$(PERL5LIB))
+export PERL5LIB
+endif
export DEB_PERL_ARCHLIB := $(shell perl -MConfig -e 'print
$$Config{vendorarch}')
@@ -493,7 +503,7 @@
mkdir -p
$(CURDIR)/debian/tmp-$*/usr/share/icons/hicolor/$$SIZE/apps/ ;\
cd $(CURDIR)/debian/build-quantum-$*; \
echo "Make icons for size $$SIZE..."; \
- $(CONVERT) $(CURDIR)/debian/display-im$(IMVERSION).svg \
+ $(CROSS_CONVERT) $(CURDIR)/debian/display-im$(IMVERSION).svg \
$(CONVERT_FLAGS) -resize $$SIZE \
-gravity center -extent $$SIZE \
+set date:create +set date:modify -define
png:exclude-chunk=time \
--- End Message ---
--- Begin Message ---
Source: imagemagick
Source-Version: 8:7.1.1.39+dfsg1-3
Done: Bastien Roucariès <ro...@debian.org>
We believe that the bug you reported is fixed in the latest version of
imagemagick, 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 1086...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastien Roucariès <ro...@debian.org> (supplier of updated imagemagick 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 12 Nov 2024 17:39:35 +0000
Source: imagemagick
Architecture: source
Version: 8:7.1.1.39+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: ImageMagick Packaging Team
<pkg-gmagick-im-t...@lists.alioth.debian.org>
Changed-By: Bastien Roucariès <ro...@debian.org>
Closes: 1064658 1086784
Changes:
imagemagick (8:7.1.1.39+dfsg1-3) unstable; urgency=medium
.
[ Bastien Roucariès]
* Fix imagemagick: .pc files contains -lfftw3
but no libfftw3-dev dependency (Closes: #1064658)
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #1086784). Thanks to Helmut
Grohne.
+ Drop versioned g++ dependency satisfied in buster.
+ Export PERL5LIB for cross building.
+ Use the installed convert for generating the icons cache.
Checksums-Sha1:
014343c0bf934e0d28f4261af2a73a125c70dbb3 5129 imagemagick_7.1.1.39+dfsg1-3.dsc
6ac0fad3a08e197ed3c1cd57823645b026c23a7c 271808
imagemagick_7.1.1.39+dfsg1-3.debian.tar.xz
7560c6a60be869af460400130a32a30e21272a13 30080
imagemagick_7.1.1.39+dfsg1-3_amd64.buildinfo
Checksums-Sha256:
50b19820e057513a2716a17f1d146d2e7ab145b957440e356fa0dd5da497cd38 5129
imagemagick_7.1.1.39+dfsg1-3.dsc
08eb42f26e35bb5105030947d6d25797e7ae4944b778fda0a95c497452045210 271808
imagemagick_7.1.1.39+dfsg1-3.debian.tar.xz
0af9df9b8ac44766b1682ab8b69cb5d9361ab43c87d06a99f1a787d02270a8b9 30080
imagemagick_7.1.1.39+dfsg1-3_amd64.buildinfo
Files:
be3c43a0498109ff3031c70e73050aa9 5129 graphics optional
imagemagick_7.1.1.39+dfsg1-3.dsc
24a03d38776fc06185485abc2d663d53 271808 graphics optional
imagemagick_7.1.1.39+dfsg1-3.debian.tar.xz
ef36553e793d58fbfcd2412180d252cb 30080 graphics optional
imagemagick_7.1.1.39+dfsg1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmdDINcRHHJvdWNhQGRl
Ymlhbi5vcmcACgkQADoaLapBCF/y2BAAjP0c8IKPHPpvReOtcIX1XZ0D57XakVXs
YrB7HRgkMdqdbiJB9tnRlgD/bOas//MhAoRyTR2ZeuYDlU3hsXT1LQM8OT03MOCq
cbeUehpKahIn2sk7nzRaJXh2BostDtEFHAwsEo2FlY0MOUZ5TMYO1/VduOIALbBE
x+s/mKD7qnGf0ieKig0FzSeTzKiBPsrRSsEOBy6Sv6R3sQ7aVDWHX3RTOKsUFX7I
jh3SinXlZ8IqeUPms7N6P6G9uJar3s1N8DrMvtOCaLVTFWAzORxo/NZI5561FMZs
+2b89N7AfJxzTTT3usOfDG0kK3meE6EQ+d70WkBh9Gzz4Sc4zCOudpI7Gf+U80Dh
kVEE56EOOsHuB5RHa8khIQtTvWhC1NwmKPhnAr3qnqpQnKkJn3zv3dfMFGQIIwm8
SlvPtexiumMMisZW0wKkI+8vMJeXSUIwXd5YKbCVRYdo/dQioo4tyGE62+C6ncZ9
jCPjLuhrvZtdrdwjK3EkDnX1VtTvR162L7wvh3YyYH+2wmxXH7IkKILEA+ZsnpOM
iSva01rI950B0ZBQvkUmhlADM0dgOCZZ3yJg+cmSepT2DdkQ9wNXqq6Ahy3jjsgl
QfilbYbJyzj03r69ooie65LX5xRrEQ4z3PTpajEx5pntz6XjBBjMXCrVPdhWQVOk
Z6+TtjSzbE0=
=SHyT
-----END PGP SIGNATURE-----
pgp0nmz44RIta.pgp
Description: PGP signature
--- End Message ---