[Debian-med-packaging] Bug#997122: assembly-stats: FTBFS: fastq_unittest.cpp:53:78: error: taking address of rvalue [-fpermissive]

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:02:25 BST 2021


Source: assembly-stats
Version: 1.0.1+ds-4
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/usr/include/gtest -Wall -g -O3 -pthread -MD -MT CMakeFiles/runUnitTests.dir/stats_unittest.cpp.o -MF CMakeFiles/runUnitTests.dir/stats_unittest.cpp.o.d -o CMakeFiles/runUnitTests.dir/stats_unittest.cpp.o -c /<<PKGBUILDDIR>>/stats_unittest.cpp
> /<<PKGBUILDDIR>>/fastq_unittest.cpp: In member function ‘virtual void Fastq_ReadFromFile_Test::TestBody()’:
> /<<PKGBUILDDIR>>/fastq_unittest.cpp:53:78: error: taking address of rvalue [-fpermissive]
>    53 |         string expectedName = static_cast<ostringstream*>( &(ostringstream() << counter) )->str();
>       |                                                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
> /<<PKGBUILDDIR>>/fasta_unittest.cpp: In member function ‘virtual void Fasta_ReadFromFile_Test::TestBody()’:
> /<<PKGBUILDDIR>>/fasta_unittest.cpp:97:78: error: taking address of rvalue [-fpermissive]
>    97 |         string expectedName = static_cast<ostringstream*>( &(ostringstream() << counter) )->str();
>       |                                                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
> make[3]: *** [CMakeFiles/runUnitTests.dir/build.make:93: CMakeFiles/runUnitTests.dir/fastq_unittest.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/assembly-stats_1.0.1+ds-4_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