Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839162 - scripts/bootstrap.sh: automated shellcheck found errors
Summary: scripts/bootstrap.sh: 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
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 11:05 UTC by shellbugbot
Modified: 2022-04-19 21:14 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:05:59 UTC
Shellckeck found errors in one or more shellscripts provided by scripts/bootstrap.sh.

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

------------------------------------------------
script: /usr/portage/scripts/bootstrap.sh:175

trap "cleanup" TERM KILL INT QUIT ABRT
                    ^^^^
error: SIGKILL/SIGSTOP can not be trapped. (https://github.com/koalaman/shellcheck/wiki/SC2173)

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-04-19 21:12:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f4d46a13ed4b223866c50e109f5c51488fc6bd9

commit 9f4d46a13ed4b223866c50e109f5c51488fc6bd9
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-04-19 21:09:24 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-04-19 21:09:24 +0000

    scripts/bootstrap.sh: do not attempt to trap SIGKILL
    
    Closes: https://bugs.gentoo.org/839162
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 scripts/bootstrap.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)