Bug#1003037: astra-toolbox: FTBFS: error: parameter packs not expanded with '...'

2022-05-24 Thread Andreas Beckmann

On 23/05/2022 19.30, Andreas Beckmann wrote:
On Mon, 03 Jan 2022 03:07:39 +0100 Andreas Beckmann  
wrote:
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter 
packs not expanded with '...':

  435 | function(_Functor&& __f)


I've now switched back the default compiler for nvidia-cuda-toolkit 
11.4.3 in sid to g++-10 which does not have this problem.
There are also some autopkgtests in place that should notice regressions 
when compiling stl headers with nvcc.


To make use of that, you need to Build-Depend on nvidia-cuda-toolkit-gcc
(instead of nvidia-cuda-toolkit) and you should probably build with 
CXX=cuda-g++ (and maybe CC=cuda-gcc) to automatically use the default 
compiler used by the cuda tookit.



Andreas



Bug#1003037: astra-toolbox: FTBFS: error: parameter packs not expanded with '...'

2022-01-02 Thread Andreas Beckmann
Source: astra-toolbox
Version: 1.8.3-10
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

astra-toolbox recently started to FTBFS, probably due to some updated
toolchain package or build dependency.:

/usr/bin/nvcc -gencode=arch=compute_35,code=sm_35 
-gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 
-gencode=arch=compute_60,code=compute_60  -I../build/linux/../.. 
-I../build/linux/../../include -DASTRA_CUDA -c ../build/linux/../../cuda
/3d/mem3d.cu -Xcompiler -fPIC -DPIC -o cuda/3d/.libs/mem3d.o

/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not 
expanded with '...':
  435 | function(_Functor&& __f)
  | 
^ 
/usr/include/c++/11/bits/std_function.h:435:145: note: '_ArgTypes'
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not 
expanded with '...':
  530 | operator=(_Functor&& __f)
  | 
 ^ 
/usr/include/c++/11/bits/std_function.h:530:146: note: '_ArgTypes'
make[2]: *** [Makefile:361: cuda/3d/mem3d.lo] Error 1


Andreas


astra-toolbox_1.8.3-10.log.gz
Description: application/gzip