Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 700064

Summary: dev-util/nvidia-cuda-sdk-10.1.243 - vectorAdd.cpp:24:10: fatal error: cuda.h: No such file or directory
Product: Gentoo Linux Reporter: Zsolt Tóth <horvathjeno1944>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Logs, info, etc.
Info
PQV
Log

Description Zsolt Tóth 2019-11-14 09:34:21 UTC
=nvidia-cuda-sdk-10.1.243 fails during the compile phase. See logs in the attachment.

Reproducible: Always

Steps to Reproduce:
1. Try emerging nvidia-cuda-sdk-10.1.243
Actual Results:  
1. It fails at compile phase.

Expected Results:  
Eemerge succesfully?
Comment 1 Zsolt Tóth 2019-11-14 09:35:08 UTC
Created attachment 596040 [details]
Logs, info, etc.
Comment 2 Zsolt Tóth 2019-11-14 09:35:38 UTC
Created attachment 596042 [details]
Info
Comment 3 Zsolt Tóth 2019-11-14 09:35:56 UTC
Created attachment 596044 [details]
PQV
Comment 4 Zsolt Tóth 2019-11-14 09:36:20 UTC
Created attachment 596046 [details]
Log
Comment 5 Benda Xu gentoo-dev 2019-11-15 00:25:21 UTC
What is the output of `ls -lh /opt/cuda/include`?  /opt/cuda/include should be a symlink to targets/x86_64-linux/include owned by nvidia-cuda-toolkit.
Comment 6 Zsolt Tóth 2019-11-15 10:37:02 UTC
(In reply to Benda Xu from comment #5)
> What is the output of `ls -lh /opt/cuda/include`?  /opt/cuda/include should
> be a symlink to targets/x86_64-linux/include owned by nvidia-cuda-toolkit.

➜  ~ ls -lh /opt/cuda/include
összesen 0

It's an empty directory, not a symlink.
Comment 7 Zsolt Tóth 2019-11-15 11:24:34 UTC
Fixed by doing an rm -rf /opt/cuda, and then re-emerging both dev-util/nvidia-cuda-sdk and dev-util/nvidia-cuda-toolkit.
Comment 8 Benda Xu gentoo-dev 2019-11-15 11:58:42 UTC
Thank you Zsolt!  It could be a hidden bug in directory handling.  Feel free to open a new bug when you step upon it again in the future.