Project

General

Profile

Bug #3386

Blacklist hooks are broken

GNUtoo - over 1 year ago - . Updated over 1 year ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

0%


Description

Hi,

When pushing a modification to the blacklist repository I have:

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


Related issues

Related to Packages - Freedom Issue #3289: [obsidian] Non free softwarefixed

Actions
Related to Servers - Bug #3038: autobuilder chroot cannot initialize libalpmconfirmed

Actions
Related to Packages - Freedom Issue #3239: [python-cuda][python-cuda-docs] Nonfreefixed

Actions

History

#1

Updated by GNUtoo over 1 year ago

  • Status changed from unconfirmed to confirmed

I've looked a bit: there is a git hook in the blacklist repository that ends up calling an autobuilder.sh script that is run by the autobuilder account.

That script uses libremakepkg, so it uses a librechroot for that (in /var/lib/archbuild/autobuilder) and that librechroot is broken.

So I've logged on as the autobuilder user (with sudo) and after moving the old autobuilder chroot directory, I'm now recreating that librechroot with sudo librechroot -n autobuilder make.

#2

Updated by GNUtoo over 1 year ago

  • Assignee set to GNUtoo
#3

Updated by GNUtoo over 1 year ago

When recreating the chroot, it fails for other reasons:

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 2 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 1.06 KiB | 1.06 MiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
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: /usr/share/makepkg/util/pkgbuild.sh: line 92: your-freedom-blacklist-fc418f69715d79600b405a86eb19382ddfdf11c6.txt: No such file or directory
remote: ==> Retrieving sources...
remote:   -> Downloading your-freedom-blacklist-fc418f69715d79600b405a86eb19382ddfdf11c6.txt...
remote:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
remote:                                  Dload  Upload   Total   Spent    Left  Speed
remote: 100 78999  100 78999    0     0  1428k      0 --:--:-- --:--:-- --:--:-- 1402k
remote: ==> Generating checksums for source files...
remote: [master 51624148d] Update libre/your-freedom
remote:  1 file changed, 3 insertions(+), 3 deletions(-)
remote: error: failed to initialize alpm library:
remote: (root: /, dbpath: /var/lib/pacman/)
remote: could not find or read directory
remote: 
remote: ==> ERROR: An unknown error has occurred. Exiting...
remote: ./hooks/post-receive: line 2: 3145079 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
   f832cfd..fc418f6  HEAD -> master

According to bill-auger this hook / automatic builds have been broken for more than one year,and the current workaround is to wait for bill-auger to rebuild the your-freedom packages manually.

#4

Updated by bill-auger over 1 year ago

#5

Updated by bill-auger over 1 year ago

there may be a broken/buggy bit of tooling - i have investigated something similar in the past (dont remember off-hand)

ok IIRC now, i hacked the importer to use the system 'your-freedom' package for the blacklist, instead of the git source; but i had not upgraded the package on the repo server yet

#6

Updated by bill-auger over 1 year ago

  • Assignee changed from GNUtoo to bill-auger
#7

Updated by bill-auger over 1 year ago

  • Status changed from confirmed to in progress

other than that clog (which is fixed now), this ticket is identical to #3038 - i will close this one and defer to issue #3038

#8

Updated by bill-auger over 1 year ago

  • Related to Bug #3038: autobuilder chroot cannot initialize libalpm added
#9

Updated by bill-auger over 1 year ago

#10

Updated by bill-auger over 1 year ago

  • Status changed from in progress to fixed

Also available in: Atom PDF