Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>.
(Thu, 09 Jul 2020 11:35:08 GMT) (full text, mbox, link).
Subject: freeimage: FTBFS: Source/FreeImage/PluginJPEG.cpp:506:1: error: ‘BOOL jpeg_read_icc_profile(j_decompress_ptr, JOCTET**, unsigned int*)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
Date: Thu, 9 Jul 2020 12:44:41 +0200
Source: freeimage
Version: 3.18.0+ds2-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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/PluginJPEG.cpp -o Source/FreeImage/PluginJPEG.o
> Source/FreeImage/PluginJPEG.cpp:506:1: error: ‘BOOL jpeg_read_icc_profile(j_decompress_ptr, JOCTET**, unsigned int*)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
> 506 | jpeg_read_icc_profile(j_decompress_ptr cinfo, JOCTET **icc_data_ptr, unsigned *icc_data_len) {
> | ^~~~~~~~~~~~~~~~~~~~~
> In file included from Source/FreeImage/PluginJPEG.cpp:39:
> /usr/include/jpeglib.h:1066:17: note: previous declaration of ‘boolean jpeg_read_icc_profile(j_decompress_ptr, JOCTET**, unsigned int*)’
> 1066 | EXTERN(boolean) jpeg_read_icc_profile(j_decompress_ptr cinfo,
> | ^~~~~~~~~~~~~~~~~~~~~
> Source/FreeImage/PluginJPEG.cpp: In function ‘BOOL jpeg_write_jfxx(j_compress_ptr, FIBITMAP*)’:
> Source/FreeImage/PluginJPEG.cpp:962:93: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
> 962 | if((FreeImage_GetImageType(thumbnail) != FIT_BITMAP) || (FreeImage_GetBPP(thumbnail) != 8) && (FreeImage_GetBPP(thumbnail) != 24)) {
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from Source/FreeImage/PluginJPEG.cpp:44:
> Source/Utilities.h: At global scope:
> 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/PluginJPEG.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/07/09/freeimage_3.18.0+ds2-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply sent
to Anton Gladky <gladk@debian.org>:
You have taken responsibility.
(Wed, 15 Jul 2020 21:36:05 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Wed, 15 Jul 2020 21:36:05 GMT) (full text, mbox, link).
Subject: Bug#964653: fixed in freeimage 3.18.0+ds2-4
Date: Wed, 15 Jul 2020 21:33:46 +0000
Source: freeimage
Source-Version: 3.18.0+ds2-4
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 964653@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: Wed, 15 Jul 2020 23:05:20 +0200
Source: freeimage
Architecture: source
Version: 3.18.0+ds2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Anton Gladky <gladk@debian.org>
Closes: 964653
Changes:
freeimage (3.18.0+ds2-4) unstable; urgency=medium
.
* [d2fd1a9] Add debian/.gitlab-ci.yml
* [0dbdc38] Fix compilation due to external-static mismatch. (Closes: #964653)
* [a244b61] Respect CPPFLAGS
* [736ea7b] Update standards version to 4.5.0, no changes needed.
* [e86eeb9] Add Rules-Requires-Root: no
Checksums-Sha1:
007f27eb7446a642758f8622ed256bc3171dd8db 2540 freeimage_3.18.0+ds2-4.dsc
29c73fd18b0f71488d9817a1c7aee4ebbfcef65b 22612 freeimage_3.18.0+ds2-4.debian.tar.xz
daf874582f18c116afec6af78a268bf7d9298073 6333 freeimage_3.18.0+ds2-4_source.buildinfo
Checksums-Sha256:
79badeb4c4680062ce258af8dacaf8ef9db0ba3c98779f36b4a658a6c1df4234 2540 freeimage_3.18.0+ds2-4.dsc
beb34ac96e9e5f386c80136e0befcfc27136e5d99da2ce383dea966fa9d4842c 22612 freeimage_3.18.0+ds2-4.debian.tar.xz
70f34223a56945c0a820c69fd70605b93e2157ceb022fd58833347a4ccdc2bac 6333 freeimage_3.18.0+ds2-4_source.buildinfo
Files:
c29562834581b3b95ab49fa5151030ab 2540 libs optional freeimage_3.18.0+ds2-4.dsc
d96d6be7883937b1ca47ccce4d570254 22612 libs optional freeimage_3.18.0+ds2-4.debian.tar.xz
792974a8fc19349b2d7ae3f4f5bc73c9 6333 libs optional freeimage_3.18.0+ds2-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAl8Pb6MACgkQ0+Fzg8+n
/wab4w/+OFczlUIrjORVAnR1OLOT00r9Z1H1syNCPPt+8AHuumws7ZpSfqY2MIwk
xSFO3AveBB9Aj1o83CPXq6XMepFSEHw3Aifl/EBxbyc3Sj7+wnN+PwfwHY7sTsuQ
jf4xX9H8ZDcukSBJ5XDG1EQpiQ2jvP5lB5dgARhsawRggmxGj74fuTXTdyaL1l0o
wantjLjky/aYv2em2ODjdyrkYHXEX0iDljvGNqThWbzTNcWVJAnZWA9UqQnpfNsc
CzRqNg2AbaaDLfmsohsvfCizhCMJphZHdTB8KB7ZWUVF9D3WRiiJVV1TzDj+gyqE
ADkRvhGlcqKDOp06dMNg1b8u+uNTJFxtDsrDNz1Jov07qeOPnJDNwO9VnLoR6rAH
/KLfUndgJTY/njVXQ2lo+vKYyM7C6tjK8zAxIGGKdsBNBsEcx4Kmqp3cb7m1M5Dv
8nHoZrXUEp1yUMZUA3e/Dt8QTt7P6XHBj9zgFA/2Dt/fVIy2RiK4OEhavSSGZR+E
rXtVV6mwJzgoYTYgONdWwwiMIqZbGxjHmAYtrIWpcS8F1T0288hY67XZgSp26y/c
XrAEfQz10AxBgi5CHasPFmZsuH8EwPDK5Zc3gkvP44KuYb2PhBuzjCGRgl5xCSSu
jKL9/TyxNSVlvLWiRpcvQp9lSYsQNYT5dCYb6DWyfgLP2d6wVog=
=QdRB
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 16 Aug 2020 07:29:35 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/.