Source: bornagain
Version: 1.19.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211023 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Tests/UnitTests/Core && /usr/bin/c++ 
> -DBOOST_ALL_DYN_LINK -DBOOST_UUID_FORCE_AUTO_LINK -DBORNAGAIN_PYTHON 
> -DBORNAGAIN_TIFF_SUPPORT -DQT_CORE_LIB -DQT_NO_DEBUG 
> -I/<<PKGBUILDDIR>>/Tests/UnitTests/utilities -I/usr/include/python3.9 
> -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<PKGBUILDDIR>> 
> -I/<<PKGBUILDDIR>>/ThirdParty/Core/tspectrum 
> -I/<<PKGBUILDDIR>>/ThirdParty/Core -I/<<PKGBUILDDIR>>/Base/SYSTEM 
> -I/usr/include/eigen3 -I/<<PKGBUILDDIR>>/Fit/3rdParty/RootMinimizers 
> -I/<<PKGBUILDDIR>>/Fit/3rdParty/RootMinimizers/base 
> -I/<<PKGBUILDDIR>>/Fit/3rdParty/RootMinimizers/mathcore -isystem 
> /usr/include/x86_64-linux-gnu/qt5 -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem 
> /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem 
> /<<PKGBUILDDIR>>/ThirdParty/common/gtest/gtest-1.10.0/googletest/include 
> -isystem /<<PKGBUILDDIR>>/ThirdParty/common/gtest/gtest-1.10.0/googletest -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/<<PKGBUILDDIR>>/Wrap -pipe  -Wall -W -Woverloaded-virtual 
> -Wno-unknown-pragmas -fPIC -DHAVE_QT=ON 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/inc -fPIC -std=gnu++17 -MD -MT 
> Tests/UnitTests/Core/CMakeFiles/UnitTestCore.dir/Instrument/PrecomputedTest.cpp.o
>  -MF CMakeFiles/UnitTestCore.dir/Instrument/PrecomputedTest.cpp.o.d -o 
> CMakeFiles/UnitTestCore.dir/Instrument/PrecomputedTest.cpp.o -c 
> /<<PKGBUILDDIR>>/Tests/UnitTests/Core/Instrument/PrecomputedTest.cpp
> In file included from 
> /<<PKGBUILDDIR>>/Tests/UnitTests/Core/Instrument/PrecomputedTest.cpp:1:
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:29:11: error: ‘size_t’ has not been 
> declared
>    29 | template <size_t N> struct ReciprocalFactorial {
>       |           ^~~~~~
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:30:57: error: ‘N’ was not declared 
> in this scope
>    30 |     static constexpr double value = ReciprocalFactorial<N - 1>::value 
> / N;
>       |                                                         ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:30:62: error: template argument 1 is 
> invalid
>    30 |     static constexpr double value = ReciprocalFactorial<N - 1>::value 
> / N;
>       |                                                              ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:30:73: error: ‘N’ was not declared 
> in this scope
>    30 |     static constexpr double value = ReciprocalFactorial<N - 1>::value 
> / N;
>       |                                                                       
>   ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:37:21: error: ‘size_t’ has not been 
> declared
>    37 | template <template <size_t> class F, size_t... I>
>       |                     ^~~~~~
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:37:38: error: ‘size_t’ has not been 
> declared
>    37 | template <template <size_t> class F, size_t... I>
>       |                                      ^~~~~~
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:38:40: error: ‘I’ has not been 
> declared
>    38 | constexpr std::array<double, sizeof...(I)> 
> generateArrayHelper(std::index_sequence<I...>)
>       |                                        ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:38:42: error: template argument 2 is 
> invalid
>    38 | constexpr std::array<double, sizeof...(I)> 
> generateArrayHelper(std::index_sequence<I...>)
>       |                                          ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:38:84: error: ‘I’ was not declared 
> in this scope
>    38 | constexpr std::array<double, sizeof...(I)> 
> generateArrayHelper(std::index_sequence<I...>)
>       |                                                                       
>              ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:38:85: error: expected parameter 
> pack before ‘...’
>    38 | constexpr std::array<double, sizeof...(I)> 
> generateArrayHelper(std::index_sequence<I...>)
>       |                                                                       
>               ^~~
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:38:88: error: template argument 1 is 
> invalid
>    38 | constexpr std::array<double, sizeof...(I)> 
> generateArrayHelper(std::index_sequence<I...>)
>       |                                                                       
>                  ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h: In function ‘constexpr int 
> Math::internal::generateArrayHelper(int)’:
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:40:15: error: ‘I’ was not declared 
> in this scope
>    40 |     return {F<I>::value...};
>       |               ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:40:16: error: template argument 1 is 
> invalid
>    40 |     return {F<I>::value...};
>       |                ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:40:27: error: cannot convert 
> ‘<brace-enclosed initializer list>’ to ‘int’ in return
>    40 |     return {F<I>::value...};
>       |                           ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h: At global scope:
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:48:11: error: ‘size_t’ has not been 
> declared
>    48 | template <size_t N, typename Indices = std::make_index_sequence<N>>
>       |           ^~~~~~
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:48:65: error: ‘N’ was not declared 
> in this scope
>    48 | template <size_t N, typename Indices = std::make_index_sequence<N>>
>       |                                                                 ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:48:65: error: template argument 1 is 
> invalid
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:49:30: error: ‘N’ was not declared 
> in this scope
>    49 | constexpr std::array<double, N> generateReciprocalFactorialArray()
>       |                              ^
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:49:31: error: template argument 2 is 
> invalid
>    49 | constexpr std::array<double, N> generateReciprocalFactorialArray()
>       |                               ^
> /<<PKGBUILDDIR>>/Tests/UnitTests/Core/Instrument/PrecomputedTest.cpp:6:86: 
> error: no matching function for call to 
> ‘generateReciprocalFactorialArray<171>()’
>     6 | constexpr auto ReciprocalFactorialArray = 
> Math::generateReciprocalFactorialArray<171>();
>       |                                           
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
> In file included from 
> /<<PKGBUILDDIR>>/Tests/UnitTests/Core/Instrument/PrecomputedTest.cpp:1:
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:49:33: note: candidate: 
> ‘template<<declaration error>, class Indices> constexpr int 
> Math::generateReciprocalFactorialArray()’
>    49 | constexpr std::array<double, N> generateReciprocalFactorialArray()
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/Base/Math/Precomputed.h:49:33: note:   template argument 
> deduction/substitution failed:
> make[3]: *** 
> [Tests/UnitTests/Core/CMakeFiles/UnitTestCore.dir/build.make:667: 
> Tests/UnitTests/Core/CMakeFiles/UnitTestCore.dir/Instrument/PrecomputedTest.cpp.o]
>  Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/bornagain_1.19.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to