Skip to content

OBS: The .asc files from the freetype sources are missing from the internal OBS "published" repositories

Affected component

OBS

Steps to reproduce

$ osc ls --binaries --repo=default --arch=x86_64 apertis:v2023:target/freetype | grep asc$
freetype_2.10.4+dfsg.orig-ft2demos.tar.xz.asc
freetype_2.10.4+dfsg.orig-ft2docs.tar.xz.asc

On the OBS server (carrot):

sjoerdR@carrot:/srv/build.collabora.com/backend-storage/repos/apertis:$ find | grep asc | grep freetype
./v2022dev0:/target/default/freetype_2.9.1.orig.tar.gz.asc
./v2021:/target/default/freetype_2.9.1.orig.tar.gz.asc
./v2020:/target/default/freetype_2.9.1.orig.tar.gz.asc
./v2021pre:/target/default/freetype_2.9.1.orig.tar.gz.asc
./v2019:/target/default/freetype_2.9.1.orig.tar.gz.asc

Note that the 2.10.4 .asc files actually got published in the pool at some point, but they are now missing on the OBS server side.

Expected result

The 2.10.4 .asc files should end up in the OBS repositories (and from there published in the package pool afterwards)

Actual result

The 2.10.4 .asc are missing from the OBS repositories

Reproducibility

  1. always
  2. often, but not always
  3. rarely

Impact of bug

  • importing new upstream versions of freetype would break
  • the aptly publisher complains loudly that files are missing

Root cause

An incomplete regex in the bs_publisher code did not take in account packages with multiple orig tarballs and detached signatures for all of them.

Outcomes

Management data

This section is for management only, it should be the last one in the description.

/cc @sjoerd @em @andrewsh @refi64

Phabricator link: https://phabricator.apertis.org/T9739

Edited by Emanuele Aina