[Debian-med-packaging] Bug#997266: trinculo: FTBFS: src/trinculo.cpp:45:19: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’}

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:26:17 BST 2021


Source: trinculo
Version: 0.96+dfsg-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLINUX -Isrc -o bin/trinculo src/trinculo.cpp -llapack -lpthread -Wl,-z,relro -Wl,-z,now
> src/trinculo.cpp: In function ‘int runMultinom(inputs*, bedfile*, dosagefile*, covars*, phenos*, std::vector<int>)’:
> src/trinculo.cpp:45:19: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’}
>    45 | #define SSTR( x ) dynamic_cast< std::ostringstream & >( \
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    46 |         ( std::ostringstream() << std::dec << x ) ).str()
>       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/trinculo.cpp:412:58: note: in expansion of macro ‘SSTR’
>   412 |                  fullnames.push_back(keepName + "_cov" + SSTR(j+1));
>       |                                                          ^~~~
> make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/trinculo_0.96+dfsg-3_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.



More information about the Debian-med-packaging mailing list