Adélie Linux issueshttps://git.adelielinux.org/groups/adelie/-/issues2023-11-12T01:42:52Zhttps://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 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"
```https://git.adelielinux.org/adelie/spack/-/issues/7bootstrap: !(x86_64 || aarch64) UnknownPackageError: Package 'spack.pkg.built...2023-11-02T15:54:31ZZach van Rijnbootstrap: !(x86_64 || aarch64) UnknownPackageError: Package 'spack.pkg.builtin.zlib-api' not found.Found on S822L (ppc64):
```
...
==> Installing gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek [1/2]
==> No binary for gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek found: installing from source
==> Fetching https://mirror.spack.io/_source-...Found on S822L (ppc64):
```
...
==> Installing gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek [1/2]
==> No binary for gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> gmake: Successfully installed gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek
Stage: 0.17s. Install: 3.83s. Post-install: 0.04s. Total: 4.06s
[+] /usr/src/packages/user/spack/src/spack-adelie-v0.20.3_p1/tmp/bootstrap/store/linux-adelie1-ppc64/gcc-8.5.0/gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek
==> Installing patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6 [2/2]
==> No binary for patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/08/08c0237e89be74d61ddf8f6ff218439cdd62af572d568fb38913b53e222831de.tar.gz
==> No patches needed for patchelf
==> patchelf: Executing phase: 'autoreconf'
==> patchelf: Executing phase: 'configure'
==> patchelf: Executing phase: 'build'
==> patchelf: Executing phase: 'install'
==> patchelf: Successfully installed patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6
Stage: 0.11s. Autoreconf: 0.00s. Configure: 1.18s. Build: 0.09s. Install: 0.04s. Post-install: 0.05s. Total: 1.51s
[+] /usr/src/packages/user/spack/src/spack-adelie-v0.20.3_p1/tmp/bootstrap/store/linux-adelie1-ppc64/gcc-8.5.0/patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6
==> Error: cannot bootstrap the "clingo" Python module from spec "clingo-bootstrap@spack+python %gcc target=ppc64" due to the following failures:
spack-install raised UnknownPackageError: Package 'spack.pkg.builtin.zlib-api' not found.
You may need to run 'spack clean -m'.
Run `spack --debug ...` for more detailed errors
>>> ERROR: spack: check failed
```
Passes on x86_64 and aarch64.
See also:
* https://github.com/spack/spack/commit/e51748ee8f89e0d3db4e426e3d04157129a45622https://git.adelielinux.org/adelie/packages/-/issues/1105[meta] cannot change display resolution2023-12-06T23:55:02ZZach van Rijn[meta] cannot change display resolutionFound on x86_64 KDE (`20231027` but has existed earlier), no settings for display resolution:
![Screenshot_adelie_2023-11-01_08_35_14](/uploads/0ae5a83240f7dafe4634e4f61b33bdf1/Screenshot_adelie_2023-11-01_08_35_14.png)
Seems to only a...Found on x86_64 KDE (`20231027` but has existed earlier), no settings for display resolution:
![Screenshot_adelie_2023-11-01_08_35_14](/uploads/0ae5a83240f7dafe4634e4f61b33bdf1/Screenshot_adelie_2023-11-01_08_35_14.png)
Seems to only affect KDE.https://git.adelielinux.org/adelie/packages/-/issues/1104user/libebml: CVE-2021-3405: heap overflow bug in libebml before 1.4.22023-12-08T02:51:21ZLeigh Arberuser/libebml: CVE-2021-3405: heap overflow bug in libebml before 1.4.2CVE-2021-3405: In libebml before 1.4.2, a heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData.CVE-2021-3405: In libebml before 1.4.2, a heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData.https://git.adelielinux.org/adelie/packages/-/issues/1103[meta] system-wide branding2023-12-19T23:12:02ZZach van Rijn[meta] system-wide brandingThis meta-issue tracks system-wide branding tasks. Scope includes:
1. Replace old Tux logo with new Polyguin logo (custom sizes/formats/coloring are added [here](https://git.adelielinux.org/adelie/site-ng/-/blob/master/assets/images/pol...This meta-issue tracks system-wide branding tasks. Scope includes:
1. Replace old Tux logo with new Polyguin logo (custom sizes/formats/coloring are added [here](https://git.adelielinux.org/adelie/site-ng/-/blob/master/assets/images/polyguin.sh), available for download [here](https://www.adelielinux.org/assets/images/)) where applicable
2. Replace old red (`#800000` or similar) color with dark gray from website theme (`#131517`) where applicable
3. Identify other branding/color needs, make adjustments, and test that there are no conflicts/issues due to poor color contrast with other components or elements
This list is not exhaustive, and is intended to be updated as we discover changes to be made:
- [x] boot-time logos, splash screens, etc.
- [x] [kernel](https://cgit.adelielinux.org/packages/tree/system/easy-kernel/1000-version.patch)
- [x] desktop environments
- [x] KDE
- [x] LXQt
- [x] MATE
- [x] Xfce
- [x] horizon installer
- [x] https://git.adelielinux.org/adelie/horizon/-/blob/current/ui/qt5/resources/intro-high.png
- [x] https://git.adelielinux.org/adelie/horizon/-/blob/current/ui/qt5/resources/intro-low.png
- [x] external software
- [x] neofetch (https://github.com/dylanaraps/neofetch/issues/1930)https://git.adelielinux.org/adelie/packages/-/issues/1102system/mandoc: off-by-one2023-11-01T02:56:37ZZach van Rijnsystem/mandoc: off-by-oneFound on an installed x86_64 KDE environment from snapshot `20231027`:
![Screenshot_adelie_2023-10-30_08_11_20](/uploads/4b6cd01134ccbfdf6bcb7d2b91b94023/Screenshot_adelie_2023-10-30_08_11_20.png)Found on an installed x86_64 KDE environment from snapshot `20231027`:
![Screenshot_adelie_2023-10-30_08_11_20](/uploads/4b6cd01134ccbfdf6bcb7d2b91b94023/Screenshot_adelie_2023-10-30_08_11_20.png)https://git.adelielinux.org/adelie/packages/-/issues/1100Power management doesn't work in user sessions in new installs2023-12-08T02:51:21ZA. WilcoxPower management doesn't work in user sessions in new installsI see this on the live environment on every arch/DE combo I've tested, and also in an installed LXQt environment in VMware Fusion/arm64. However, I do *not* see this on gwyn, which started as an rc2 system and was upgraded to current.
...I see this on the live environment on every arch/DE combo I've tested, and also in an installed LXQt environment in VMware Fusion/arm64. However, I do *not* see this on gwyn, which started as an rc2 system and was upgraded to current.
Power management does not work from logged-in sessions. `loginctl reboot` does nothing, the KDE/LXQt/MATE buttons to restart or power off do nothing, I can't even trigger DPMS sleep from closing a laptop lid. All of these work on RC2 media so I'm not sure what has changed.A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/372Xauthority breaks live sessions when executor changes hostname2023-11-15T22:48:46ZA. WilcoxXauthority breaks live sessions when executor changes hostnameWhen installing in a live environment, X11 applications can no longer be launched after the script executor sets the hostname to something other than 'adelie-live'.
This is because .Xauthority only allows connections from 'adelie-live',...When installing in a live environment, X11 applications can no longer be launched after the script executor sets the hostname to something other than 'adelie-live'.
This is because .Xauthority only allows connections from 'adelie-live', even over Unix socket (:0).0.9.9https://git.adelielinux.org/adelie/packages/-/issues/1098system/ca-certificates: out of date2023-11-12T00:48:35ZZach van Rijnsystem/ca-certificates: out of dateFound on `20231025` media. Cannot update or install anything.
![VirtualBox_test2_25_10_2023_15_11_37](/uploads/dafa2b1eb5547480d26cbc2a18c07bb2/VirtualBox_test2_25_10_2023_15_11_37.png)
Confirmed by replacing `/usr/share/ca-certificate...Found on `20231025` media. Cannot update or install anything.
![VirtualBox_test2_25_10_2023_15_11_37](/uploads/dafa2b1eb5547480d26cbc2a18c07bb2/VirtualBox_test2_25_10_2023_15_11_37.png)
Confirmed by replacing `/usr/share/ca-certificates/mozilla/` from Alpine and running `update-ca-certificates --fresh`.
I would like to document:
1. How are we creating the .tar.gz "source" as in c2239f60fc70896b4200a3e198b67248081a0697?
2. Can we write a tool to check for any of these being out of date?https://git.adelielinux.org/adelie/packages/-/issues/1097system/adelie-base: dependencies could use some work2023-12-01T02:58:00ZA. Wilcoxsystem/adelie-base: dependencies could use some work* `sed` is already part of `adelie-core`, we don't need it twice (just to be sure).
* What is `debianutils` for? `add-shell` is pulled in by zsh and bash packaging already.
* What is `sharutils` for? The uu stuff should be part of POSI...* `sed` is already part of `adelie-core`, we don't need it twice (just to be sure).
* What is `debianutils` for? `add-shell` is pulled in by zsh and bash packaging already.
* What is `sharutils` for? The uu stuff should be part of POSIX, not base.https://git.adelielinux.org/adelie/packages/-/issues/1095user/faad2: (pmmx) FTBFS: /usr/include/math.h:280:13: error: conflicting type...2023-10-25T01:37:06ZZach van Rijnuser/faad2: (pmmx) FTBFS: /usr/include/math.h:280:13: error: conflicting types for ‘lrintf’Found on pmmx only, as of cb27b0550d7accf80d339023979859aee676f4b0; all other targets are OK:
```
...
-- Build files have been written to: /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build
make: Entering directory '/usr/sr...Found on pmmx only, as of cb27b0550d7accf80d339023979859aee676f4b0; all other targets are OK:
```
...
-- Build files have been written to: /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build
make: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[1]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
[ 0%] Building C object CMakeFiles/faad.dir/libfaad/bits.c.o
[ 0%] Building C object CMakeFiles/faad_drm.dir/libfaad/bits.c.o
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:372,
from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/include/math.h:280:13: error: conflicting types for ‘lrintf’
long lrintf(float);
^~~~~~
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:337:23: note: previous definition of ‘lrintf’ was here
static INLINE int lrintf(float f)
^~~~~~
make[2]: *** [CMakeFiles/faad.dir/build.make:76: CMakeFiles/faad.dir/libfaad/bits.c.o] Error 1
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[1]: *** [CMakeFiles/Makefile2:91: CMakeFiles/faad.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:372,
from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/include/math.h:280:13: error: conflicting types for ‘lrintf’
long lrintf(float);
^~~~~~
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:337:23: note: previous definition of ‘lrintf’ was here
static INLINE int lrintf(float f)
^~~~~~
make[2]: *** [CMakeFiles/faad_drm.dir/build.make:76: CMakeFiles/faad_drm.dir/libfaad/bits.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 1%] Building C object CMakeFiles/faad_drm.dir/libfaad/cfft.c.o
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:372,
from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/cfft.c:40:
/usr/include/math.h:280:13: error: conflicting types for ‘lrintf’
long lrintf(float);
^~~~~~
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/cfft.c:40:
/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:337:23: note: previous definition of ‘lrintf’ was here
static INLINE int lrintf(float f)
^~~~~~
make[2]: *** [CMakeFiles/faad_drm.dir/build.make:90: CMakeFiles/faad_drm.dir/libfaad/cfft.c.o] Error 1
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/faad_drm.dir/all] Error 2
make[1]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
>>> ERROR: faad2: build failed
```
See also:
* https://sourceforge.net/p/faac/bugs/242/
* https://github.com/knik0/faad2/commit/920ec985a74c6f88fe507181df07a0cd7e51d519
It looks like the patch was not ported the the CMake build system?https://git.adelielinux.org/adelie/packages/-/issues/1094system/easy-kernel: pmmx: missing config options2023-10-25T06:32:14ZZach van Rijnsystem/easy-kernel: pmmx: missing config optionsFound on pmmx as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
* ...Found on pmmx as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
*
*
* Mitigations for speculative execution vulnerabilities
*
Mitigations for speculative execution vulnerabilities (SPECULATION_MITIGATIONS) [Y/n/?] y
Avoid speculative indirect branches in kernel (RETPOLINE) [Y/n/?] y
Enable return-thunks (RETHUNK) [N/y/?] (NEW)
Force GDS Mitigation (GDS_FORCE_MITIGATION) [N/y/?] n
*
* General architecture-dependent options
*
Kprobes (KPROBES) [Y/n/?] y
Optimize very unlikely/likely branches (JUMP_LABEL) [Y/n/?] y
Static key selftest (STATIC_KEYS_SELFTEST) [N/y/?] n
Static call selftest (STATIC_CALL_SELFTEST) [N/y/?] n
Enable seccomp to safely execute untrusted bytecode (SECCOMP) [Y/n/?] y
Show seccomp filter cache status in /proc/pid/seccomp_cache (SECCOMP_CACHE_DEBUG) [N/y/?] n
Stack Protector buffer overflow detection (STACKPROTECTOR) [Y/n/?] (NEW)
Strong Stack Protector (STACKPROTECTOR_STRONG) [Y/n/?] (NEW)
Link Time Optimization (LTO)
> 1. None (LTO_NONE)
choice[1]: 1
Number of bits to use for ASLR of mmap base address (ARCH_MMAP_RND_BITS) [8] 8
Provide system calls for 32-bit time_t (COMPAT_32BIT_TIME) [Y/n/?] y
Randomize kernel stack offset on syscall entry (RANDOMIZE_KSTACK_OFFSET_DEFAULT) [N/y/?] n
Locking event counts collection (LOCK_EVENT_COUNTS) [N/y/?] n
```