Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839228 - dev-util/nvidia-cuda-toolkit: automated shellcheck found errors
Summary: dev-util/nvidia-cuda-toolkit: automated shellcheck found errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 11:06 UTC by shellbugbot
Modified: 2022-06-09 09:28 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 shellbugbot 2022-04-18 11:06:07 UTC
Shellckeck found errors in one or more shellscripts provided by dev-util/nvidia-cuda-toolkit.

Kindly refer to the findings below and the shellcheck wiki for further details:

------------------------------------------------
script: /usr/portage/dev-util/nvidia-cuda-toolkit/files/cuda-config.in:22

		exit -1
                     ^^
error: Can only exit with status 0-255. Other data should be written to stdout/stderr. (https://github.com/koalaman/shellcheck/wiki/SC2242)

This is an automated bug report. Conservative settings were used to minimize false-positives but there's still a chance that the above list contains non-issues.
Running shellcheck again with default settings could detect other possible issues.

References:
[1] this script: https://github.com/heeplr/gentoo-shellbug
[2] shellcheck: https://www.shellcheck.net/
Comment 1 Larry the Git Cow gentoo-dev 2022-06-09 09:28:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae9e35d17b8debee016a7cf21770007113776fb

commit 2ae9e35d17b8debee016a7cf21770007113776fb
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2022-06-09 08:16:08 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2022-06-09 09:18:36 +0000

    dev-util/nvidia-cuda-toolkit: fix bug 839228
    
    Closes: https://bugs.gentoo.org/839228
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 dev-util/nvidia-cuda-toolkit/files/cuda-config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)