Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1016625: bart-cuda: FTBFS: redefinition of 'constexpr const _Tp std::integral_constant<_Tp, __v>::value'

729 views
Skip to first unread message

Nilesh Patra

unread,
Aug 7, 2022, 3:50:04 AM8/7/22
to
Hi Martin,

[CC'ing both your email addresses since I don't know which one you use]

Since this is your package, could you consider taking a look please?

On Thu, 04 Aug 2022 04:31:30 +0200 Andreas Beckmann <an...@debian.org> wrote:
> Source: bart-cuda
> Version: 0.7.00-5
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source
>
> Hi,
>
> bart-cuda recently started to FTBFS in sid, while it still succeeds in
> testing.
>
> /usr//bin/nvcc -DUSE_CUDA -Xcompiler -fPIC -Xcompiler -fopenmp -O3 -I/build/bart-cuda-0.7.00/src/ -m64 -ccbin gcc -c /build/bart-cuda-0.7.00/src/wavelet/wl3-cuda.cu -o /build/bart-cuda-0.7.00/src/wavelet/wl3-cuda.o
> /usr/include/c++/10/type_traits:71:52: error: redefinition of 'constexpr const _Tp std::integral_constant<_Tp, __v>::value'
> 71 | template<typename _Tp, _Tp __v>
> | ^
> /usr/include/c++/10/type_traits:59:29: note: 'constexpr const _Tp value' previously declared here
> 59 | static constexpr _Tp value = __v;
> | ^~~~~
> make[2]: *** [Makefile:332: /build/bart-cuda-0.7.00/src/wavelet/wl3-cuda.o] Error 1
>
> Andreas

--
Best,
Nilesh
signature.asc

Martin Uecker

unread,
Aug 7, 2022, 4:10:03 AM8/7/22
to

I will look at this in a couple of days. I think it only
needs a std=c++14 or something aded to the nvcc flags.

Martin

Martin Uecker

unread,
Aug 23, 2022, 1:10:04 PM8/23/22
to

I think I fixed this. At least it compiles locally in
a sid pbuilder environment, but I needed to build-depend
on gcc-10.

Martin

Am Sonntag, den 07.08.2022, 13:06 +0530 schrieb Nilesh Patra:

Nilesh Patra

unread,
Aug 23, 2022, 2:20:04 PM8/23/22
to
On Tue, Aug 23, 2022 at 07:00:44PM +0200, Martin Uecker wrote:
>
> I think I fixed this. At least it compiles locally in
> a sid pbuilder environment, but I needed to build-depend
> on gcc-10.

gcc-10 will be removed from the archive some day, so this cannot
be a permanent fix.

--
Best,
Nilesh
signature.asc
0 new messages