Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789807 - [science] sci-libs/pytorch-1.6.0-r2 ModuleNotFoundError: No module named 'yaml'
Summary: [science] sci-libs/pytorch-1.6.0-r2 ModuleNotFoundError: No module named 'yaml'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 08:51 UTC by Alessandro Barbieri
Modified: 2022-01-12 11:51 UTC (History)
1 user (show)

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


Attachments
emerge_info (emerge_info,41.35 KB, text/plain)
2021-05-13 08:52 UTC, Alessandro Barbieri
Details
pytorch-1.6.0-r2:20210513-084121.log (pytorch-1.6.0-r2:20210513-084121.log,26.35 KB, text/plain)
2021-05-13 08:52 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-05-13 08:51:58 UTC
This package fails to compile on an unstable system. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2021-05-13 08:52:15 UTC
Created attachment 707943 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2021-05-13 08:52:17 UTC
Created attachment 707946 [details]
pytorch-1.6.0-r2:20210513-084121.log

build log
Comment 3 Alessandro Barbieri 2021-05-13 11:43:48 UTC
-- Found Backtrace: /usr/include  
-- NUMA paths:
-- /usr/include
-- /usr/lib64/libnuma.so
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
Traceback (most recent call last):
  File "/var/tmp/portage/sci-libs/pytorch-1.6.0-r2/work/pytorch-1.6.0/cmake/../aten/src/ATen/gen.py", line 5, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'
-- 
CMake Error at cmake/Codegen.cmake:205 (message):
  Failed to get generated_cpp list
Call Stack (most recent call first):
  caffe2/CMakeLists.txt:2 (include)


-- Configuring incomplete, errors occurred!
Comment 4 Benda Xu gentoo-dev 2021-05-17 12:24:02 UTC
I think we have missed out a dependency on dev-python/pyyaml
Comment 5 Larry the Git Cow gentoo-dev 2022-01-12 11:51:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/sci.git/commit/?id=1823ef711155df1e529ba5c414238c23695372a6

commit 1823ef711155df1e529ba5c414238c23695372a6
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-01-12 11:51:23 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-01-12 11:51:23 +0000

    sci-libs/pytorch: cleanup old
    
    we finally have a working version of this again
    
    Closes: https://github.com/gentoo/sci/issues/1075
    Closes: https://github.com/gentoo/sci/issues/1073
    Closes: https://github.com/gentoo/sci/issues/1070
    Closes: https://github.com/gentoo/sci/issues/953
    Closes: https://bugs.gentoo.org/789807
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/pytorch/Manifest                |  52 -----
 sci-libs/pytorch/metadata.xml            |   5 -
 sci-libs/pytorch/pytorch-1.6.0-r2.ebuild | 287 ---------------------------
 sci-libs/pytorch/pytorch-1.7.1-r2.ebuild | 292 ----------------------------
 sci-libs/pytorch/pytorch-1.9.0.ebuild    | 321 -------------------------------
 5 files changed, 957 deletions(-)