FS#61238 - [python-pytorch] incorrect submodules

Attached to Project: Community Packages
Opened by loqs (loqs) - Tuesday, 01 January 2019, 19:11 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 27 March 2019, 23:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Submodules listed in PKGBUILD source array does not match submodules used during prepare and build

Additional info:
* python-pytorch 1.0.0-3
* https://bbs.archlinux.org/viewtopic.php?id=242636
* config and/or log files etc.


Steps to reproduce:
for top level sub modules
makepkg -odd then check for src/pytorch-1.0.0/.git/config for submodules using url's outside the src directory or not marked active
for nested sub module
extra-x86_64-build observe during build function

Submodule 'mkl-dnn' (https://github.com/01org/mkl-dnn.git) registered for path 'mkl-dnn'
Cloning into '/build/python-pytorch/src/pytorch-1.0.0/third_party/ideep/mkl-dnn'...
Submodule path 'mkl-dnn': checked out 'c0095ec26c215970b9b94915963b59e76398265e'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 621 0 621 0 0 2317 0 --:--:-- --:--:-- --:--:-- 2317
100 76.6M 100 76.6M 0 0 7165k 0 0:00:10 0:00:10 --:--:-- 8529k
Downloaded and unpacked Intel(R) MKL small libraries to /build/python-pytorch/src/pytorch-1.0.0/third_party/ideep/mkl-dnn/external
-- Found MKLDNN: /build/python-pytorch/src/pytorch-1.0.0/third_party/ideep/mkl-dnn/external/mklml_lnx_2018.0.3.20180406/lib/libmklml_intel.so;/build/python-pytorch/src/pytorch-1.0.0/third_party/ideep/mkl-dnn/external/mklml_lnx_2018.0.3.20180406/lib/libiomp5.so

https://github.com/pytorch/pytorch/blob/db5d3131d16f57abd4f13d3f4b885d5f67bf6644/cmake/Modules/FindMKLDNN.cmake#L71
calls
https://github.com/intel/mkl-dnn/blob/c0095ec26c215970b9b94915963b59e76398265e/scripts/prepare_mkl.sh
which downloads
https://github.com/intel/mkl-dnn/releases/download/v0.14/mklml_lnx_2018.0.3.20180406.tgz

attached src/pytorch-1.0.0/.git/config showing use of external urls and inactive sub modules and attempted PKGBUILD fix.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Wednesday, 27 March 2019, 23:00 GMT
Reason for closing:  Won't implement
Comment by loqs (loqs) - Wednesday, 27 March 2019, 19:19 GMT
Updated patch to apply against 1.0.1-4
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 27 March 2019, 22:59 GMT
Thanks for the patch. However, I decided to go with upstream here as they just have too many freaking submodules. See updated package once it's built.

Loading...