Bug#1114150: inkscape: FTBFS: /<<PKGBUILDDIR>>/src/util/gobjectptr.h:23:97: error: 'const class Inkscape::Util::GObjectPtr<T>' has no member named 'p'; did you mean '_p'? [-Wtemplate-body]
Package: src:inkscape
Version: 1.4-6
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
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 could not 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:inkscape, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[208/1120] /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOM [too-long-redacted] y/control/canvas-item-curve.cpp
[209/1120] /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOM [too-long-redacted] control/canvas-item-drawing.cpp
FAILED: src/CMakeFiles/inkscape_base.dir/display/control/canvas-item-drawing.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB - [too-long-redacted] control/canvas-item-drawing.cpp
In file included from /<<PKGBUILDDIR>>/src/ui/widget/events/canvas-event.h:22,
from /<<PKGBUILDDIR>>/src/display/control/canvas-item-drawing.cpp:28:
/<<PKGBUILDDIR>>/src/util/gobjectptr.h: In member function â??Inkscape::Util::GObjectPtr<T>& Inkscape::Util::GObjectPtr<T>::operator=(const Inkscape::Util::GObjectPtr<T>&)â??:
/<<PKGBUILDDIR>>/src/util/gobjectptr.h:23:97: error: â??const class Inkscape::Util::GObjectPtr<T>â?? has no member named â??pâ??; did you mean â??_pâ??? [-Wtemplate-body]
23 | GObjectPtr &operator=(GObjectPtr const &other) { if (&other != this) { _unref(); _p = other.p; _ref(); } return *this; }
| ^
| _p
[210/1120] /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOM [too-long-redacted] ay/control/canvas-item-grid.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: