Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492808 - sci-libs/scipy-0.13.1 - unzip: cannot find or open .../distdir/scipy-0.13.1-html.zip, .../distdir/scipy-0.13.1-html.zip.zip or .../distdir/scipy-0.13.1-html.zip.ZIP.
Summary: sci-libs/scipy-0.13.1 - unzip: cannot find or open .../distdir/scipy-0.13.1-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-28 17:22 UTC by Helmut Jarausch
Modified: 2013-11-29 07:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2013-11-28 17:22:56 UTC
Emerging sci-libs/scipy-0.13.1 with the doc use flags fails with
>>> Unpacking scipy-0.13.1.tar.gz to /var/tmp/portage/sci-libs/scipy-0.13.1/work

unzip:  cannot find or open /var/tmp/portage/sci-libs/scipy-0.13.1/distdir/scipy-0.13.1-html.zip, /var/tmp/portage/sci-libs/scipy-0.13.1/distdir/scipy-0.13.1-html.zip.zip or /var/tmp/portage/sci-libs/scipy-0.13.1/distdir/scipy-0.13.1-html.zip.ZIP.
ERROR: sci-libs/scipy-0.13.1::gentoo failed (unpack phase):

Note that 

ls /var/tmp/portage/sci-libs/scipy-0.13.1/distdir
shows

scipy-0.13.0-html.zip  scipy-0.13.0-ref.pdf  scipy-0.13.1.tar.gz

Within the ebuild,
either one has to change
http://docs.scipy.org/doc/${PN}-0.13.0/${PN}-html.zip -> ${PN}-0.13.0-html.zip
to 
http://docs.scipy.org/doc/${PN}-0.13.0/${PN}-html.zip -> ${PN}-0.13.1-html.zip

or one has to change some lines further down

src_unpack() {
	unpack ${P}.tar.gz
	if use doc; then
		unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
	fi
}

to  
....
		unzip -qo "${DISTDIR}"/${PN}-0.13.0-html.zip -d html || die


Helmut
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-11-29 07:01:56 UTC
+  29 Nov 2013; Justin Lecher <jlec@gentoo.org> scipy-0.13.1.ebuild:
+  Fix doc installation, #492808
+