Source: mysql++
Version: 3.2.5-2
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):
> g++ -c -o resetdb_resetdb.o -Ilib -I/usr/include/mysql  -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> ./examples/resetdb.cpp
> ./examples/load_jpeg.cpp: In function ‘bool load_jpeg_file(const 
> mysqlpp::examples::CommandLine&, images&, std::string&)’:
> ./examples/load_jpeg.cpp:90:50: error: taking address of rvalue [-fpermissive]
>    90 |                                 &(stringstream() << 
> img_file.rdbuf()))->str();
>       |                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> g++ -c -o simple1_simple1.o -Ilib -I/usr/include/mysql  -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> ./examples/simple1.cpp
> make[1]: *** [Makefile:794: load_jpeg_load_jpeg.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/mysql++_3.2.5-2_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.

Reply via email to