Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882027 - dev-python/nbconvert-7.1.0 fails configure phase [Prefix]
Summary: dev-python/nbconvert-7.1.0 fails configure phase [Prefix]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 17:14 UTC by Steven Trogdon
Modified: 2023-01-06 05:09 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 Steven Trogdon 2022-11-19 17:14:36 UTC
The failure:

>>> Configuring source in /storage/strogdon/gentoo-rap/var/tmp/portage/dev-python/nbconvert-7.1.0/work/nbconvert-7.1.0 ...
 * python3_10: running distutils-r1_run_phase python_configure
cp: cannot stat '/storage/strogdon/gentoo-rap/storage/strogdon/gentoo-rap/usr/lib/python3.10/site-packages/notebook/static/style/style.min.css': No such file or directory
 m* ERROR: dev-python/nbconvert-7.1.0::gentoo failed (configure phase):
 m*   (no error message)
 m*
 m* Call stack:
 m*     ebuild.sh, line  122:  Called src_configure
 m*   environment, line 3377:  Called distutils-r1_src_configure
 m*   environment, line 1602:  Called _distutils-r1_run_foreach_impl 'python_configure'
 m*   environment, line  736:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_configure'
 m*   environment, line 3064:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure'
 m*   environment, line 2615:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure'
 m*   environment, line 2613:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure'
 m*   environment, line 1063:  Called distutils-r1_run_phase 'python_configure'
 m*   environment, line 1572:  Called python_configure
 m*   environment, line 2860:  Called die
 m* The specific snippet of code:
 m*       cp "${BROOT}$(python_get_sitedir)/notebook/static/style/style.min.css" share/templates/classic/static/style.css || die
 m*

It appears there is an extra EPREFIX (/storage/strogdon/gentoo-rap) when ${BROOT} is included. Not sure of the intent but nbconvert does build without the ${BROOT}
Comment 1 Larry the Git Cow gentoo-dev 2023-01-05 14:21:41 UTC
The bug has been closed via the following commit(s):

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

commit 2ca2b246395c9aefc12891a0c508943cff984d70
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-01-05 14:20:12 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-01-05 14:21:38 +0000

    dev-python/nbconvert: Fix install failure on Prefix
    
    Closes: https://bugs.gentoo.org/882027
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/nbconvert/nbconvert-7.1.0.ebuild | 7 +++++--
 dev-python/nbconvert/nbconvert-7.2.7.ebuild | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)
Comment 2 Steven Trogdon 2023-01-06 05:09:10 UTC
Thanks!