Your message dated Mon, 25 Nov 2024 13:29:23 +0100
with message-id <7545fb40-2ffb-44cb-9080-ddb26b5a6...@debian.org>
and subject line Re: mariadb-connector-python: ftbfs with GCC-14
has caused the Debian Bug report #1075256,
regarding mariadb-connector-python: ftbfs with GCC-14
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 ow...@bugs.debian.org
immediately.)


-- 
1075256: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075256
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:mariadb-connector-python
Version: 1.1.10-1
Severity: important
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/mariadb-connector-python_1.1.10-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
In file included from /usr/include/python3.11/Python.h:50,
                 from ./include/mariadb_python.h:21,
                 from mariadb/mariadb_cursor.c:20:
/usr/include/python3.11/bytesobject.h:56:12: note: expected ‘char **’ but 
argument is of type ‘const char **’
   56 |     char **s,           /* pointer to buffer variable */
      |     ~~~~~~~^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11  
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12  
* Building wheel...
3.4.0
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/mariadb
copying mariadb/__init__.py -> build/lib.linux-x86_64-cpython-312/mariadb
copying mariadb/connectionpool.py -> build/lib.linux-x86_64-cpython-312/mariadb
copying mariadb/connections.py -> build/lib.linux-x86_64-cpython-312/mariadb
creating build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/__init__.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/CAPABILITY.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/CLIENT.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/CURSOR.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/ERR.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/FIELD_FLAG.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/FIELD_TYPE.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/EXT_FIELD_TYPE.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/INDICATOR.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/INFO.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/STATUS.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/constants/TPC_STATE.py -> 
build/lib.linux-x86_64-cpython-312/mariadb/constants
copying mariadb/cursors.py -> build/lib.linux-x86_64-cpython-312/mariadb
copying mariadb/dbapi20.py -> build/lib.linux-x86_64-cpython-312/mariadb
copying mariadb/field.py -> build/lib.linux-x86_64-cpython-312/mariadb
copying mariadb/release_info.py -> build/lib.linux-x86_64-cpython-312/mariadb
running build_ext
building 'mariadb._mariadb' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/mariadb
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall 
-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 -fPIC -DPY_MARIADB_MAJOR_VERSION=1 
-DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=10 
-DPY_MARIADB_PRE_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_PRE_RELEASE_NR=\"0\" 
-DPY_MARIADB_POST_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_POST_RELEASE_NR=\"0\" 
-I/usr/include/mariadb -I/usr/include/mariadb/mysql -I./include 
-I/usr/include/python3.12 -c mariadb/mariadb.c -o 
build/temp.linux-x86_64-cpython-312/mariadb/mariadb.o 
-DDEFAULT_PLUGINS_SUBDIR=\"/usr/lib/x86_64-linux-gnu/libmariadb3/plugin\"
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall 
-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 -fPIC -DPY_MARIADB_MAJOR_VERSION=1 
-DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=10 
-DPY_MARIADB_PRE_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_PRE_RELEASE_NR=\"0\" 
-DPY_MARIADB_POST_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_POST_RELEASE_NR=\"0\" 
-I/usr/include/mariadb -I/usr/include/mariadb/mysql -I./include 
-I/usr/include/python3.12 -c mariadb/mariadb_codecs.c -o 
build/temp.linux-x86_64-cpython-312/mariadb/mariadb_codecs.o 
-DDEFAULT_PLUGINS_SUBDIR=\"/usr/lib/x86_64-linux-gnu/libmariadb3/plugin\"
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall 
-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 -fPIC -DPY_MARIADB_MAJOR_VERSION=1 
-DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=10 
-DPY_MARIADB_PRE_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_PRE_RELEASE_NR=\"0\" 
-DPY_MARIADB_POST_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_POST_RELEASE_NR=\"0\" 
-I/usr/include/mariadb -I/usr/include/mariadb/mysql -I./include 
-I/usr/include/python3.12 -c mariadb/mariadb_connection.c -o 
build/temp.linux-x86_64-cpython-312/mariadb/mariadb_connection.o 
-DDEFAULT_PLUGINS_SUBDIR=\"/usr/lib/x86_64-linux-gnu/libmariadb3/plugin\"
mariadb/mariadb_connection.c: In function ‘MrdbConnection_escape_string’:
mariadb/mariadb_connection.c:821:15: warning: unused variable ‘string’ 
[-Wunused-variable]
  821 |     PyObject *string= NULL,
      |               ^~~~~~
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall 
-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 -fPIC -DPY_MARIADB_MAJOR_VERSION=1 
-DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=10 
-DPY_MARIADB_PRE_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_PRE_RELEASE_NR=\"0\" 
-DPY_MARIADB_POST_RELEASE_SEGMENT=\"None\" -DPY_MARIADB_POST_RELEASE_NR=\"0\" 
-I/usr/include/mariadb -I/usr/include/mariadb/mysql -I./include 
-I/usr/include/python3.12 -c mariadb/mariadb_cursor.c -o 
build/temp.linux-x86_64-cpython-312/mariadb/mariadb_cursor.o 
-DDEFAULT_PLUGINS_SUBDIR=\"/usr/lib/x86_64-linux-gnu/libmariadb3/plugin\"
mariadb/mariadb_cursor.c: In function ‘MrdbCursor_execute_text’:
mariadb/mariadb_cursor.c:1138:39: error: passing argument 2 of 
‘PyBytes_AsStringAndSize’ from incompatible pointer type 
[-Wincompatible-pointer-types]
 1138 |         PyBytes_AsStringAndSize(stmt, &statement, (Py_ssize_t 
*)&statement_len);
      |                                       ^~~~~~~~~~
      |                                       |
      |                                       const char **
In file included from /usr/include/python3.12/Python.h:50,
                 from ./include/mariadb_python.h:21,
                 from mariadb/mariadb_cursor.c:20:
/usr/include/python3.12/bytesobject.h:56:12: note: expected ‘char **’ but 
argument is of type ‘const char **’
   56 |     char **s,           /* pointer to buffer variable */
      |     ~~~~~~~^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12  
dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" 
returned exit code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Version: 1.1.11-1

Oops, I forgot to mention this in the changelog

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to