Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533480 - x11-libs/qwt-6.1.2 USE=-mathml - src_install(): /bin/sed: can't read /home/jer/portage/x11-libs/qwt-6.1.2/image//usr/lib64/pkgconfig/qwtmathml.pc: No such file or directory
Summary: x11-libs/qwt-6.1.2 USE=-mathml - src_install(): /bin/sed: can't read /home/je...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
: 533498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-24 22:02 UTC by Jan-Matthias Braun
Modified: 2014-12-26 09:04 UTC (History)
3 users (show)

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


Attachments
Applies some commands only if USE mathml is set. (qwt-6.1.2-no-mathml.patch,989 bytes, patch)
2014-12-24 22:03 UTC, Jan-Matthias Braun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Matthias Braun 2014-12-24 22:02:09 UTC
The ebuild is working on files only used with USE mathml. In src_install this fails.

Reproducible: Always

Steps to Reproduce:
USE="-mathml" emerge -v1 x11-libs/qwt
Comment 1 Jan-Matthias Braun 2014-12-24 22:03:13 UTC
Created attachment 392348 [details, diff]
Applies some commands only if USE mathml is set.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-25 09:46:21 UTC
Comment on attachment 392348 [details, diff]
Applies some commands only if USE mathml is set.

>+	use mathml && ( sed \
>+		-e '/qwtAddLibrary/s:qwt):qwt6):g' \
>+		-i textengines/mathml/qwtmathml.prf || die )

if use mathml; then
    ...

There is no need for a sub-shell.

>+	use mathml && ( sed \

Same.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-25 09:47:32 UTC
*** Bug 533498 has been marked as a duplicate of this bug. ***
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2014-12-26 09:04:58 UTC
+  26 Dec 2014; Justin Lecher <jlec@gentoo.org> qwt-6.1.2.ebuild:
+  Fix ebuild for USE=-mathml, #533480
+