Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 440434 - dev-util/nvidia-cuda-toolkit-4.2: some elog messages should only be shown for the first install.
Summary: dev-util/nvidia-cuda-toolkit-4.2: some elog messages should only be shown for...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 10:58 UTC by poletti.marco
Modified: 2013-01-14 07:47 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 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 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
+