Acknowledgement sent
to "Matteo F. Vescovi" <mfv@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>.
(Tue, 18 Aug 2020 21:21:04 GMT) (full text, mbox, link).
Package: src:freeimage
Version: 3.18.0+ds2-5
Severity: serious
Tags: ftbfs
Justification: fails to build from source
Control: block 968378 -1
Dear Maintainer,
while testing build status of reverse dependencies of libraw for the
upcoming transition (now moving from 0.19.5 to 0.20.0, with a SONAME
bump), your package has shown problems with this new version of the
library I maintain.
Following, here's a snippet of the error encountered:
x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -I/usr/include/jxrlib -I/usr/include/openjpeg-2.3 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/x86_64-linux-gnu -I/usr/include/OpenEXR -Wdate-time -D_FORTIFY_SOURCE=2 -c Source/FreeImage/PluginRAW.cpp -o Source/FreeImage/PluginRAW.o
Source/FreeImage/PluginRAW.cpp: In member function ‘virtual int LibRaw_freeimage_datastream::read(void*, size_t, size_t)’:
Source/FreeImage/PluginRAW.cpp:66:6: error: ‘substream’ was not declared in this scope
66 | if(substream) return substream->read(buffer, size, count);
| ^~~~~~~~~
Source/FreeImage/PluginRAW.cpp: In member function ‘virtual int LibRaw_freeimage_datastream::seek(INT64, int)’:
Source/FreeImage/PluginRAW.cpp:71:12: error: ‘substream’ was not declared in this scope
71 | if(substream) return substream->seek(offset, origin);
| ^~~~~~~~~
Source/FreeImage/PluginRAW.cpp: In member function ‘virtual INT64 LibRaw_freeimage_datastream::tell()’:
Source/FreeImage/PluginRAW.cpp:76:6: error: ‘substream’ was not declared in this scope
76 | if(substream) return substream->tell();
| ^~~~~~~~~
Source/FreeImage/PluginRAW.cpp: In member function ‘virtual int LibRaw_freeimage_datastream::get_char()’:
Source/FreeImage/PluginRAW.cpp:86:6: error: ‘substream’ was not declared in this scope
86 | if(substream) return substream->get_char();
| ^~~~~~~~~
Source/FreeImage/PluginRAW.cpp: In member function ‘virtual char* LibRaw_freeimage_datastream::gets(char*, int)’:
Source/FreeImage/PluginRAW.cpp:92:7: error: ‘substream’ was not declared in this scope
92 | if (substream) return substream->gets(buffer, length);
| ^~~~~~~~~
Source/FreeImage/PluginRAW.cpp: In member function ‘virtual int LibRaw_freeimage_datastream::scanf_one(const char*, void*)’:
Source/FreeImage/PluginRAW.cpp:107:6: error: ‘substream’ was not declared in this scope
107 | if(substream) return substream->scanf_one(fmt,val);
| ^~~~~~~~~
Source/FreeImage/PluginRAW.cpp: In member function ‘virtual int LibRaw_freeimage_datastream::eof()’:
Source/FreeImage/PluginRAW.cpp:130:6: error: ‘substream’ was not declared in this scope
130 | if(substream) return substream->eof();
| ^~~~~~~~~
In file included from Source/FreeImage/PluginRAW.cpp:26:
Source/FreeImage/../Metadata/FreeImageTag.h: At global scope:
Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: ‘g_TagLib_ExifRawFieldName’ defined but not used [-Wunused-variable]
468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw";
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: ‘g_TagLib_XMPFieldName’ defined but not used [-Wunused-variable]
465 | static const char *g_TagLib_XMPFieldName = "XMLPacket";
| ^~~~~~~~~~~~~~~~~~~~~
In file included from Source/FreeImage/PluginRAW.cpp:25:
Source/Utilities.h:534:20: warning: ‘FI_MSG_WARNING_INVALID_THUMBNAIL’ defined but not used [-Wunused-variable]
534 | static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Utilities.h:533:20: warning: ‘FI_MSG_ERROR_UNSUPPORTED_COMPRESSION’ defined but not used [-Wunused-variable]
533 | static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Utilities.h:532:20: warning: ‘FI_MSG_ERROR_UNSUPPORTED_FORMAT’ defined but not used [-Wunused-variable]
532 | static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Utilities.h:531:20: warning: ‘FI_MSG_ERROR_MAGIC_NUMBER’ defined but not used [-Wunused-variable]
531 | static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Source/Utilities.h:530:20: warning: ‘FI_MSG_ERROR_PARSING’ defined but not used [-Wunused-variable]
530 | static const char *FI_MSG_ERROR_PARSING = "Parsing error";
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile.gnu:66: Source/FreeImage/PluginRAW.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:21: default] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:37: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: build] Error 2
dpkg-buildpackage-debomatic-original: error: debian/rules build subprocess returned exit status 2
Attached, you'll find the entire build log.
Cheers.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Matteo F. Vescovi || Debian Developer
GnuPG KeyID: 4096R/0x8062398983B2CF7A
Added indication that bug 968637 blocks 968378
Request was from Matteo F. Vescovi <mfv@debian.org>
to control@bugs.debian.org.
(Tue, 18 Aug 2020 21:30:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>: Bug#968637; Package src:freeimage.
(Wed, 26 Aug 2020 05:09:02 GMT) (full text, mbox, link).
Acknowledgement sent
to peter green <plugwash@p10link.net>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>.
(Wed, 26 Aug 2020 05:09:02 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>: Bug#968637; Package src:freeimage.
(Thu, 27 Aug 2020 18:51:06 GMT) (full text, mbox, link).
Acknowledgement sent
to peter green <plugwash@p10link.net>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>.
(Thu, 27 Aug 2020 18:51:06 GMT) (full text, mbox, link).
Subject: Re: freeimage: FTBFS against libraw 0.20.0
Date: Thu, 27 Aug 2020 19:49:49 +0100
tags 968637 +patch
thanks
On 26/08/2020 06:04, peter green wrote:
> Upstream seem to have a fix for this.
>
> https://sourceforge.net/p/freeimage/svn/1842/
I was able to succesfully apply the upstream change to the
Debian package and built it in Raspbian bullseye-staging .
I also bumped the build-dependency because it was not clear
to me what impact the changes would have on operation with
previous libraw versions.
A debdiff should appear soon at
https://debdiffs.raspbian.org/main/f/freeimage/
I may or may not NMU this later.
Added tag(s) patch.
Request was from peter green <plugwash@p10link.net>
to control@bugs.debian.org.
(Thu, 27 Aug 2020 18:51:09 GMT) (full text, mbox, link).
Reply sent
to Anton Gladky <gladk@debian.org>:
You have taken responsibility.
(Thu, 27 Aug 2020 21:51:04 GMT) (full text, mbox, link).
Notification sent
to "Matteo F. Vescovi" <mfv@debian.org>:
Bug acknowledged by developer.
(Thu, 27 Aug 2020 21:51:05 GMT) (full text, mbox, link).
Subject: Bug#968637: fixed in freeimage 3.18.0+ds2-6
Date: Thu, 27 Aug 2020 21:48:43 +0000
Source: freeimage
Source-Version: 3.18.0+ds2-6
Done: Anton Gladky <gladk@debian.org>
We believe that the bug you reported is fixed in the latest version of
freeimage, 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 968637@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anton Gladky <gladk@debian.org> (supplier of updated freeimage 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: Thu, 27 Aug 2020 23:31:08 +0200
Source: freeimage
Architecture: source
Version: 3.18.0+ds2-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Anton Gladky <gladk@debian.org>
Closes: 968637
Changes:
freeimage (3.18.0+ds2-6) unstable; urgency=medium
.
* [cf6ffd2] Fix FTBFS against libraw 0.20.0. (Closes: #968637)
* [09d8830] Set compat-level to 13
* [d09f8b8] Install *.a files
Checksums-Sha1:
a6df247d57e34fab251fc3c63b69b37c67f63ad1 2540 freeimage_3.18.0+ds2-6.dsc
62ecf0d025ca37236621b62b9971245b9d85288b 23240 freeimage_3.18.0+ds2-6.debian.tar.xz
a1e534131372b824ba4fcb7927dacc8b61038fdf 6441 freeimage_3.18.0+ds2-6_source.buildinfo
Checksums-Sha256:
ae15bd70fe216d7d9b7ac709bf85de8a9e8c9c4525fe18413762597b44183a7a 2540 freeimage_3.18.0+ds2-6.dsc
fa3d8152035a263e8fd89d16e3a1db8d1d186cba2bece28207e8ec059f9d0fa0 23240 freeimage_3.18.0+ds2-6.debian.tar.xz
ddc9a7ce269cd5a458bcf475b7b0f49b8c673a1d67a80424bfd3585c3c88a711 6441 freeimage_3.18.0+ds2-6_source.buildinfo
Files:
b1e61fd25b2e5fdea6a6fb18455bac4f 2540 libs optional freeimage_3.18.0+ds2-6.dsc
bd118bea1782205b3c2461eaedda8b3b 23240 libs optional freeimage_3.18.0+ds2-6.debian.tar.xz
66c04caedb85241c9973a878688eb1bd 6441 libs optional freeimage_3.18.0+ds2-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAl9IJi4ACgkQ0+Fzg8+n
/wbfTxAAlu6op8bcV9OLmvajcO4zpYKq8kGoWUniDkS3L8WU3oIciKzL5fIuPai7
KqFzpIzL03KvYREoJ+k5p8Dtkxcm7MNdOQPQ3W1mzIl1yGkDjCw7zSEYG2AZxAPo
xGOUakCAtsvyfW5GUmf/DbmbRMDdhvkScRpJDvb+0YJXEyQXmDgE3MzoN7MM3itV
pTDMIBHEflumykmuAzpf40jjrTzj9AGD+2RUyQ1uS8vrqI4clCJ8WWSAl+wG6iSi
W1pFN0O16WdJmt7+eJbEAR1VNoRT6mfOrnfqv6a6Dn8C6/mAeWf152AMlakwQQR3
vxp1EaF6vY26/kFwEIkASQvnOUoqntGHybGHhtWDAk4tJiJ/Thv/Zosp+qUVf8ri
eMt9qBG3ZG9khVzI3aTXMidxAoGqiIq2Gkv1p/J9XchyW8h9UF34GzrDNhOXC5VG
WcFqquor5Xlip7d0AS73jwTh/PDlMIs4EtQf1FoICJ5HBD/esGMz1NYJmIgWPZCc
YLWQE6WMKt/B8Md1pfggGPjH6oxEriKJRsDPkQAVlg7RugfFfUpajsuoAfoXhkbp
wIFzFjunGQT4wesY9rvajanJrfMmZ8ru13iOYNz6KPdRVfww/7TyALLAivaps1aV
GJ5yJLsNuiNvDuPr3KaEU/r5ORTtn1+5q52+oujjdw/3NpNAX20=
=S+5b
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 25 Sep 2020 07:25:37 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.