Bug#1037711: kodi-imagedecoder-heif: ftbfs with GCC-13
Package: src:kodi-imagedecoder-heif
Version: 20.1.0+ds1-2
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/kodi-imagedecoder-heif_20.1.0+ds1-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html
[...]
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1238:9: error: ‘RelatedImageWidth’ was not declared in this scope
1238 | RelatedImageWidth = 0;
| ^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1239:9: error: ‘RelatedImageHeight’ was not declared in this scope
1239 | RelatedImageHeight= 0;
| ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1240:9: error: ‘Orientation’ was not declared in this scope
1240 | Orientation = 0;
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1243:9: error: ‘ResolutionUnit’ was not declared in this scope; did you mean ‘XResolution’?
1243 | ResolutionUnit = 0;
| ^~~~~~~~~~~~~~
| XResolution
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1244:9: error: ‘BitsPerSample’ was not declared in this scope
1244 | BitsPerSample = 0;
| ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1247:9: error: ‘ExposureProgram’ was not declared in this scope
1247 | ExposureProgram = 0;
| ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1248:9: error: ‘ISOSpeedRatings’ was not declared in this scope
1248 | ISOSpeedRatings = 0;
| ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1255:9: error: ‘Flash’ was not declared in this scope
1255 | Flash = 0;
| ^~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1256:9: error: ‘MeteringMode’ was not declared in this scope
1256 | MeteringMode = 0;
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1257:9: error: ‘LightSource’ was not declared in this scope
1257 | LightSource = 0;
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1258:9: error: ‘ProjectionType’ was not declared in this scope
1258 | ProjectionType = 0;
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1259:21: error: request for member ‘clear’ in ‘((TinyEXIF::EXIFInfo*)this)->TinyEXIF::EXIFInfo::SubjectArea’, which is of non-class type ‘int’
1259 | SubjectArea.clear();
| ^~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1275:18: error: ‘struct TinyEXIF::EXIFInfo::LensInfo_t’ has no member named ‘FocalPlaneResolutionUnit’; did you mean ‘FocalPlaneXResolution’?
1275 | LensInfo.FocalPlaneResolutionUnit = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| FocalPlaneXResolution
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1294:21: error: ‘struct TinyEXIF::EXIFInfo::Geolocation_t’ has no member named ‘GPSDifferential’
1294 | GeoLocation.GPSDifferential = 0;
| ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1301:35: error: ‘struct TinyEXIF::EXIFInfo::Geolocation_t::Coord_t’ has no member named ‘direction’
1301 | GeoLocation.LatComponents.direction = 0;
| ^~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1305:35: error: ‘struct TinyEXIF::EXIFInfo::Geolocation_t::Coord_t’ has no member named ‘direction’
1305 | GeoLocation.LonComponents.direction = 0;
| ^~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1312:20: error: ‘struct TinyEXIF::EXIFInfo::MicroVideo_t’ has no member named ‘HasMicroVideo’
1312 | MicroVideo.HasMicroVideo = 0;
| ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1313:20: error: ‘struct TinyEXIF::EXIFInfo::MicroVideo_t’ has no member named ‘MicroVideoVersion’
1313 | MicroVideo.MicroVideoVersion = 0;
| ^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/TinyEXIF/TinyEXIF.cpp:1314:20: error: ‘struct TinyEXIF::EXIFInfo::MicroVideo_t’ has no member named ‘MicroVideoOffset’; did you mean ‘MicroVideo_t’?
1314 | MicroVideo.MicroVideoOffset = 0;
| ^~~~~~~~~~~~~~~~
| MicroVideo_t
make[3]: *** [CMakeFiles/imagedecoder.heif.dir/build.make:93: CMakeFiles/imagedecoder.heif.dir/lib/TinyEXIF/TinyEXIF.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:113: CMakeFiles/imagedecoder.heif.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: