Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 567070

Summary: dev-python/nbconvert-4.1.0::gentoo missing nbconvert-4.0.0-docs-Makefile.patch
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: [OLD] DevelopmentAssignee: Marius Brehler <marius.brehler+gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: alunduil, dschridde+gentoobugs, gmiramir, me, proteuss, rkarimov.r
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Jeff Kowalczyk 2015-11-29 04:44:05 UTC
On emerge, epatch fails:

Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
/usr/portage/dev-python/nbconvert/files/nbconvert-4.0.0-docs-Makefile.patch
( nbconvert-4.0.0-docs-Makefile.patch )

ERROR: dev-python/nbconvert-4.1.0::gentoo failed (prepare phase):
Cannot find $EPATCH_SOURCE!

Reproducible: Always
Comment 1 Jeff Kowalczyk 2015-11-29 04:44:55 UTC
Created attachment 418108 [details]
emerge --info
Comment 2 Jeff Kowalczyk 2015-11-29 04:45:17 UTC
Created attachment 418110 [details]
build.log
Comment 3 Nicolas Porcel 2015-11-29 15:48:12 UTC
I have the same problem.As a workaround, you can remove the following lines from the file /usr/portage/dev-python/nbconvert/nbconvert-4.1.0.ebuild:

PATCHES=(
	"${FILESDIR}"/${PN}-4.0.0-docs-Makefile.patch
)


Then run as root:

$ ebuild /usr/portage/dev-python/nbconvert/nbconvert-4.1.0.ebuild manifest

And start over your build.

I seems that the package is new and the file files/nbconvert-4.0.0-docs-Makefile.patch wasn't added to the portage tree. This needs to be fixed by the package maintainer.
Comment 4 Brian Evans (RETIRED) gentoo-dev 2015-11-30 17:34:48 UTC
(In reply to Nicolas Porcel from comment #3)
> I have the same problem.As a workaround, you can remove the following lines
> from the file /usr/portage/dev-python/nbconvert/nbconvert-4.1.0.ebuild:
> 
> PATCHES=(
> 	"${FILESDIR}"/${PN}-4.0.0-docs-Makefile.patch
> )
> 
The real problem is it should be 4.1.0 and not 4.0.0 as that does exist in the tree.
Comment 5 Marius Brehler 2015-11-30 17:52:26 UTC
I am sorry for the inconveniences, I missed to add the patch when importing nbconvert from the science overlay.

The patch was added with the merge of the pull request https://github.com/gentoo/gentoo/pull/424.