Package: sip6
Version: 6.6.1+dfsg-2
Severity: important
X-Debbugs-Cc: s...@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.
-- System Information:
Debian Release: 11.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-14-rt-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled