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
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:24:53: 
error: return type ‘class QQuaternion’ is 
incomplete
   24 | QQuaternion EulerToQuaternion(const Img3D::F3& euler)
      |                                                     ^
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp: In function 
‘void {anonymous}::EulerToQuaternion(const 
Img3D::F3&)’:
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:36:34: 
error: too many initializers for 
‘QQuaternion’
   36 |     return QQuaternion{a, b, c, d};
      |                                  ^
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp: In function 
‘Img3D::F3 {anonymous}::QuaternionToEuler(const 
QQuaternion&)’:
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:41:17: 
error: invalid use of incomplete type ‘const class 
QQuaternion’
   41 |     auto qvec = q.toVector4D();
      |                 ^
In file included from 
/usr/include/x86_64-linux-gnu/qt6/QtGui/qgenericmatrix.h:8,
                 from 
/usr/include/x86_64-linux-gnu/qt6/QtGui/qmatrix4x4.h:10,
                 from 
/usr/include/x86_64-linux-gnu/qt6/QtGui/QMatrix4x4:1,
                 from 
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.h:22,
                 from 
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:15:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:1550:1: 
note: forward declaration of ‘class 
QQuaternion’
 1550 | 
QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp: In member 
function ‘void 
Img3D::PlottableBody::transform(Img3D::F3, Img3D::F3, 
Img3D::F3)’:
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:93:38: 
error: invalid use of void expression
   93 |     m_matrix.rotate(EulerToQuaternion(rotate));
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp: In member 
function ‘void 
Img3D::PlottableBody::transform(Img3D::F3, Img3D::F3, 
Img3D::F3, Img3D::F3)’:
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:105:38: 
error: invalid use of void expression
  105 |     m_matrix.rotate(EulerToQuaternion(rotate));
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:107:38: 
error: invalid use of void expression
  107 |     m_matrix.rotate(EulerToQuaternion(turn));
      |                     ~~~~~~~~~~~~~~~~~^~~~~~
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp: In member 
function ‘void 
Img3D::PlottableBody::addExtrinsicRotation(Img3D::F3, 
Img3D::F3, Img3D::F3&, Img3D::F3, Img3D::F3&)’:
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:116:38: 
error: invalid use of void expression
  116 |     
m_matrix.rotate(EulerToQuaternion(rotateExtrinsic));
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:118:38: 
error: invalid use of void expression
  118 |     m_matrix.rotate(EulerToQuaternion(rotate));
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:120:38: 
error: invalid use of void expression
  120 |     m_matrix.rotate(EulerToQuaternion(turn));
      |                     ~~~~~~~~~~~~~~~~~^~~~~~
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:123:17: 
error: variable ‘QQuaternion q’ has 
initializer but incomplete type
  123 |     QQuaternion q = EulerToQuaternion(rotateExtrinsic) 
* EulerToQuaternion(rotate);
      |                 ^
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:123:56: 
error: invalid operands of types ‘void’ and 
‘void’ to binary ‘operator*’
  123 |     QQuaternion q = Eu[ 
[too-long-redacted] 4me);
      |                     ~~[ 
[too-long-redacted] 34m~~
      |                                      |                 
                   |
      |                                      void              
                   void
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:127:34: 
error: invalid use of ‘void’
  127 |     translate = 
EulerToQuaternion(rotateExtrinsic).rotatedVector(translate);
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
[ 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
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp: At global scope:
/<<PKGBUILDDIR>>/Img3D/Model/PlottableBody.cpp:39:11: 
warning: ‘Img3D::F3 
{anonymous}::QuaternionToEuler(const QQuaternion&)’ 
defined but not used [-Wunused-function]
   39 | Img3D::F3 QuaternionToEuler(const QQuaternion& q)
      |           ^~~~~~~~~~~~~~~~~
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
--------------------------------------------------------------------------------

Reply via email to