[Debian-med-packaging] Bug#997258: tiddit: FTBFS: Translocation.cpp:13:74: error: taking address of rvalue [-fpermissive]

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


Source: tiddit
Version: 2.12.1+dfsg-1
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):
> /usr/bin/c++  -I/<<PKGBUILDDIR>>/src -I/usr/include/bamtools -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -Wno-deprecated -MD -MT CMakeFiles/TIDDIT.dir/src/data_structures/findTranslocationsOnTheFly.cpp.o -MF CMakeFiles/TIDDIT.dir/src/data_structures/findTranslocationsOnTheFly.cpp.o.d -o CMakeFiles/TIDDIT.dir/src/data_structures/findTranslocationsOnTheFly.cpp.o -c /<<PKGBUILDDIR>>/src/data_structures/findTranslocationsOnTheFly.cpp
> /<<PKGBUILDDIR>>/src/data_structures/Translocation.cpp: In function ‘std::string int2str(int)’:
> /<<PKGBUILDDIR>>/src/data_structures/Translocation.cpp:13:74: error: taking address of rvalue [-fpermissive]
>    13 |         string converted= static_cast<ostringstream*>( &(ostringstream() << to_be_converted) )->str();
>       |                                                         ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
> make[4]: *** [CMakeFiles/TIDDIT.dir/build.make:107: CMakeFiles/TIDDIT.dir/src/data_structures/Translocation.cpp.o] Error 1


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