Bug#1091558: mednafen: FTBFS on i386: tests.cpp:1389:18: error: comparison between distinct pointer types ‘off_t (*)(gzFile) ’ {aka ‘long int (*)(gzFile_s*) ’} and ‘off64_t (*)(gzFile) ’ {aka ‘long long int (*)(gzFile_s*) ’} lacks a cast
Lucas Nussbaum
lucas at debian.org
Sat Dec 28 16:29:59 GMT 2024
Source: mednafen
Version: 1.32.1+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20241228 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, this package failed to build
on i386.
This package currently has binary packages on i386, so this is a regression.
Relevant part (hopefully):
> g++ -std=gnu++11 -fsigned-char -fwrapv -fexceptions -DHAVE_CONFIG_H -I/usr/include/lzo -I../include -I../include -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -fno-fast-math -fno-unsafe-math-optimizations -fno-aggressive-loop-optimizations -fno-ipa-icf -fno-printf-return-value -fomit-frame-pointer -fstrict-aliasing -Wall -Wshadow -Wempty-body -Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization -Wstack-usage=32768 -Wframe-larger-than=32768 -Werror=write-strings -fjump-tables -mfunction-return=keep -mindirect-branch=keep -mno-indirect-branch-register -fno-pic -fno-pie -fno-PIC -fno-PIE -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -c -o IPSPatcher.o IPSPatcher.cpp
> In file included from tests.cpp:54:
> tests.cpp: In function ‘void Mednafen::MDFN_TESTS_CPP::zlib_test()’:
> tests.cpp:1389:18: error: comparison between distinct pointer types ‘off_t (*)(gzFile)’ {aka ‘long int (*)(gzFile_s*)’} and ‘off64_t (*)(gzFile)’ {aka ‘long long int (*)(gzFile_s*)’} lacks a cast
> 1389 | assert(&gztell == &gztell64);
> | ~~~~~~~~^~~~~~~~~~~~
> g++ -std=gnu++11 -fsigned-char -fwrapv -fexceptions -DHAVE_CONFIG_H -I/usr/include/lzo -I../include -I../include -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -fno-fast-math -fno-unsafe-math-optimizations -fno-aggressive-loop-optimizations -fno-ipa-icf -fno-printf-return-value -fomit-frame-pointer -fstrict-aliasing -Wall -Wshadow -Wempty-body -Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization -Wstack-usage=32768 -Wframe-larger-than=32768 -Werror=write-strings -fjump-tables -mfunction-return=keep -mindirect-branch=keep -mno-indirect-branch-register -fno-pic -fno-pie -fno-PIC -fno-PIE -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -c -o VirtualFS.o VirtualFS.cpp
> g++ -std=gnu++11 -fsigned-char -fwrapv -fexceptions -DHAVE_CONFIG_H -I/usr/include/lzo -I../include -I../include -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -fno-fast-math -fno-unsafe-math-optimizations -fno-aggressive-loop-optimizations -fno-ipa-icf -fno-printf-return-value -fomit-frame-pointer -fstrict-aliasing -Wall -Wshadow -Wempty-body -Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization -Wstack-usage=32768 -Wframe-larger-than=32768 -Werror=write-strings -fjump-tables -mfunction-return=keep -mindirect-branch=keep -mno-indirect-branch-register -fno-pic -fno-pie -fno-PIC -fno-PIE -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -c -o NativeVFS.o NativeVFS.cpp
> g++ -std=gnu++11 -fsigned-char -fwrapv -fexceptions -DHAVE_CONFIG_H -I/usr/include/lzo -I../include -I../include -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -fno-fast-math -fno-unsafe-math-optimizations -fno-aggressive-loop-optimizations -fno-ipa-icf -fno-printf-return-value -fomit-frame-pointer -fstrict-aliasing -Wall -Wshadow -Wempty-body -Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization -Wstack-usage=32768 -Wframe-larger-than=32768 -Werror=write-strings -fjump-tables -mfunction-return=keep -mindirect-branch=keep -mno-indirect-branch-register -fno-pic -fno-pie -fno-PIC -fno-PIE -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -c -o Stream.o Stream.cpp
> make[3]: *** [Makefile:4631: tests.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/12/28/mednafen_1.32.1+dfsg-1_unstable-i386.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241228;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241228&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-games-devel
mailing list