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

Bug 440434

Summary: dev-util/nvidia-cuda-toolkit-4.2: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:58:42 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package dev-util/nvidia-cuda-toolkit-4.2, the following elog messages are displayed:

 * If you want to natively run the code generated by this version of the
 * CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-260.19.21.
 * 
 * Run '. /etc/profile' before using the CUDA toolkit. 

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'dev-util/nvidia-cuda-toolkit'; then

See the tracker bug 440214 for more details.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-01-14 07:47:21 UTC
+*nvidia-cuda-toolkit-5.0.35 (14 Jan 2013)
+*nvidia-cuda-toolkit-4.2.9-r1 (14 Jan 2013)
+
+  14 Jan 2013; Justin Lecher <jlec@gentoo.org> -nvidia-cuda-toolkit-3.2.ebuild,
+  +nvidia-cuda-toolkit-4.2.9-r1.ebuild, +nvidia-cuda-toolkit-5.0.35.ebuild,
+  +files/cuda-config.in, metadata.xml:
+  Version Bump, #446072 and #451972; fine grad what msg we are showing,
+  #440434; support prefix installations, #405317; drop old, #351702; take the
+  package
+