[MDBF-354] buildbot: builder aarch64-{debian-10,ubuntu-20.04}-deb-autobake failures - dh-systemd dependency Created: 2022-03-01  Updated: 2022-04-07  Resolved: 2022-04-07

Status: Closed
Project: MariaDB Foundation Development
Component/s: Buildbot
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Vlad Bogolin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MDEV-28259 aarch64 DEB packages do not have syst... Closed

 Description   

the dh-systemd dependency should be removed for when libsystemd-dev exists.

This is the case on the images:

$  podman run --rm --arch arm64  quay.io/mariadb-foundation/bb-worker:ubuntu20.04  apt-cache madison libsystemd-dev
Trying to pull quay.io/mariadb-foundation/bb-worker:ubuntu20.04...
Getting image source signatures
Copying blob f416a45b6d12 skipped: already exists  
Copying blob cfe3975d9409 skipped: already exists  
Copying blob dc9f1b0af3f9 skipped: already exists  
Copying blob bbf2fb66fa6e skipped: already exists  
Copying blob 7694dd42136c skipped: already exists  
Copying blob 404d96528fac skipped: already exists  
Copying config 43df93a232 done  
Writing manifest to image destination
Storing signatures
libsystemd-dev | 245.4-4ubuntu3.15 | http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages
libsystemd-dev | 245.4-4ubuntu3.15 | http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages
libsystemd-dev | 245.4-4ubuntu3 | http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages
   systemd | 245.4-4ubuntu3 | http://ports.ubuntu.com/ubuntu-ports focal/main Sources
   systemd | 245.4-4ubuntu3.15 | http://ports.ubuntu.com/ubuntu-ports focal-updates/main Sources
   systemd | 245.4-4ubuntu3.15 | http://ports.ubuntu.com/ubuntu-ports focal-security/main Sources

And likewise for

  WORKERNAME=aarch64-bbw5-docker-ubuntu-2004
 using PTY: False
Incrementing changelog and starting build scripts
dch warning: Unable to determine if focal is a valid Ubuntu release.
libdistro-info-perl is not installed, Debian release names are not known.
libdistro-info-perl is not installed, Ubuntu release names are not known.
Creating package version 1:10.3.35+maria~focal ... 
dpkg-buildpackage: info: source package mariadb-10.3
dpkg-buildpackage: info: source version 1:10.3.35+maria~focal
dpkg-buildpackage: info: source distribution focal
dpkg-buildpackage: info: source changed by Otto Kekäläinen <buildbot@f3707389f3f3>
 dpkg-source -I --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-checkbuilddeps: error: Unmet build dependencies: dh-systemd
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
program finished with exit code 3

10.3, 10.4 branches are failing on these builders

failure

  WORKERNAME=aarch64-bbw3-docker-debian-10
 using PTY: False
Incrementing changelog and starting build scripts
libdistro-info-perl is not installed, Debian release names are not known.
libdistro-info-perl is not installed, Ubuntu release names are not known.
Creating package version 1:10.3.35+maria~buster ... 
dpkg-buildpackage: info: source package mariadb-10.3
dpkg-buildpackage: info: source version 1:10.3.35+maria~buster
dpkg-buildpackage: info: source distribution buster
dpkg-buildpackage: info: source changed by Otto Kekäläinen <buildbot@c625e3bb433d>
 dpkg-source -I --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-checkbuilddeps: error: Unmet build dependencies: dh-systemd
dpkg-buildpackage: warning: build dependencies/conflicts u

E.g:

So I assume the workers need to pull new images:

  • aarch64-bbw5-docker-ubuntu-2004
  • aarch64-bbw3-docker-debian-10

Possibly others.



 Comments   
Comment by Vlad Bogolin [ 2022-03-01 ]

Buildbot should automatically pull the new image once is on quay. So, there must be something else or a pull bug. Need to check more.

Comment by Daniel Black [ 2022-04-07 ]

Resolved on server side https://github.com/MariaDB/server/pull/2040 - dh-systemd removed as libsystemd-dev always exists on our supported platforms (debhelper (>= 10)).

Merged up and bb images have been pulled from this.

Generated at Thu Feb 08 03:37:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.