Bug#1145856: plfit: FTBFS: /<<PKGBUILDDIR>>/_BUILD_SHARED/src/CMakeFiles/plfit_python.dir/plfitPYTHON_wrap.c:4949:11: error: implicit declaration of function 'PyInt_Check'; did you mean 'PySet_Check'? [-Wimplicit-function-declaration]
Santiago Vila
sanvila at debian.org
Thu Aug 27 12:53:32 BST 2026
Package: src:plfit
Version: 0.9.6+ds-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:plfit, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
make[4]: Entering directory '/<<PKGBUILDDIR>>/_BUILD_SHARED'
[ 42%] Building C object test/CMakeFiles/test_discrete.dir/test_discrete.c.o
cd /<<PKGBUILDDIR>>/_BUILD_SHARED/test && /usr/bin/x86_64-linux-gnu-gcc -DDATADIR=\"/<<PKGBUILDDIR>>/test/../data\" -DHAVE_CONFIG_H -DUSE_SSE -I/<<PKGBUILDDIR>>/test/../src -I/<<PKGBUILDDIR>>/_BUILD_SHARED/src -I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -MD -MT test/CMakeFiles/test_discrete.dir/test_discrete.c.o -MF CMakeFiles/test_discrete.dir/test_discrete.c.o.d -o CMakeFiles/test_discrete.dir/test_discrete.c.o -c /<<PKGBUILDDIR>>/test/test_discrete.c
/<<PKGBUILDDIR>>/_BUILD_SHARED/src/CMakeFiles/plfit_python.dir/plfitPYTHON_wrap.c: In function â_wrap_plfit_log_likelihood_continuousâ:
/<<PKGBUILDDIR>>/_BUILD_SHARED/src/CMakeFiles/plfit_python.dir/plfitPYTHON_wrap.c:4949:11: error: implicit declaration of function âPyInt_Checkâ; did you mean âPySet_Checkâ? [-Wimplicit-function-declaration]
4949 | if (PyInt_Check(obj)) {
| ^~~~~~~~~~~
| PySet_Check
[ 44%] Building C object test/CMakeFiles/test_discrete.dir/test_common.c.o
cd /<<PKGBUILDDIR>>/_BUILD_SHARED/test && /usr/bin/x86_64-linux-gnu-gcc -DDATADIR=\"/<<PKGBUILDDIR>>/test/../data\" -DHAVE_CONFIG_H -DUSE_SSE -I/<<PKGBUILDDIR>>/test/../src -I/<<PKGBUILDDIR>>/_BUILD_SHARED/src -I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -MD -MT test/CMakeFiles/test_discrete.dir/test_common.c.o -MF CMakeFiles/test_discrete.dir/test_common.c.o.d -o CMakeFiles/test_discrete.dir/test_common.c.o -c /<<PKGBUILDDIR>>/test/test_common.c
/<<PKGBUILDDIR>>/_BUILD_SHARED/src/CMakeFiles/plfit_python.dir/plfitPYTHON_wrap.c:4950:27: error: implicit declaration of function âPyInt_AsLongâ; did you mean âPyLong_AsLongâ? [-Wimplicit-function-declaration]
4950 | arg1[i] = (double)PyInt_AsLong(obj);
| ^~~~~~~~~~~~
| PyLong_AsLong
make[4]: *** [src/CMakeFiles/plfit_python.dir/build.make:82: src/CMakeFiles/plfit_python.dir/CMakeFiles/plfit_python.dir/plfitPYTHON_wrap.c.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/_BUILD_SHARED'
make[3]: *** [CMakeFiles/Makefile2:264: src/CMakeFiles/plfit_python.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[ 46%] Linking C executable test_discrete
cd /<<PKGBUILDDIR>>/_BUILD_SHARED/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_discrete.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/test_discrete.dir/link.d CMakeFiles/test_discrete.dir/test_discrete.c.o CMakeFiles/test_discrete.dir/test_common.c.o -o test_discrete -Wl,-rpath,/<<PKGBUILDDIR>>/_BUILD_SHARED/src ../src/libplfit.so.0 -lm
make[4]: Leaving directory '/<<PKGBUILDDIR>>/_BUILD_SHARED'
[ 46%] Built target test_discrete
make[3]: Leaving directory '/<<PKGBUILDDIR>>/_BUILD_SHARED'
make[2]: *** [Makefile:149: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/_BUILD_SHARED'
dh_auto_build: error: cd _BUILD_SHARED && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list