Bug#1145109: cctools: FTBFS with swig 4.5.0
Rafael Laboissière <[email protected]>
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Organization | Debian GNU/Linux |
| Message-ID | <[email protected]> |
Source: cctools Version: 7.15.9-2 Severity: serious Tags: ftbfs sid forky Justification: Policy 4.9 User: [email protected] Usertags: swig-4.5.0 Dear Maintainer, The cctools package FTBFS with swig 4.5.0, which is currently in unstable. An excerpt of the build log is shown below. This is due to the removal of the Python 2 compatibility macros in version 4.5.0. According to the SWIG authors, these macros were retained in the generated code (pyhead.swg) solely for user typemaps. Any typemap using these macros must be updated to call the Python 3 C API directly. Best, Rafael Laboissière ##### Build log excerpt SWIG chirp.i (python) gcc -o chirp_wrap.o -c -DCCTOOLS_WITH_CHIRP -I <<BUILD-DIR>>/cctools-7.15.9/dttools/src -I <<BUILD-DIR>>/cctools-7.15.9/batch_job/src -I <<BUILD-DIR>>/cctools-7.15.9/taskvine/src -I <<BUILD-DIR>>/cctools-7.15.9/ grow/src -I <<BUILD-DIR>>/cctools-7.15.9/makeflow/src -I <<BUILD-DIR>>/cctools-7.15.9/work_queue/src -I <<BUILD-DIR>>/cctools-7.15.9/ftp_lite/src -I <<BUILD-DIR>>/cctools-7.15.9/resource_monitor/src -I <<BUILD-D IR>>/cctools-7.15.9/chirp/src -I <<BUILD-DIR>>/cctools-7.15.9/deltadb/src -I <<BUILD-DIR>>/cctools-7.15.9/poncho/src -I <<BUILD-DIR>>/cctools-7.15.9/taskvine/src/manager -g -O2 -Werror=implicit-function-declarat ion -ffile-prefix-map=<<BUILD-DIR>>/cctools-7.15.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I /usr/include/python3.14 -DNDEBUG -Wno-unused-result -D_ _EXTENSIONS__ -D_LARGEFILE64_SOURCE -D__LARGE64_FILES -Wall -Wextra -Wno-unused-result -fPIC -Wno-unused-parameter -Wno-unknown-pragmas -Wno-deprecated-declarations -Wno-unused-const-variable -DHAS_LIBREADLINE - DHAS_TLS_method -DHAS_OPENSSL -DHAS_OPENSSL_PKEYUTL -DHAS_PPOLL -DHAVE_GMTIME_R -DHAVE_FDATASYNC -DHAS_ISNAN -DHAVE_ISNAN -DSQLITE_HAVE_ISNAN -DHAVE_LOCALTIME_R -DHAS_OPENAT -DHAS_PREAD -DUSE_PREAD -DUSE_PREAD64 -DHAS_PWRITE -DUSE_PWRITE -DUSE_PWRITE64 -DHAS_STATX -DHAVE_STRCHRNUL -DHAS_STRSIGNAL -DHAS_USLEEP -DHAVE_USLEEP -DHAS_UTIME -DHAVE_UTIME -DHAS_UTIMENSAT -DHAS_SYS_XATTR_H -DHAS_IFADDRS -DHAS_INTTYPES_H -DHAVE_ INTTYPES_H -DHAS_STDINT_H -DHAVE_STDINT_H -DHAS_SYS_STATFS_H -DHAS_SYS_STATVFS_H -DHAS_SYS_VFS_H -DBUILD_DATE='"2018-12-25"' -DBUILD_HOST='"debian"' -DBUILD_USER='"debian"' -DCCTOOLS_COMMIT='""' -DCCTOOLS_CONFIG URE_ARGUMENTS='"--with-globus-path=/usr --prefix=/usr --with-golang-path=/usr --with-krb5-path=/usr --with-readline-path=/usr --with-mpi-path=/usr --with-fuse-path=/usr --with-zlib-path=/usr --with-python3-path /usr/bin/python3 --with-python2-path no --without-system-parrot --build-date Fri May 22 10:24:16 UTC 2026"' -DCCTOOLS_CPU_AMD64 -DCCTOOLS_CVMFS_BUILD_FLAGS='" "' -DCCTOOLS_OPSYS_LINUX -DCCTOOLS_RELEASE_DATE='"Fr i May 22 10:24:16 UTC 2026"' -DCCTOOLS_SOURCE='"FINAL"' -DCCTOOLS_SYSTEM_INFORMATION='"Debian build of cctools"' -DCCTOOLS_VERSION='"7.15.9 FINAL"' -DCCTOOLS_VERSION_MAJOR=7 -DCCTOOLS_VERSION_MICRO=9 -DCCTOOLS_V ERSION_MINOR=15 -DINSTALL_PATH='"/usr"' -D_GNU_SOURCE -D_REENTRANT -g3 -O0 -ggdb3 -std=c99 -fPIC -w -DNDEBUG -DNDEBUG -I/usr/include/python3.14 -IObjects -IInclude -IPython -I. -I../Include chirp_wrap.c chirp_wrap.c: In function ‘_wrap_chirp_reli_open’: chirp_wrap.c:4569:14: error: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration] 4569 | else if (PyInt_Check(swig_obj[4])) | ^~~~~~~~~~~ | PySet_Check chirp_wrap.c:4570:21: error: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 4570 | arg5 = (time_t) PyInt_AsLong(swig_obj[4]); | ^~~~~~~~~~~~ | PyLong_AsLong make[5]: *** [<<BUILD-DIR>>/cctools-7.15.9/rules.mk:6: chirp_wrap.o] Error 1