>>> atools: Building community/atools 20.2.2-r13 (using abuild 3.14.1-r7) started Sun, 16 Mar 2025 13:39:10 +0000
>>> atools: Validating /home/buildozer/aports/community/atools/APKBUILD...
>>> WARNING: atools: Go packages require network connection to build. Maybe add 'net' to options
>>> atools: Analyzing dependencies...
>>> atools: Installing for build: build-base lua5.3 scdoc redo go bats
(1/23) Installing linenoise (1.0-r5)
(2/23) Installing lua5.3-libs (5.3.6-r6)
(3/23) Installing lua5.3 (5.3.6-r6)
(4/23) Installing scdoc (1.11.3-r0)
(5/23) Installing libffi (3.4.7-r0)
(6/23) Installing gdbm (1.24-r0)
(7/23) Installing mpdecimal (4.0.0-r0)
(8/23) Installing libpanelw (6.5_p20250216-r0)
(9/23) Installing sqlite-libs (3.49.1-r0)
(10/23) Installing python3 (3.12.9-r0)
(11/23) Installing python3-pycache-pyc0 (3.12.9-r0)
(12/23) Installing pyc (3.12.9-r0)
(13/23) Installing apenwarr-redo-pyc (0.42d-r2)
(14/23) Installing python3-pyc (3.12.9-r0)
(15/23) Installing apenwarr-redo (0.42d-r2)
(16/23) Installing go (1.24.1-r0)
(17/23) Installing bash (5.2.37-r0)
Executing bash-5.2.37-r0.post-install
(18/23) Installing bats-core (1.11.1-r0)
(19/23) Installing bats-support (0.3.0-r0)
(20/23) Installing bats-assert (2.1.0-r0)
(21/23) Installing bats-file (0.4.0-r0)
(22/23) Installing bats (1.11.1-r0)
Executing bats-1.11.1-r0.post-install
*
* set BATS_LIB_PATH=/usr/lib/bats before executing 'bats_load_library'
*
(23/23) Installing .makedepends-atools (20250316.133911)
Executing busybox-1.37.0-r14.trigger
OK: 627 MiB in 140 packages
>>> atools: Cleaning up srcdir
>>> atools: Cleaning up pkgdir
>>> atools: Cleaning up tmpdir
>>> atools: Fetching https://distfiles.alpinelinux.org/distfiles/edge/atools-20.2.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 44777  100 44777    0     0   600k      0 --:--:-- --:--:-- --:--:--  607k
>>> atools: Fetching https://distfiles.alpinelinux.org/distfiles/edge/atools-20.2.2.tar.gz
>>> atools: Checking sha512sums...
atools-20.2.2.tar.gz: OK
>>> atools: Unpacking /var/cache/distfiles/edge/atools-20.2.2.tar.gz...
redo  build
redo    manpages
redo      apkbuild-lint.1.man
redo      aports-lint.1.man
redo      apkbuild-fixer.1.man
redo      initd-lint.1.man
redo      secfixes-check.1.man
redo      convert-volatile-source.1.man
redo      alint.5.man
redo    go
redo      print-go-deps
redo  check
>>> Testing apkbuild-lint
1..111
ok 1 default builddir can be removed
ok 2 default _builddir can be removed
ok 3 cd "$builddir" is not highlighted
ok 4 cd "$builddir" after cd should be ignored
ok 5 cd "$builddir" with brackets should be detected
ok 6 cd "$builddir" with underline should be detected
ok 7 cd "$builddir" with brackets and no quotes should be detected
ok 8 cd "$builddir" without quotes should be detected
ok 9 cd "$builddir" should be highlighted if it is also the first
ok 10 unnecessary || return 1 can be removed
ok 11 unnecessary || exit 1 can be removed
ok 12 plain pkgname should not be quoted
ok 13 quoted composed pkgname is fine # skip false positive
ok 14 pkgver should not be quoted
ok 15 empty global variable can be removed
ok 16 custom global variables should start with an underscore
ok 17 indentation should be with tabs
ok 18 trailing whitespace should be removed
ok 19 prefer $() to backticks
ok 20 backticks in comments should be ignored # skip false positive
ok 21 function keyword should not be used
ok 22 no space between function name and parenthesis
ok 23 one space after function parenthesis
ok 24 opening brace for function should be on the same line
ok 25 cd to builddir dir without cd to other dir can be removed
ok 26 pkgname must not have uppercase characters
ok 27 pkgname uppercase exceptions (builtin exception)
ok 28 pkgname uppercase exceptions (custom exceptions)
ok 29 pkgver must not have -rN
ok 30 pkgver can have _rc but not -rc
ok 31 _builddir is set
ok 32 _builddir and builddir are set
ok 33 pkgver is literal integer but is double-quoted
ok 34 pkgver is literal integer but is single-quoted
ok 35 pkgver is literal integer and is not quoted
ok 36 pkgver is not an literal integer and is not quoted
ok 37 "$pkgname" can be used as archive name in source
ok 38 "$pkgname" should not be used in source url
ok 39 "$pkgname" should not be used in source url (multiline)
ok 40 "$pkgname" should not be used in source url with archive name
ok 41 "$pkgname" should not be used in source url with archive name (multiline)
ok 42 double underscore in variable
ok 43 double underscore in tabbed variable
ok 44 no underscore in variable
ok 45 no underscore in tabbed variable
ok 46 double underscore in local variable
ok 47 double underscore in local tabbed variable
ok 48 double underscore in local tabbed variable with valid variable after
ok 49 double underscore in local tabbed variable with valid variable before
ok 50 double underscore as argument should be allowed
ok 51 capitalized variable
ok 52 underscored capitalized variable
ok 53 normal variable
ok 54 normal underscored variable
ok 55 capitalized local variable
ok 56 capitalized local variable between valid ones
ok 57 valid local variables
ok 58 valid variable bracing with underscore
ok 59 valid variable bracing with letter
ok 60 valid variable bracing with number
ok 61 valid variable bracing with capital letter
ok 62 invalid variable bracing due to hyphen
ok 63 invalid variable bracing due to end of line
ok 64 invalid variable bracing due to double-quotes
ok 65 valid variable bracing with local keyword and underscore
ok 66 valid variable bracing with local keyword and letter
ok 67 invalid variable bracing within other variables in a local statement
ok 68 valid variable bracing via parameter substitution
ok 69 valid local variable bracing via parameter substitution
ok 70 CFLAGS can be expanded
ok 71 CFLAGS should not be overwritten
ok 72 CFLAGS can be substituted (or removed)
ok 73 GOFLAGS can be expanded
ok 74 GOFLAGS should not be overwritten
ok 75 GOFLAGS can be substituted (or removed)
ok 76 CPPFLAGS can be expanded
ok 77 CPPFLAGS should not be overwritten
ok 78 CPPFLAGS can be substituted (or removed)
ok 79 CXXFLAGS can be expanded
ok 80 CXXFLAGS should not be overwritten
ok 81 CXXFLAGS can be substituted (or removed)
ok 82 FFLAGS can be expanded
ok 83 FFLAGS should not be overwritten
ok 84 FFLAGS can be substituted (or removed)
ok 85 Do not match partial names for flags
ok 86 FFLAGS should not be overwritten, second variable
ok 87 no invalid options
ok 88 default_prepare is there
ok 89 default_prepare is there, but it has a prefixing variable
ok 90 default_prepare is missing
ok 91 default_prepare is there but is not a command
ok 92 default_prepare is there but is commented
ok 93 one invalid option
ok 94 invalid option in a second assignment
ok 95 custom valid options
ok 96 all arches are valid
ok 97 invalid arch
ok 98 invalid arch (start)
ok 99 invalid arch (middle)
ok 100 invalid arch (end)
ok 101 No patch from volatile source
ok 102 Patch from volatile source (GitHub)
ok 103 Patch from volatile source (GitLab)
ok 104 Patch from volatile source (Alpine Linux GitLab)
ok 105 Volatile source uses ::, should not be treated as local patch
ok 106 Volatile source that has .patch or .diff in the name but are not plaintext patches
ok 107 pkgver is in a bad version
ok 108 pkgver is in a bad version, hidden by a sourced variable
ok 109 pkgver is in a bad version, hidden by a shell substitution
ok 110 pkgver is not in a bad version
ok 111 invalid options across multiple lines
>>> Testing initd-lint
1..5
ok 1 warn about non-standard shebang
ok 2 don't warn about standard shebang
ok 3 warn about custom start function
ok 4 warn about custom stop function
ok 5 should not warn about pre_start
>>> Testing secfixes-check
1..100
ok 1 valid simple secfixes check
ok 2 valid simple secfixes with multiple identifiers
ok 3 missing colon in secfixes
ok 4 under-indented pkgver-pkgrel
ok 5 over-indented pkgver-pkgrel
ok 6 missing colon in pkgver-pkgrel
ok 7 under-indented security identifier
ok 8 over-indented security identifier
ok 9 missing hyphen on security identifier
ok 10 missing hyphen on security identifier (start)
ok 11 missing hyphen on security identifier (middle)
ok 12 missing hyphen on security identifier (end)
ok 13 pkgrel is invalid (or missing)
ok 14 pkgver is invalid
ok 15 GNUTLS: ID is empty
ok 16 GNUTLS: ID is empty (start)
ok 17 GNUTLS: ID is empty (middle)
ok 18 GNUTLS: ID is empty (end)
ok 19 GNUTLS: not composed purely by digits and hyphens
ok 20 GNUTLS: not composed purely by digits and hyphens (start)
ok 21 GNUTLS: not composed purely by digits and hyphens (middle)
ok 22 GNUTLS: not composed purely by digits and hyphens (end)
ok 23 GNUTLS: ID has invalid year
ok 24 GNUTLS: ID has invalid year (start)
ok 25 GNUTLS: ID has invalid year (middle)
ok 26 GNUTLS: ID has invalid year (end)
ok 27 GNUTLS: ID has a bad month
ok 28 GNUTLS: ID has a bad month (start)
ok 29 GNUTLS: ID has a bad month (middle)
ok 30 GNUTLS: ID has a bad month (end)
ok 31 GNUTLS: ID has months that do not exist
ok 32 GNUTLS: ID has months that do not exist (start)
ok 33 GNUTLS: ID has months that do not exist (middle)
ok 34 GNUTLS: ID has months that do not exist (end)
ok 35 GNUTLS: ID has day not in DD format
ok 36 GNUTLS: ID has day not in DD format (start)
ok 37 GNUTLS: ID has day not in DD format (middle)
ok 38 GNUTLS: ID has day not in DD format (end)
ok 39 GNUTLS: ID has days that do not exist
ok 40 GNUTLS: ID has days that do not exist (start)
ok 41 GNUTLS: ID has days that do not exist (end)
ok 42 GNUTLS: insufficient number of hyphens
ok 43 GNUTLS: insufficient number of hyphens (start)
ok 44 GNUTLS: insufficient number of hyphens (middle)
ok 45 GNUTLS: insufficient number of hyphens (end)
ok 46 GNUTLS: too many hyphens
ok 47 GNUTLS: too many hyphens (start)
ok 48 GNUTLS: too many hyphens (middle)
ok 49 GNUTLS: too many hyphens (end)
ok 50 XSA: empty
ok 51 XSA: empty (start)
ok 52 XSA: empty (middle)
ok 53 XSA: empty (end)
ok 54 XSA: not composed purely of digits and hyphens
ok 55 XSA: not composed purely of digits and hyphens (start)
ok 56 XSA: not composed purely of digits and hyphens (middle)
ok 57 XSA: not composed purely of digits and hyphens (end)
ok 58 XSA: has more than one hyphen
ok 59 XSA: has more than one hyphen (start)
ok 60 XSA: has more than one hyphen (middle)
ok 61 XSA: has more than one hyphen (end)
ok 62 CVE: empty
ok 63 CVE: empty (start)
ok 64 CVE: empty (middle)
ok 65 CVE: empty (end)
ok 66 CVE: needs at least 4 digits at the end
ok 67 CVE: needs at least 4 digits at the end (start)
ok 68 CVE: needs at least 4 digits at the end (middle)
ok 69 CVE: needs at least 4 digits at the end (end)
ok 70 CVE: malformed date
ok 71 CVE: malformed date (start)
ok 72 CVE: malformed date (middle)
ok 73 CVE: malformed date (end)
ok 74 CVE: incorrect number of hyphens
ok 75 CVE: incorrect number of hyphens (start)
ok 76 CVE: incorrect number of hyphens (middle)
ok 77 CVE: incorrect number of hyphens (end)
ok 78 GHSL: empty
ok 79 GHSL: empty (start)
ok 80 GHSL: empty (middle)
ok 81 GHSL: empty (end)
ok 82 GHSL: malformed date
ok 83 GHSL: malformed date (start)
ok 84 GHSL: malformed date (middle)
ok 85 GHSL: malformed date (end)
ok 86 GHSL: incorrect number of hyphens
ok 87 GHSL: incorrect number of hyphens (start)
ok 88 GHSL: incorrect number of hyphens (middle)
ok 89 GHSL: incorrect number of hyphens (end)
ok 90 Unknown security identifier
ok 91 Unknown security identifier (start)
ok 92 Unknown security identifier (middle)
ok 93 Unknown security identifier (end)
ok 94 Duplicate identifiers
ok 95 Duplicate identifiers, on lines with multiple values
ok 96 Three duplicate identifiers
ok 97 Duplicate identifiers, one with multiple values
ok 98 Two duplicate identifiers
ok 99 Duplicate identifiers but they are OK
ok 100 0 is considered a valid version
>>> Testing provided-bad-version-regex
1..6
ok 1 mesa good version
ok 2 mesa bad version
ok 3 mesa good version tricky cornercase
ok 4 nginx good version
ok 5 nginx bad version
ok 6 nginx bad version 2 digit
>>> atools: Entering fakeroot...
redo  install
redo    build
redo      manpages
redo        apkbuild-lint.1.man
redo        aports-lint.1.man
redo        apkbuild-fixer.1.man
redo        initd-lint.1.man
redo        secfixes-check.1.man
redo        convert-volatile-source.1.man
redo        alint.5.man
redo      go
redo        print-go-deps
>>> atools-doc*: Running split function doc...
'usr/share/man' -> '/home/buildozer/aports/community/atools/pkg/atools-doc/usr/share/man'
>>> atools-doc*: Preparing subpackage atools-doc...
>>> atools-doc*: Running postcheck for atools-doc
>>> atools-apkbuild-lint*: Running split function apkbuild_lint...
'usr/bin/apkbuild-lint' -> '/home/buildozer/aports/community/atools/pkg/atools-apkbuild-lint/usr/bin/apkbuild-lint'
>>> atools-apkbuild-lint*: Preparing subpackage atools-apkbuild-lint...
>>> atools-apkbuild-lint*: Running postcheck for atools-apkbuild-lint
>>> atools*: Running postcheck for atools
>>> atools*: Preparing package atools...
>>> atools*: Stripping binaries
>>> atools-apkbuild-lint*: Scanning shared objects
>>> atools-doc*: Scanning shared objects
>>> atools*: Scanning shared objects
>>> atools-apkbuild-lint*: Tracing dependencies...
>>> atools-apkbuild-lint*: Package size: 16.2 KB
>>> atools-apkbuild-lint*: Compressing data...
>>> atools-apkbuild-lint*: Create checksum...
>>> atools-apkbuild-lint*: Create atools-apkbuild-lint-20.2.2-r13.apk
>>> atools-doc*: Tracing dependencies...
>>> atools-doc*: Package size: 11.4 KB
>>> atools-doc*: Compressing data...
>>> atools-doc*: Create checksum...
>>> atools-doc*: Create atools-doc-20.2.2-r13.apk
>>> atools*: Tracing dependencies...
	lua5.3
	apkbuild-lint
	so:libc.musl-x86.so.1
>>> atools*: Package size: 2.0 MB
>>> atools*: Compressing data...
>>> atools*: Create checksum...
>>> atools*: Create atools-20.2.2-r13.apk
>>> atools: Build complete at Sun, 16 Mar 2025 13:39:44 +0000 elapsed time 0h 0m 34s
>>> atools: Cleaning up srcdir
>>> atools: Cleaning up pkgdir
>>> atools: Uninstalling dependencies...
(1/23) Purging .makedepends-atools (20250316.133911)
(2/23) Purging lua5.3 (5.3.6-r6)
(3/23) Purging scdoc (1.11.3-r0)
(4/23) Purging go (1.24.1-r0)
(5/23) Purging bats (1.11.1-r0)
(6/23) Purging bats-assert (2.1.0-r0)
(7/23) Purging bats-file (0.4.0-r0)
(8/23) Purging bats-support (0.3.0-r0)
(9/23) Purging bats-core (1.11.1-r0)
(10/23) Purging bash (5.2.37-r0)
Executing bash-5.2.37-r0.pre-deinstall
(11/23) Purging apenwarr-redo-pyc (0.42d-r2)
(12/23) Purging apenwarr-redo (0.42d-r2)
(13/23) Purging python3-pyc (3.12.9-r0)
(14/23) Purging python3-pycache-pyc0 (3.12.9-r0)
(15/23) Purging pyc (3.12.9-r0)
(16/23) Purging python3 (3.12.9-r0)
(17/23) Purging gdbm (1.24-r0)
(18/23) Purging libffi (3.4.7-r0)
(19/23) Purging libpanelw (6.5_p20250216-r0)
(20/23) Purging linenoise (1.0-r5)
(21/23) Purging lua5.3-libs (5.3.6-r6)
(22/23) Purging mpdecimal (4.0.0-r0)
(23/23) Purging sqlite-libs (3.49.1-r0)
Executing busybox-1.37.0-r14.trigger
OK: 403 MiB in 117 packages
>>> atools: Updating the community/x86 repository index...
>>> atools: Signing the index...