[Bug 1201551] New: libslirp header file version macro is broken
http://bugzilla.opensuse.org/show_bug.cgi?id=1201551 Bug ID: 1201551 Summary: libslirp header file version macro is broken Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Virtualization:Other Assignee: virt-bugs@suse.de Reporter: berrange@redhat.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- # cat demo.c #include "slirp/libslirp.h" int ok = SLIRP_CHECK_VERSION(4,7,0) ? 4 : 1; # gcc --save-temps -c demo.c demo.c:3:16: error: ���dirty��� undeclared here (not in a function) int ok = SLIRP_CHECK_VERSION(4,7,0) ? 4 : 1; ^~~~~ THe problem is the header file: # cat /usr/include/slirp/libslirp-version.h /* SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSLIRP_VERSION_H_ #define LIBSLIRP_VERSION_H_ #ifdef __cplusplus extern "C" { #endif #define SLIRP_MAJOR_VERSION 4 #define SLIRP_MINOR_VERSION 3 #define SLIRP_MICRO_VERSION 1-dirty #define SLIRP_VERSION_STRING "4.3.1-dirty" Somehow the 'SLIRP_MICRO_VERSION' has gained a suffix which breaks evaluation # cat /etc/os-release NAME="openSUSE Leap" VERSION="15.3" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.3" PRETTY_NAME="openSUSE Leap 15.3" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.3" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" # rpm -q libslirp-devel libslirp-devel-4.3.1-150300.6.2.x86_64 This makes libslirp unusable from QEMU and likely other apps too -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201551 http://bugzilla.opensuse.org/show_bug.cgi?id=1201551#c2 --- Comment #2 from Daniel Berrange <berrange@redhat.com> ---
Submitted to 15 SP3+ (https://build.suse.de/request/show/275992).
I can't see that link myself - does that imply the fix is supposed to be available to install already, or merely queued for publishing ? When I do an install I'm still not seeing any new version available $ podman run -it registry.opensuse.org/opensuse/leap:15.3 zypper install libslirp-devel -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com