Adélie Linux issueshttps://git.adelielinux.org/groups/adelie/-/issues2023-12-03T14:08:41Zhttps://git.adelielinux.org/adelie/packages/-/issues/1145[meta] find and fix packages that cannot resolve single virtual dependency2023-12-03T14:08:41ZZach van Rijn[meta] find and fix packages that cannot resolve single virtual dependencySome packages fail to build with:
```
ERROR: unable to select packages:
.makedepends-recode-20231201.134540:
masked in: cache
satisfies: world[.makedepends-recode=20231201.134540]
cmd:lex (virtual):
note: please select o...Some packages fail to build with:
```
ERROR: unable to select packages:
.makedepends-recode-20231201.134540:
masked in: cache
satisfies: world[.makedepends-recode=20231201.134540]
cmd:lex (virtual):
note: please select one of the 'provided by'
packages explicitly
provided by: flex
required by: .makedepends-recode-20231201.134540[cmd:lex]
>>> ERROR: recode: builddeps failed
```
See also:
* apk-tools@3b013f458225c2ad8a0d96ec3eb3dde2533e0312
* https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10810
* 64e35b236419b9b654122da04a616d76d6270f7fhttps://git.adelielinux.org/adelie/packages/-/issues/1144user/xgc: FTBFS: ERROR: unable to select packages: cmd:lex (virtual): provide...2023-12-05T15:45:56ZZach van Rijnuser/xgc: FTBFS: ERROR: unable to select packages: cmd:lex (virtual): provided by: flex```
ERROR: unable to select packages:
.makedepends-xgc-20231202.180142:
masked in: cache
satisfies: world[.makedepends-xgc=20231202.180142]
cmd:lex (virtual):
note: please select one of the 'provided by'
package...```
ERROR: unable to select packages:
.makedepends-xgc-20231202.180142:
masked in: cache
satisfies: world[.makedepends-xgc=20231202.180142]
cmd:lex (virtual):
note: please select one of the 'provided by'
packages explicitly
provided by: flex
required by: .makedepends-xgc-20231202.180142[cmd:lex]
>>> ERROR: xgc: builddeps failed
```https://git.adelielinux.org/adelie/packages/-/issues/1143user/apkvitrine: FTBFS: ERROR: unable to select packages: apk-tools version m...2023-12-05T15:45:56ZZach van Rijnuser/apkvitrine: FTBFS: ERROR: unable to select packages: apk-tools version mismatchFound on x86_64 (powerhouse) with tests enabled:
```
...
>>> apkvitrine: Entering /usr/src/packages/user/py3-flup
ERROR: unable to select packages:
apk-tools-2.14.0-r0:
breaks: .makedepends-apkvitrine-20231202.152804[apk-tools~2.1...Found on x86_64 (powerhouse) with tests enabled:
```
...
>>> apkvitrine: Entering /usr/src/packages/user/py3-flup
ERROR: unable to select packages:
apk-tools-2.14.0-r0:
breaks: .makedepends-apkvitrine-20231202.152804[apk-tools~2.12.0]
satisfies: adelie-core-0.9.7-r0[apk-tools]
abuild-3.4.2-r3[apk-tools>=2.0.7-r1]
.makedepends-apkvitrine-20231202.152804:
masked in: cache
satisfies: world[.makedepends-apkvitrine=20231202.152804]
>>> ERROR: apkvitrine: builddeps failed
```https://git.adelielinux.org/adelie/packages/-/issues/1142user/libfreehand: FTBFS: configure: error: Package requirements (cppunit) wer...2023-12-02T15:01:48ZZach van Rijnuser/libfreehand: FTBFS: configure: error: Package requirements (cppunit) were not met:Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFI...Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
and CPPUNIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
>>> ERROR: libfreehand: build failed
```https://git.adelielinux.org/adelie/packages/-/issues/1141user/libqxp: FTBFS: configure: error: Package requirements (cppunit) were not...2023-12-02T14:56:46ZZach van Rijnuser/libqxp: FTBFS: configure: error: Package requirements (cppunit) were not met:Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONF...Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
and CPPUNIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
>>> ERROR: libqxp: build failed
```https://git.adelielinux.org/adelie/packages/-/issues/1140user/libzmf: FTBFS: configure: error: Package requirements (cppunit) were not...2023-12-02T14:45:19ZZach van Rijnuser/libzmf: FTBFS: configure: error: Package requirements (cppunit) were not met:Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_...Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
and CPPUNIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
>>> ERROR: libzmf: build failed
```https://git.adelielinux.org/adelie/packages/-/issues/1139user/librevenge: FTBFS: configure: error: Package requirements (cppunit) were...2023-12-02T14:25:05ZZach van Rijnuser/librevenge: FTBFS: configure: error: Package requirements (cppunit) were not met:Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_...Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
and CPPUNIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
>>> ERROR: librevenge: build failed
```https://git.adelielinux.org/adelie/packages/-/issues/1138user/libcmis: FTBFS: configure: error: Package requirements (cppunit >= 1.12 ...2023-12-02T13:50:46ZZach van Rijnuser/libcmis: FTBFS: configure: error: Package requirements (cppunit >= 1.12 ) were not met:Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit >= 1.12 ) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PK...Found on x86_64 (powerhouse) with `!check`:
```
...
checking for CPPUNIT... no
configure: error: Package requirements (cppunit >= 1.12 ) were not met:
Package 'cppunit', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CPPUNIT_CFLAGS
and CPPUNIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
>>> ERROR: libcmis: build failed
```https://git.adelielinux.org/adelie/packages/-/issues/1137user/mbedtls: FTBFS: checkdepends=python3 required for build2023-12-02T13:51:09ZZach van Rijnuser/mbedtls: FTBFS: checkdepends=python3 required for buildFound on x86_64 (autobuilder) with `ABUILD_BOOTSTRAP=1` to disable tests:
```
...
-- The C compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /u...Found on x86_64 (autobuilder) with `ABUILD_BOOTSTRAP=1` to disable tests:
```
...
-- The C compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter)
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
env: ‘python3’: No such file or directory
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Error at tests/CMakeLists.txt:13 (message):
Cannot build test suites without Python 3
-- Configuring incomplete, errors occurred!
See also "/usr/src/packages/user/mbedtls/src/mbedtls-3.4.1/CMakeFiles/CMakeOutput.log".
>>> ERROR: mbedtls: build failed
>>> mbedtls: Uninstalling dependencies...
(1/5) Purging .makedepends-mbedtls (20231202.070042)
(2/5) Purging cmake (3.23.5-r0)
(3/5) Purging libarchive (3.7.2-r0)
(4/5) Purging libuv (1.44.2-r0)
(5/5) Purging rhash-libs (1.4.3-r0)
OK: 418 MiB in 91 packages
```
As discussed in IRC last week about a theoretical `checkmakedepends`, this issue crops up because `python3` is not installed as a dependency when the `!check` option is set.
I'm not sure the best/correct way forward, whether that is to move `python3` to the `makedepends` variable (it's only needed to build the tests, not run them?), or to patch the build script to detect whether tests are enabled (`options_has` or such?).https://git.adelielinux.org/adelie/packages/-/issues/1136WARNING: Total of 6 unsatisfiable package names. Your repository may be broken.2023-12-02T08:07:55ZZach van RijnWARNING: Total of 6 unsatisfiable package names. Your repository may be broken.Found on all 6 builders, same exact warning, as of 3179e9e671e864c921a69f6de91d526ec4805649 with all packages cleanly built:
```
$ apk index -o /dev/null */<ARCH>/*.apk
WARNING: No provider for the dependencies:
lldb perl-dbd-mysql pe...Found on all 6 builders, same exact warning, as of 3179e9e671e864c921a69f6de91d526ec4805649 with all packages cleanly built:
```
$ apk index -o /dev/null */<ARCH>/*.apk
WARNING: No provider for the dependencies:
lldb perl-dbd-mysql perl-getopt-long perl-socket pgtcl py3-lldb
WARNING: Total of 6 unsatisfiable package names. Your repository may be broken.
Index has 0 packages (of which 7651 are new)
```https://git.adelielinux.org/adelie/packages/-/issues/1135user/libcdio-paranoia: Can't exec "libtoolize": No such file or directory at ...2023-12-02T01:55:49ZZach van Rijnuser/libcdio-paranoia: Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 293.Found on aarch64 as of ec2ce3515c9d7785ede8f0e64db011ed20088e97:
```
>>> libcdio-paranoia: pkg-version-format.patch
patching file configure.ac
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not...Found on aarch64 as of ec2ce3515c9d7785ede8f0e64db011ed20088e97:
```
>>> libcdio-paranoia: pkg-version-format.patch
patching file configure.ac
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 293.
autoreconf: error: libtoolize failed with exit status: 2
>>> ERROR: libcdio-paranoia: prepare failed
```
Probably caused by c621c444deb36f20e8b406c2f455ecb31e01d1e5.https://git.adelielinux.org/adelie/abuild/-/issues/14dev/dbg splitfunctions assume '$pkgver-r$pkgrel' is always valid (to 'apk ind...2023-12-02T01:52:02ZZach van Rijndev/dbg splitfunctions assume '$pkgver-r$pkgrel' is always valid (to 'apk index')Commit 69733b0c3494fa85771685932b477f16ffffdcd6 (NOT upstream) introduced an assumption that `$pkgver-r$pkgrel` will always be valid.
apk-tools@a6126a6f2362ee47e91acb25083e1b112a57640a (upstream) introduced a check to prevent packages f...Commit 69733b0c3494fa85771685932b477f16ffffdcd6 (NOT upstream) introduced an assumption that `$pkgver-r$pkgrel` will always be valid.
apk-tools@a6126a6f2362ee47e91acb25083e1b112a57640a (upstream) introduced a check to prevent packages from being created if it detects what it considers to be a malformed depend:
* https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10806https://git.adelielinux.org/adelie/packages/-/issues/1134user/nsd: FTBFS: ERROR: unable to select packages: libevent-dev-2.1.13_pre1-r12023-12-02T01:55:49ZZach van Rijnuser/nsd: FTBFS: ERROR: unable to select packages: libevent-dev-2.1.13_pre1-r1Found on x86_64 (powerhouse) autobuilder environment:
```
>>> nsd: Building user/nsd 4.6.1-r0 (using abuild 3.4.2-r3) started Fri, 01 Dec 2023 16:27:49 +0000
>>> nsd: Checking sanity of /usr/src/packages/user/nsd/APKBUILD...
>>> nsd: An...Found on x86_64 (powerhouse) autobuilder environment:
```
>>> nsd: Building user/nsd 4.6.1-r0 (using abuild 3.4.2-r3) started Fri, 01 Dec 2023 16:27:49 +0000
>>> nsd: Checking sanity of /usr/src/packages/user/nsd/APKBUILD...
>>> nsd: Analyzing dependencies...
>>> nsd: Entering /usr/src/packages/user/libevent
ERROR: unable to select packages:
libevent-dev-2.1.13_pre1-r1:
conflicts: libevent-dev-2.1.13_pre1-r1[pc:libevent=2.1.13_pre1-r1]
libevent-dev-2.1.13_pre1-r1[pc:libevent=2.1.13_pre1-r1]
satisfies: .makedepends-nsd-20231201.162749[libevent-dev]
.makedepends-nsd-20231201.162749:
masked in: cache
satisfies: world[.makedepends-nsd=20231201.162749]
>>> ERROR: nsd: builddeps failed
>>> nsd: Uninstalling dependencies...
ERROR: No such package: .makedepends-nsd
```
Possibly due to 59bf8779a24bce538d534111764f8cf6d28e317f?https://git.adelielinux.org/adelie/packages/-/issues/1133user/recode: FTBFS: ERROR: unable to select packages: cmd:lex (virtual): prov...2023-12-02T18:34:05ZZach van Rijnuser/recode: FTBFS: ERROR: unable to select packages: cmd:lex (virtual): provided by: flexFound on x86_64 (powerhouse) in autobuilder dev environment with latest tree as of c388d331c3e1d4e7dbe83033662126643363997c:
```
>>> recode: Building user/recode 3.7.7-r0 (using abuild 3.4.2-r3) started Fri, 01 Dec 2023 13:45:40 +0000
>...Found on x86_64 (powerhouse) in autobuilder dev environment with latest tree as of c388d331c3e1d4e7dbe83033662126643363997c:
```
>>> recode: Building user/recode 3.7.7-r0 (using abuild 3.4.2-r3) started Fri, 01 Dec 2023 13:45:40 +0000
>>> recode: Checking sanity of /usr/src/packages/user/recode/APKBUILD...
>>> recode: Analyzing dependencies...
ERROR: unable to select packages:
.makedepends-recode-20231201.134540:
masked in: cache
satisfies: world[.makedepends-recode=20231201.134540]
cmd:lex (virtual):
note: please select one of the 'provided by'
packages explicitly
provided by: flex
required by: .makedepends-recode-20231201.134540[cmd:lex]
>>> ERROR: recode: builddeps failed
>>> recode: Uninstalling dependencies...
ERROR: No such package: .makedepends-recode
```
This was `system/` (pass 1 and 2), so clearly GCC can build, which requires `cmd:lex`.https://git.adelielinux.org/adelie/packages/-/issues/1132[meta] find and fix all broken .pc files2023-12-03T14:56:31ZZach van Rijn[meta] find and fix all broken .pc filesSimilar to #1131, there are more packages that have unsupported (by `apk-tools`) version strings.
Upstream `apk-tools` change that exposes this:
* https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10806
Please reference this iss...Similar to #1131, there are more packages that have unsupported (by `apk-tools`) version strings.
Upstream `apk-tools` change that exposes this:
* https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10806
Please reference this issue in any related commits, and link any such issues as they are filed.
This command will print the list of all affected packages:
```sh
apk index -o test *.apk
```https://git.adelielinux.org/adelie/packages/-/issues/1131system/bash: causes 'apk index' error2023-12-02T01:55:48ZZach van Rijnsystem/bash: causes 'apk index' errorFound on x86_64 (powerhouse) and ppc64 (gwyn):
```
...
>>> bash: Updating the system/x86_64 repository index...
ERROR: bash-dev-5.1.16-r0.apk: package file format error
>>> ERROR: bash: Failed to create index
```
[20231201-06_40_37.206...Found on x86_64 (powerhouse) and ppc64 (gwyn):
```
...
>>> bash: Updating the system/x86_64 repository index...
ERROR: bash-dev-5.1.16-r0.apk: package file format error
>>> ERROR: bash: Failed to create index
```
[20231201-06_40_37.206337380_bash.log](/uploads/c160e1d1d85831b4fb66d40da294d40f/20231201-06_40_37.206337380_bash.log)https://git.adelielinux.org/adelie/packages/-/issues/1130system/argon2: invalid version string causes 'apk index' failure2023-12-02T01:55:48ZZach van Rijnsystem/argon2: invalid version string causes 'apk index' failureSince packages@64e35b236419b9b654122da04a616d76d6270f7f, and found on x86_64 (powerhouse) but reproduced on ppc64 (gwyn):
```
+ cd /usr/src/packages/system/argon2
+ /usr/bin/git describe
+ DESCRIPTION=system 1.0-RC2-2497-g64e35b236
+ cd...Since packages@64e35b236419b9b654122da04a616d76d6270f7f, and found on x86_64 (powerhouse) but reproduced on ppc64 (gwyn):
```
+ cd /usr/src/packages/system/argon2
+ /usr/bin/git describe
+ DESCRIPTION=system 1.0-RC2-2497-g64e35b236
+ cd /packages/system/x86_64
+ local index=x86_64/APKINDEX.tar.gz
+ msg Updating the system/x86_64 repository index...
+ [ -n ]
+ local prompt=>>>
+ local fake=
+ local name=argon2
+ printf >>> argon2: %s\n Updating the system/x86_64 repository index...
>>> argon2: Updating the system/x86_64 repository index...
+ local sign=.SIGN.RSA.
+ local oldindex=
+ [ -f APKINDEX.tar.gz ]
+ oldindex=--index APKINDEX.tar.gz
+ /sbin/apk index --quiet --index APKINDEX.tar.gz --output APKINDEX.tar.gz.3632593 --description system 1.0-RC2-2497-g64e35b236 --rewrite-arch x86_64 argon2-20190702-r1.apk argon2-dbg-20190702-r1.apk argon2-dev-20190702-r1.apk argon2-libs-20190702-r1.apk bc-6.5.0-r0.apk bc-dbg-6.5.0-r0.apk bc-doc-6.5.0-r0.apk bsd-compat-headers-0.7.1-r1.apk byacc-20230219-r0.apk byacc-dbg-20230219-r0.apk byacc-doc-20230219-r0.apk bzip2-1.0.8-r0.apk bzip2-dbg-1.0.8-r0.apk bzip2-dev-1.0.8-r0.apk bzip2-doc-1.0.8-r0.apk cflow-1.7-r0.apk cflow-dbg-1.7-r0.apk cflow-doc-1.7-r0.apk cflow-lang-1.7-r0.apk db-5.3.28-r4.apk db-c++-5.3.28-r4.apk db-dbg-5.3.28-r4.apk db-dev-5.3.28-r4.apk db-doc-5.3.28-r4.apk db-doc-pdf-5.3.28-r4.apk db-utils-5.3.28-r4.apk ed-1.19-r0.apk ed-dbg-1.19-r0.apk ed-doc-1.19-r0.apk execline-2.9.4.0-r0.apk execline-dbg-2.9.4.0-r0.apk execline-dev-2.9.4.0-r0.apk execline-doc-2.9.4.0-r0.apk execline-libs-2.9.4.0-r0.apk execline-libs-dev-2.9.4.0-r0.apk heirloom-devtools-070527-r1.apk heirloom-devtools-dbg-070527-r1.apk heirloom-devtools-dev-070527-r1.apk libbz2-1.0.8-r0.apk libelf-0.8.13-r5.apk libelf-dbg-0.8.13-r5.apk libelf-dev-0.8.13-r5.apk libexecinfo-1.1-r3.apk libexecinfo-dbg-1.1-r3.apk libexecinfo-dev-1.1-r3.apk libgpg-error-1.46-r0.apk libgpg-error-dbg-1.46-r0.apk libgpg-error-dev-1.46-r0.apk libgpg-error-doc-1.46-r0.apk libgpg-error-lang-1.46-r0.apk libgpg-error-lisp-1.46-r0.apk libpcre16-8.45-r0.apk libpcre32-8.45-r0.apk libpcrecpp-8.45-r0.apk libucontext-1.2-r0.apk libucontext-dbg-1.2-r0.apk libucontext-dev-1.2-r0.apk lzo-2.10-r3.apk lzo-dbg-2.10-r3.apk lzo-dev-2.10-r3.apk lzo-doc-2.10-r3.apk lzop-1.04-r0.apk lzop-dbg-1.04-r0.apk lzop-doc-1.04-r0.apk man-pages-5.13-r1.apk mawk-1.3.4.20230525-r0.apk mawk-dbg-1.3.4.20230525-r0.apk mawk-doc-1.3.4.20230525-r0.apk ncurses-6.4-r0.apk ncurses-dbg-6.4-r0.apk ncurses-dev-6.4-r0.apk ncurses-doc-6.4-r0.apk ncurses-libs-6.4-r0.apk ncurses-static-6.4-r0.apk ncurses-terminfo-6.4-r0.apk ncurses-terminfo-base-6.4-r0.apk nghttp2-1.52.0-r0.apk nghttp2-dbg-1.52.0-r0.apk nghttp2-dev-1.52.0-r0.apk nghttp2-doc-1.52.0-r0.apk nghttp2-libs-1.52.0-r0.apk pcre-8.45-r0.apk pcre-dbg-8.45-r0.apk pcre-dev-8.45-r0.apk pcre-doc-8.45-r0.apk pcre-tools-8.45-r0.apk popt-1.19-r0.apk popt-dbg-1.19-r0.apk popt-dev-1.19-r0.apk popt-doc-1.19-r0.apk popt-lang-1.19-r0.apk skalibs-2.14.0.1-r0.apk skalibs-dbg-2.14.0.1-r0.apk skalibs-dev-2.14.0.1-r0.apk skalibs-doc-2.14.0.1-r0.apk skalibs-libs-2.14.0.1-r0.apk skalibs-libs-dev-2.14.0.1-r0.apk sp-1.3.4-r0.apk sp-dbg-1.3.4-r0.apk unzip-6.0-r6.apk unzip-dbg-6.0-r6.apk unzip-doc-6.0-r6.apk uucp-1.07-r0.apk uucp-dbg-1.07-r0.apk uucp-doc-1.07-r0.apk xz-5.4.2-r0.apk xz-dbg-5.4.2-r0.apk xz-dev-5.4.2-r0.apk xz-doc-5.4.2-r0.apk xz-lang-5.4.2-r0.apk xz-libs-5.4.2-r0.apk yaml-0.2.5-r0.apk yaml-dbg-0.2.5-r0.apk yaml-dev-0.2.5-r0.apk zip-3.0-r5.apk zip-dbg-3.0-r5.apk zip-doc-3.0-r5.apk zlib-1.3-r0.apk zlib-dbg-1.3-r0.apk zlib-dev-1.3-r0.apk zlib-doc-1.3-r0.apk
ERROR: argon2-dev-20190702-r1.apk: package file format error
+ rm -f APKINDEX.tar.gz.3632593
+ die Failed to create index
+ trap - EXIT
+ error Failed to create index
+ local prompt=>>> ERROR:
+ local fake=
+ local name=argon2
+ printf >>> ERROR: argon2: %s\n Failed to create index
>>> ERROR: argon2: Failed to create index
+ logcmd ERROR: argon2: Failed to create index
+ true ERROR: argon2: Failed to create index
```https://git.adelielinux.org/adelie/apk-tools/-/issues/2system/argon2: invalid version string causes 'apk index' failure2023-12-01T06:13:35ZZach van Rijnsystem/argon2: invalid version string causes 'apk index' failureSince packages@64e35b236419b9b654122da04a616d76d6270f7f, and found on x86_64 (powerhouse) but reproduced on ppc64 (gwyn):
```
+ cd /usr/src/packages/system/argon2
+ /usr/bin/git describe
+ DESCRIPTION=system 1.0-RC2-2497-g64e35b236
+ cd...Since packages@64e35b236419b9b654122da04a616d76d6270f7f, and found on x86_64 (powerhouse) but reproduced on ppc64 (gwyn):
```
+ cd /usr/src/packages/system/argon2
+ /usr/bin/git describe
+ DESCRIPTION=system 1.0-RC2-2497-g64e35b236
+ cd /packages/system/x86_64
+ local index=x86_64/APKINDEX.tar.gz
+ msg Updating the system/x86_64 repository index...
+ [ -n ]
+ local prompt=>>>
+ local fake=
+ local name=argon2
+ printf >>> argon2: %s\n Updating the system/x86_64 repository index...
>>> argon2: Updating the system/x86_64 repository index...
+ local sign=.SIGN.RSA.
+ local oldindex=
+ [ -f APKINDEX.tar.gz ]
+ oldindex=--index APKINDEX.tar.gz
+ /sbin/apk index --quiet --index APKINDEX.tar.gz --output APKINDEX.tar.gz.3632593 --description system 1.0-RC2-2497-g64e35b236 --rewrite-arch x86_64 argon2-20190702-r1.apk argon2-dbg-20190702-r1.apk argon2-dev-20190702-r1.apk argon2-libs-20190702-r1.apk bc-6.5.0-r0.apk bc-dbg-6.5.0-r0.apk bc-doc-6.5.0-r0.apk bsd-compat-headers-0.7.1-r1.apk byacc-20230219-r0.apk byacc-dbg-20230219-r0.apk byacc-doc-20230219-r0.apk bzip2-1.0.8-r0.apk bzip2-dbg-1.0.8-r0.apk bzip2-dev-1.0.8-r0.apk bzip2-doc-1.0.8-r0.apk cflow-1.7-r0.apk cflow-dbg-1.7-r0.apk cflow-doc-1.7-r0.apk cflow-lang-1.7-r0.apk db-5.3.28-r4.apk db-c++-5.3.28-r4.apk db-dbg-5.3.28-r4.apk db-dev-5.3.28-r4.apk db-doc-5.3.28-r4.apk db-doc-pdf-5.3.28-r4.apk db-utils-5.3.28-r4.apk ed-1.19-r0.apk ed-dbg-1.19-r0.apk ed-doc-1.19-r0.apk execline-2.9.4.0-r0.apk execline-dbg-2.9.4.0-r0.apk execline-dev-2.9.4.0-r0.apk execline-doc-2.9.4.0-r0.apk execline-libs-2.9.4.0-r0.apk execline-libs-dev-2.9.4.0-r0.apk heirloom-devtools-070527-r1.apk heirloom-devtools-dbg-070527-r1.apk heirloom-devtools-dev-070527-r1.apk libbz2-1.0.8-r0.apk libelf-0.8.13-r5.apk libelf-dbg-0.8.13-r5.apk libelf-dev-0.8.13-r5.apk libexecinfo-1.1-r3.apk libexecinfo-dbg-1.1-r3.apk libexecinfo-dev-1.1-r3.apk libgpg-error-1.46-r0.apk libgpg-error-dbg-1.46-r0.apk libgpg-error-dev-1.46-r0.apk libgpg-error-doc-1.46-r0.apk libgpg-error-lang-1.46-r0.apk libgpg-error-lisp-1.46-r0.apk libpcre16-8.45-r0.apk libpcre32-8.45-r0.apk libpcrecpp-8.45-r0.apk libucontext-1.2-r0.apk libucontext-dbg-1.2-r0.apk libucontext-dev-1.2-r0.apk lzo-2.10-r3.apk lzo-dbg-2.10-r3.apk lzo-dev-2.10-r3.apk lzo-doc-2.10-r3.apk lzop-1.04-r0.apk lzop-dbg-1.04-r0.apk lzop-doc-1.04-r0.apk man-pages-5.13-r1.apk mawk-1.3.4.20230525-r0.apk mawk-dbg-1.3.4.20230525-r0.apk mawk-doc-1.3.4.20230525-r0.apk ncurses-6.4-r0.apk ncurses-dbg-6.4-r0.apk ncurses-dev-6.4-r0.apk ncurses-doc-6.4-r0.apk ncurses-libs-6.4-r0.apk ncurses-static-6.4-r0.apk ncurses-terminfo-6.4-r0.apk ncurses-terminfo-base-6.4-r0.apk nghttp2-1.52.0-r0.apk nghttp2-dbg-1.52.0-r0.apk nghttp2-dev-1.52.0-r0.apk nghttp2-doc-1.52.0-r0.apk nghttp2-libs-1.52.0-r0.apk pcre-8.45-r0.apk pcre-dbg-8.45-r0.apk pcre-dev-8.45-r0.apk pcre-doc-8.45-r0.apk pcre-tools-8.45-r0.apk popt-1.19-r0.apk popt-dbg-1.19-r0.apk popt-dev-1.19-r0.apk popt-doc-1.19-r0.apk popt-lang-1.19-r0.apk skalibs-2.14.0.1-r0.apk skalibs-dbg-2.14.0.1-r0.apk skalibs-dev-2.14.0.1-r0.apk skalibs-doc-2.14.0.1-r0.apk skalibs-libs-2.14.0.1-r0.apk skalibs-libs-dev-2.14.0.1-r0.apk sp-1.3.4-r0.apk sp-dbg-1.3.4-r0.apk unzip-6.0-r6.apk unzip-dbg-6.0-r6.apk unzip-doc-6.0-r6.apk uucp-1.07-r0.apk uucp-dbg-1.07-r0.apk uucp-doc-1.07-r0.apk xz-5.4.2-r0.apk xz-dbg-5.4.2-r0.apk xz-dev-5.4.2-r0.apk xz-doc-5.4.2-r0.apk xz-lang-5.4.2-r0.apk xz-libs-5.4.2-r0.apk yaml-0.2.5-r0.apk yaml-dbg-0.2.5-r0.apk yaml-dev-0.2.5-r0.apk zip-3.0-r5.apk zip-dbg-3.0-r5.apk zip-doc-3.0-r5.apk zlib-1.3-r0.apk zlib-dbg-1.3-r0.apk zlib-dev-1.3-r0.apk zlib-doc-1.3-r0.apk
ERROR: argon2-dev-20190702-r1.apk: package file format error
+ rm -f APKINDEX.tar.gz.3632593
+ die Failed to create index
+ trap - EXIT
+ error Failed to create index
+ local prompt=>>> ERROR:
+ local fake=
+ local name=argon2
+ printf >>> ERROR: argon2: %s\n Failed to create index
>>> ERROR: argon2: Failed to create index
+ logcmd ERROR: argon2: Failed to create index
+ true ERROR: argon2: Failed to create index
```https://git.adelielinux.org/adelie/packages/-/issues/1129user/luarocks: packages are installed with doubled root directories2023-12-02T02:15:41ZA. Wilcoxuser/luarocks: packages are installed with doubled root directories```
gwyn /home/awilcox/Code/apk-tools # luarocks install lua-zlib
Installing https://luarocks.org/lua-zlib-1.2-2.rockspec
Cloning into 'lua-zlib'...
remote: Enumerating objects: 303, done.
remote: Counting objects: 100% (51/51), done.
re...```
gwyn /home/awilcox/Code/apk-tools # luarocks install lua-zlib
Installing https://luarocks.org/lua-zlib-1.2-2.rockspec
Cloning into 'lua-zlib'...
remote: Enumerating objects: 303, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 303 (delta 18), reused 28 (delta 9), pack-reused 252
Receiving objects: 100% (303/303), 90.92 KiB | 1.62 MiB/s, done.
Resolving deltas: 100% (150/150), done.
Note: switching to 'a305d98f473d0a253b6fd740ce60d7d5a5f1cda0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
lua-zlib 1.2-2 depends on lua >= 5.1, <= 5.4 (5.3-1 provided by VM)
gcc -O2 -fPIC -I/usr/include/lua5.3 -c lua_zlib.c -o lua_zlib.o -DLZLIB_COMPAT -I/usr/include
gcc -shared -o zlib.so lua_zlib.o -lz
No existing manifest. Attempting to rebuild...
lua-zlib 1.2-2 is now installed in /usr/share/lua/5.3 (license: MIT)
```
Note that it did actually mean it was installed in that directory:
```
awilcox on gwyn ~/Code/apk-tools % find /usr/share/lua -name zlib.so
/usr/share/lua/5.3/lib/lua/5.3/zlib.so
```https://git.adelielinux.org/adelie/packages/-/issues/1128user/lua5.3: pkgconfig file may be broken?2023-11-30T06:34:55ZA. Wilcoxuser/lua5.3: pkgconfig file may be broken?When building an out-of-tree APK Tools with Lua enabled:
```
awilcox on gwyn ~/Code/apk-tools % make LUA=lua
Package lua5.3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.3.pc'
to the ...When building an out-of-tree APK Tools with Lua enabled:
```
awilcox on gwyn ~/Code/apk-tools % make LUA=lua
Package lua5.3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.3.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua5.3', required by 'virtual:world', not found
```
Making a symlink makes the build work:
```
lrwxrwxrwx 1 root root 6 Nov 30 00:30 /usr/lib/pkgconfig/lua5.3.pc -> lua.pc
```