Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677860 - dev-util/rr-5.2.0 with dev-libs/capnproto-0.7.0 should set CFLAGS+=-std=c++14
Summary: dev-util/rr-5.2.0 with dev-libs/capnproto-0.7.0 should set CFLAGS+=-std=c++14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 11:28 UTC by Helmut Jarausch
Modified: 2019-02-15 08:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with sed to fix the problems (rr-5.2.0.ebuild,1.17 KB, text/plain)
2019-02-13 11:28 UTC, Helmut Jarausch
Details
ebuild log xz-compressed (rr-5.2.0.build.xz,6.95 KB, application/octet-stream)
2019-02-14 09:59 UTC, Helmut Jarausch
Details
emerge --info (xz-compressed) (rr.info.xz,7.54 KB, application/x-xz)
2019-02-14 10:01 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2019-02-13 11:28:39 UTC
Created attachment 565034 [details]
ebuild with sed to fix the problems

rr-5.2.0 explicitly codes '-std=c++11' in its CMakeLists.txt' but
dev-libs/capnproto-0.7.0 requires -std=c++14

Furthermore rr-5.2.0 needs an additional patch for -std=c++17 (provided by gcc-8.2.0 and above)

The attached modified ebuild includes to sed's to fix both of these.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-13 21:08:51 UTC
Please explain the problem first. I don't understand the need for the patch.
Comment 2 ngg 2019-02-13 21:58:20 UTC
I've reported and explained the capnproto problem at https://bugs.gentoo.org/677850
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-13 22:24:07 UTC
(In reply to ngg from comment #2)
> I've reported and explained the capnproto problem at
> https://bugs.gentoo.org/677850

It claims the build fails. Can you attach build.log and post emerge --info output?
Comment 4 Helmut Jarausch 2019-02-14 09:59:07 UTC
Created attachment 565252 [details]
ebuild log xz-compressed
Comment 5 Helmut Jarausch 2019-02-14 10:01:38 UTC
Created attachment 565254 [details]
emerge --info  (xz-compressed)
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-15 08:23:59 UTC
Pushed proposed upstream fix picked by Dan Robertson as: 
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f999637bb609dbedac15dfca4a608e7bb199ce59

Thanks for the report!