Bug#1030432: sleef: FTBFS: testerutil.h:93:6: error: conflicting types for 'mpfr_sinpi'
Lucas Nussbaum
lucas at debian.org
Sat Feb 4 07:21:07 GMT 2023
Source: sleef
Version: 3.5.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230203 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 41%] Building C object src/libm-tester/CMakeFiles/iut.dir/iut.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libm-tester && /usr/bin/clang -DENABLE_ALIAS=1 -DENABLE_SYS_getrandom=1 -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/src/arch -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/libm -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libm/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -Wno-attributes -Wno-unused-result -ffp-contract=off -fno-math-errno -fno-trapping-math -O2 -g -DNDEBUG -std=gnu99 -MD -MT src/libm-tester/CMakeFiles/iut.dir/iut.c.o -MF CMakeFiles/iut.dir/iut.c.o.d -o CMakeFiles/iut.dir/iut.c.o -c /<<PKGBUILDDIR>>/src/libm-tester/iut.c
> [ 42%] Building C object src/libm-tester/CMakeFiles/tester2avx512fsp.dir/tester2simdsp.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libm-tester && /usr/bin/clang -DENABLE_ALIAS=1 -DENABLE_AVX512F=1 -DENABLE_SYS_getrandom=1 -DUSEMPFR=1 -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/src/arch -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/libm -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libm/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -Wno-attributes -Wno-unused-result -ffp-contract=off -fno-math-errno -fno-trapping-math -O2 -g -DNDEBUG -mavx512f -std=gnu99 -MD -MT src/libm-tester/CMakeFiles/tester2avx512fsp.dir/tester2simdsp.c.o -MF CMakeFiles/tester2avx512fsp.dir/tester2simdsp.c.o.d -o CMakeFiles/tester2avx512fsp.dir/tester2simdsp.c.o -c /<<PKGBUILDDIR>>/src/libm-tester/tester2simdsp.c
> In file included from /<<PKGBUILDDIR>>/src/libm-tester/tester2simdsp.c:24:
> /<<PKGBUILDDIR>>/src/libm-tester/testerutil.h:93:6: error: conflicting types for 'mpfr_sinpi'
> void mpfr_sinpi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd);
> ^
> /usr/include/mpfr.h:752:21: note: previous declaration is here
> __MPFR_DECLSPEC int mpfr_sinpi (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t);
> ^
> In file included from /<<PKGBUILDDIR>>/src/libm-tester/tester2simdsp.c:24:
> /<<PKGBUILDDIR>>/src/libm-tester/testerutil.h:94:6: error: conflicting types for 'mpfr_cospi'
> void mpfr_cospi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd);
> ^
> /usr/include/mpfr.h:753:21: note: previous declaration is here
> __MPFR_DECLSPEC int mpfr_cospi (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t);
> ^
> 2 errors generated.
> make[3]: *** [src/libm-tester/CMakeFiles/tester2yavx512fsp.dir/build.make:79: src/libm-tester/CMakeFiles/tester2yavx512fsp.dir/tester2simdsp.c.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/02/03/sleef_3.5.1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230203;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230203&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 debian-science-maintainers
mailing list