Adélie Linux issueshttps://git.adelielinux.org/groups/adelie/-/issues2023-12-02T01:55:48Zhttps://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/1125user/liblxqt: FTBFS: CMake Error: The current CMakeCache.txt directory ... is...2023-11-30T05:54:23ZZach van Rijnuser/liblxqt: FTBFS: CMake Error: The current CMakeCache.txt directory ... is different than the directory ... where CMakeCache.txt was created.Found on aarch64:
```
>>> liblxqt: Unpacking /var/cache/distfiles/liblxqt-1.4.0.tar.xz...
>>> l...Found on aarch64:
```
>>> liblxqt: Unpacking /var/cache/distfiles/liblxqt-1.4.0.tar.xz...
>>> liblxqt: revert-kwindowsystem-bump.patch
patching file CMakeLists.txt
patching file CMakeLists.txt.orig
patching file build/CMakeCache.txt
patching file build/CMakeFiles/3.23.5/CMakeCCompiler.cmake
patching file build/CMakeFiles/3.23.5/CMakeCXXCompiler.cmake
patching file build/CMakeFiles/3.23.5/CMakeSystem.cmake
patching file build/CMakeFiles/3.23.5/CompilerIdC/CMakeCCompilerId.c
patching file build/CMakeFiles/3.23.5/CompilerIdCXX/CMakeCXXCompilerId.cpp
patching file build/CMakeFiles/CMakeOutput.log
patching file build/CMakeFiles/cmake.check_cache
patching file lxqtsingleapplication.cpp
patching file lxqtsingleapplication.cpp.orig
CMake Error: The current CMakeCache.txt directory /usr/src/packages/user/liblxqt/src/liblxqt-1.4.0/build/CMakeCache.txt is different than the directory /home/aphrael/adelie/user/liblxqt/src/liblxqt-1.4.0/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/usr/src/packages/user/liblxqt/src/liblxqt-1.4.0/CMakeLists.txt" does not match the source "/home/aphrael/adelie/user/liblxqt/src/liblxqt-1.4.0/CMakeLists.txt" used to generate cache.
Re-run cmake with a different source directory.
>>> ERROR: liblxqt: build failed
```
Looks like the `CMakeCache.txt` file was inadvertently scooped up in a patch file.https://git.adelielinux.org/adelie/packages/-/issues/1124user/gcr3: FTBFS: meson.build:55:15: ERROR: Program 'ssh-add' not found or no...2023-11-30T05:54:23ZZach van Rijnuser/gcr3: FTBFS: meson.build:55:15: ERROR: Program 'ssh-add' not found or not executableFound on aarch64:
```
>>> gcr3: Unpacking /var/cache/distfiles/gcr-3.41.1.tar.xz...
The M...Found on aarch64:
```
>>> gcr3: Unpacking /var/cache/distfiles/gcr-3.41.1.tar.xz...
The Meson build system
Version: 1.2.3
Source dir: /usr/src/packages/user/gcr3/src/gcr-3.41.1
Build dir: /usr/src/packages/user/gcr3/src/gcr-3.41.1/output
Build type: native build
Project name: gcr
Project version: 3.41.1
C compiler for the host machine: gcc (gcc 8.5.0 "gcc (Adelie 8.5.0) 8.5.0")
C linker for the host machine: gcc ld.bfd 2.41
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: /usr/bin/pkg-config (1.9.4)
Run-time dependency glib-2.0 found: YES 2.72.4
Run-time dependency gmodule-no-export-2.0 found: YES 2.72.4
Run-time dependency gthread-2.0 found: YES 2.72.4
Run-time dependency gobject-2.0 found: YES 2.72.4
Run-time dependency gio-2.0 found: YES 2.72.4
Run-time dependency gio-unix-2.0 found: YES 2.72.4
Program gpg found: YES (/usr/bin/gpg)
Run-time dependency libgcrypt found: YES 1.10.1
Run-time dependency p11-kit-1 found: YES 0.23.20
Run-time dependency libsecret-1 found: YES 0.20.3
Program ssh-add found: NO
meson.build:55:15: ERROR: Program 'ssh-add' not found or not executable
A full log can be found at /usr/src/packages/user/gcr3/src/gcr-3.41.1/output/meson-logs/meson-log.txt
>>> ERROR: gcr3: build failed
```
Not clear at first glance if this is a build-time dependency or required at all.https://git.adelielinux.org/adelie/horizon/-/issues/379Package triggers may not run correctly via GUI installer2023-12-01T02:20:53ZZach van RijnPackage triggers may not run correctly via GUI installerObserve the following. With this change:
```diff
diff --git a/system/ca-certificates/ca-certificates.trigger b/system/ca-certificates/ca-certificates.trigger
index e584113a9..01271d5d3 100644
--- a/system/ca-certificates/ca-certificates...Observe the following. With this change:
```diff
diff --git a/system/ca-certificates/ca-certificates.trigger b/system/ca-certificates/ca-certificates.trigger
index e584113a9..01271d5d3 100644
--- a/system/ca-certificates/ca-certificates.trigger
+++ b/system/ca-certificates/ca-certificates.trigger
@@ -1,3 +1,5 @@
#!/bin/sh
-/usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
+echo a
+/usr/sbin/update-ca-certificates --fresh >/dev/null
+echo b
exit 0
```
When Horizon is launched via the GUI, the following appears in `/var/log/executor.log`, and it looks like everything works correctly if we hadn't made the change to the trigger:
```
...
(1525/1526) Installing xcursor-themes (1.0.6-r0)
(1526/1526) Installing x11 (7.7-r0)
Executing ca-certificates-20230727-r0.trigger
Executing mandoc-1.14.6-r1.trigger
Executing dbus-1.12.20-r0.trigger
Executing kmod-30-r0.trigger
Executing glib-2.72.4-r0.trigger
Executing shared-mime-info-2.2-r0.trigger
Executing fontconfig-2.13.1-r0.trigger
...
```
however when `hscript-executor` is launched directly as root, we see the expected change and confirmation that the trigger indeed runs correctly:
```
...
(1525/1526) Installing xcursor-themes (1.0.6-r0)
(1526/1526) Installing x11 (7.7-r0)
Executing ca-certificates-20230727-r0.trigger
a
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
b
Executing mandoc-1.14.6-r1.trigger
Executing dbus-1.12.20-r0.trigger
Executing kmod-30-r0.trigger
Executing glib-2.72.4-r0.trigger
Executing shared-mime-info-2.2-r0.trigger
Executing fontconfig-2.13.1-r0.trigger
...
```https://git.adelielinux.org/adelie/packages/-/issues/1123system/adelie-base: remove erroneous .dirkeep files2023-11-26T15:03:20ZZach van Rijnsystem/adelie-base: remove erroneous .dirkeep filesAssuming the `.dirkeep` files exist in https://git.adelielinux.org/adelie/adelie-base for `git` purposes only, they should not exist in the package or on an installed system.
On a fresh installed system (tested using `20231027` media), ...Assuming the `.dirkeep` files exist in https://git.adelielinux.org/adelie/adelie-base for `git` purposes only, they should not exist in the package or on an installed system.
On a fresh installed system (tested using `20231027` media), these files are present:
```
/bin/.dirkeep
/boot/.dirkeep
/etc/opt/.dirkeep
/etc/profile.d/.dirkeep
/home/.dirkeep
/lib/.dirkeep
/media/.dirkeep
/mnt/.dirkeep
/opt/.dirkeep
/sbin/.dirkeep
/srv/.dirkeep
/usr/.dirkeep
/usr/bin/.dirkeep
/usr/games/.dirkeep
/usr/lib/.dirkeep
/usr/libexec/.dirkeep
/usr/local/.dirkeep
/usr/local/bin/.dirkeep
/usr/local/etc/.dirkeep
/usr/local/games/.dirkeep
/usr/local/include/.dirkeep
/usr/local/lib/.dirkeep
/usr/local/man/.dirkeep
/usr/local/sbin/.dirkeep
/usr/local/share/.dirkeep
/usr/local/src/.dirkeep
/usr/sbin/.dirkeep
/usr/share/.dirkeep
/usr/share/man/.dirkeep
/usr/share/misc/.dirkeep
/usr/src/.dirkeep
/var/.dirkeep
/var/cache/.dirkeep
/var/crash/.dirkeep
/var/games/.dirkeep
/var/lib/.dirkeep
/var/lib/misc/.dirkeep
/var/local/.dirkeep
/var/log/.dirkeep
/var/opt/.dirkeep
/var/spool/.dirkeep
/var/tmp/.dirkeep
```
however in the `adelie-base` repository, these additional six files are present, which I think are masked and should be taken care of:
```
+/dev/.dirkeep
+/proc/.dirkeep
+/run/.dirkeep
+/sys/.dirkeep
+/tmp/.dirkeep
+/var/lock/.dirkeep
```
This applies to all media and running installations, as far as I can tell.https://git.adelielinux.org/adelie/packages/-/issues/1120system/libarchive: CVE-2023-30571: Libarchive through 3.6.2 can cause directo...2023-11-21T00:02:51ZZach van Rijnsystem/libarchive: CVE-2023-30571: Libarchive through 3.6.2 can cause directories to have world-writable permissions.| Name | Description ...| Name | Description |
|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| CVE-2023-30571 | Libarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call inside archive_write_disk_posix.c changes the umask of the whole process for a very short period of time; a race condition with another thread can lead to a permanent umask 0 setting. Such a race condition could lead to implicit directory creation with permissions 0777 (without the sticky bit), which means that any low-privileged local user can delete and rename files inside those directories. |
Additionally, non-CVE security fixes:
* https://github.com/libarchive/libarchive/commit/ee312cfd05c1d1d38f3a5dd10872b97cbc11902c (since `3.7.1`)
* https://github.com/libarchive/libarchive/commit/1b4e0d0f9d445ba3e4d0c7db7ce0b30300572fe8 (since `3.7.2`)https://git.adelielinux.org/adelie/packages/-/issues/1119user/adelie-wallpapers: update to use new logo and split into "default" and "...2023-12-08T03:10:41ZZach van Rijnuser/adelie-wallpapers: update to use new logo and split into "default" and "extras" (or "slim"/"core") subpackagesTwo tasks, as discussed:
1. Update to use the new logo. In theory, there is a script ([prepare-wallpaper.sh](/uploads/dd0b441a68769a343d32a19c114b18df/prepare-wallpaper.sh)) to generate wallpapers. All the assets are available on the we...Two tasks, as discussed:
1. Update to use the new logo. In theory, there is a script ([prepare-wallpaper.sh](/uploads/dd0b441a68769a343d32a19c114b18df/prepare-wallpaper.sh)) to generate wallpapers. All the assets are available on the website, see #1103 for filenames. We can generate new/custom sizes as needed, just let me know or make the appropriate change in the `adelie/site-ng` repository and tell @z to publish the changes.
2. Split the package into "default" and "slim" or "core" and "extras", to save space for adding documentation to the media (image#385)
```
05:17 <@zv> adelie-wallpapers has one image and the new lockscreen,
05:17 <@zv> adelie-wallpapers-extra has all the images
05:19 <~awilfox> that would work as well
05:19 <@zv> it also means no splitting of -hires,
05:19 <~awilfox> honestly I would probably do adelie-wallpapers and adelie-wallpapers-core or w/e and make the 'normal' package the full one
```https://git.adelielinux.org/adelie/horizon/-/issues/378txz: building tarballs/$ARCH-mini.installfile fails2023-11-18T03:56:33ZZach van Rijntxz: building tarballs/$ARCH-mini.installfile failsNote that switching from `arch/$ARCH.installfile` to `tarballs/$ARCH-full.installfile` seems to work fine.
Switching from `$ARCH-full.installfile` to `$ARCH-mini.installfile` fails:
```
...
2023-11-17T23:58:37.718 log /root/image/c...Note that switching from `arch/$ARCH.installfile` to `tarballs/$ARCH-full.installfile` seems to work fine.
Switching from `$ARCH-full.installfile` to `$ARCH-mini.installfile` fails:
```
...
2023-11-17T23:58:37.718 log /root/image/configs/tarballs/x86_64-mini.installfile:3: info: signingkey: trusting x86_64-1@packages.adelielinux.org.pub for APK signing
2023-11-17T23:58:37.753 log /root/image/configs/tarballs/x86_64-mini.installfile:4: info: signingkey: trusting x86_64-2@packages.adelielinux.org.pub for APK signing
2023-11-17T23:58:37.781 log /root/image/configs/tarballs/x86_64-mini.installfile:1: info: arch: setting system CPU architecture to x86_64
2023-11-17T23:58:37.782 log internal: info: initialising APK
fetch https://distfiles.adelielinux.org/adelie/current/system/x86_64/APKINDEX.tar.gz
fetch https://distfiles.adelielinux.org/adelie/current/user/x86_64/APKINDEX.tar.gz
OK: 0 MiB in 0 packages
2023-11-17T23:58:38.300 log internal: info: installing packages to target
fetch https://distfiles.adelielinux.org/adelie/current/system/x86_64/APKINDEX.tar.gz
fetch https://distfiles.adelielinux.org/adelie/current/user/x86_64/APKINDEX.tar.gz
system 1.0-RC2-2442-g7b92f1e5c [https://distfiles.adelielinux.org/adelie/current/system]
user 1.0-RC2-2442-g7b92f1e5c [https://distfiles.adelielinux.org/adelie/current/user]
OK: 7494 distinct packages available
(1/39) Installing musl (1.2.3-r1)
(2/39) Installing dash (0.5.12-r0)
(3/39) Installing dash-binsh (0.5.12-r0)
(4/39) Installing libacl (2.3.1-r0)
(5/39) Installing libattr (2.5.1-r0)
(6/39) Installing coreutils (9.4-r0)
(7/39) Installing mawk (1.3.4.20230525-r0)
(8/39) Installing debianutils (4.11.2-r0)
(9/39) Installing libcrypto1.1 (1.1.1v-r0)
(10/39) Installing ca-certificates (20230727-r0)
(11/39) Installing libssl1.1 (1.1.1v-r0)
(12/39) Installing zlib (1.3-r0)
(13/39) Installing apk-tools (2.12.0-r0)
(14/39) Installing adelie-keys (1.0-r3)
(15/39) Installing scanelf (1.3.4-r0)
(16/39) Installing musl-utils (1.2.3-r1)
(17/39) Installing linux-pam (1.5.2-r0)
(18/39) Installing shadow (4.13-r0)
(19/39) Installing shimmy (0.7-r0)
(20/39) Installing grep (3.11-r0)
(21/39) Installing ncurses-terminfo-base (6.4-r0)
(22/39) Installing ncurses-terminfo (6.4-r0)
(23/39) Installing ncurses-libs (6.4-r0)
(24/39) Installing libproc (3.3.17-r0)
(25/39) Installing procps (3.3.17-r0)
(26/39) Installing diffutils (3.9-r1)
(27/39) Installing findutils (4.9.0-r0)
(28/39) Installing libcap-ng (0.8.3-r0)
(29/39) Installing libuuid (2.38.1-r1)
(30/39) Installing util-linux (2.38.1-r1)
(31/39) Installing mii-tool (2.10-r1)
(32/39) Installing net-tools (2.10-r1)
(33/39) Installing db (5.3.28-r2)
(34/39) Installing nvi (1.81.6-r1)
(35/39) Installing sed (4.9-r0)
(36/39) Installing psmisc (23.6-r0)
(37/39) Installing less (590-r0)
(38/39) Installing tzdata (2023c-r0)
(39/39) Installing adelie-core (0.9.6-r1)
Executing ca-certificates-20230727-r0.trigger
OK: 32 MiB in 39 packages
2023-11-17T23:58:40.582 step-end pkgdb
2023-11-17T23:58:40.582 step-start post-metadata
2023-11-17T23:58:40.582 log /root/image/configs/tarballs/mini.installfile:5: info: rootpw: setting root passphrase
2023-11-17T23:58:40.583 log internal:0: info: timezone: setting system timezone to UTC
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::directory_iterator::construct: No such file or directory [system:2]: "/tmp/horizon-image/target/etc/runlevels"
```https://git.adelielinux.org/adelie/packages/-/issues/1115user/plasma-desktop: org.kde.discover.desktop missing/broken icon2023-11-26T15:03:20ZZach van Rijnuser/plasma-desktop: org.kde.discover.desktop missing/broken iconThis missing/broken icon or application is one of the first things the user sees, in both the live media and installed system:
![Screenshot_vm1_2023-11-15_15_32_54](/uploads/1a2bd2435afa922cbb7b4e22d8f0f248/Screenshot_vm1_2023-11-15_15_...This missing/broken icon or application is one of the first things the user sees, in both the live media and installed system:
![Screenshot_vm1_2023-11-15_15_32_54](/uploads/1a2bd2435afa922cbb7b4e22d8f0f248/Screenshot_vm1_2023-11-15_15_32_54.png)
Example patch, which fixes the issue:
```diff
diff -ur a/applets/kickoff/package/contents/config/main.xml b/applets/kickoff/package/contents/config/main.xml
--- a/applets/kickoff/package/contents/config/main.xml 2023-11-15 21:20:43.009971174 +0000
+++ b/applets/kickoff/package/contents/config/main.xml 2023-11-15 21:21:54.360983461 +0000
@@ -11,7 +11,7 @@
</entry>
<entry name="favorites" type="StringList">
<label>List of general favorites. Supported values are menu id's (usually .desktop file names), special URLs that expand into default applications (e.g. preferred://browser), document URLs and KPeople contact URIs.</label>
- <default>preferred://browser,org.kde.kontact.desktop,systemsettings.desktop,org.kde.dolphin.desktop,ktp-contactlist.desktop,org.kde.discover.desktop</default>
+ <default>preferred://browser,org.kde.kontact.desktop,systemsettings.desktop,org.kde.dolphin.desktop,ktp-contactlist.desktop</default>
</entry>
<entry name="systemFavorites" type="StringList">
<label>List of system action favorites.</label>
@@ -27,7 +27,7 @@
</entry>
<entry name="systemApplications" type="StringList">
<label>List of applications at the top of the "Computer" tab.</label>
- <default>systemsettings.desktop,org.kde.kinfocenter.desktop,org.kde.discover.desktop</default>
+ <default>systemsettings.desktop,org.kde.kinfocenter.desktop</default>
</entry>
<entry name="favoritesDisplay" type="Int">
<label>How to display favorites: 0 = Grid, 1 = List</label>
diff -ur a/applets/taskmanager/package/contents/config/main.xml b/applets/taskmanager/package/contents/config/main.xml
--- a/applets/taskmanager/package/contents/config/main.xml 2023-11-15 21:20:43.021971008 +0000
+++ b/applets/taskmanager/package/contents/config/main.xml 2023-11-15 21:21:54.388983073 +0000
@@ -81,7 +81,7 @@
</entry>
<entry name="launchers" type="StringList">
<label>The list of launcher tasks on the widget. Usually .desktop file or executable URLs. Special URLs such as preferred://browser that expand to default applications are supported.</label>
- <default>applications:systemsettings.desktop,applications:org.kde.discover.desktop,preferred://filemanager,preferred://browser</default>
+ <default>applications:systemsettings.desktop,applications,preferred://filemanager,preferred://browser</default>
</entry>
<entry name="middleClickAction" type="Enum">
<label>What to do on middle-mouse click on a task button.</label>
```
![Screenshot_vm1_2023-11-15_15_26_43](/uploads/996b834e834ad37a87c0a5714733359b/Screenshot_vm1_2023-11-15_15_26_43.png)
Generated by:
```sh
grep -rl org\.kde\.discover\.desktop src | while read k; do
sed -i $k -e 's@[,:]org.kde.discover.desktop@@g';
done
```
Not sure if this is the correct solution.
See also:
* https://forum.endeavouros.com/t/kde-discover-seems-to-be-broken-am-i-right/30948https://git.adelielinux.org/adelie/horizon/-/issues/377possible data loss with dual-boot configurations2023-11-18T03:56:33ZZach van Rijnpossible data loss with dual-boot configurationsFrom `#adelie-support` on 2023-11-15:
```
14:41 < creatxr> lose a partition after installation
14:43 < creatxr> i use vm. in the vm i've a alpine linux installed at /dev/sda3. i manual selected /dev/sda2 to install adelie linux.
14:46 <...From `#adelie-support` on 2023-11-15:
```
14:41 < creatxr> lose a partition after installation
14:43 < creatxr> i use vm. in the vm i've a alpine linux installed at /dev/sda3. i manual selected /dev/sda2 to install adelie linux.
14:46 < creatxr> i use a live cd to start. with gparted, i found that /dev/sda3 lost its partition type (btrfs) after installation adelie linux.
14:47 < creatxr> adelie-live-xfce-x86_64-1.0-beta5-20231027.iso
15:11 < creatxr> or maybe, it writed grub2 core.img to the /dev/sda3 cause i set /dev/sda3 with flag grub_bios to boot alpine linux before. it means that the data is losed.
15:15 < creatxr> after reboot, adelie linux stopped at "starting local" for a long time and cannot boot until login window. ( my install only selected xfce package while installation. )
15:19 < creatxr> if i boot alpine live, it could list all the partition with "fdisk -l", but it losed /dev/sda3 with "blkid".
15:19 <&zv> I am sorry to hear this, thank you for reporting it
15:19 < creatxr> that's the detail.
...
15:29 <&zv> creatxr: how did you install alpine? default `sys` installation to disk?
15:30 <&zv> was /dev/sda2 swap?
15:32 < creatxr> setup-disk -m sys /mnt (that's /dev/sda3)
15:33 < creatxr> swap is a /dev/sda4
15:35 <&zv> and /dev/sda2 was free space?
15:35 < creatxr> the /dev/sda2 is prepare for try other os , is free space
15:36 < creatxr> the /dev/sda1 is efi, it's unuseful in vm
15:37 <&zv> ok. was this what you did? https://git.adelielinux.org/adelie/horizon/uploads/0e405720bfa8c1b2f545e7a179dd8682/Screenshot_2023-11-15_at_9.34.02_AM.png
15:37 < creatxr> sda1: efi, sda2: free space, sda3: alpine linux, sda4: swap
15:37 <&zv> or did the installer find the free space?
15:38 < creatxr> yes
15:38 <&zv> yes it found the free space, or yes you did what's in the screenshot?
15:39 < creatxr> only selected the sda2 without format
15:40 < creatxr> this issue maybe come with the step installing grub
15:41 <&zv> I quickly tried the following: fresh alpine installation, vda1=efi, vda2=swap, vda3=alpine. then I tried to install adelie into the swap, but it failed to install. I am trying again with an
actual free space partition
15:42 <&zv> did you installation succeed?
15:42 < creatxr> the issue that cannot boot maybe has relation with selecting package to install
15:42 < creatxr> yes, i can boot
15:43 < creatxr> i success boot alpine first (grub-install)
15:43 <&zv> and you selected the box 'install bootloader' ?
15:43 < creatxr> then install adelie
15:43 < creatxr> i think yes
15:44 < creatxr> after success boot alpine, then install adelie
15:45 < creatxr> to boot alpine, it needs set the partition with flag bios_grub with like gparted.
15:45 <&zv> are you following https://wiki.alpinelinux.org/wiki/Dualbooting ?
15:47 < creatxr> yes, almost. just to boot, the wiki is not completely. i means that it must have flag bios_grub.
15:47 < creatxr> if not, grub-install will get error
15:48 < creatxr> after set flag bios_grub for /dev/sda3 (alpine), the mount it to /mnt,
15:48 < creatxr> then grub-install --boot-directory=/mnt/boot /dev/sda
15:51 < creatxr> apk add grub grub-bios
...
16:14 <&zv> do you have more information you want to add to this?
16:18 < creatxr> the step select partition, is to select a existed used /dev/sda2 which has formated with btrfs. all the partitions is made by gparted before.
```
I tried (but failed) to reproduce a successful Adélie installation in two cases.
**Attempt 1**: default Alpine installation to disk, type `sys`, then Adélie on top of the swap partition (quick test).
![Screenshot_2023-11-15_at_9.28.12_AM](/uploads/548d9730352b436af83f3a741b2dee1a/Screenshot_2023-11-15_at_9.28.12_AM.png)
![Screenshot_2023-11-15_at_9.30.51_AM](/uploads/24b6b2f46df551a1bd2e0ca1147b771a/Screenshot_2023-11-15_at_9.30.51_AM.png)
![Screenshot_2023-11-15_at_9.34.02_AM](/uploads/0e405720bfa8c1b2f545e7a179dd8682/Screenshot_2023-11-15_at_9.34.02_AM.png)
Results in a failure to install Adelie because of failing to mount something?
**Attempt 2**: recreate partitions 1=efi 2=(free) 3=alpine 4=swap, which was done by `dd` zero into `/dev/vda2`, then deleting the partition, and is correctly detected as free space.
![Screenshot_2023-11-15_at_9.58.55_AM](/uploads/80a269609bd50448854d7e21b904ebd7/Screenshot_2023-11-15_at_9.58.55_AM.png)
![Screenshot_2023-11-15_at_9.59.08_AM](/uploads/c307c9cb94f10f2c44904ca7064ae340/Screenshot_2023-11-15_at_9.59.08_AM.png)
Results in a failure to install Adelie:
![Screenshot_2023-11-15_at_9.59.48_AM](/uploads/205c409b0cd064e888823d0f56e0e5bb/Screenshot_2023-11-15_at_9.59.48_AM.png)
Unfortunately I can't seem to "Save Script/Log" because of adelie/horizon#362.
Now we have this recipe to try:
```
16:31 < creatxr> the stepss are:
16:31 < creatxr> use a linux live cd to boot
16:31 < creatxr> make partitions with gparted (gpt)
16:31 < creatxr> /dev/sda1 efi
16:31 < creatxr> /dev/sda2 btrfs
16:31 < creatxr> /dev/sda3 btrfs
16:31 < creatxr> /dev/sda4 swap
16:31 < creatxr> and set /dev/sda3 with flag bios_grub with gparted
16:31 < creatxr> boot alpine linux cd
16:31 < creatxr> setup-alpine
16:31 < creatxr> apk add btrfs-progs grub grub-bios
16:31 < creatxr> modprobe btrfs
16:31 < creatxr> mount -t btrfs /dev/sda3 /mnt
16:31 < creatxr> setup-disk -m sys /mnt
16:31 < creatxr> grub-install --boot-directory=/mnt/boot /dev/sda
16:31 < creatxr> now reboot to check that it could boot alpine linux
16:31 < creatxr> boot adelie linux cd (xfce)
16:31 < creatxr> at the step of select partition to install, to select /dev/sda2
16:31 < creatxr> at the step of select packages, to select only xfce desktop
16:31 < creatxr> at the install bootloader select yes
16:31 < creatxr> issue 1: losed /dev/sda3 (alpine)
16:31 < creatxr> if boot alpine live, it could list all the partition with "fdisk -l", but it losed /dev/sda3 with "blkid".
16:31 < creatxr> with gparted, it shows "grub2 core.img" with the /dev/sda3
16:31 < creatxr> issue 2:
16:31 < creatxr> to boot installed adelie, it stops at "starting local ..." message
```
**TODO**:
1. Reproduce this and understand what is exactly happening, and if there is a real bug here or if this is "user error".
2. Document the correct way to set up a dual-boot configuration.https://git.adelielinux.org/adelie/packages/-/issues/1114user/udisks2(?): unprivileged mounting doesn't work any more2023-12-01T04:17:27ZZach van Rijnuser/udisks2(?): unprivileged mounting doesn't work any moreReported by @dimitsos. Confirmed on x86_64 LXQt (`20231027`) installed system.
Reproducer:
1. Boot into a desktop environment (LXQt was tested)
2. Insert a pre-formatted USB storage device
3. Confirm in `dmesg` that the disk was recogni...Reported by @dimitsos. Confirmed on x86_64 LXQt (`20231027`) installed system.
Reproducer:
1. Boot into a desktop environment (LXQt was tested)
2. Insert a pre-formatted USB storage device
3. Confirm in `dmesg` that the disk was recognized
4. The disk does not appear in the file explorerhttps://git.adelielinux.org/adelie/image/-/issues/406live media (at least 20231027) does not auto-mount USB storage media2023-11-15T04:31:39ZZach van Rijnlive media (at least 20231027) does not auto-mount USB storage mediaReported by @dimitsos. Confirmed on x86_64 LXQt (`20231027`) installed system.
Reproducer:
1. Boot into a desktop environment (LXQt was tested)
2. Insert a pre-formatted USB storage device
3. Confirm in `dmesg` that the disk was recogni...Reported by @dimitsos. Confirmed on x86_64 LXQt (`20231027`) installed system.
Reproducer:
1. Boot into a desktop environment (LXQt was tested)
2. Insert a pre-formatted USB storage device
3. Confirm in `dmesg` that the disk was recognized
4. The disk does not appear in the file explorerhttps://git.adelielinux.org/adelie/spack/-/issues/10openssl: requires explicit linux-headers2023-11-12T01:42:52ZZach van Rijnopenssl: requires explicit linux-headersWhile a patch exists in our packages repository, we may want to pull it into our Spack fork.While a patch exists in our packages repository, we may want to pull it into our Spack fork.https://git.adelielinux.org/adelie/packages/-/issues/1112system/ca-certificates: in some cases 'update-ca-certificates' needs to be ru...2023-11-25T04:41:06ZZach van Rijnsystem/ca-certificates: in some cases 'update-ca-certificates' needs to be run manuallyThis is reproducible on a fresh KDE `20231027` installed environment, possibly others, and has been seen on aarch64 and x86_64 so far.
Media creation log indicates no issues running the trigger, which happens natively on x86_64 without ...This is reproducible on a fresh KDE `20231027` installed environment, possibly others, and has been seen on aarch64 and x86_64 so far.
Media creation log indicates no issues running the trigger, which happens natively on x86_64 without any emulation.
![Screenshot_2023-11-11_at_6.48.19_PM](/uploads/6417bcd9ac65b09b8ebaf43021cc22ee/Screenshot_2023-11-11_at_6.48.19_PM.png)https://git.adelielinux.org/adelie/packages/-/issues/1111system/skalibs: upstream source tarball changed2023-11-11T23:12:23ZZach van Rijnsystem/skalibs: upstream source tarball changedCommit c58a79e86ef84cbd72ee86417b0cd2be70801be8 bumped `skalibs` and included a correct-at-the-time checksum.
```
# for k in old new; do ls -l *.${k}; sha512sum *.${k}; done
-rw-r--r-- 1 1000 abuild 235916 Nov 7 20:52 skalibs-2.14.0.0....Commit c58a79e86ef84cbd72ee86417b0cd2be70801be8 bumped `skalibs` and included a correct-at-the-time checksum.
```
# for k in old new; do ls -l *.${k}; sha512sum *.${k}; done
-rw-r--r-- 1 1000 abuild 235916 Nov 7 20:52 skalibs-2.14.0.0.tar.gz.old
45525cf0e573cba8100f7ccc9b6c95aa69509561c3726c95a17264f2d50410893e10ddb719d0e4481a76b7b8b6cbb42e95e68378a9f614e82fb568692a6adf66 skalibs-2.14.0.0.tar.gz.old
-rw-r--r-- 1 1000 abuild 235897 Nov 11 22:59 skalibs-2.14.0.0.tar.gz.new
8ee0a6b907e0c5f3a0537b3aeed7504519f8476908aa36fea87e3585470e1a5d2a839a32d70b72f01d743e9819c47de071c5afd151b610e4af775f721a408131 skalibs-2.14.0.0.tar.gz.new
```
It was repackaged with an update (`for k in old new; do mkdir ${k}; tar -C ${k} -xf *.${k}; done; diff -ur old new`):
```diff
--- old/skalibs-2.14.0.0/Makefile
+++ new/skalibs-2.14.0.0/Makefile
@@ -7,16 +7,14 @@
it: all
-ifeq ($(realpath config.mak),)
-$(error Missing config.mak; please use ./configure first)
-endif
-
make_need := 3.81
ifeq "" "$(strip $(filter $(make_need), $(firstword $(sort $(make_need) $(MAKE_VERSION)))))"
$(error Your make ($(MAKE_VERSION)) is too old. You need $(make_need) or newer)
endif
-include config.mak
+CC = $(error Please use ./configure first)
+
+-include config.mak
include package/deps.mak
version_m := $(basename $(version))
```
Corresponds to:
* https://git.skarnet.org/cgi-bin/cgit.cgi/skalibs/commit/?id=2ea36ebf726bb3a29ff8c6b12a6ff3df9020859fhttps://git.adelielinux.org/adelie/packages/-/issues/1109user/cryptsetup: (aarch64) FTTFS: FAIL: compat-test2023-11-11T15:50:47ZZach van Rijnuser/cryptsetup: (aarch64) FTTFS: FAIL: compat-testFound on SV328R (aarch64):
```
...
make[2]: Entering directory '/usr/src/packages/user/cryptsetup/src/cryptsetup-2.3.4/tests'
Cryptsetup test environment (Fri Nov 10 03:43:03 UTC 2023)
Linux aarch64 6.1.61-0-lts #1-Alpine SMP Wed, 08 No...Found on SV328R (aarch64):
```
...
make[2]: Entering directory '/usr/src/packages/user/cryptsetup/src/cryptsetup-2.3.4/tests'
Cryptsetup test environment (Fri Nov 10 03:43:03 UTC 2023)
Linux aarch64 6.1.61-0-lts #1-Alpine SMP Wed, 08 Nov 2023 14:28:11 +0000 aarch64 GNU/Linux
Adélie Linux 1.0 (Beta 5) (Adélie) 1.0-beta5
Memory
total used free shared buff/cache available
Mem: 125Gi 514Mi 105Gi 0.0Ki 19Gi 123Gi
Swap: 4.0Gi 0B 4.0Gi
../cryptsetup 2.3.4
../veritysetup 2.3.4
../integritysetup 2.3.4
../cryptsetup-reencrypt 2.3.4
SKIP: 00modules-test
You must be root to run this test.
SKIP: api-test
You must be root to run this test.
SKIP: api-test-2
CASE: Image in file tests (root capabilities not required)
[1] format
[2] open
[3] add key
[4] change key
[5] remove key
[6] kill slot
[7] header backup
FAILED backtrace:
262 ./compat-test
FAIL: compat-test
...
=======================
1 of 6 tests failed
(20 tests were not run)
=======================
make[2]: *** [Makefile:746: check-TESTS] Error 1
make[2]: Leaving directory '/usr/src/packages/user/cryptsetup/src/cryptsetup-2.3.4/tests'
make[1]: *** [Makefile:873: check-am] Error 2
make[1]: Leaving directory '/usr/src/packages/user/cryptsetup/src/cryptsetup-2.3.4/tests'
make: *** [Makefile:2314: check-recursive] Error 1
>>> ERROR: cryptsetup: check failed
```
This is either a regression based on recent package updates, OR something specific to this hardware or kernel.
Unfortunately the test suite doesn't provide more detailed logs.https://git.adelielinux.org/adelie/horizon/-/issues/373media has inconsistent file/directory permissions2023-11-17T20:01:21ZZach van Rijnmedia has inconsistent file/directory permissionsThe `/root` directory is too open to allow `sshd` to work by default, and potentially causes other issues. I was attempting to get SSH going on a ppc64 G5 without a monitor, and originally missed this detail.
```
adelie-live ~ # cat /va...The `/root` directory is too open to allow `sshd` to work by default, and potentially causes other issues. I was attempting to get SSH going on a ppc64 G5 without a monitor, and originally missed this detail.
```
adelie-live ~ # cat /var/log/auth.log
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Authentication refused: bad ownership or modes for directory /root
Connection closed by authenticating user root 192.168.10.100 port 50134 [preauth]
```
(Note that `auth.log` exists because I manually started `sshd -E /var/log/auth.log ...`). I don't think logging works by default in the live media either, but this is a separate issue.
![Screenshot_vm-ppc64_2023-11-08_15_14_40](/uploads/fe95d19e9bf6ef7040d38669a9752b03/Screenshot_vm-ppc64_2023-11-08_15_14_40.png)
As for where/how this should be fixed:
* `adelie/adelie-base`?
* `adelie/packages/system/adelie-base`?
* `adelie-infra/automedia`?
* `adelie/horizon`?
* `adelie/image`?Zach van RijnZach van Rijn