Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375295 - dev-util/nvidia-cuda-toolkit-4.0[profiler] should depend on x11-libs/qt-assistant[compat]
Summary: dev-util/nvidia-cuda-toolkit-4.0[profiler] should depend on x11-libs/qt-assis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 378545
  Show dependency tree
 
Reported: 2011-07-15 15:32 UTC by onip
Modified: 2011-08-23 18:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description onip 2011-07-15 15:32:14 UTC
the binary "computeprof" is linked against libQtAssistantClient.so.4 which is provided by x11-libs/qt-assistant[compat] for (I think) all of qt-assistant-4.7.x versions.

for less recent versions of the qt libraries (from 4.6 downward) it should be ok to ignore the (non-existing) use flag.

On my case changing the use made computeprof start ok instead of crying out for a missing library.

Reproducible: Always
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2011-07-23 22:49:19 UTC
The profiler comes with its own binary versions of the QT library, which are installed in /opt/cuda/computeprof/bin.  I have x11-libs/qt-assistant-4.7.3 installed without the 'compat' USE flag, and computeprof works fine for me (ldd shows that it finds the library in the aforementioned CUDA-specific directory).

Could you please try installing qt-assistant without the compat flag and pasting the output of `ldd /opt/cuda/computeprof/bin/computeprof` here?
Comment 2 onip 2011-07-25 08:41:12 UTC
$ ldd /opt/cuda/computeprof/bin/computeprof
	linux-gate.so.1 =>  (0xb7800000)
	libQtAssistantClient.so.4 => not found   <------- ***NOT FOUND***
	libQtXml.so.4 => /usr/lib/qt4/libQtXml.so.4 (0xb777b000)
	libQtGui.so.4 => /usr/lib/qt4/libQtGui.so.4 (0xb6cc1000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6c37000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb6c2d000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb6c16000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6c0c000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6bdd000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb6bcd000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb6aab000)
	libQtNetwork.so.4 => /usr/lib/qt4/libQtNetwork.so.4 (0xb696f000)
	libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 (0xb66d0000)
	libz.so.1 => /lib/libz.so.1 (0xb66bb000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb66b6000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb65b5000)
	librt.so.1 => /lib/librt.so.1 (0xb65ab000)
	libdl.so.2 => /lib/libdl.so.2 (0xb65a7000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb658d000)
	libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libstdc++.so.6 (0xb6499000)
	libm.so.6 => /lib/libm.so.6 (0xb6473000)
	libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libgcc_s.so.1 (0xb6454000)
	libc.so.6 => /lib/libc.so.6 (0xb62fa000)
	libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb62d2000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb628f000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6287000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6283000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xb627d000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6256000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb623b000)
	/lib/ld-linux.so.2 (0xb77e4000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb6237000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6230000)

I can't see any trace of bundled qt in my installation (it is version 4.0)

$ tree /opt/cuda/computeprof/
/opt/cuda/computeprof/
├── bin
│   ├── assistant -> /usr/bin/assistant
│   └── computeprof
├── Compute_Visual_Profiler_Release_Notes_Linux.txt
├── doc
│   ├── about.txt
│   ├── Changelog.txt
│   ├── computeprof.html
│   ├── computeprof.qch
│   ├── computeprof.qhc
│   ├── Compute_Visual_Profiler_User_Guide.pdf
│   └── help.png
└── projects
    ├── analysis_boxFilter_Context_0.csv
    ├── analysis_convolutionSeparable_Context_0.csv
    ├── analysis.cvp
    ├── eigenvalues.cvp
    ├── eigenvalues_eigenvalues_apiTrace_Context_0.csv
    ├── eigenvalues_eigenvalues_apiTrace_Context_0.trc
    ├── eigenvalues_eigenvalues_Context_0.csv
    ├── eigenvalues_eigenvalues_matrix_size_512_Context_0.csv
    ├── matrixMul.cvp
    ├── matrixMul_matrixMul_Context_0.csv
    ├── matrixMul_matrixMul_sizeMult_Context_0.csv
    ├── MonteCarloMultiGPU.cvp
    ├── MonteCarloMultiGPU_Session1_Context_0.csv
    ├── MonteCarloMultiGPU_Session1_Context_1.csv
    ├── MonteCarloMultiGPU_Session1_Context_2.csv
    ├── Nbody.cvp
    ├── Nbody_nbody_Context_0.csv
    ├── Nbody_oclNbody_Context_0.csv
    ├── simpleStreams.cvp
    ├── simpleStreams_Session1_Context_0.csv
    ├── simpleTexture.cvp
    └── simpleTexture_Session1_Context_0.csv
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2011-08-23 18:55:48 UTC
You're right, I forgot we do different things for x86 and amd64.  The problem should be fixed now.