Your message dated Sat, 09 Nov 2024 19:21:49 +0000
with message-id <[email protected]>
and subject line Bug#1081637: fixed in nlopt 2.7.1-6
has caused the Debian Bug report #1081637,
regarding FTBFS with Python 3.13
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1081637: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081637
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: nlopt
Version: 2.7.1-5
Severity: normal
Tags: upstream patch
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/stevengj/nlopt/issues/565
This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.
To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.
What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html
Log snippet:
cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/octave && /usr/bin/c++
-DNLOPT_DLL -Dnlopt_optimize_EXPORTS -I/usr/include/octave-9.2.0
-I/usr/include/octave-9.2.0/octave
-I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/octave
-I/<<PKGBUILDDIR>>/src/api -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13
-std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT
src/octave/CMakeFiles/nlopt_optimize.dir/nlopt_optimize-oct.cc.o -MF
CMakeFiles/nlopt_optimize.dir/nlopt_optimize-oct.cc.o.d -o
CMakeFiles/nlopt_optimize.dir/nlopt_optimize-oct.cc.o -c
/<<PKGBUILDDIR>>/src/octave/nlopt_optimize-oct.cc
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘double func_python(unsigned int, const double*, double*, void*)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:5085:22:
error: ‘PyEval_CallObject’ was not declared in this scope; did you mean
‘PyObject_CallObject’?
5085 | PyObject *result = PyEval_CallObject((PyObject *) f, arglist);
| ^~~~~~~~~~~~~~~~~
| PyObject_CallObject
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘void mfunc_python(unsigned int, double*, unsigned int, const
double*, double*, void*)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:5122:19:
error: ‘PyEval_CallObject’ was not declared in this scope; did you mean
‘PyObject_CallObject’?
5122 | PyObject *res = PyEval_CallObject((PyObject *) f, arglist);
| ^~~~~~~~~~~~~~~~~
| PyObject_CallObject
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘PyObject* _wrap_opt_optimize__SWIG_1(PyObject*, Py_ssize_t,
PyObject**)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:8937:16:
warning: argument 2 null where non-null expected [-Wnonnull]
8937 | std::memcpy(array_data(resultobj), (&result)->empty() ? NULL :
&result[0],
|
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8938 | sizeof(double) * sz);
| ~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:510,
from /usr/include/assert.h:35,
from /usr/include/python3.13/Python.h:19,
from
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:198:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to
function ‘void* memcpy(void*, const void*, size_t)’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘PyObject* _wrap_opt_get_lower_bounds__SWIG_1(PyObject*,
Py_ssize_t, PyObject**)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:11170:16:
warning: argument 2 null where non-null expected [-Wnonnull]
11170 | std::memcpy(array_data(resultobj), (&result)->empty() ? NULL :
&result[0],
|
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11171 | sizeof(double) * sz);
| ~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to
function ‘void* memcpy(void*, const void*, size_t)’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘PyObject* _wrap_opt_get_upper_bounds__SWIG_1(PyObject*,
Py_ssize_t, PyObject**)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:11408:16:
warning: argument 2 null where non-null expected [-Wnonnull]
11408 | std::memcpy(array_data(resultobj), (&result)->empty() ? NULL :
&result[0],
|
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11409 | sizeof(double) * sz);
| ~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to
function ‘void* memcpy(void*, const void*, size_t)’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘PyObject* _wrap_opt_get_xtol_abs__SWIG_1(PyObject*, Py_ssize_t,
PyObject**)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:11878:16:
warning: argument 2 null where non-null expected [-Wnonnull]
11878 | std::memcpy(array_data(resultobj), (&result)->empty() ? NULL :
&result[0],
|
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11879 | sizeof(double) * sz);
| ~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to
function ‘void* memcpy(void*, const void*, size_t)’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘PyObject* _wrap_opt_get_x_weights__SWIG_1(PyObject*, Py_ssize_t,
PyObject**)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:12116:16:
warning: argument 2 null where non-null expected [-Wnonnull]
12116 | std::memcpy(array_data(resultobj), (&result)->empty() ? NULL :
&result[0],
|
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12117 | sizeof(double) * sz);
| ~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to
function ‘void* memcpy(void*, const void*, size_t)’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:
In function ‘PyObject* _wrap_opt_get_initial_step(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:12918:16:
warning: argument 2 null where non-null expected [-Wnonnull]
12918 | std::memcpy(array_data(resultobj), (&result)->empty() ? NULL :
&result[0],
|
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12919 | sizeof(double) * sz);
| ~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to
function ‘void* memcpy(void*, const void*, size_t)’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
[ 85%] Linking CXX executable t_tutorial
cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/test && /usr/bin/cmake -E
cmake_link_script CMakeFiles/t_tutorial.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -rdynamic
CMakeFiles/t_tutorial.dir/t_tutorial.cxx.o -o t_tutorial
-Wl,-rpath,/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13
../libnlopt_cxx.so.0.11.1 -lm
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13'
[ 85%] Built target t_tutorial
make -f test/CMakeFiles/testopt.dir/build.make
test/CMakeFiles/testopt.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13'
cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/test
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/test
/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13/test/CMakeFiles/testopt.dir/DependInfo.cmake
"--color="
make[4]: *** [src/swig/CMakeFiles/nlopt_python.dir/build.make:79:
src/swig/CMakeFiles/nlopt_python.dir/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx.o]
Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13'
make[3]: *** [CMakeFiles/Makefile2:250:
src/swig/CMakeFiles/nlopt_python.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu-python3.13'
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/710263/
This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.
Thanks,
Stefano
--- End Message ---
--- Begin Message ---
Source: nlopt
Source-Version: 2.7.1-6
Done: Stefano Rivera <[email protected]>
We believe that the bug you reported is fixed in the latest version of
nlopt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated nlopt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 09 Nov 2024 10:23:02 -0800
Source: nlopt
Architecture: source
Version: 2.7.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 1081637
Changes:
nlopt (2.7.1-6) unstable; urgency=medium
.
* Team upload
* Patch: Python 3.13 support. (Closes: #1081637)
Checksums-Sha1:
23bdfadbedfa61b19b90ebe43ee2a16de63f4c4a 2054 nlopt_2.7.1-6.dsc
39258f942070eb6ddccdde92c06a420ef0cd5c30 15140 nlopt_2.7.1-6.debian.tar.xz
8191351b0ca65414170ef2192119e88c6bcf011b 8898 nlopt_2.7.1-6_source.buildinfo
Checksums-Sha256:
ea13d1bb572f0b4a69bf804df0aa7c1aa8bf1e2152f8261ba07986c41e308997 2054
nlopt_2.7.1-6.dsc
aab1403b5a5aaf53014d2e7dd2f638e28730f9a51b12ea77ae6326a0f51fc431 15140
nlopt_2.7.1-6.debian.tar.xz
7c5eb2c06d4ab5d51bd88357b4cae54733795d44bc82a8e09895985d1ed383cb 8898
nlopt_2.7.1-6_source.buildinfo
Files:
c68e9a3dcdbf17b0d6b7686e4212ec2f 2054 math optional nlopt_2.7.1-6.dsc
c56a21c2c3faf587203ccec283e67559 15140 math optional
nlopt_2.7.1-6.debian.tar.xz
997ecf80b3f82ebff20f5edf6523566f 8898 math optional
nlopt_2.7.1-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCZy+yNhQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2Cu9AQCIS2aiEKEYbRd8RRxNsO7g1wOCoGaA
TGkzOz14icno6wD/aTfJm63dHCLHDAbIYTFBf6r0FzbNHkxhlZQroagDIAY=
=f2pj
-----END PGP SIGNATURE-----
pgpwFTTrByNAH.pgp
Description: PGP signature
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers