Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 748537 - dev-python/pycuda-2019.1.2 fails to compile (src/cpp/cuda.hpp:23:10: fatal error: cudaProfiler.h: No such file or directory)
Summary: dev-python/pycuda-2019.1.2 fails to compile (src/cpp/cuda.hpp:23:10: fatal er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-13 18:22 UTC by Agostino Sarubbo
Modified: 2022-05-31 09:50 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,19.57 KB, text/plain)
2020-10-13 18:22 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-13 18:22:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pycuda-2019.1.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a gold linker (ld.gold).
If you think that this issue is strictly related to ld.gold please block bug 269315.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-13 18:22:54 UTC
Created attachment 665128 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-13 18:22:55 UTC
Possible context of error(s):

src/cpp/cuda.hpp:23:10: fatal error: cudaProfiler.h: No such file or directory
src/cpp/cuda.hpp:23:10: fatal error: cudaProfiler.h: No such file or directory
Comment 3 cJ 2021-07-23 14:57:24 UTC
The ebuild should depend on `nvidia-cuda-toolkit[profiler]` so the cudaProfiler.h file is available.
Comment 4 Larry the Git Cow gentoo-dev 2022-05-31 09:50:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0d3c2067afb9f443ec2dad61f28401d31365f2

commit 8f0d3c2067afb9f443ec2dad61f28401d31365f2
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-05-31 09:36:56 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-05-31 09:48:10 +0000

    dev-python/pycuda: add 2021.1, enable py3.10
    
    Also:
    - use pep517=setuptools
    - depend on nvidia-cuda-toolkit[profiler] wrt bug #748537
    - drop two no-op sed expressions (was no-op in previous version too)
    - only restrict userpriv when running tests
    - EPREFIX->ESYSROOT, these paths aren't stored as far as I can see
    - update LICENSE, did not see any reference to GPL-2
    - misc cleanups
    
    Unsure if entirely setup right as I don't use this nor dug deep,
    and two failing tests on my hardware (with any python version) and
    couldn't get the old version's test suite to run right to compare
    (90% failures).
    
    Closes: https://bugs.gentoo.org/748537
    Closes: https://bugs.gentoo.org/845795
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-python/pycuda/Manifest             |  1 +
 dev-python/pycuda/pycuda-2021.1.ebuild | 93 ++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)