[Debian-pan-maintainers] Bug#1131571: bornagain: FTBFS: error: return type 'class QQuaternion' is incomplete
Santiago Vila
sanvila at debian.org
Sun Mar 22 18:23:14 GMT 2026
Package: src:bornagain
Version: 23.0-6
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202603/
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 cannot 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:bornagain, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[ 28%] Building CXX object Tests/Unit/Fit/CMakeFiles/UnitTestFit.dir/MinimizerOptionsTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/Unit/Fit && / [too-long-redacted] it/Fit/MinimizerOptionsTest.cpp
[ 28%] Building CXX object Img3D/CMakeFiles/BornAgainImg3D.dir/Model/PlottableBody.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Img3D && /usr/bin/c [too-long-redacted] >/Img3D/Model/PlottableBody.cpp
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:24:53:[m[K [01;31m[Kerror: [m[Kreturn type â[01m[Kclass QQuaternion[m[Kâ is incomplete
24 | QQuaternion EulerToQuaternion(const Img3D::F3& euler[01;31m[K)[m[K
| [01;31m[K^[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:[m[K In function â[01m[Kvoid {anonymous}::[01;32m[KEulerToQuaternion[m[K(const Img3D::F3&)[m[Kâ:
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:36:34:[m[K [01;31m[Kerror: [m[Ktoo many initializers for â[01m[KQQuaternion[m[Kâ
36 | return QQuaternion{a, b, c, d[01;31m[K}[m[K;
| [01;31m[K^[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:[m[K In function â[01m[KImg3D::F3 {anonymous}::[01;32m[KQuaternionToEuler[m[K(const QQuaternion&)[m[Kâ:
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:41:17:[m[K [01;31m[Kerror: [m[Kinvalid use of incomplete type â[01m[Kconst class QQuaternion[m[Kâ
41 | auto qvec = [01;31m[Kq[m[K.toVector4D();
| [01;31m[K^[m[K
In file included from [01m[K/usr/include/x86_64-linux-gnu/qt6/QtGui/qgenericmatrix.h:8[m[K,
from [01m[K/usr/include/x86_64-linux-gnu/qt6/QtGui/qmatrix4x4.h:10[m[K,
from [01m[K/usr/include/x86_64-linux-gnu/qt6/QtGui/QMatrix4x4:1[m[K,
from [01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.h:22[m[K,
from [01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:15[m[K:
[01m[K/usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:1550:1:[m[K [01;36m[Knote: [m[Kforward declaration of â[01m[Kclass QQuaternion[m[Kâ
1550 | [01;36m[KQT_FOR_EACH_STATIC_GUI_CLASS[m[K(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
| [01;36m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:[m[K In member function â[01m[Kvoid Img3D::PlottableBody::[01;32m[Ktransform[m[K(Img3D::F3, Img3D::F3, Img3D::F3)[m[Kâ:
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:93:38:[m[K [01;31m[Kerror: [m[Kinvalid use of void expression
93 | m_matrix.rotate([01;31m[KEulerToQuaternion(rotate)[m[K);
| [01;31m[K~~~~~~~~~~~~~~~~~^~~~~~~~[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:[m[K In member function â[01m[Kvoid Img3D::PlottableBody::[01;32m[Ktransform[m[K(Img3D::F3, Img3D::F3, Img3D::F3, Img3D::F3)[m[Kâ:
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:105:38:[m[K [01;31m[Kerror: [m[Kinvalid use of void expression
105 | m_matrix.rotate([01;31m[KEulerToQuaternion(rotate)[m[K);
| [01;31m[K~~~~~~~~~~~~~~~~~^~~~~~~~[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:107:38:[m[K [01;31m[Kerror: [m[Kinvalid use of void expression
107 | m_matrix.rotate([01;31m[KEulerToQuaternion(turn)[m[K);
| [01;31m[K~~~~~~~~~~~~~~~~~^~~~~~[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:[m[K In member function â[01m[Kvoid Img3D::PlottableBody::[01;32m[KaddExtrinsicRotation[m[K(Img3D::F3, Img3D::F3, Img3D::F3&, Img3D::F3, Img3D::F3&)[m[Kâ:
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:116:38:[m[K [01;31m[Kerror: [m[Kinvalid use of void expression
116 | m_matrix.rotate([01;31m[KEulerToQuaternion(rotateExtrinsic)[m[K);
| [01;31m[K~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:118:38:[m[K [01;31m[Kerror: [m[Kinvalid use of void expression
118 | m_matrix.rotate([01;31m[KEulerToQuaternion(rotate)[m[K);
| [01;31m[K~~~~~~~~~~~~~~~~~^~~~~~~~[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:120:38:[m[K [01;31m[Kerror: [m[Kinvalid use of void expression
120 | m_matrix.rotate([01;31m[KEulerToQuaternion(turn)[m[K);
| [01;31m[K~~~~~~~~~~~~~~~~~^~~~~~[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:123:17:[m[K [01;31m[Kerror: [m[Kvariable â[01m[KQQuaternion q[m[Kâ has initializer but incomplete type
123 | QQuaternion [01;31m[Kq[m[K = EulerToQuaternion(rotateExtrinsic) * EulerToQuaternion(rotate);
| [01;31m[K^[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:123:56:[m[K [01;31m[Kerror: [m[Kinvalid operands of types â[01m[Kvoid[m[Kâ and â[01m[Kvoid[m[Kâ to binary â[01m[Koperator*[m[Kâ
123 | QQuaternion q = [01;32m[KE[m[K[01;32m[Ku[ [too-long-redacted] 4m[Ke[m[K[01;34m[K)[m[K;
| [01;32m[K~[m[K[01;32m[K~[ [too-long-redacted] 34m[K~[m[K[01;34m[K~[m[K
| [01;32m[K|[m[K [01;34m[K|[m[K
| [01;32m[Kvoid[m[K [01;34m[Kvoid[m[K
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:127:34:[m[K [01;31m[Kerror: [m[Kinvalid use of â[01m[Kvoid[m[Kâ
127 | translate = [01;31m[KEulerToQuaternion(rotateExtrinsic)[m[K.rotatedVector(translate);
| [01;31m[K~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~[m[K
[ 28%] Building CXX object Tests/Unit/Fit/CMakeFiles/UnitTestFit.dir/MultiOptionTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/Unit/Fit && / [too-long-redacted] ts/Unit/Fit/MultiOptionTest.cpp
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:[m[K At global scope:
[01m[K/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:39:11:[m[K [01;35m[Kwarning: [m[Kâ[01m[KImg3D::F3 {anonymous}::[01;32m[KQuaternionToEuler[m[K(const QQuaternion&)[m[Kâ defined but not used [[01;35m[K-Wunused-function[m[K]
39 | Img3D::F3 [01;35m[KQuaternionToEuler[m[K(const QQuaternion& q)
| [01;35m[K^~~~~~~~~~~~~~~~~[m[K
make[4]: *** [Img3D/CMakeFiles/BornAgainImg3D.dir/build.make:384: Img3D/CMakeFiles/BornAgainImg3D.dir/Model/PlottableBody.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:3179: Img3D/CMakeFiles/BornAgainImg3D.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[ 28%] Building CXX object Tests/Unit/Fit/CMakeFiles/UnitTestFit.dir/OptionContainerTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/Unit/Fit && / [too-long-redacted] nit/Fit/OptionContainerTest.cpp
[ 28%] Building CXX object Tests/Unit/Fit/CMakeFiles/UnitTestFit.dir/ParameterTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/Unit/Fit && / [too-long-redacted] ests/Unit/Fit/ParameterTest.cpp
[ 28%] Building CXX object Tests/Unit/Fit/CMakeFiles/UnitTestFit.dir/ParametersTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/Unit/Fit && / [too-long-redacted] sts/Unit/Fit/ParametersTest.cpp
[ 28%] Building CXX object Tests/Unit/Fit/CMakeFiles/UnitTestFit.dir/RealLimitsTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/Unit/Fit && / [too-long-redacted] sts/Unit/Fit/RealLimitsTest.cpp
[ 29%] Linking CXX executable ../../../bin/UnitTestFit
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/Unit/Fit && /usr/bin/cmake -E cmake_link_script CMakeFiles/UnitTestFit.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fs [too-long-redacted] ../../../lib/libgtest.so.1.14.0
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 29%] Built target UnitTestFit
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:48: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:35: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Debian-pan-maintainers
mailing list