Fwd: sip6: fails to process __delattr__ in libarcus 5.0~beta (works with sip 6.5)

Dmitry Shachnev mitya57 at ubuntu.com
Mon May 16 21:45:18 BST 2022


Hi Phil!

Thank you for your previous reply. I updated Debian package to 2022-05-13
snapshot (except for one commit which changed ABI). And now I received this
bug report.

----- Forwarded message from Sebastian Kuzminsky <seb at highlab.com> -----

Date: Mon, 16 May 2022 13:18:11 -0600
From: Sebastian Kuzminsky <seb at highlab.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Bug#1011093: sip6: fails to process __delattr__ in libarcus 5.0~beta (works with sip 6.5)
X-Mailer: reportbug 7.10.3+deb11u1

Package: sip6
Version: 6.6.1+dfsg-2
Severity: important
X-Debbugs-Cc: seb at highlab.com

When trying to build libArcus 5.0~beta (part of the Cura slicer),
sip-build 6.6 produces bogus C++ output that fails to compile:

[ 95%] Building CXX object CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o
/usr/bin/c++ -DSIP_VERSION=0x060601 -Dsip_pyArcus_EXPORTS -I/tmp/do-gbp.debian_unstable.master.xf2HJ/source/.pybuild/cpython3_3.10/build/src -I/tmp/do-gbp.debian_unstable.master.xf2HJ/source/python -I/tmp/do-gbp.debian_unstable.master.xf2HJ/source/src -isystem /usr/include/python3.10 -g -O2 -ffile-prefix-map=/tmp/do-gbp.debian_unstable.master.xf2HJ/source=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -fPIC -std=c++17 -MD -MT CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o -MF CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o.d -o CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o -c /tmp/do-gbp.debian_unstable.master.xf2HJ/source/python/PythonMessage.cpp
/tmp/do-gbp.debian_unstable.master.xf2HJ/source/.pybuild/cpython3_3.10/build/pyArcus/pyArcus/sippyArcuspart3.cpp: In function ‘int slot_PythonMessage___setattr__(PyObject*, PyObject*, PyObject*)’:
/tmp/do-gbp.debian_unstable.master.xf2HJ/source/.pybuild/cpython3_3.10/build/pyArcus/pyArcus/sippyArcuspart3.cpp:424:102: error: ‘sipName___delattr__’ was not declared in this scope; did you mean ‘sipName___setattr__’?
  424 | static void release_PythonMessage(void *sipCppV, int sipState)
      |                                                                                                      ^
      |                                                                                                      sipName___setattr__
make[3]: *** [CMakeFiles/sip_pyArcus.dir/build.make:233: CMakeFiles/sip_pyArcus.dir/pyArcus/pyArcus/sippyArcuspart3.cpp.o] Error 1


sip-build 6.5 in testing produces correct output and the project builds
fine.  This looks like another instance of problems with the new parser
in 6.6.

----- End forwarded message -----

--
Dmitry Shachnev


More information about the PyQt mailing list