Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808231 - dev-db/mysql++-3.3.0: stabilisation (was: ./.../load_jpeg.cpp: error: taking address of rvalue [-fpermissive])
Summary: dev-db/mysql++-3.3.0: stabilisation (was: ./.../load_jpeg.cpp: error: taking ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-08-14 20:25 UTC by Toralf Förster
Modified: 2021-10-09 16:35 UTC (History)
2 users (show)

See Also:
Package list:
dev-db/mysql++-3.3.0
Runtime testing required: No
nattka: sanity-check+


Attachments
emerge-info.txt (emerge-info.txt,17.29 KB, text/plain)
2021-08-14 20:25 UTC, Toralf Förster
no flags Details
dev-db:mysql++-3.2.5:20210814-132202.log (dev-db:mysql++-3.2.5:20210814-132202.log,21.19 KB, text/plain)
2021-08-14 20:25 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,249.25 KB, text/plain)
2021-08-14 20:25 UTC, Toralf Förster
no flags Details
environment (environment,85.58 KB, text/plain)
2021-08-14 20:25 UTC, Toralf Förster
no flags Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.16 KB, application/x-bzip)
2021-08-14 20:25 UTC, Toralf Förster
no flags Details
logs.tar.bz2 (logs.tar.bz2,9.01 KB, application/x-bzip)
2021-08-14 20:25 UTC, Toralf Förster
no flags Details
temp.tar.bz2 (temp.tar.bz2,26.35 KB, application/x-bzip)
2021-08-14 20:25 UTC, Toralf Förster
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-14 20:25:14 UTC
x86_64-pc-linux-gnu-g++ -c -o multiquery_multiquery.o -Ilib -I/usr/include/mysql -pthread  -pipe -march=native -fno-diagnostics-color -O2 -Wno-deprecated-declarations ./examples/multiquery.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();
      |                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-g++ -c -o resetdb_resetdb.o -Ilib -I/usr/include/mysql -pthread  -pipe -march=native -fno-diagnostics-color -O2 -Wno-deprecated-declarations ./examples/resetdb.cpp
make: *** [Makefile:794: load_jpeg_load_jpeg.o] Error 1

  -------------------------------------------------------------------

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j3_stable-20210811-165947

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0
  [2]   rust-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
2)	AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-jre-bin-8 


  HEAD of ::gentoo
commit 2183d88e6e30963badc054044ae158369dfe54e5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 14 12:36:59 2021 +0000

    2021-08-14 12:36:57 UTC

emerge -qpvO dev-db/mysql++
[ebuild  N    ] dev-db/mysql++-3.2.5  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2021-08-14 20:25:15 UTC
Created attachment 732979 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-14 20:25:17 UTC
Created attachment 732982 [details]
dev-db:mysql++-3.2.5:20210814-132202.log
Comment 3 Toralf Förster gentoo-dev 2021-08-14 20:25:18 UTC
Created attachment 732985 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-14 20:25:20 UTC
Created attachment 732988 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-14 20:25:21 UTC
Created attachment 732991 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-14 20:25:22 UTC
Created attachment 732994 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-14 20:25:23 UTC
Created attachment 732997 [details]
temp.tar.bz2
Comment 8 Jack 2021-08-19 20:21:12 UTC
I got the same failure (also gcc-11.2.0 on mostly stable amd64 system with some (~) packages.  mysql++-3.3.0 emerges without problem.  Might this be gcc-11 related?
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-20 01:00:28 UTC
(In reply to Jack from comment #8)
> I got the same failure (also gcc-11.2.0 on mostly stable amd64 system with
> some (~) packages.  mysql++-3.3.0 emerges without problem.  Might this be
> gcc-11 related?

Oh, thanks, that's useful information! Yeah, it's GCC 11 related.
Comment 10 Rolf Eike Beer archtester 2021-09-05 16:45:55 UTC
sparc stable
Comment 11 Agostino Sarubbo gentoo-dev 2021-09-05 20:05:11 UTC
ppc stable
Comment 12 Agostino Sarubbo gentoo-dev 2021-09-07 11:55:28 UTC
amd64 stable
Comment 13 Agostino Sarubbo gentoo-dev 2021-09-07 11:57:15 UTC
x86 stable. Closing.