Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 862567 - dev-python/scipy-1.9.0-r1 fails to install doc
Summary: dev-python/scipy-1.9.0-r1 fails to install doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-31 15:52 UTC by Alexandre Ferreira
Modified: 2022-07-31 23:27 UTC (History)
3 users (show)

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


Attachments
ebuild (scipy-1.9.0-r1.ebuild,2.21 KB, text/plain)
2022-07-31 15:53 UTC, Alexandre Ferreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Ferreira 2022-07-31 15:52:05 UTC
dev-python/scipy-1.9.0-r1 fails when using doc with the message:

Traceback (most recent call last):
  File "/usr/lib/portage/python3.11/doins.py", line 607, in <module>
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 596, in main
    if _doins(
       ^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 439, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 373, in install_file
    return self._ins_runner.run(source, dest_dir)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 181, in run
    sstat = os.stat(source)
            ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-python/scipy-1.9.0-r1/work/html/.'
 * ERROR: dev-python/scipy-1.9.0-r1::gentoo failed (install phase):
 *   dodoc failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/scipy-1.9.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/scipy-1.9.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/scipy-1.9.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/scipy-1.9.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/scipy-1.9.0-r1/work/scipy-1.9.0'
 * S: '/var/tmp/portage/dev-python/scipy-1.9.0-r1/work/scipy-1.9.0'


Reproducible: Always

Steps to Reproduce:
1. add doc to scipy
2.emerge scipy
3.
Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/portage/python3.11/doins.py", line 607, in <module>
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 596, in main
    if _doins(
       ^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 439, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 373, in install_file
    return self._ins_runner.run(source, dest_dir)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/portage/python3.11/doins.py", line 181, in run
    sstat = os.stat(source)
            ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-python/scipy-1.9.0-r1/work/html/.'
 * ERROR: dev-python/scipy-1.9.0-r1::gentoo failed (install phase):
 *   dodoc failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/scipy-1.9.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/scipy-1.9.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/scipy-1.9.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/scipy-1.9.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/scipy-1.9.0-r1/work/scipy-1.9.0'
 * S: '/var/tmp/portage/dev-python/scipy-1.9.0-r1/work/scipy-1.9.0'


Expected Results:  
install successful
Comment 1 Alexandre Ferreira 2022-07-31 15:53:46 UTC
Created attachment 796198 [details]
ebuild

Ebuild that copies src_unpack from scipy-1.8.1.
Comment 2 Larry the Git Cow gentoo-dev 2022-07-31 23:02:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=121e6a1633b2dbde9d83485f7bb39a682ebac641

commit 121e6a1633b2dbde9d83485f7bb39a682ebac641
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-31 23:02:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-31 23:02:27 +0000

    dev-python/scipy: fix USE=doc
    
    Closes: https://bugs.gentoo.org/862567
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/scipy/scipy-1.9.0-r1.ebuild |  8 ++++++++
 dev-python/scipy/scipy-1.9.9999.ebuild | 10 +++++++++-
 2 files changed, 17 insertions(+), 1 deletion(-)