Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631126 - dev-libs/double-conversion-2.0.1 : fix faulty sed command
Summary: dev-libs/double-conversion-2.0.1 : fix faulty sed command
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard: fixed in 3.0.0
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-09-16 15:42 UTC by marius.spix
Modified: 2019-02-24 16:35 UTC (History)
0 users

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


Attachments
Fixed ebuild (double-conversion-2.0.1-r1.ebuild,1.02 KB, text/plain)
2017-09-16 15:42 UTC, marius.spix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marius.spix 2017-09-16 15:42:39 UTC
Created attachment 494756 [details]
Fixed ebuild

The ebuild of dev-libs/double-conversion-2.0.1 contains a sed command, which causes the ebuild to die, whenever the CXX path contains a slash (/).

A patch is provided below.
Comment 1 marius.spix 2017-09-16 15:49:18 UTC
This bug can be reconstructed by setting
    CXX="/usr/bin/g++"
in /etc/portage/make.conf


I simply replaced the line
    sed -i -e "s/g++/$(tc-getCXX)/" SConstruct || die
to
    sed -i -e "s@g++@$(tc-getCXX)@" SConstruct || die
Comment 2 Andreas Sturmlechner gentoo-dev 2018-03-04 00:24:49 UTC
3.0.0 gets rid of scons, hence no sed anymore.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-02-24 16:35:29 UTC
2.0.1 is long gone.