libsystemd.a missing symbols on armhf

Bug #2031416 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
High
Nick Rosbrook

Bug Description

There are two symptoms to observe here. First is that build-with-static-libsystemd fails on armhf[1]:

2733s autopkgtest [10:52:05]: test build-with-static-libsystemd: [-----------------------
2735s /usr/bin/ld: /tmp/ccRhNQ82.o: in function `main':
2735s uuid-gen.c:(.text+0x20): undefined reference to `sd_id128_randomize'
2735s /usr/bin/ld: uuid-gen.c:(.text+0x5c): undefined reference to `sd_id128_to_string'
2735s collect2: error: ld returned 1 exit status
2735s autopkgtest [10:52:07]: test build-with-static-libsystemd: -----------------------]

Second is this dh_strip warning from the armhf build log[2]:

dh_strip: warning: lto-no-text-in-archive: debian/libsystemd-dev/usr/lib/arm-linux-gnueabihf/libsystemd.a

This is caused by building with -flto=auto, but without -ffat-lto-objects[3], which appears to be enabled for all arches except armhf.

[1] https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/armhf/s/systemd/20230815_105221_65d03@/log.gz
[2] https://launchpadlibrarian.net/681945377/buildlog_ubuntu-mantic-armhf.systemd_253.5-1ubuntu2_BUILDING.txt.gz
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977596

Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: New → Triaged
assignee: nobody → Nick Rosbrook (enr0n)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 253.5-1ubuntu4

---------------
systemd (253.5-1ubuntu4) mantic; urgency=medium

  * Revert "Drop Provides: time-daemon for bin:systemd-timesyncd"
    File: debian/control
    https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=e88d9f0241a307a3c1b4bcaf4bf29799d984aa3c

 -- Nick Rosbrook <email address hidden> Fri, 25 Aug 2023 16:36:26 -0400

Changed in systemd (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.