Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689278 - dev-util/boost-build: src_prepare fails on riscv due to malformed sed expression
Summary: dev-util/boost-build: src_prepare fails on riscv due to malformed sed expression
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal
Assignee: David Seifert
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-07-04 13:40 UTC by Marcus Comstedt
Modified: 2019-08-10 19:35 UTC (History)
1 user (show)

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


Attachments
Suggested fix, replacing "/" with ";" as a delimiter for the sed "s" command. (boost-build-1.70.0-python-libdir.patch,361 bytes, patch)
2019-07-04 13:40 UTC, Marcus Comstedt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Comstedt 2019-07-04 13:40:24 UTC
Created attachment 581894 [details, diff]
Suggested fix, replacing "/" with ";" as a delimiter for the sed "s" command.

The src_prepare function of dev-util uses sed to replace the python library path using $(get_libdir).  However, it is using "/" as the delimiter for the "s" command, which does not work on riscv where the result of get_libdir inludes a "/" character.  Using a different character as delimiter fixes the issue and allows boost-build to be built and installed.
Comment 1 Larry the Git Cow gentoo-dev 2019-08-10 19:35:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e21b930ffa5d99b7ed1079730f3dc9c859a2fbb2

commit e21b930ffa5d99b7ed1079730f3dc9c859a2fbb2
Author:     Marcus Comstedt <marcus@mc.pp.se>
AuthorDate: 2019-08-10 19:35:26 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-08-10 19:35:26 +0000

    dev-util/boost-build: Make sed more robust
    
    Closes: https://bugs.gentoo.org/689278
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-util/boost-build/boost-build-1.70.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)