Activity log for bug #2029431

Date Who What changed Old value New value Message
2023-08-03 01:08:32 Chris Koch bug added bug
2023-08-04 17:21:51 Launchpad Janitor libslirp (Ubuntu): status New Confirmed
2023-08-07 14:49:31 Athos Ribeiro tags server-triage-discuss
2023-08-09 15:29:02 Christian Ehrhardt  tags server-triage-discuss server-todo
2023-08-09 15:30:16 Athos Ribeiro bug added subscriber Ubuntu Server
2023-08-09 15:30:19 Athos Ribeiro libslirp (Ubuntu): status Confirmed Triaged
2023-08-16 15:32:43 Christian Ehrhardt  libslirp (Ubuntu): assignee Athos Ribeiro (athos-ribeiro)
2023-08-16 18:26:40 Launchpad Janitor merge proposal linked https://code.launchpad.net/~athos-ribeiro/ubuntu/+source/libslirp/+git/libslirp/+merge/449291
2023-08-16 22:53:45 Launchpad Janitor libslirp (Ubuntu): status Triaged Fix Released
2023-08-17 00:02:21 Athos Ribeiro bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049922
2023-08-17 00:02:21 Athos Ribeiro bug task added libslirp (Debian)
2023-09-01 08:58:09 Bug Watch Updater libslirp (Debian): status Unknown New
2023-09-06 01:39:18 Bryce Harrington nominated for series Ubuntu Jammy
2023-09-06 01:39:18 Bryce Harrington bug task added libslirp (Ubuntu Jammy)
2023-09-06 22:13:33 Athos Ribeiro libslirp (Ubuntu Jammy): importance Undecided Wishlist
2023-09-06 22:13:44 Athos Ribeiro libslirp (Ubuntu Jammy): status New Triaged
2023-09-06 22:19:00 Athos Ribeiro tags server-todo bitesize
2024-01-03 09:39:05 Christian Ehrhardt  description QEMU static builds currently fail (among other reasons) because a static libslirp is missing from libslirp-dev, as is usual for other *-dev packages. The instructions in https://gitlab.freedesktop.org/slirp/libslirp -- which say to "(QEMU may build with the submodule static library using --enable-slirp=git)" -- do not work anymore as of the patches in https://patchwork.kernel.org/project/qemu-devel/patch/20220824151122.704946-7-thuth@redhat.com/ which removed those options completely. It'd be best if a static library was just provided in every libslirp-dev package. [ Impact ] * Due to a packaging miss there is no static lib of libslirp. TBH uses of that are mostly for developer experiments as there are often better options as outlined by mjt, but then static builds are a valid use case and the fix here is trivial and should have the lowest possible regression risk to other use cases. [ Test Plan ] # Dependencies $ apt install libslirp-dev libglib2.0-dev pkg-config # Using the most simple test of the lib I could think of $ cat simpleslirp.c #include <stdio.h> #include <stdlib.h> #include "libslirp.h" int main(int argc, char *argv[]) { printf("Slirp version %s\n", slirp_version_string()); } # Build and run non-static $ gcc simpleslirp.c $(pkg-config --libs slirp) $(pkg-config --cflags slirp) -o simpleslirp $ ldd simpleslirp | grep slirp libslirp.so.0 => /lib/x86_64-linux-gnu/libslirp.so.0 (0x00007fafa0b32000) $ ./simpleslirp Slirp version 4.6.1 # Actual test - Build and run static # Without fix $ gcc simpleslirp.c $(pkg-config --libs slirp) $(pkg-config --cflags --static slirp) -static -o simpleslirp /usr/bin/ld: cannot find -lslirp: No such file or directory collect2: error: ld returned 1 exit status # With fix $ gcc simpleslirp.c $(pkg-config --libs slirp) $(pkg-config --cflags --static slirp) -static -o simpleslirp $ ldd simpleslirp not a dynamic executable $ ./simpleslirp Slirp version 4.6.1 [ Where problems could occur ] * We provide an extra file for static linking, nothing on the other use of that lib should change. TBH other than "suddenly on rebuild something unexpected is odd" I can't think of a regression for existing users this might cause. [ Other Info ] * n/a --- QEMU static builds currently fail (among other reasons) because a static libslirp is missing from libslirp-dev, as is usual for other *-dev packages. The instructions in https://gitlab.freedesktop.org/slirp/libslirp -- which say to "(QEMU may build with the submodule static library using --enable-slirp=git)" -- do not work anymore as of the patches in https://patchwork.kernel.org/project/qemu-devel/patch/20220824151122.704946-7-thuth@redhat.com/ which removed those options completely. It'd be best if a static library was just provided in every libslirp-dev package.
2024-01-03 09:40:56 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/libslirp/+git/libslirp/+merge/457875
2024-01-03 15:47:07 Ubuntu Archive Robot bug added subscriber Christian Ehrhardt 
2024-01-08 12:47:59 Christian Ehrhardt  tags bitesize bitesize block-proposed
2024-02-02 14:23:42 Timo Aaltonen libslirp (Ubuntu Jammy): status Triaged Fix Committed
2024-02-02 14:23:44 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2024-02-02 14:23:48 Timo Aaltonen bug added subscriber SRU Verification
2024-02-02 14:23:50 Timo Aaltonen tags bitesize block-proposed bitesize block-proposed verification-needed verification-needed-jammy
2024-02-05 10:32:57 Christian Ehrhardt  tags bitesize block-proposed verification-needed verification-needed-jammy bitesize block-proposed verification-done verification-done-jammy
2024-02-05 10:34:13 Christian Ehrhardt  removed subscriber Ubuntu Server
2024-02-13 23:45:25 Brian Murray tags bitesize block-proposed verification-done verification-done-jammy bitesize block-proposed-jammy verification-done verification-done-jammy