[Debichem-devel] Bug#1074641: lapackpp: FTBFS: device.hh:67:30: error: invalid conversion from ‘int64_t’ {aka ‘long int’} to ‘blas::Queue::stream_t’ {aka ‘void*’} [-fpermissive]

Lucas Nussbaum lucas at debian.org
Tue Jul 2 13:26:09 BST 2024


Source: lapackpp
Version: 2023.11.05-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> /usr/bin/c++  -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fopenmp -MD -MT CMakeFiles/lapackpp.dir/src/stub/stub_heevd.cc.o -MF CMakeFiles/lapackpp.dir/src/stub/stub_heevd.cc.o.d -o CMakeFiles/lapackpp.dir/src/stub/stub_heevd.cc.o -c /<<PKGBUILDDIR>>/src/stub/stub_heevd.cc
> /<<PKGBUILDDIR>>/src/upgtr.cc: In function ‘int64_t lapack::upgtr(Uplo, int64_t, const std::complex<float>*, const std::complex<float>*, std::complex<float>*, int64_t)’:
> /<<PKGBUILDDIR>>/src/upgtr.cc:30:27: warning: ‘char blas::uplo2char(Uplo)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>    30 |     char uplo_ = uplo2char( uplo );
>       |                  ~~~~~~~~~^~~~~~~~
> In file included from /usr/include/blas/counter.hh:10,
>                  from /usr/include/blas.hh:11,
>                  from /<<PKGBUILDDIR>>/include/lapack/util.hh:15,
>                  from /<<PKGBUILDDIR>>/include/lapack/wrappers.hh:9,
>                  from /<<PKGBUILDDIR>>/include/lapack.hh:22,
>                  from /<<PKGBUILDDIR>>/src/upgtr.cc:6:
> /usr/include/blas/util.hh:86:15: note: declared here
>    86 | inline char   uplo2char( Uplo   value ) { return char( value ); }
>       |               ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/upgtr.cc: In function ‘int64_t lapack::upgtr(Uplo, int64_t, const std::complex<double>*, const std::complex<double>*, std::complex<double>*, int64_t)’:
> /<<PKGBUILDDIR>>/src/upgtr.cc:63:27: warning: ‘char blas::uplo2char(Uplo)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>    63 |     char uplo_ = uplo2char( uplo );
>       |                  ~~~~~~~~~^~~~~~~~
> /usr/include/blas/util.hh:86:15: note: declared here
>    86 | inline char   uplo2char( Uplo   value ) { return char( value ); }
>       |               ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/upmtr.cc: In function ‘int64_t lapack::upmtr(Side, Uplo, Op, int64_t, int64_t, const std::complex<float>*, const std::complex<float>*, std::complex<float>*, int64_t)’:
> /<<PKGBUILDDIR>>/src/upmtr.cc:32:27: warning: ‘char blas::side2char(Side)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>    32 |     char side_ = side2char( side );
>       |                  ~~~~~~~~~^~~~~~~~
> In file included from /usr/include/blas/counter.hh:10,
>                  from /usr/include/blas.hh:11,
>                  from /<<PKGBUILDDIR>>/include/lapack/util.hh:15,
>                  from /<<PKGBUILDDIR>>/include/lapack/wrappers.hh:9,
>                  from /<<PKGBUILDDIR>>/include/lapack.hh:22,
>                  from /<<PKGBUILDDIR>>/src/upmtr.cc:6:
> /usr/include/blas/util.hh:92:15: note: declared here
>    92 | inline char   side2char( Side   value ) { return char( value ); }
>       |               ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/upmtr.cc:33:27: warning: ‘char blas::uplo2char(Uplo)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>    33 |     char uplo_ = uplo2char( uplo );
>       |                  ~~~~~~~~~^~~~~~~~
> /usr/include/blas/util.hh:86:15: note: declared here
>    86 | inline char   uplo2char( Uplo   value ) { return char( value ); }
>       |               ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/upmtr.cc:34:26: warning: ‘char blas::op2char(Op)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>    34 |     char trans_ = op2char( trans );
>       |                   ~~~~~~~^~~~~~~~~
> /usr/include/blas/util.hh:83:17: note: declared here
>    83 | inline char     op2char( Op     value ) { return char( value ); }
>       |                 ^~~~~~~
> /<<PKGBUILDDIR>>/src/upmtr.cc: In function ‘int64_t lapack::upmtr(Side, Uplo, Op, int64_t, int64_t, const std::complex<double>*, const std::complex<double>*, std::complex<double>*, int64_t)’:
> /<<PKGBUILDDIR>>/src/upmtr.cc:136:27: warning: ‘char blas::side2char(Side)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>   136 |     char side_ = side2char( side );
>       |                  ~~~~~~~~~^~~~~~~~
> /usr/include/blas/util.hh:92:15: note: declared here
>    92 | inline char   side2char( Side   value ) { return char( value ); }
>       |               ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/upmtr.cc:137:27: warning: ‘char blas::uplo2char(Uplo)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>   137 |     char uplo_ = uplo2char( uplo );
>       |                  ~~~~~~~~~^~~~~~~~
> /usr/include/blas/util.hh:86:15: note: declared here
>    86 | inline char   uplo2char( Uplo   value ) { return char( value ); }
>       |               ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/upmtr.cc:138:26: warning: ‘char blas::op2char(Op)’ is deprecated: use to_char. To be removed 2025-05. [-Wdeprecated-declarations]
>   138 |     char trans_ = op2char( trans );
>       |                   ~~~~~~~^~~~~~~~~
> /usr/include/blas/util.hh:83:17: note: declared here
>    83 | inline char     op2char( Op     value ) { return char( value ); }
>       |                 ^~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/stub/stub_geqrf.cc:10:
> /<<PKGBUILDDIR>>/include/lapack/device.hh: In constructor ‘lapack::Queue::Queue(int, int64_t)’:
> /<<PKGBUILDDIR>>/include/lapack/device.hh:67:30: error: invalid conversion from ‘int64_t’ {aka ‘long int’} to ‘blas::Queue::stream_t’ {aka ‘void*’} [-fpermissive]
>    67 |       : blas::Queue( device, batch_chunk )
>       |                              ^~~~~~~~~~~
>       |                              |
>       |                              int64_t {aka long int}
> In file included from /<<PKGBUILDDIR>>/include/lapack/device.hh:9:
> /usr/include/blas/device.hh:167:34: note:   initializing argument 2 of ‘blas::Queue::Queue(int, void*&)’
>   167 |     Queue( int device, stream_t& stream );
>       |                        ~~~~~~~~~~^~~~~~
> /<<PKGBUILDDIR>>/include/lapack/device.hh:67:30: error: cannot bind rvalue ‘(blas::Queue::stream_t)batch_chunk’ to ‘void*&’
>    67 |       : blas::Queue( device, batch_chunk )
>       |                              ^~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/stub/stub_getrf.cc:10:
> /<<PKGBUILDDIR>>/include/lapack/device.hh: In constructor ‘lapack::Queue::Queue(int, int64_t)’:
> /<<PKGBUILDDIR>>/include/lapack/device.hh:67:30: error: invalid conversion from ‘int64_t’ {aka ‘long int’} to ‘blas::Queue::stream_t’ {aka ‘void*’} [-fpermissive]
>    67 |       : blas::Queue( device, batch_chunk )
>       |                              ^~~~~~~~~~~
>       |                              |
>       |                              int64_t {aka long int}
> In file included from /<<PKGBUILDDIR>>/include/lapack/device.hh:9:
> /usr/include/blas/device.hh:167:34: note:   initializing argument 2 of ‘blas::Queue::Queue(int, void*&)’
>   167 |     Queue( int device, stream_t& stream );
>       |                        ~~~~~~~~~~^~~~~~
> /<<PKGBUILDDIR>>/include/lapack/device.hh:67:30: error: cannot bind rvalue ‘(blas::Queue::stream_t)batch_chunk’ to ‘void*&’
>    67 |       : blas::Queue( device, batch_chunk )
>       |                              ^~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/stub/stub_heevd.cc:10:
> /<<PKGBUILDDIR>>/include/lapack/device.hh: In constructor ‘lapack::Queue::Queue(int, int64_t)’:
> /<<PKGBUILDDIR>>/include/lapack/device.hh:67:30: error: invalid conversion from ‘int64_t’ {aka ‘long int’} to ‘blas::Queue::stream_t’ {aka ‘void*’} [-fpermissive]
>    67 |       : blas::Queue( device, batch_chunk )
>       |                              ^~~~~~~~~~~
>       |                              |
>       |                              int64_t {aka long int}
> In file included from /<<PKGBUILDDIR>>/include/lapack/device.hh:9:
> /usr/include/blas/device.hh:167:34: note:   initializing argument 2 of ‘blas::Queue::Queue(int, void*&)’
>   167 |     Queue( int device, stream_t& stream );
>       |                        ~~~~~~~~~~^~~~~~
> /<<PKGBUILDDIR>>/include/lapack/device.hh:67:30: error: cannot bind rvalue ‘(blas::Queue::stream_t)batch_chunk’ to ‘void*&’
>    67 |       : blas::Queue( device, batch_chunk )
>       |                              ^~~~~~~~~~~
> make[3]: *** [CMakeFiles/lapackpp.dir/build.make:5637: CMakeFiles/lapackpp.dir/src/stub/stub_geqrf.cc.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/lapackpp_2023.11.05-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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.



More information about the Debichem-devel mailing list