Parabola Issue Tracker: Issueshttps://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552023-03-08T23:19:21ZParabola Issue Tracker
Redmine Packages - Bug #3451 (fixed): community/bass lacking source codehttps://labs.parabola.nu/issues/34512023-03-08T23:19:21ZGNUtooGNUtoo@cyberdimension.org
<p>The <a href="https://downloads.sourceforge.net/scummvm/bass-cd-1.2.zip" class="external">source code zip</a> has the following files:<br /><pre>
bass-cd-1.2/sky.dnr
bass-cd-1.2/sky.dsk
bass-cd-1.2/readme.txt
bass-cd-1.2/sky.cpt
</pre></p>
<p>And the license is the following (from readme.txt):<br /><pre>
1) You may distribute this game for free on any medium, provided this readme
and all associated copyright notices and disclaimers are left intact.
2) You may charge a reasonable copying fee for this archive, and may distribute
it in aggregate as part of a larger & possibly commercial software distribution
(such as a Linux distribution or magazine coverdisk). You must provide proper
attribution and ensure this readme and all associated copyright notices, and
disclaimers are left intact.
3) You may not charge a fee for the game itself. This includes reselling the
game as an individual item.
4) You may modify the game as you wish. You may also distribute modified
versions under the terms set forth in this license, but with the additional
requirement that the work is marked with a prominent notice which states that
it is a modified version.
5) All game content is (C) Revolution Software Ltd. The ScummVM engine is (C)
The ScummVM Team (www.scummvm.org)
6) THE GAMEDATA IN THIS ARCHIVE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING AND NOT LIMITED TO ANY IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
</pre></p>
<p>The same readme.txt has:<br /><pre>
Some time ago, we (ScummVM) had the good fortune to come in contact with Tony
Warriner at Revolution Software Ltd. With their blessing and support, we then
obtained the original source code for Beneath a Steel Sky and added support for
it to our adventure game interpreter, ScummVM. And now, on the eve of ScummVM
0.5.0 (the first release featuring B.A.S.S support), Revolution Software Ltd.
has decided to release Sky to the public as freeware!
</pre></p>
<p>So that is probably OK FSDG wise as this data could be considered as non-functionnal and that we get permissions to redisrtibute it even commercially.</p>
<p>However AFAIK Parabola has a free culture requirement, so even if we have the right to modify it, we might lack the information to do that (the source code).</p>
<p>Though maybe some people have more information about the game format and all, so maybe I'm mistaken?</p> Packages - Bug #3386 (fixed): Blacklist hooks are brokenhttps://labs.parabola.nu/issues/33862022-12-09T15:47:40ZGNUtooGNUtoo@cyberdimension.org
<p>Hi,</p>
<p>When pushing a modification to the blacklist repository I have:<br /><pre>
remote: ==> Retrieving sources...
remote: -> Downloading your-freedom-blacklist-93594561c961cb641aed9e349926ac7b759f7fcf.txt...
remote: % Total % Received % Xferd Average Speed Time Time Time Current
remote: Dload Upload Total Spent Left Speed
remote: 100 78864 100 78864 0 0 1283k 0 --:--:-- --:--:-- --:--:-- 1305k
remote: ==> Generating checksums for source files...
remote: [master eb165180a] Update libre/your-freedom
remote: 1 file changed, 3 insertions(+), 3 deletions(-)
remote: pacman: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libcrypto.so.1.1)
remote: pacman: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libcurl.so.4)
remote: pacman: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libgpgme.so.11)
remote: pacman: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libzstd.so.1)
remote:
remote: ==> ERROR: An unknown error has occurred. Exiting...
remote: ./hooks/post-receive: line 2: 3688173 User defined signal 1 ~autobuilder/.local/bin/autobuild libre/your-freedom blacklist.txt
remote: HEAD is now at 4eef26124 libre: linux-libre-vanilla: update to 6.0.10
remote: -> Updating abslibre git repo...
remote: Fetching origin
remote: Already on 'master'
remote: Your branch is up to date with 'origin/master'.
remote: From git://git.parabola.nu/abslibre/abslibre
remote: * branch master -> FETCH_HEAD
remote: Already up to date.
remote: ==> No new changes were committed, nothing to do
remote: HEAD is now at 4eef26124 libre: linux-libre-vanilla: update to 6.0.10
remote: -> Updating abslibre git repo...
remote: Fetching origin
remote: Already on 'master'
remote: Your branch is up to date with 'origin/master'.
remote: From git://git.parabola.nu/abslibre/abslibre
remote: * branch master -> FETCH_HEAD
remote: Already up to date.
remote: ==> No new changes were committed, nothing to do
To ssh://git.parabola.nu:1863/~git/blacklist.git
f81bd06..9359456 HEAD -> master
</pre></p> Packages - Bug #2901 (fixed): beaglebone green: Ethernet not working anymore.https://labs.parabola.nu/issues/29012020-09-24T00:18:38ZGNUtooGNUtoo@cyberdimension.orgPackages - Bug #2317 (fixed): build issue on i686: cannot build libretoolshttps://labs.parabola.nu/issues/23172019-05-16T23:08:01ZGNUtooGNUtoo@cyberdimension.org
<pre>
$ makepkg
==> Making package: libretools 20181004-1 (ven. 17 mai 2019 01:06:15 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found libretools-20181004.tar.gz
-> Found libretools-20181004.tar.gz.sig
==> Validating source files with sha256sums...
libretools-20181004.tar.gz ... Passed
libretools-20181004.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
libretools-20181004.tar.gz ... Passed
==> Extracting sources...
-> Extracting libretools-20181004.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
cat src/abslibre-tools/createworkdir.pot src/abslibre-tools/diff-unfree.pot src/abslibre-tools/libreaddiff.pot src/abslibre-tools/libredbdiff.pot src/abslibre-tools/librerelease.pot src/abslibre-tools/librestage.pot | msguniq -Fi --to-code=UTF-8 > 'src/abslibre-tools/dir.pot'
m4 -Isrc/chroot-tools -P src/chroot-tools/chcleanup.in | sed -e 's|^#!\s*/bin/bash|#!/usr/bin/env bash|' -e 's|m4_include(lib/\(.*\))|. "$(librelib \1)"|' | install -m755 /dev/stdin src/chroot-tools/chcleanup
cd src/chroot-tools && /home/gnutoo/work/projects/parabola/abslibre/libre/libretools/src/libretools-20181004/src/lib/librexgettext makechrootpkg.sh > makechrootpkg.sh.pot
cat src/devtools/checkpkg.pot src/devtools/find-libdeps.pot src/devtools/finddeps.pot src/devtools/lddd.pot | msguniq -Fi --to-code=UTF-8 > 'src/devtools/dir.pot'
cat src/gitget/gitget.pot src/gitget/libregit.pot | msguniq -Fi --to-code=UTF-8 > 'src/gitget/dir.pot'
ronn --roff --manual='libretools Manual' --organization='Parabola' < 'src/lib/common.sh.3.ronn' > 'src/lib/common.sh.3'
ronn --roff --manual='libretools Manual' --organization='Parabola' < 'src/lib/conf.sh.3.ronn' > 'src/lib/conf.sh.3'
Traceback (most recent call last):
2: from /usr/bin/ronn:23:in `<main>'
1: from /usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem ronn (>= 0.a) with executable ronn (Gem::GemNotFoundException)
make[1]: *** [build-aux/Makefile.each.tail/20-libretools.mk:58: src/lib/common.sh.3] Error 1
make[1]: *** Deleting file 'src/lib/common.sh.3'
make[1]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
2: from /usr/bin/ronn:23:in `<main>'
1: from /usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem ronn (>= 0.a) with executable ronn (Gem::GemNotFoundException)
make[1]: *** [build-aux/Makefile.each.tail/20-libretools.mk:58: src/lib/conf.sh.3] Error 1
make[1]: *** Deleting file 'src/lib/conf.sh.3'
make: *** [GNUmakefile:13: default] Error 2
==> ERROR: A failure occurred in build().
Aborting...
</pre>
<p>If I try to run ronn I get:<br /><pre>
$ ronn
Traceback (most recent call last):
2: from /usr/bin/ronn:23:in `<main>'
1: from /usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem ronn (>= 0.a) with executable ronn (Gem::GemNotFoundException)
</pre></p>
<pre>
$ pacman -Q -o ronn
/usr/bin/ronn is owned by ruby-ronn 0.7.3-7.0
</pre> Packages - Bug #2285 (fixed): cannot build jitsi (no /etc/profile.d/apache-ant.sh)https://labs.parabola.nu/issues/22852019-04-14T19:50:18ZGNUtooGNUtoo@cyberdimension.org
<p>Hi,</p>
<p>When trying to build the jitsi package I get:<br /><pre>
| ==> Starting build()...
| /startdir/PKGBUILD: line 31: /etc/profile.d/apache-ant.sh: No such file or directory
</pre></p>
<p>/etc/profile.d/apache-ant.sh doesn't seem to be provided by any packages (extra/ant, pcr/apache-ant-contrib, etc).</p> Packages - Bug #2142 (fixed): cups-filters-1.21.6-1.par1-i686 not building with libremakepkghttps://labs.parabola.nu/issues/21422019-01-18T14:36:45ZGNUtooGNUtoo@cyberdimension.org
<pre>$ sudo libremakepkg -n parabola-i686</pre> (parabola-i686 is an i686 chroot)
<p>results in:<br /><pre>
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for library containing jpeg_destroy_decompress... -ljpeg
checking for LIBPNG... no
configure: error: in `/build/cups-filters/src/cups-filters-1.21.6':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables LIBPNG_CFLAGS
and LIBPNG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
</pre></p> Packages - Bug #2014 (fixed): [guix] update package to 0.15.0 to fix guix pull issueshttps://labs.parabola.nu/issues/20142018-09-26T15:30:52ZGNUtooGNUtoo@cyberdimension.org
<p>Hi,</p>
<p>I run guix pull yesterday, and now guix doens't work properly anymore:<br /><pre>
# guix package -s bash
Backtrace:
In ice-9/threads.scm:
390:8 19 (_ _)
In ice-9/boot-9.scm:
2726:13 18 (_)
In ice-9/threads.scm:
390:8 17 (_ _)
In ice-9/boot-9.scm:
2994:20 16 (_)
2312:4 15 (save-module-excursion _)
3014:26 14 (_)
In unknown file:
13 (primitive-load-path "guix/store" #<procedure 1248860 a…>)
In guix/store.scm:
20:0 12 (_)
In ice-9/boot-9.scm:
2874:4 11 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
2887:24 10 (_)
222:29 9 (map1 (((guix utils)) ((guix config)) ((guix #)) ((…)) …))
222:29 8 (map1 (((guix config)) ((guix memoization)) ((guix …)) …))
222:29 7 (map1 (((guix memoization)) ((guix serialization)) (#) …))
222:29 6 (map1 (((guix serialization)) ((guix monads)) ((# #)) …))
222:29 5 (map1 (((guix monads)) ((guix base16)) ((guix #)) (#) …))
222:29 4 (map1 (((guix base16)) ((guix base32)) ((gcrypt #)) # …))
222:29 3 (map1 (((guix base32)) ((gcrypt hash)) ((guix #)) (#) …))
222:17 2 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs #)) # …))
2803:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
ERROR: In procedure scm-error:
no code for module (gcrypt hash)
</pre></p>
<p>According to rekado on #guix on Freenode, the new version of guix now prevents this kind of issues. So it would be wise to update it.</p>
<p>I'll try to make an updated MAKEPKG</p> Packages - Bug #2011 (fixed): [community/pulseview] probably needs to be recompiledhttps://labs.parabola.nu/issues/20112018-09-25T21:26:40ZGNUtooGNUtoo@cyberdimension.org
<p>Hi, when I run pulseview I have that:<br /><pre>
$ pulseview
pulseview: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
</pre></p>
<p>While I have sigrok-cli compiled aside, pulseview is from parabola packages and doesn't use any /usr/local libraries:<br /><pre>
$ ldd /usr/bin/pulseview
linux-gate.so.1 (0xb7f0d000)
libboost_filesystem.so.1.67.0 => /usr/lib/libboost_filesystem.so.1.67.0 (0xb7cf7000)
libboost_serialization.so.1.67.0 => /usr/lib/libboost_serialization.so.1.67.0 (0xb7cb8000)
libboost_system.so.1.67.0 => /usr/lib/libboost_system.so.1.67.0 (0xb7cb1000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0xb7c90000)
libsigrokcxx.so.4 => /usr/lib/libsigrokcxx.so.4 (0xb7c45000)
libsigrok.so.4 => /usr/lib/libsigrok.so.4 (0xb7b5c000)
libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0xb7ade000)
libsigrokdecode.so.4 => /usr/lib/libsigrokdecode.so.4 (0xb7acb000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb799c000)
libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0xb727b000)
libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb6c92000)
libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0xb678e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6615000)
libm.so.6 => /usr/lib/libm.so.6 (0xb650d000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb64f0000)
libc.so.6 => /usr/lib/libc.so.6 (0xb630e000)
/lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xb7f0f000)
librt.so.1 => /usr/lib/librt.so.1 (0xb6303000)
libieee1284.so.3 => /usr/lib/libieee1284.so.3 (0xb62f5000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6292000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb628a000)
libserialport.so.0 => /usr/lib/libserialport.so.0 (0xb6277000)
libftdi1.so.2 => /usr/lib/libftdi1.so.2 (0xb6266000)
libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0xb6248000)
libzip.so.5 => /usr/lib/libzip.so.5 (0xb6226000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6220000)
libpython3.6m.so.1.0 => not found
libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb61a9000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb6145000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb6107000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb6046000)
libz.so.1 => /usr/lib/libz.so.1 (0xb602d000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0xb5f96000)
libicui18n.so.62 => /usr/lib/libicui18n.so.62 (0xb5cba000)
libicuuc.so.62 => /usr/lib/libicuuc.so.62 (0xb5af3000)
libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0xb5a79000)
libdouble-conversion.so.3.0.0 => /usr/lib/libdouble-conversion.so.3.0.0 (0xb5a60000)
libdl.so.2 => /usr/lib/libdl.so.2 (0xb5a5a000)
libffi.so.6 => /usr/lib/libffi.so.6 (0xb5a51000)
libudev.so.1 => /usr/lib/libudev.so.1 (0xb5a2f000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb5a1d000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0xb57bd000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0xb579a000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb564b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb5636000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0xb55d4000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5503000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0xb54db000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0xb54b0000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0xb5491000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0xb53b0000)
libicudata.so.62 => /usr/lib/libicudata.so.62 (0xb3a15000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb39ea000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb39c6000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb39c1000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb39ba000)
</pre></p> Packages - Bug #1950 (fixed): core/mkinitcpio-busybox 1.29.2-1.0 breaks booting at least on i686https://labs.parabola.nu/issues/19502018-08-14T21:10:39ZGNUtooGNUtoo@cyberdimension.org
<p>Symptoms: the kernel crashes because it cannot execute the init process</p>
<p>If we run mkinitcpio with the bad busybox we have something like that that appears:<br /><pre>
/usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/initcpio/busybox)
</pre></p>
<pre>
# mkinitcpio -p linux-libre-pae
==> Building image from preset: /etc/mkinitcpio.d/linux-libre-pae.preset: 'default'
-> -k /boot/vmlinuz-linux-libre-pae -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-pae.img
==> Starting build: 4.17.11-gnu-1-pae
-> Running build hook: [base]
/usr/lib/initcpio/busybox: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/initcpio/busybox)
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-libre-pae.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-libre-pae.preset: 'fallback'
-> -k /boot/vmlinuz-linux-libre-pae -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-pae-fallback.img -S autodetect
==> Starting build: 4.17.11-gnu-1-pae
-> Running build hook: [base]
/usr/lib/initcpio/busybox: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/initcpio/busybox)
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-libre-pae-fallback.img
==> Image generation successful
</pre>
<p>If I revert to busybox 1.28.4-1.0 the mkinitcpio went fine<br /><pre>
# pacman -U mkinitcpio-busybox-1.28.4-1.0-i686.pkg.tar.xz
loading packages...
warning: downgrading package mkinitcpio-busybox (1.29.2-1.0 => 1.28.4-1.0)
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
mkinitcpio-busybox 1.29.2-1.0 1.28.4-1.0 0.00 MiB
Total Installed Size: 0.44 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [################################################] 100%
(1/1) checking package integrity [################################################] 100%
(1/1) loading package files [################################################] 100%
(1/1) checking for file conflicts [################################################] 100%
(1/1) checking available disk space [################################################] 100%
:: Processing package changes...
(1/1) downgrading mkinitcpio-busybox [################################################] 100%
:: Running post-transaction hooks...
(1/5) Updating linux-libre-lts initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-libre-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-libre-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-lts.img
==> Starting build: 4.14.58-gnu-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-libre-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-libre-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-libre-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-lts-fallback.img -S autodetect
==> Starting build: 4.14.58-gnu-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-libre-lts-fallback.img
==> Image generation successful
[...]
</pre></p> Packages - Bug #1866 (fixed): [arm] [linux-libre] /sys/class/udc now empty on am335xhttps://labs.parabola.nu/issues/18662018-07-03T00:26:46ZGNUtooGNUtoo@cyberdimension.org
<p>Hi,</p>
<p>On a beagle bone green, after a somewhat recent kernel update, /sys/class/udc is now empty and it's not possible to use the USB device port anymore.</p>
<p>Before the kernel upgrade it was like that:<br /><pre>
# ls /sys/class/udc/musb-hdrc.0/device/driver
bind musb-hdrc.0 musb-hdrc.1 uevent unbind
</pre></p>
<p>The BeagleBone green uses an am335x SOC.</p>
<p>Denis.</p> Ports - Bug #1596 (fixed): [ARM] [systemd] Rebuild systemd: libcryptsetup.so.4: cannot open share...https://labs.parabola.nu/issues/15962017-12-26T02:09:49ZGNUtooGNUtoo@cyberdimension.org
<p>Hi, when upgrading systemd (from a systemd that is older than the one from <a class="issue tracker-1 status-2 priority-5 priority-high3 closed" title="Bug: [ARM]: pacman -Su systemd segfault => non-booting system (fixed)" href="https://labs.parabola.nu/issues/1553">#1553</a>) I get:<br /><pre>
(44/62) upgrading systemd [######################] 100%
systemd-sysusers: error while loading shared libraries: libcryptsetup.so.4: cannot open shared object file: No such file or directory
journalctl: error while loading shared libraries: libcryptsetup.so.4: cannot open shared object file: No such file or directory
systemctl: error while loading shared libraries: libcryptsetup.so.4: cannot open shared object file: No such file or directory
</pre></p>
<p>libcryptsetup is part of the cryptsetup package.</p>
<p>On ARM it is at version 2.0.0-1:<br /><pre>
core/cryptsetup 2.0.0-1 (base) [installed]
Userspace setup tool for transparent encryption of block devices using
dm-crypt
</pre></p>
<p>whereas on i686 it is at 1.7.5-2:<br /><pre>
# pacman -sS cryptsetup
core/cryptsetup 1.7.5-2 (base) [installed]
Userspace setup tool for transparent encryption of block devices using dm-crypt
</pre></p> Ports - Bug #1553 (fixed): [ARM]: pacman -Su systemd segfault => non-booting systemhttps://labs.parabola.nu/issues/15532017-11-30T11:17:03ZGNUtooGNUtoo@cyberdimension.org
<p>Hi,</p>
<p>I recently upgraded my machine and I got that:<br /><pre>
# pacman -Su
:: Starting full system upgrade...
[...]
(28/40) upgrading systemd [#####################################] 100%
/tmp/alpm_NHb9SO/.INSTALL: line 13: 14267 Segmentation fault (core dumped) systemd-sysusers
</pre></p>
<p>I did it trough SSH, and at this point the machine (a beaglebone green) hanged.<br />I don't know if systemd itself (pid 1) did segfault, but if it did this would have created a kernel panic.</p>
<p>I later looked what happened with a serial console and /sbin/init was gone.</p>
<p>Reparation attempt:<br />Since I had an initramfs, I could chroot in the rootfs like that:<br /><pre>
# chroot /new_root
</pre><br />If you don't have a chroot, you can skip that as you are already in in your rootfs.</p>
<p>Then I mounted the required directories:<br /><pre>
# mount -t proc none /proc
# mount -t sysfs none /sys
# mount -t devtmpfs none /dev
</pre></p>
<p>As pacman didn't work either because some libraries were missing, I had to repair it too.<br />But before applying the upgrade, pacman checked the signatures.<br />Here's an example of a missing library<br /><pre>
# pacman
pacman: error while loading shared libraries: /usr/lib/libnghttp2.so.14: file too short
</pre><br />So here I had to find to what package "/usr/lib/libnghttp2.so.14" corresponded.<br />This can be done in a working parabola with:<br /><pre>
$ pacman -Q -o /usr/lib/libnghttp2*
/usr/lib/libnghttp2.so is owned by libnghttp2 1.23.1-1
/usr/lib/libnghttp2.so.14 is owned by libnghttp2 1.23.1-1
/usr/lib/libnghttp2.so.14.13.3 is owned by libnghttp2 1.23.1-1
</pre><br />or by guessing the name either by looking in /var/cache/pacman/pkg/</p>
<p>Then I added back the libraries like that:<br /><pre>
# cd $(mktemp -d)
# cp /var/cache/pacman/pkg/libnghttp2-1.27.0-1-armv7h.pkg.tar.xz
# tar xf libnghttp2-1.27.0-1-armv7h.pkg.tar.xz
# cp usr/lib/* /usr/lib/
</pre></p>
<p>After doing that for each missing libraries, I then re-installed them properly like that:<br /><pre>
# pacman --force -U /var/cache/pacman/pkg/libnghttp2-1.27.0-1-armv7h.pkg.tar.xz
</pre></p>
<p>I then installed systemd again. For each package in:<br /><pre>
# ls /var/cache/pacman/pkg/*systemd*
</pre><br />I installed it with pacman -U</p>
<p>Then while installing it it segfaulted again:<br /><pre>
# pacman -U /var/cache/pacman/pkg/systemd-235.38-2.parabola1-arm
loading packages...
warning: systemd-235.38-2.parabola1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
systemd 235.38-2.parabola1 235.38-2.parabola1 0.00 MiB
Total Installed Size: 18.07 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) reinstalling systemd [######################] 100%
/tmp/alpm_hYnttY/.INSTALL: line 13: 2122 Segmentation fault systemd-sysusers
/tmp/alpm_hYnttY/.INSTALL: line 13: 2123 Segmentation fault journalctl --update-catalog
:: Running post-transaction hooks...
(1/5) Updating linux-libre initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux-libre.preset: 'default'
-> -k 4.13.11-gnu-1 -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre.img
==> Starting build: 4.13.11-gnu-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
find: 'sort' terminated by signal 13
modprobe: ERROR: missing parameters. See -h.
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating xz-compressed initcpio image: /boot/initramfs-linux-libre.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-libre.preset: 'fallback'
-> -k 4.13.11-gnu-1 -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-fallback.img -S autodetect
==> Starting build: 4.13.11-gnu-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating xz-compressed initcpio image: /boot/initramfs-linux-libre-fallback.img
==> Image generation successful
(2/5) Updating udev hardware database...
error: command terminated by signal 11: Segmentation fault
(3/5) Updating system user accounts...
/bin/sh: line 1: 3941 Segmentation fault /usr/bin/systemd-sysusers "$(basename "$f")"
/bin/sh: line 1: 3944 Segmentation fault /usr/bin/systemd-sysusers "$(basename "$f")"
/bin/sh: line 1: 3947 Segmentation fault /usr/bin/systemd-sysusers "$(basename "$f")"
error: command failed to execute correctly
(4/5) Creating temporary files...
/bin/sh: line 1: 3951 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3954 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3957 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3960 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3963 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3966 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3969 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3972 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3975 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
/bin/sh: line 1: 3978 Segmentation fault /usr/bin/systemd-tmpfiles --create "$(basename "$f")"
error: command failed to execute correctly
(5/5) Arming ConditionNeedsUpdate...
</pre></p>
<p>And then after rebooting:<br /><pre>
:: running cleanup hook [udev]
[ 17.732128] systemd[1]: System time before build time, advancing clock.
[ 17.796344] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 17.825391] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 17.825391]
[ 17.834595] CPU: 0 PID: 1 Comm: systemd Not tainted 4.13.11-gnu-1 #1
[ 17.840973] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 17.847132] [<c0111124>] (unwind_backtrace) from [<c010c420>] (show_stack+0x10/0x14)
[ 17.854921] [<c010c420>] (show_stack) from [<c0b81d74>] (dump_stack+0x8c/0xa0)
[ 17.862183] [<c0b81d74>] (dump_stack) from [<c01429dc>] (panic+0xf0/0x27c)
[ 17.869096] [<c01429dc>] (panic) from [<c01469e0>] (complete_and_exit+0x0/0x1c)
[ 17.876442] [<c01469e0>] (complete_and_exit) from [<dc051e64>] (0xdc051e64)
[ 17.883457] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 17.883457]
[ 29.498812] random: crng init done
[ 62.434769] BUG: workqueue lockup - pool cpus=0 flags=0x4 nice=0 stuck for 43s!
[ 62.442144] Showing busy workqueues and worker pools:
[ 62.447231] workqueue events: flags=0x0
[ 62.451093] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256
[ 62.457137] pending: vmstat_shepherd
[ 62.461111] workqueue events_power_efficient: flags=0x80
[ 62.466457] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=3/256
[ 62.472499] pending: neigh_periodic_work, do_cache_clean, neigh_periodic_work
[ 62.480063] workqueue mm_percpu_wq: flags=0x8
[ 62.484449] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256
[ 62.490490] pending: vmstat_update
[ 62.494276] workqueue pm: flags=0x4
[ 62.497789] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=3/256
[ 62.503829] pending: pm_runtime_work, pm_runtime_work, pm_runtime_work
[ 62.510777] workqueue writeback: flags=0x4e
[ 62.514989] pwq 2: cpus=0 flags=0x4 nice=0 active=1/256
[ 62.520417] pending: wb_workfn
</pre></p> Packages - Bug #1419 (fixed): [cryptsetup] race condition => doesn't find key, waits for rootfs, ...https://labs.parabola.nu/issues/14192017-07-18T17:07:03ZGNUtooGNUtoo@cyberdimension.org
<p>Before pacman -Syu everything was working.<br />After, at each boot, the initramfs drops me to a shell because it doesn't find the rootfs</p>
<p>Here's are my settings:<br /><pre>
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-linux-libre-nand root=/dev/mapper/internal-rootfs cryptdevice=/dev/disk/by-uuid/12345678-1234-1234-abcd-012345abcdef:internal-cleartext rw systemd.show_status=false loglevel=8 console=tty0 cryptkey=rootfs:/etc/keys/internal.key nopat
$ file /etc/crypttab
/etc/crypttab: empty
$ cat /etc/mkinitcpio.conf
MODULES="i915"
BINARIES="ext4magic extundelete"
FILES="/etc/keys/internal.key"
HOOKS="base udev autodetect modconf block encrypt lvm2 filesystems keyboard fsck"
COMPRESSION="gzip"
</pre></p>
<p>Workaround:<br />Add "set -x" inside /usr/lib/initcpio/hooks/encrypt, on the line following "#!/usr/bin/ash"</p> Packages - Bug #943 (fixed): [asterisk] linked to an old library and needs to be recompiled.https://labs.parabola.nu/issues/9432016-02-22T21:13:50ZGNUtooGNUtoo@cyberdimension.org
<ol>
<li>systemctl start asterisk</li>
</ol>
Asterisk is linked against libncursesw.so.5
<ol>
<li>journalctl -u asterisk<br />[...]<br />Feb 22 22:13:46 E350M1 systemd<sup><a href="#fn1">1</a></sup>: Started Asterisk PBX and telephony daemon.<br />Feb 22 22:13:46 E350M1 asterisk<sup><a href="#fn3428">3428</a></sup>: /usr/bin/asterisk: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory<br />Feb 22 22:13:46 E350M1 systemd<sup><a href="#fn1">1</a></sup>: asterisk.service: Main process exited, code=exited, status=127/n/a</li>
</ol>
But parabola has libncursesw.so.6.0:
<ol>
<li>pacman -Q -o /usr/lib/libncursesw*<br />/usr/lib/libncursesw.so is owned by ncurses 6.0-4<br />/usr/lib/libncursesw.so.6 is owned by ncurses 6.0-4<br />/usr/lib/libncursesw.so.6.0 is owned by ncurses 6.0-4</li>
</ol> Documentation - Bug #872 (fixed): Duplicated standalone installation instructions need to be mergedhttps://labs.parabola.nu/issues/8722015-11-22T18:06:11ZGNUtooGNUtoo@cyberdimension.org
<p>Move <a class="external" href="https://wiki.parabola.nu/User:Isacdaavid/Sandbox">https://wiki.parabola.nu/User:Isacdaavid/Sandbox</a> the the main namespace, like <a class="external" href="https://wiki.parabola.nu/Parabola_ARM_installation">https://wiki.parabola.nu/Parabola_ARM_installation</a></p>