Skip to content

Skip deb package signing on PR builds; use rm -f for man-db auto-update removal#845

Merged
JonathanLennox merged 4 commits into
masterfrom
fix-pr-builds
May 11, 2026
Merged

Skip deb package signing on PR builds; use rm -f for man-db auto-update removal#845
JonathanLennox merged 4 commits into
masterfrom
fix-pr-builds

Conversation

@JonathanLennox
Copy link
Copy Markdown
Member

This is the same as #844, but not off a forked repo.

Secrets (GPG_KEY, GPG_PW) aren't available on PRs from forks, causing the GPG import step to fail with "no valid OpenPGP data found". Guard the import on master only and skip debsign when no GPG ID is provided so PRs still validate the deb build.

The man-db auto-update file no longer exists on current GitHub runner images, so the unconditional rm fails the build. Use -f so the step is idempotent across runner image versions.

…te removal

Secrets (GPG_KEY, GPG_PW) aren't available on PRs from forks,
causing the GPG import step to fail with "no valid OpenPGP data
found". Guard the import on master only and skip debsign when
no GPG ID is provided so PRs still validate the deb build.

The man-db auto-update file no longer exists on current GitHub runner
images, so the unconditional rm fails the build. Use -f so the step is
idempotent across runner image versions.
@JonathanLennox
Copy link
Copy Markdown
Member Author

@ibauersachs All the non-amd64 builds are failing with

Err:2 https://nexus.ingo.ch/jitsi-desktop-unstable bookworm/ InRelease
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 129.146.80.38 443]

Has some cert expired on your private repo?

@JonathanLennox
Copy link
Copy Markdown
Member Author

JonathanLennox commented May 8, 2026

@ibauersachs

Has some cert expired on your private repo?

Actually there's an earlier error like

Failed to execute solver 'sbuild-cross-resolver'!
Execute external solver...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 aptitude : Depends: aptitude-common (= 0.8.13-5) but it is not going to be installed
            Depends: libboost-iostreams1.74.0 (>= 1.74.0) but it is not going to be installed
            Depends: libcwidget4 (>= 0.5.18-1) but it is not going to be installed
            Depends: libsigc++-2.0-0v5 (>= 2.8.0) but it is not going to be installed
            Depends: libxapian30 (>= 1.4.19~) but it is not going to be installed
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Sub-process sbuild-cross-resolver returned an error code (100)
apt-get failed.
W: Could not install aptitude!

so I'm wondering if maybe your repo has dependencies on old versions or something?

@ibauersachs
Copy link
Copy Markdown
Member

@ibauersachs All the non-amd64 builds are failing with

Err:2 https://nexus.ingo.ch/jitsi-desktop-unstable bookworm/ InRelease
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 129.146.80.38 443]

Has some cert expired on your private repo?

Uh, no? It's Let's Encrypt cert and seems valid in browers. I would assume that the ca-certificates package is missing or outdated on the runners / docker images and thus fails to chain to the current ca root.

@ibauersachs
Copy link
Copy Markdown
Member

@ibauersachs

Has some cert expired on your private repo?

Actually there's an earlier error like

Failed to execute solver 'sbuild-cross-resolver'!
Execute external solver...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 aptitude : Depends: aptitude-common (= 0.8.13-5) but it is not going to be installed
            Depends: libboost-iostreams1.74.0 (>= 1.74.0) but it is not going to be installed
            Depends: libcwidget4 (>= 0.5.18-1) but it is not going to be installed
            Depends: libsigc++-2.0-0v5 (>= 2.8.0) but it is not going to be installed
            Depends: libxapian30 (>= 1.4.19~) but it is not going to be installed
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Sub-process sbuild-cross-resolver returned an error code (100)
apt-get failed.
W: Could not install aptitude!

so I'm wondering if maybe your repo has dependencies on old versions or something?

The only packages that should be in my repo are libjitsi and libjitsi-lgpl-dependencies.

This looks more like an apt failure with a complicated dependency chain. I saw these before. I would suggest to simply disable the .deb builds for Jitsi Desktop. I cannot imagine that they still work anywhere with all the breaking changes in newer ffmpeg versions.

damencho added 2 commits May 9, 2026 10:37
The sbuild chroot is created from a minimal debootstrap base, which
does not include ca-certificates. apt inside the chroot therefore has
no trust store and cannot verify the Let's Encrypt cert on
nexus.ingo.ch when fetching the jitsi-desktop-unstable repo, failing
with "No system certificates available".

Bake ca-certificates into the chroot via mk-sbuild
--debootstrap-include, and bump the chroot cache key so existing
CA-less chroots are not reused.
The jitsi-desktop-unstable apt repo at nexus.ingo.ch is missing
noble/plucky dists, and cross-arch sbuild runs fail to resolve
aptitude's deps. Skip the whole deb matrix until both are sorted;
the dependent release job will skip automatically.
@JonathanLennox JonathanLennox merged commit 51b5c33 into master May 11, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants