Package: src:quantlib-swig
Version: 1.40-1
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/202510/

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:quantlib-swig, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp test-stamp install-stamp
test -f Makefile && /usr/bin/make realclean
make: [debian/rules:156: clean] Error 1 (ignored)
dh_clean
 debian/rules binary
dh_testdir
*** Running on arch amd64 and cpu x86_64
./autogen.sh
configure.ac:32: installing 'config/compile'
configure.ac:7: installing 'config/install-sh'
configure.ac:7: installing 'config/missing'
./configure     --prefix=/usr                           \
                --build amd64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether UID '924' is supported by ustar format... yes
checking whether GID '924' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking system... Linux
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking whether g++ accepts warning flags... yes
checking for QuantLib... 1.40
checking for swig... /usr/bin/swig
checking for python3... /usr/bin/python3
checking for dotnet... no
checking for R... no
checking for javac... no
checking for jar... no
checking for java... no
checking for scalac... no
checking for scala... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating CSharp/Makefile
config.status: creating Java/Makefile
config.status: creating Python/Makefile
config.status: creating Python/setup.py
config.status: creating R/Makefile
config.status: creating R/DESCRIPTION
config.status: creating Scala/Makefile
config.status: executing depfiles commands
(cd Python && \
                swig -python -c++ -outdir src/QuantLib  \
                             -o src/QuantLib/quantlib_wrap.cpp  \
                             ../SWIG/quantlib.i;                \
                for python in python3.13; do            \
                        CC="g++"                \
                        CXX="g++"               \
                        CFLAGS="-g0 -Wall -Wno-strict-aliasing 
-DBOOST_NO_AUTO_PTR"     \
                        CXXFLAGS="-g0 -Wall -Wno-strict-aliasing 
-DBOOST_NO_AUTO_PTR"   \
                        $python setup.py build; \
                done                                    )
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/QuantLib
copying src/QuantLib/__init__.py -> build/lib.linux-x86_64-cpython-313/QuantLib
copying src/QuantLib/QuantLib.py -> build/lib.linux-x86_64-cpython-313/QuantLib
running build_ext
building 'QuantLib._QuantLib' extension
creating build/temp.linux-x86_64-cpython-313/src/QuantLib
g++ -g0 -Wall -Wno-strict-aliasing -DBOOST_NO_AUTO_PTR -fPIC 
-DPy_LIMITED_API=0x03080000 -DNDEBUG -I/usr/include -I/usr/include/python3.13 
-c src/QuantLib/quantlib_wrap.cpp -o 
build/temp.linux-x86_64-cpython-313/src/QuantLib/quantlib_wrap.o -fopenmp 
-Wno-unused -g0 -Wall -Wno-strict-aliasing -DBOOST_NO_AUTO_PTR
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
SWIG_runtime_data_module()’:
src/QuantLib/quantlib_wrap.cpp:1455:39: error: ‘PyImport_AddModuleRef’ was 
not declared in this scope; did you mean ‘PyImport_AddModule’?
 1455 |     Swig_runtime_data_module_global = 
PyImport_AddModuleRef(SWIG_RUNTIME_MODULE);
      |                                       ^~~~~~~~~~~~~~~~~~~~~
      |                                       PyImport_AddModule
src/QuantLib/quantlib_wrap.cpp: In function ‘int 
SwigPyObject_Check(PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:1057:44: error: 
‘PyType_GetFullyQualifiedName’ was not declared in this scope; did you mean 
‘SWIG_PyType_GetFullyQualifiedName’?
 1057 | # define SWIG_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp:2127:24: note: in expansion of macro 
‘SWIG_PyType_GetFullyQualifiedName’
 2127 |     PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp: In function ‘int 
SwigPyPacked_Check(PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:1057:44: error: 
‘PyType_GetFullyQualifiedName’ was not declared in this scope; did you mean 
‘SWIG_PyType_GetFullyQualifiedName’?
 1057 | # define SWIG_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp:2544:24: note: in expansion of macro 
‘SWIG_PyType_GetFullyQualifiedName’
 2544 |     PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp: In function ‘swig_type_info* 
SWIG_Python_TypeQuery(const char*)’:
src/QuantLib/quantlib_wrap.cpp:1114:39: error: ‘PyDict_GetItemStringRef’ 
was not declared in this scope; did you mean ‘PyDict_GetItemString’?
 1114 | # define SWIG_PyDict_GetItemStringRef PyDict_GetItemStringRef
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp:3277:3: note: in expansion of macro 
‘SWIG_PyDict_GetItemStringRef’
 3277 |   SWIG_PyDict_GetItemStringRef(cache, type, &obj);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp: In function ‘MatrixRow 
Matrix___getitem__(QuantLib::Matrix*, QuantLib::Integer)’:
src/QuantLib/quantlib_wrap.cpp:10142:29: warning: comparison of integer 
expressions of different signedness: ‘QuantLib::Integer’ {aka ‘int’} 
and ‘QuantLib::Size’ {aka ‘long unsigned int’} [-Wsign-compare]
10142 |             if (i >= 0 && i < self->rows())
      |                           ~~^~~~~~~~~~~~~~
In file included from /usr/include/ql/patterns/observable.hpp:32,
                 from /usr/include/ql/event.hpp:29,
                 from /usr/include/ql/cashflow.hpp:28,
                 from /usr/include/ql/quantlib.hpp:11,
                 from src/QuantLib/quantlib_wrap.cpp:6411:
src/QuantLib/quantlib_wrap.cpp: In member function ‘const std::vector<double> 
OdeFct::operator()(QuantLib::Real, const std::vector<double>&) const’:
src/QuantLib/quantlib_wrap.cpp:18702:73: warning: comparison of integer 
expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and 
‘std::vector<double>::size_type’ {aka ‘long unsigned int’} 
[-Wsign-compare]
18702 |             PyList_Check(pyResult.get()) && PyList_Size(pyResult.get()) 
== y.size(),
      |                                             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
error: command '/usr/bin/g++' failed with exit code 1
make: *** [debian/rules:105: build-stamp] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to