Adélie Linux issueshttps://git.adelielinux.org/groups/adelie/-/issues2023-11-15T04:31:39Zhttps://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/packages/-/issues/1113user/attica: FTTFS: required external network resource unavailable2023-11-14T18:53:43ZZach van Rijnuser/attica: FTTFS: required external network resource unavailableFound on x86_64 as of latest tree (7b92f1e5c97a566049b0c54856ac111392a7d708):
```
...
[100%] Built target projecttest
Test project /usr/src/packages/user/attica/src/attica-5.94.0
Start 1: configtest
1/3 Test #1: configtest ............Found on x86_64 as of latest tree (7b92f1e5c97a566049b0c54856ac111392a7d708):
```
...
[100%] Built target projecttest
Test project /usr/src/packages/user/attica/src/attica-5.94.0
Start 1: configtest
1/3 Test #1: configtest ....................... Passed 0.01 sec
Start 2: persontest
2/3 Test #2: persontest ....................... Passed 0.01 sec
Start 3: providertest
3/3 Test #3: providertest .....................***Failed 29.72 sec
********* Start testing of ProviderTest *********
Config: Using QtTest library 5.15.4, Qt 5.15.4 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 8.5.0), adelie 1.0-beta5
PASS : ProviderTest::initTestCase()
QDEBUG : ProviderTest::testFetchValidProvider() kf.attica: executing Get for QUrl("https://autoconfig.kde.org/ocs/providers.xml")
QDEBUG : ProviderTest::testFetchValidProvider() got provider "api.kde-look.org"
QDEBUG : ProviderTest::testFetchValidProvider() default providers loaded
QDEBUG : ProviderTest::testFetchValidProvider() kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/config")
QDEBUG : ProviderTest::testFetchValidProvider() "Config loaded - Server has version" "1.7"
PASS : ProviderTest::testFetchValidProvider()
QDEBUG : ProviderTest::testFetchInvalidProvider() kf.attica: executing Get for QUrl("https://invalid-url.org/ocs/providers.xml")
PASS : ProviderTest::testFetchInvalidProvider()
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: executing Get for QUrl("https://autoconfig.kde.org/ocs/providers.xml")
QDEBUG : ProviderTest::testSwitchSortOrder() got provider "api.kde-look.org"
QDEBUG : ProviderTest::testSwitchSortOrder() default providers loaded
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: creating list job: QUrl("https://api.kde-look.org/ocs/v1/content/data?categories&distribution&license&search&sortmode=high&page=0&pagesize=10")
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/data?categories&distribution&license&search&sortmode=high&page=0&pagesize=10")
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: received categories: 10
QDEBUG : ProviderTest::testSwitchSortOrder() "First list of items loaded, we have the following amount:" 10
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: creating list job: QUrl("https://api.kde-look.org/ocs/v1/content/data?categories&distribution&license&search&sortmode=down&page=0&pagesize=10")
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/data?categories&distribution&license&search&sortmode=down&page=0&pagesize=10")
FAIL! : ProviderTest::testSwitchSortOrder() Timeout fetching provider
Loc: [/usr/src/packages/user/attica/src/attica-5.94.0/autotests/providertest.cpp(181)]
PASS : ProviderTest::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 29709ms
********* Finished testing of ProviderTest *********
67% tests passed, 1 tests failed out of 3
Total Test time (real) = 29.74 sec
The following tests FAILED:
3 - providertest (Failed)
Errors while running CTest
>>> ERROR: attica: check failed
```
Tests passed on the second attempt at building this package.https://git.adelielinux.org/adelie/horizon/-/issues/376Auto partitioner miscounts partitions on APM-labeled disks2023-12-12T16:49:10ZA. WilcoxAuto partitioner miscounts partitions on APM-labeled disksDiskMan counts all partitions using libfdisk.
The Qt autopartition logic uses DiskMan's count to create new partitions on the disk when "use available space" is selected. However, libparted doesn't count any Apple_Free at the end of th...DiskMan counts all partitions using libfdisk.
The Qt autopartition logic uses DiskMan's count to create new partitions on the disk when "use available space" is selected. However, libparted doesn't count any Apple_Free at the end of the disk as a real partition. This causes installation to fail with a disk inconsistency error.0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/375Manipulate shadow files in code2023-11-14T06:02:20ZA. WilcoxManipulate shadow files in codeInstead of relying on running `useradd`/`usermod` under `chroot` - likely to fail if we are installing to a foreign architecture - we should be manipulating shadow files ourselves.Instead of relying on running `useradd`/`usermod` under `chroot` - likely to fail if we are installing to a foreign architecture - we should be manipulating shadow files ourselves.1.0-RELEASEA. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/374Use LVM2 library instead of shell commands2023-11-14T05:32:28ZA. WilcoxUse LVM2 library instead of shell commandsIt looks like the LVM2 library is now considered public API and can be used instead of relying on `run_command`. We need to figure out how to replace those calls with LVM2 API calls to reduce our reliance on running external commands.It looks like the LVM2 library is now considered public API and can be used instead of relying on `run_command`. We need to figure out how to replace those calls with LVM2 API calls to reduce our reliance on running external commands.1.0-RELEASEA. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/spack/-/issues/14libxcrypt: requires explicit linux-headers2023-11-12T01:45:57ZZach van Rijnlibxcrypt: requires explicit linux-headers```
==> Installing libxcrypt-4.4.35-ql5vgzq332zdt5mq327ijhkimgf2hsuj [33/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/a8/a8c935505b55f1df0d17f8bfd59468c7c6709a1d31831b0f8e3e045ab8fd455d.tar.xz
==> Applied p...```
==> Installing libxcrypt-4.4.35-ql5vgzq332zdt5mq327ijhkimgf2hsuj [33/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/a8/a8c935505b55f1df0d17f8bfd59468c7c6709a1d31831b0f8e3e045ab8fd455d.tar.xz
==> Applied patch /opt/spack/var/spack/repos/builtin/packages/libxcrypt/commit-95d56e0.patch
==> libxcrypt: Executing phase: 'autoreconf'
==> libxcrypt: Executing phase: 'configure'
==> libxcrypt: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j4' 'V=1'
3 errors found in build log:
238 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-sha256.lo -MD -MP -MF lib/.deps/libcrypt_la-alg-
sha256.Tpo -c lib/alg-sha256.c -o lib/libcrypt_la-alg-sha256.o >/dev/null 2>&1
239 mv -f lib/.deps/libcrypt_la-alg-sha1.Tpo lib/.deps/libcrypt_la-alg-sha1.Plo
240 /bin/sh ./libtool --tag=CC --mode=compile /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.
-I./lib -DIN_LIBCRYPT -Wall -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wc
ast-qual -Wconversion -Wformat=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -W
logical-op -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-
style-definition -Wpointer-arith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wun
def -Wvla -Wwrite-strings -Wpedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-yescrypt-opt.lo -MD
-MP -MF lib/.deps/libcrypt_la-alg-yescrypt-opt.Tpo -c -o lib/libcrypt_la-alg-yescrypt-opt.lo `tes
t -f 'lib/alg-yescrypt-opt.c' || echo './'`lib/alg-yescrypt-opt.c
241 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-sha512.lo -MD -MP -MF lib/.deps/libcrypt_la-alg-
sha512.Tpo -c lib/alg-sha512.c -o lib/libcrypt_la-alg-sha512.o >/dev/null 2>&1
242 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-yescrypt-opt.lo -MD -MP -MF lib/.deps/libcrypt_l
a-alg-yescrypt-opt.Tpo -c lib/alg-yescrypt-opt.c -fPIC -DPIC -o lib/.libs/libcrypt_la-alg-yescry
pt-opt.o
243 In file included from lib/alg-yescrypt-opt.c:101:
>> 244 lib/alg-yescrypt-platform.c:25:10: fatal error: linux/mman.h: No such file or directory
245 #include <linux/mman.h> /* for MAP_HUGE_2MB */
246 ^~~~~~~~~~~~~~
247 compilation terminated.
>> 248 make[1]: *** [Makefile:2011: lib/libcrypt_la-alg-yescrypt-opt.lo] Error 1
249 make[1]: *** Waiting for unfinished jobs....
250 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-yescrypt-common.lo -MD -MP -MF lib/.deps/libcryp
t_la-alg-yescrypt-common.Tpo -c lib/alg-yescrypt-common.c -o lib/libcrypt_la-alg-yescrypt-common.
o >/dev/null 2>&1
251 mv -f lib/.deps/libcrypt_la-alg-sha512.Tpo lib/.deps/libcrypt_la-alg-sha512.Plo
252 mv -f lib/.deps/libcrypt_la-alg-sha256.Tpo lib/.deps/libcrypt_la-alg-sha256.Plo
253 mv -f lib/.deps/libcrypt_la-alg-yescrypt-common.Tpo lib/.deps/libcrypt_la-alg-yescrypt-common.Plo
254 make[1]: Leaving directory '/tmp/user/spack-stage/spack-stage-libxcrypt-4.4.35-ql5vgzq332zdt5mq32
7ijhkimgf2hsuj/spack-src'
>> 255 make: *** [Makefile:1349: all] Error 2
See build log for details:
/tmp/user/spack-stage/spack-stage-libxcrypt-4.4.35-ql5vgzq332zdt5mq327ijhkimgf2hsuj/spack-build-out.txt
```https://git.adelielinux.org/adelie/spack/-/issues/13libbsd: requires explicit linux-headers2023-11-12T01:45:19ZZach van Rijnlibbsd: requires explicit linux-headers```
==> Installing libbsd-0.11.7-clbahtdt2ul677ecme5hdmah5gvybzn3 [23/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/9b/9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261.tar.xz
==> No patches n...```
==> Installing libbsd-0.11.7-clbahtdt2ul677ecme5hdmah5gvybzn3 [23/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/9b/9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261.tar.xz
==> No patches needed for libbsd
==> libbsd: Executing phase: 'autoreconf'
==> libbsd: Executing phase: 'configure'
==> libbsd: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j4' 'V=1'
4 errors found in build log:
490 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT wcslcpy.l
o -MD -MP -MF .deps/wcslcpy.Tpo -c wcslcpy.c -fPIC -DPIC -o .libs/wcslcpy.o
491 cc1: warning: command line option '-Wregister' is valid for C++/ObjC++ but not for C
492 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT getentrop
y.lo -MD -MP -MF .deps/getentropy.Tpo -c getentropy.c -fPIC -DPIC -o .libs/getentropy.o
493 cc1: warning: command line option '-Wregister' is valid for C++/ObjC++ but not for C
494 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT wcslcpy.l
o -MD -MP -MF .deps/wcslcpy.Tpo -c wcslcpy.c -o wcslcpy.o >/dev/null 2>&1
495 In file included from getentropy.c:28:
>> 496 getentropy_linux.c:53:10: fatal error: linux/types.h: No such file or directory
497 #include <linux/types.h>
498 ^~~~~~~~~~~~~~~
499 compilation terminated.
>> 500 make[2]: *** [Makefile:658: getentropy.lo] Error 1
501 make[2]: *** Waiting for unfinished jobs....
502 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT vis.lo -M
D -MP -MF .deps/vis.Tpo -c vis.c -o vis.o >/dev/null 2>&1
503 make[2]: Leaving directory '/tmp/user/spack-stage/spack-stage-libbsd-0.11.7-clbahtdt2ul677ecme5hd
mah5gvybzn3/spack-src/src'
>> 504 make[1]: *** [Makefile:413: all-recursive] Error 1
505 make[1]: Leaving directory '/tmp/user/spack-stage/spack-stage-libbsd-0.11.7-clbahtdt2ul677ecme5hd
mah5gvybzn3/spack-src'
>> 506 make: *** [Makefile:345: all] Error 2
See build log for details:
/tmp/user/spack-stage/spack-stage-libbsd-0.11.7-clbahtdt2ul677ecme5hdmah5gvybzn3/spack-build-out.txt
```https://git.adelielinux.org/adelie/spack/-/issues/12util-linux-uuid: requires explicit linux-headers2023-11-12T01:44:26ZZach van Rijnutil-linux-uuid: requires explicit linux-headers```
==> Installing util-linux-uuid-2.38.1-kwjvadbl6fp4wm64daadwravjoslo6a3 [20/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/08/0820eb8eea90408047e3715424bc6be771417047f683950fecb4bdd2e2cbbc6e.tar.gz
==> No ...```
==> Installing util-linux-uuid-2.38.1-kwjvadbl6fp4wm64daadwravjoslo6a3 [20/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/08/0820eb8eea90408047e3715424bc6be771417047f683950fecb4bdd2e2cbbc6e.tar.gz
==> No patches needed for util-linux-uuid
==> util-linux-uuid: Executing phase: 'autoreconf'
==> util-linux-uuid: Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 1:
'/tmp/user/spack-stage/spack-stage-util-linux-uuid-2.38.1-kwjvadbl6fp4wm64daadwravjoslo6a3/spack-src/configure' '--prefix=/home/user/.spack/linux-adelie1-aarch64/gcc-8.5.0/util-linux-uuid-2.38.1-kwjvadbl6fp4wm64daadwravjoslo6a3' '--disable-use-tty-group' '--disable-makeinstall-chown' '--without-systemd' '--disable-all-programs' '--without-python' '--enable-libuuid' '--disable-bash-completion'
1 error found in build log:
256 checking for security/pam_misc.h... no
257 checking whether BLK_ZONE_REP_CAPACITY is declared... no
258 checking for security/openpam.h... no
259 checking for langinfo.h... yes
260 checking whether langinfo.h defines ALTMON_x constants... no
261 checking whether langinfo.h defines _NL_ABALTMON_x constants... no
>> 262 configure: error: kernel headers required on Linux
See build log for details:
/tmp/user/spack-stage/spack-stage-util-linux-uuid-2.38.1-kwjvadbl6fp4wm64daadwravjoslo6a3/spack-build-out.txt
```https://git.adelielinux.org/adelie/spack/-/issues/11libffi: requires explicit linux-headers2023-11-12T01:42:59ZZach van Rijnlibffi: requires explicit linux-headers```
==> Installing libffi-3.4.4-fpvvpkeptghcv5nhzul2pitqvckratjz [19/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/d6/d66c56ad259a82cf2a9dfc408b32bf5da52371500b84745f7fb8b645712df676.tar.gz
==> No patches ne...```
==> Installing libffi-3.4.4-fpvvpkeptghcv5nhzul2pitqvckratjz [19/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/d6/d66c56ad259a82cf2a9dfc408b32bf5da52371500b84745f7fb8b645712df676.tar.gz
==> No patches needed for libffi
==> libffi: Executing phase: 'autoreconf'
==> libffi: Executing phase: 'configure'
==> libffi: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j4' 'V=1'
7 errors found in build log:
>> 4 ==> [2023-11-11-19:29:21.266297] PermissionError: [Errno 13] Permission denied: '/tmp/user/spack-
stage/spack-stage-libffi-3.4.4-fpvvpkeptghcv5nhzul2pitqvckratjz/spack-src/config.sub'
>> 5 ==> [2023-11-11-19:29:21.268700] PermissionError: [Errno 13] Permission denied: '/tmp/user/spack-
stage/spack-stage-libffi-3.4.4-fpvvpkeptghcv5nhzul2pitqvckratjz/spack-src/config.guess'
6 ==> [2023-11-11-19:29:21.269221] Find (not recursive): /home/user/.spack/linux-adelie1-aarch64/gc
c-8.5.0/gnuconfig-2022-09-17-wt4bwv435rxpqozfw52nczyqs6h6sdt7 ['config.sub', 'config.guess']
7 ==> [2023-11-11-19:29:21.269376] Find complete: /home/user/.spack/linux-adelie1-aarch64/gcc-8.5.0
/gnuconfig-2022-09-17-wt4bwv435rxpqozfw52nczyqs6h6sdt7 ['config.sub', 'config.guess']
8 ==> [2023-11-11-19:29:21.287015] Copying /home/user/.spack/linux-adelie1-aarch64/gcc-8.5.0/gnucon
fig-2022-09-17-wt4bwv435rxpqozfw52nczyqs6h6sdt7/config.sub to /tmp/user/spack-stage/spack-stage-l
ibffi-3.4.4-fpvvpkeptghcv5nhzul2pitqvckratjz/spack-src/config.sub
9 ==> [2023-11-11-19:29:21.287258] Copying /home/user/.spack/linux-adelie1-aarch64/gcc-8.5.0/gnucon
fig-2022-09-17-wt4bwv435rxpqozfw52nczyqs6h6sdt7/config.guess to /tmp/user/spack-stage/spack-stage
-libffi-3.4.4-fpvvpkeptghcv5nhzul2pitqvckratjz/spack-src/config.guess
10 ==> libffi: Executing phase: 'configure'
11 ==> [2023-11-11-19:29:21.292127] Find (recursive): /tmp/user/spack-stage/spack-stage-libffi-3.4.4
-fpvvpkeptghcv5nhzul2pitqvckratjz/spack-src ['configure']
...
259 /bin/sh ./libtool --tag=CC --mode=compile /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.
-I.. -I. -I../include -Iinclude -I../src -Wall -O3 -fomit-frame-pointer -fstrict-aliasing -f
fast-math -fexceptions -MT src/aarch64/ffi.lo -MD -MP -MF $depbase.Tpo -c -o src/aarch64/ffi.lo .
./src/aarch64/ffi.c &&\
260 mv -f $depbase.Tpo $depbase.Plo
261 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Ii
nclude -I../src -Wall -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -fexceptions -MT src
/tramp.lo -MD -MP -MF src/.deps/tramp.Tpo -c ../src/tramp.c -fPIC -DPIC -o src/.libs/tramp.o
262 depbase=`echo src/aarch64/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
263 /bin/sh ./libtool --tag=CC --mode=compile /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.
-I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -MT src/aarch64/
sysv.lo -MD -MP -MF $depbase.Tpo -c -o src/aarch64/sysv.lo ../src/aarch64/sysv.S &&\
264 mv -f $depbase.Tpo $depbase.Plo
>> 265 ../src/tramp.c:51:10: fatal error: linux/limits.h: No such file or directory
266 #include <linux/limits.h>
267 ^~~~~~~~~~~~~~~~
268 compilation terminated.
>> 269 make[3]: *** [Makefile:1320: src/tramp.lo] Error 1
270 make[3]: *** Waiting for unfinished jobs....
271 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Ii
nclude -I../src -Wall -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -fexceptions -MT src
/aarch64/ffi.lo -MD -MP -MF src/aarch64/.deps/ffi.Tpo -c ../src/aarch64/ffi.c -fPIC -DPIC -o src
/aarch64/.libs/ffi.o
272 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Ii
nclude -I../src -I. -I../include -Iinclude -I../src -MT src/aarch64/sysv.lo -MD -MP -MF src/aarch
64/.deps/sysv.Tpo -c ../src/aarch64/sysv.S -fPIC -DPIC -o src/aarch64/.libs/sysv.o
273 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Ii
nclude -I../src -I. -I../include -Iinclude -I../src -MT src/aarch64/sysv.lo -MD -MP -MF src/aarch
64/.deps/sysv.Tpo -c ../src/aarch64/sysv.S -o src/aarch64/sysv.o >/dev/null 2>&1
274 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Ii
nclude -I../src -Wall -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -fexceptions -MT src
/aarch64/ffi.lo -MD -MP -MF src/aarch64/.deps/ffi.Tpo -c ../src/aarch64/ffi.c -o src/aarch64/ffi.
o >/dev/null 2>&1
275 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Ii
nclude -I../src -Wall -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -fexceptions -MT src
/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c ../src/closures.c -o src/closures.o >/dev/null
2>&1
276 make[3]: Leaving directory '/tmp/user/spack-stage/spack-stage-libffi-3.4.4-fpvvpkeptghcv5nhzul2pi
tqvckratjz/spack-src/aarch64-unknown-linux-musl'
>> 277 make[2]: *** [Makefile:1397: all-recursive] Error 1
278 make[2]: Leaving directory '/tmp/user/spack-stage/spack-stage-libffi-3.4.4-fpvvpkeptghcv5nhzul2pi
tqvckratjz/spack-src/aarch64-unknown-linux-musl'
>> 279 make[1]: *** [Makefile:625: all] Error 2
280 make[1]: Leaving directory '/tmp/user/spack-stage/spack-stage-libffi-3.4.4-fpvvpkeptghcv5nhzul2pi
tqvckratjz/spack-src/aarch64-unknown-linux-musl'
>> 281 make: *** [Makefile:594: all-all] Error 2
See build log for details:
/tmp/user/spack-stage/spack-stage-libffi-3.4.4-fpvvpkeptghcv5nhzul2pitqvckratjz/spack-build-out.txt
```https://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/spack/-/issues/9[meta] implicit requirement for 'linux-headers'2023-11-12T01:45:20ZZach van Rijn[meta] implicit requirement for 'linux-headers'Spack assumes that `linux-headers` is always installed, but [does not list it](https://spack.readthedocs.io/en/latest/getting_started.html#system-prerequisites) as a dependency.
This is because they assume glibc is present, which depend...Spack assumes that `linux-headers` is always installed, but [does not list it](https://spack.readthedocs.io/en/latest/getting_started.html#system-prerequisites) as a dependency.
This is because they assume glibc is present, which depends on `linux-headers`:
![Screenshot_from_2023-11-11_19-37-54](/uploads/26f7372950150ba4c8833b9b05b606b3/Screenshot_from_2023-11-11_19-37-54.png)
This issue tracks all packages that require explicit `linux-headers`, with intent to upstream the changes. The "for-upstream" patchset should be tracked as a branch. @z will collect more information about how to best automatically try to build all packages in their world, which overlaps with some behind-the-scenes discussions we're having with Spack anyway.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/1110user/mesa: Unstable on 3rd generation Intel GMA2023-11-11T10:58:10Zdimitsosuser/mesa: Unstable on 3rd generation Intel GMAWhat says on the tin.
devices where it happens:
```
Samsung NC110
cpu: Intel Atom N455
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
```
```
Lenovo IdeaPad S100
...What says on the tin.
devices where it happens:
```
Samsung NC110
cpu: Intel Atom N455
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
```
```
Lenovo IdeaPad S100
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
cpu: Intel Atom N455
```
(these two devices share the same cpu model)
```
device where it does not happen:
Acer Aspire One D270 26-Ckk
cpu: Intel Atom N2600
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 0b)
```
So, it seems to be bound on specific cpus, and not all Atoms.https://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 Rijnhttps://git.adelielinux.org/adelie/packages/-/issues/1108user/spack: move distro-specific configuration to a sensible location2023-11-05T14:57:21ZZach van Rijnuser/spack: move distro-specific configuration to a sensible locationInstead of patching the default configuration, we can override it at `$SPACK_ROOT/etc/spack/config.yaml`.
This will make maintenance easier for us and for admins that wish to offer Spack to their users.
Consider adding symlinks for rea...Instead of patching the default configuration, we can override it at `$SPACK_ROOT/etc/spack/config.yaml`.
This will make maintenance easier for us and for admins that wish to offer Spack to their users.
Consider adding symlinks for read-only directories, like `/opt/spack/etc --> /etc` and so forth.https://git.adelielinux.org/adelie/packages/-/issues/1107system/util-linux: last: cannot open /var/log/wtmpd/wtmp: No such file or dir...2023-11-26T15:03:20ZZach van Rijnsystem/util-linux: last: cannot open /var/log/wtmpd/wtmp: No such file or directoryApparently #1047 was only partially fixed:
```
# sddm
awilcox on adelie-m1 ~ % last
awilcox pts/1 :0 Tue Oct 17 23:54 gone - no logout
awilcox pts/2 :0 Mon Oct 16 19:51 - 19:55 (00:03)
awi...Apparently #1047 was only partially fixed:
```
# sddm
awilcox on adelie-m1 ~ % last
awilcox pts/1 :0 Tue Oct 17 23:54 gone - no logout
awilcox pts/2 :0 Mon Oct 16 19:51 - 19:55 (00:03)
awilcox pts/2 :0 Sun Oct 15 23:11 - 23:11 (00:00)
reboot system boot adelie-m1 Tue Sep 5 18:42 - 00:33 (05:50)
awilcox pts/1 :0 Thu Aug 31 20:14 - 20:14 (00:00)
awilcox pts/1 :0 Mon May 8 22:31 - 20:14 (114+21:42)
awilcox pts/0 :0 Mon May 8 22:29 - down (114+21:45)
awilcox pts/0 :0 Wed Apr 5 03:36 - 03:44 (00:07)
reboot system boot adelie-m1 Sun Mar 26 21:37 - 20:14 (157+22:37)
awilcox pts/1 :0 Sun Mar 26 21:32 - 21:32 (00:00)
awilcox pts/0 :0 Fri Feb 17 06:29 - 23:17 (36+15:48)
awilcox pts/0 :0 Sun Jan 8 17:54 - 17:58 (00:03)
awilcox pts/0 :0 Sun Jan 8 17:54 - 17:54 (00:00)
reboot system boot adelie-m1 Sat Dec 17 03:19 - 20:14 (257+15:55)
awilcox pts/1 :0 Sat Dec 17 03:17 - 03:18 (00:00)
awilcox pts/1 :0 Wed Nov 23 02:57 - 02:58 (00:00)
awilcox pts/0 :0 Wed Nov 23 00:29 - 00:29 (00:00)
```
```
# ssh
adelie # last
last: cannot open /var/log/wtmpd/wtmp: No such file or directory
```https://git.adelielinux.org/adelie/packages/-/issues/1106user/spack: unprivileged users cannot install software by default2023-11-05T14:57:21ZZach van Rijnuser/spack: unprivileged users cannot install software by defaultThe default configuration tries to install to `/opt/spack`, but this directory is not writable by unprivileged users. The bootstrap process is not affected by this, as it happens in `$HOME/.spack/`.
The minimum viable change (to `defaul...The default configuration tries to install to `/opt/spack`, but this directory is not writable by unprivileged users. The bootstrap process is not affected by this, as it happens in `$HOME/.spack/`.
The minimum viable change (to `defaults/config.yaml`) is:
```yaml
config:
install_tree:
root: $HOME/.spack
```
We could put something like this in `/etc/skel/.spack/config.yaml`, and can use either more or fewer variables depending on what we actually want to override:
```yaml
config:
build_stage: $HOME/.spack/<optional>/build_stage
misc_cache: $HOME/.spack/<optional>/misc_cache
install_tree:
root: $HOME/.spack
source_cache: $HOME/.spack/cache
```
Alternatively, multiple paths can be added to the default config, and Spack will use the first to which it has write access:
```yaml
build_stage:
- $tempdir/$user/spack-stage
- ~/.spack/stage
```
Lots of decisions to be made, open for discussion. Another option is to `chmod 777 /opt/spack/opt` (created at runtime) to open this up with the default configuration; proper `/opt/spack/` would not be writable by unprivileged users.https://git.adelielinux.org/adelie/spack/-/issues/8clone: should use our upstream2023-11-03T15:56:12ZZach van Rijnclone: should use our upstreamRunning `spack clone` will default to the up-upstream, which does not have our patches:
```diff
diff --git a/lib/spack/spack/cmd/clone.py b/lib/spack/spack/cmd/clone.py
index ade3c2a739..65acdca4f9 100644
--- a/lib/spack/spack/cmd/clone...Running `spack clone` will default to the up-upstream, which does not have our patches:
```diff
diff --git a/lib/spack/spack/cmd/clone.py b/lib/spack/spack/cmd/clone.py
index ade3c2a739..65acdca4f9 100644
--- a/lib/spack/spack/cmd/clone.py
+++ b/lib/spack/spack/cmd/clone.py
@@ -12,7 +12,7 @@
import spack.util.git
from spack.util.executable import ProcessError
-_SPACK_UPSTREAM = "https://github.com/spack/spack"
+_SPACK_UPSTREAM = "https://git.adelielinux.org/adelie/spack.git"
description = "create a new installation of spack in another prefix"
section = "admin"
```