alint(5) alint(5) (NAME) alint - (linting) (DESCRIPTION) (label) (tag) alint . AL . SKIP_ ( ) SKIP_ (skip ). (Severity) : (Serious - S) . . (Important - I) . . (Minor - M) . . CODINGSTYLE.md . (STYLE - T) . APKBUILD_STYLE . . : o leo ( leo) (Certainty) (false positive) . (Certain - C) . (Possible - P) . (TABLE) ( ) ( apkbuild-fixer ) . +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |tag | label | severity | certainty | linter | fixer | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL1 | default-builddir-value | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL2 | unnecessary-return-1 | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL3 | pkgname-quoted | Minor | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL4 | pkgver-quoted | Minor | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL5 | empty-variable | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL6 | custom-variable | Important | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL7 | indent-tabs | Important | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL8 | trailing-whitespace | Important | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL9 | function-keyword | Serious | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL10 | space-before-function-parenthesis | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL11 | space-after-function-parenthesis | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL12 | newline-opening-brace | Minor | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL13 | superfluous-cd-builddir | Minor | Possible | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL14 | pkgname-has-uppercase | Serious | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL15 | pkgver-has-pkgrel | Serious | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL16 | upper-repo-depends | Serious | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL17 | duplicate-depends | Minor | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL18 | upper-repo-makedepends | Serious | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL19 | duplicate-makedepends | Minor | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL20 | upper-repo-makedepends | Serious | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL21 | duplicate-makedepends | Minor | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL22 | duplicate-package | Serious | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL23 | pkgname-dirname-mismatch | Important | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL24 | depends-makedepends-checkdepends-overlap | Important | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL25 | backticks-usage | Serious | Possible | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL26 | _builddir-is-set | Serious | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL28 | literal-integer-is-quoted | Minor | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL29 | pkgname-used-in-source | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL30 | double-underscore-in-variable | Minor | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL31 | variable-capitalized | Minor | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL32 | braced-variable | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL33 | unexpected-shebang-line | Important | Certain | initd-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL34 | custom-start-stop-function | Important | Certain | initd-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL35 | cpan-variable | Minor | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL36 | overwrite-xflags | Serious | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL37 | secfixes-missing-colon | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL38 | pkgver-pkgrel-missing-colon | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL39 | pkgver-pkgrel-invalid-pkgver | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL40 | pkgver-pkgrel-invalid-pkgrel | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL41 | security-identifier-missing-hyphen | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL47 | security-identifier-wrong-indent | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL48 | pkgver-pkgrel-wrong-indent | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL49 | invalid-option | Minor | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL50 | cve-identifier-formatted-incorrectly | Minor | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL51 | gnutls-sa-identifier-formatted-incorrectly | Minor | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL52 | unknown-security-identifier | Minor | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL53 | xsa-identifier-formatted-incorrectly | Minor | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL54 | missing-default-prepare | Serious | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL56 | missing-patch-description | Minor | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL57 | invalid-arch | Serious | Certain | apkbuild-lint | YES | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL58 | deprecated-packages | Serious | Certain | aports-lint | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL59 | duplicate-identifier-value | Serious | Certain | secfixes-check | N/A | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL61 | bad-version | Important | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL62 | volatile-source | Serious | Certain | apkbuild-lint | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ |AL63 | ghsl-identifier-formatted-incorrectly | Minor | Certain | secfixes-check | NO | +-----+--------------------------------------------+-----------+-----------+----------------+-------+ (LABELS TAGS - aports-lint) aports-lint . duplicate-package [AL22] . : o . o . (shadow ) . : main/foo-1-r0 testing/foo-2-r0 main/bar foo>=2-r0 main/foo-1-r0 testing/foo-2-r0 . : (Serious) : (Certain) upper-repo-depends [AL16] . . . main . community main . testing main community . unmaintained non- free . : (Serious) : (Certain) duplicate-depends [AL17] APKBUILD depends . . . : (Minor) : (Certain) upper-repo-makedepends [AL18] (makedepends). . (makedepend). main makedepend . community main . testing main community makedepend . unmaintained non-free . : (Serious) : (Certain) duplicate-makedepends [AL19] APKBUILD makedepends . . . : (Minor) : (Certain) upper-repo-checkdepends [AL20] / (checkdepends). . checkdepend . main checkdepend . community main checkdepend . testing main community checkdepend . unmaintained non-free . : (Serious) : (Certain) duplicate-checkdepends [AL21] APKBUILD checkdepends . . . : (Minor) : (Certain) pkgname-dirname-mismatch [AL23] pkgname APKBUILD foo APKBUILD foo . : (Important) : (Certain) depends-makedepends-checkdepends-overlap [AL24] : depends makedepends checkdepends. . : (Important) : (Certain) deprecated-packages [AL58] depends makedepends checkdepends (deprecated) . aports-lint CUSTOM_DEPRECATED_PACKAGES . . : (Serious) : (Certain) missing-patch-description [AL56] `$sources` . . : (Minor) : (Certain) (LABELS TAGS - apkbuild-lint) apkbuild-lint . default-builddir-value [AL1] builddir $srcdir/$pkgname-$pkgver . builddir . 2.29.0 abuild . (bootstrap) abuild bootstrap- . CUSTOM_BOOTSTRAP_PACKAGES . : (Minor) : (Certain) unnecessary-return-1 [AL2] APKBUILD || return 1 . . 2.15.0 abuild set -e || return 1 . : (Minor) : (Certain) pkgname-quoted [AL3] pkgname APKBUILD . . : (Minor) : (Certain) pkgver-quoted [AL4] pkgver APKBUILD . . : (Minor) : (Certain) empty-variable [AL5] APKBUILD . APKBUILD . : (Minor) : (Certain) custom-variable [AL6] APKBUILD . . abuild . : (Important) : (Certain) indent-tabs [AL7] APKBUILD . . APKBUILD (\t) . : (Important) : (Certain) trailing-whitespace [AL8] APKBUILD . . . : (Important) : (Certain) backticks-usage [AL25] APKBUILD `$()` . : (Serious) : (Possible) function-keyword [AL9] APKBUILD function . function() . function (bashism) . abuild POSIX local . : (Serious) : (Certain) space-before-function-parenthesis [AL10] APKBUILD . . : (Minor) : (Certain) space-after-function-parenthesis [AL11] APKBUILD . . : (Minor) : (Certain) newline-opening-brace [AL12] APKBUILD . . : (Minor) : (Certain) superfluous-cd-builddir [AL13] APKBUILD cd "$builddir" . . 3.3.0 abuild prepare build check package builddir . cd "$builddir" . : (Minor) : (Possible) pkgname-has-uppercase [AL14] pkgname pkgname . CUSTOM_UPPERCASE_PKGNAMES . : (Serious) : (Certain) pkgver-has-pkgrel [AL15] pkgver -r pkgrel . : (Serious) : (Certain) _builddir-is-set [AL26] _builddir builddir builddir abuild . : (Serious) : (Certain) literal-integer-is-quoted [AL28] . : (Minor) : (Certain) pkgname-used-in-source [AL29] <<$pkgname>> (source url) . pkgname . . URL . : (Minor) : (Certain) double-underscore-in-variable [AL30] abuild . : (Minor) : (Certain) variable-capitalized [AL31] . : (Minor) : (Certain) braced-variable [AL32] . : (Minor) : (Possible) cpan-variable [AL35] `cpandepends` `cpanmakedepends` `cpancheckdepends` apkbuild-cpan . : (Minor) : (Certain) overwrite-xflags [AL36] `CFLAGS` `GOFLAGS` `CPPFLAGS` `CXXFLAGS` `FFLAGS` (overwrite) . APKBUILD . . : `CFLAGS="$CFLAGS ..."` . : `CFLAGS="${CFLAGS/-Dflag}"` . : (Serious) : (Certain) invalid-option [AL49] options= abuild . VALID_CUSTOM_OPTIONS . : (Minor) : (Certain) missing-default-prepare [AL54] prepare() default_prepare ( source= ) . default_prepare prepare() . : (Serious) : (Certain) invalid-arch [AL57] 'arch' APKBUILD 'noarch' 'all' . /usr/share/abuild/functions.sh abuild . CUSTOM_VALID_ARCHES . : (Serious) : (Certain) bad-version [AL61] pkgver (regex) pkgver / . CUSTOM_BAD_VERSIONS pkgname@regexes... ( ) . : (Important) : (Certain) volatile-source [AL62] (URL) (checksum) . pull request merge request . : (Serious) : (Certain) (LABELS TAGS - initd-lint) unexpected-shebang-line [AL33] OpenRC `#!/sbin/openrc- run` . https://github.com/OpenRC/openrc/blob/master/service-script- guide.md#syntax-of-service-scripts . : (Important) : (Certain) custom-start-stop-function [AL34] start / stop . `command` `command_args` `pidfile` . https://github.com/OpenRC/openrc/blob/master/service-script- guide.md#dont-write-your-own-startstop-functions . : (Important) : (Certain) (LABELS TAGS - secfixes-check) secfixes-missing-colon [AL37] secfixes (:) . : (Serious) : (Certain) pkgver-pkgrel-missing-colon [AL38] pkgver-pkgrel (:) . : (Serious) : (Certain) pkgver-pkgrel-invalid-pkgver [AL39] pkgver-pkgrel pkgver . : (Serious) : (Certain) pkgver-pkgrel-invalid-pkgrel [AL40] pkgver-pkgrel pkgrel . : (Serious) : (Certain) security-identifier-missing-hyphen [AL41] . : (Serious) : (Certain) security-identifier-wrong-indent [AL47] CVE ( ) (comment) . : (Serious) : (Certain) pkgver-pkgrel-wrong-indent [AL48] pkgver-pkgrel ( ) . : (Serious) : (Certain) cve-identifier-formatted-incorrectly [AL50] CVE . : (Minor) : (Certain) gnutls-sa-identifier-formatted-incorrectly [AL51] GNUTLS-SA . : (Minor) : (Certain) unknown-security-identifier [AL52] . : (Minor) : (Certain) xsa-identifier-formatted-incorrectly [AL53] XSA . : (Minor) : (Certain) duplicate-identifier-value [AL59] . secdb . : (Serious) : (Certain) ghsl-identifier-formatted-incorrectly [AL63] GHSL . : (Minor) : (Certain) Parch Linux 2025-12-02 alint(5)