Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505572 - sci-libs/scipy-0.13.3 - src_prepare(): sed: can't read tr: No such file or directory
Summary: sci-libs/scipy-0.13.3 - src_prepare(): sed: can't read tr: No such file or di...
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 20:37 UTC by Ruslan Savchenko
Modified: 2014-03-25 17:58 UTC (History)
0 users

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


Attachments
sci-libs:scipy-0.13.3:20140324-201901.log.bz2 (sci-libs:scipy-0.13.3:20140324-201901.log.bz2,70.24 KB, application/x-bzip)
2014-03-24 20:39 UTC, Ruslan Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Savchenko 2014-03-24 20:37:26 UTC
In sci-libs/scipy 0.13.3 the pc_libs() routine become:

pc_libs() {
	$(tc-getPKG_CONFIG) --libs-only-l $@ | \
		sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
		-e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
		tr ',' '\n' | sort | uniq | tr '\n' ','
}

There is no '|' between sed and tr, which makes the preparation of this package incorrect. In the build log this appears as

sed: can't read tr: No such file or directory
sed: can't read ,: No such file or directory
sed: can't read \n: No such file or directory
Comment 1 Ruslan Savchenko 2014-03-24 20:39:15 UTC
Created attachment 373448 [details]
sci-libs:scipy-0.13.3:20140324-201901.log.bz2

Attach build log
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2014-03-25 17:58:14 UTC
+  25 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> scipy-0.13.3.ebuild:
+  Fixed syntax error thanks Ruslan Savchenko bug #505572
+