What steps will reproduce the problem?
1.
* Last-modified: Wed, 10 Apr 2013 13:50:02 GMT
* Syncing selected overlays,...
* Running Subversion... # /usr/bin/svn up /var/lib/layman/pentoo
Updating '/var/lib/layman/pentoo':
At revision 4459.
*
* Succeeded:
* ------
* Successfully synchronized overlay "pentoo".
*
D6800 ~ # VIDEO_CARDS="nvidia" emerge -vt cpyrit_cuda
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild R ] app-crypt/cpyrit_cuda-0.4.0-r1::pentoo 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/cpyrit_cuda-0.4.0-r1 from pentoo
>>> Unpacking source...
* subversion update start -->
* repository: http://pyrit.googlecode.com/svn/trunk/@294
Updating '.':
At revision 294.
* working copy: /usr/portage/distfiles/svn-src/cpyrit_cuda/trunk
>>> Source unpacked in /var/tmp/portage/app-crypt/cpyrit_cuda-0.4.0-r1/work
>>> Preparing source in
/var/tmp/portage/app-crypt/cpyrit_cuda-0.4.0-r1/work/cpyrit_cuda-0.4.0 ...
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/app-crypt/cpyrit_cuda-0.4.0-r1/work/cpyrit_cuda-0.4.0 ...
>>> Source configured.
>>> Compiling source in
/var/tmp/portage/app-crypt/cpyrit_cuda-0.4.0-r1/work/cpyrit_cuda-0.4.0 ...
python2.7 setup.py build
svn: E155007:
'/var/tmp/portage/app-crypt/cpyrit_cuda-0.4.0-r1/work/cpyrit_cuda-0.4.0/cpyrit_c
uda' is not a working copy
running build
running build_ext
/bin/sh: /usr/local/cuda/bin/nvcc: No such file or directory
None
Failed to execute command '/usr/local/cuda/bin/nvcc -V'
Traceback (most recent call last):
File "setup.py", line 175, in <module>
setup(**setup_args)
File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 82, in run
raise SystemError("Nvidia's CUDA-compiler 'nvcc' can't be " \
SystemError: Nvidia's CUDA-compiler 'nvcc' can't be found.
* ERROR: app-crypt/cpyrit_cuda-0.4.0-r1 failed (compile phase):
* Building failed
2.
D6800 ~ # emerge -v cuda-rarcrypt
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild N *] app-crypt/cuda-rarcrypt-3.2-r1::pentoo 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/cuda-rarcrypt-3.2-r1 from pentoo
* Cuda-OpenSrc.rar RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking Cuda-OpenSrc.rar to
/var/tmp/portage/app-crypt/cuda-rarcrypt-3.2-r1/work
>>> Source unpacked in /var/tmp/portage/app-crypt/cuda-rarcrypt-3.2-r1/work
>>> Preparing source in /var/tmp/portage/app-crypt/cuda-rarcrypt-3.2-r1/work ...
* Applying makefile-fixes.patch ... [ ok ]
* Applying cuda-sdk-2.3.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-crypt/cuda-rarcrypt-3.2-r1/work
...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-crypt/cuda-rarcrypt-3.2-r1/work ...
make -j9
make: /usr/local/cuda/bin/nvcc: Command not found
make: *** [obj/x86_64/release/rarcrypt.cu.o] Error 127
3.
D6800 ~ # cd /opt/cuda/sdk/
D6800 sdk # ls -la
total 64
drwxr-xr-x 6 root root 4096 Apr 9 04:15 .
drwxr-xr-x 12 root root 4096 Mar 8 10:53 ..
drwxr-xr-x 6 root root 4096 Apr 9 04:15 C
drwxr-xr-x 5 root root 4096 Apr 9 04:15 CUDALibraries
-rw-r--r-- 1 root root 36387 Apr 9 04:14 Documentation.html
-rw-r--r-- 1 root root 399 Apr 9 04:14 Makefile
drwxr-xr-x 4 root root 4096 Apr 9 04:15 OpenCL
drwxr-xr-x 6 root root 4096 Apr 10 06:08 shared
D6800 sdk # make
make[1]: Entering directory `/opt/cuda/sdk/shared'
make[1]: Leaving directory `/opt/cuda/sdk/shared'
make[1]: Entering directory `/opt/cuda/sdk/C'
make[2]: Entering directory `/opt/cuda/sdk/C/common'
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
In file included from ./../common/inc/stopwatch.h:25:0,
from src/cutil.cpp:33:
./../common/inc/stopwatch_linux.h:46:34: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:50:41: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:126:27: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:143:34: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
In file included from src/cutil.cpp:33:0:
./../common/inc/stopwatch.h:35:27: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
In file included from src/cutil.cpp:34:0:
./../common/inc/bank_checker.h:34:41: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/bank_checker.h:220:39: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
src/cutil.cpp: In function 'CUTBoolean {anonymous}::loadPPM(const char*,
unsigned char**, unsigned int*, unsigned int*, unsigned int*)':
src/cutil.cpp:169:38: warning: variable 'string' set but not used
[-Wunused-but-set-variable]
src/cutil.cpp:227:16: warning: variable 'fsize' set but not used
[-Wunused-but-set-variable]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
In file included from ./../common/inc/stopwatch.h:25:0,
from src/stopwatch.cpp:17:
./../common/inc/stopwatch_linux.h:46:34: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:50:41: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:126:27: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:143:34: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
In file included from src/stopwatch.cpp:17:0:
./../common/inc/stopwatch.h:35:27: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
src/stopwatch.cpp:71:12: warning: type qualifiers ignored on function return
type [-Wignored-qualifiers]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
In file included from src/stopwatch_linux.cpp:15:0:
./../common/inc/stopwatch_linux.h:46:34: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:50:41: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:126:27: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
./../common/inc/stopwatch_linux.h:143:34: warning: type qualifiers ignored on
function return type [-Wignored-qualifiers]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
a - obj/x86_64/release/bank_checker.cpp.o
a - obj/x86_64/release/cmd_arg_reader.cpp.o
a - obj/x86_64/release/cutil.cpp.o
a - obj/x86_64/release/stopwatch.cpp.o
a - obj/x86_64/release/stopwatch_linux.cpp.o
a - obj/x86_64/release/multithreading.cpp.o
make[2]: Leaving directory `/opt/cuda/sdk/C/common'
make[2]: Entering directory `/opt/cuda/sdk/C/common'
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
a - obj/x86_64/release/paramgl.cpp.o
a - obj/x86_64/release/param.cpp.o
make[2]: Leaving directory `/opt/cuda/sdk/C/common'
make[2]: Entering directory `/opt/cuda/sdk/C/common'
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
src/rendercheck_gl.cpp: In member function 'virtual bool
CheckRender::compareBin2BinUint(const char*, const char*, unsigned int, float,
float)':
src/rendercheck_gl.cpp:225:12: warning: variable 'fsize' set but not used
[-Wunused-but-set-variable]
src/rendercheck_gl.cpp: In member function 'virtual bool
CheckRender::compareBin2BinFloat(const char*, const char*, unsigned int, float,
float)':
src/rendercheck_gl.cpp:286:12: warning: variable 'fsize' set but not used
[-Wunused-but-set-variable]
src/rendercheck_gl.cpp: In member function 'virtual void
CheckRender::dumpBin(void*, unsigned int, const char*)':
src/rendercheck_gl.cpp:214:31: warning: ignoring return value of 'size_t
fwrite(const void*, size_t, size_t, FILE*)', declared with attribute
warn_unused_result [-Wunused-result]
a - obj/x86_64/release/rendercheck_gl.cpp.o
make[2]: Leaving directory `/opt/cuda/sdk/C/common'
make[2]: Entering directory `/opt/cuda/sdk/shared'
make[2]: Leaving directory `/opt/cuda/sdk/shared'
make[2]: Entering directory `/opt/cuda/sdk/C/src/postProcessGL'
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not
for C++ [enabled by default]
main.cpp:157:58: note: #pragma message: Note: Using Texture fmt GL_RGBA16F_ARB
main.cpp:177:11: warning: unused parameter 'appName' [-Wunused-parameter]
main.cpp:528:6: warning: unused parameter 'value' [-Wunused-parameter]
make[2]: /usr/local/cuda/bin/nvcc: Command not found
make[2]: *** [obj/x86_64/release/postProcessGL.cu.o] Error 127
make[2]: Leaving directory `/opt/cuda/sdk/C/src/postProcessGL'
make[1]: *** [src/postProcessGL/Makefile.ph_build] Error 2
make[1]: Leaving directory `/opt/cuda/sdk/C'
make: *** [all] Error 2
What is the expected output?
To compile with cuda but without erroers :-)
Original issue reported on code.google.com by mir...@gmail.com on 10 Apr 2013 at 6:29
Original issue reported on code.google.com by
mir...@gmail.com
on 10 Apr 2013 at 6:29