Skip to contentSkip to conversation

libslirp-virt: remove

PATCH In review Martin Jansa 2 participants 2 messages Sep 26, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libslirp-virt: remove

* it conflicts with libslipr now as discussed in:
https://lists.openembedded.org/g/openembedded-core/message/188157
and https://git.yoctoproject.org/meta-virtualization/commit/recipes-networking/slirp?id=543f4e6b5f6be0d397bcc78e22d5ca9a970b7111
said it will be removed after slirp4netns verification in runtime, but
slirp4netns_git.bb DEPENDS on libslirp not libslirp-virt so we can drop
unused libslirp-virt recipe to fix possible conflict (e.g. in world builds):

ERROR: Recipe libslirp-virt is trying to install files into a shared area when those files already exist. The files and the manifests listing them are:
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp-dev
(matched in manifest-qemux86_64-libslirp.packagedata)
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp-dbg
(matched in manifest-qemux86_64-libslirp.packagedata)
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp0
(matched in manifest-qemux86_64-libslirp.packagedata)
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp-src
(matched in manifest-qemux86_64-libslirp.packagedata)

---
 recipes-networking/slirp/libslirp-virt_git.bb | 14 --------------
 1 file changed, 14 deletions(-)
 delete mode 100644 recipes-networking/slirp/libslirp-virt_git.bb
recipes-networking/slirp/libslirp-virt_git.bb deleted +0 -14
deleted file mode 100644
index 9f6dc627..00000000
@@ -1,14 +0,0 @@
-SUMMARY = "A general purpose TCP-IP emulator"
-LICENSE = "BSD-3-Clause & MIT"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bca0186b14e6b05e338e729f106db727"
-
-SRC_URI = "git://gitlab.freedesktop.org/slirp/libslirp.git;protocol=https;branch=master"
-SRCREV = "888ddad6bde1dc6d7dbfc8daa7d015251b72e02c"
-PV = "4.6.1+git"
-S = "${WORKDIR}/git"
-
-DEPENDS = " \
-    glib-2.0 \
-"
-
-inherit meson pkgconfig
Signature · 1 line
2.42.0
#1 lore raw
Quoted 9 lines · Martin Jansa

* it conflicts with libslipr now as discussed in:
https://lists.openembedded.org/g/openembedded-core/message/188157
and
https://git.yoctoproject.org/meta-virtualization/commit/recipes-networking/slirp?id=543f4e6b5f6be0d397bcc78e22d5ca9a970b7111
said it will be removed after slirp4netns verification in runtime, but slirp4netns_git.bb DEPENDS on libslirp not libslirp-virt so we can drop unused libslirp-virt recipe to fix possible conflict (e.g. in world
builds):

Quoted 12 lines

ERROR: Recipe libslirp-virt is trying to install files into a shared
area when those files already exist. The files and the manifests listing them are:
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp-dev
(matched in manifest-qemux86_64-libslirp.packagedata)
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp-dbg
(matched in manifest-qemux86_64-libslirp.packagedata)
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp0
(matched in manifest-qemux86_64-libslirp.packagedata)
TOPDIR/BUILD/pkgdata/qemux86-64/runtime-reverse/libslirp-src
(matched in manifest-qemux86_64-libslirp.packagedata)

As I mentioned on IRC, I was testing this (and still am). I ran into a strange runtime issue. So I'm
not at the point where I'm ready to drop the recipe.

I'll switch to libvirt-slirp, or remove the recipe once I can root cause the error.

In the meantime, I'll add an exclude from world, and that should solve the world build issue.

Bruce

Quoted 44 lines
---
 recipes-networking/slirp/libslirp-virt_git.bb | 14 --------------
 1 file changed, 14 deletions(-)
 delete mode 100644 recipes-networking/slirp/libslirp-virt_git.bb
recipes-networking/slirp/libslirp-virt_git.bb deleted +0 -5
deleted file mode 100644
index 9f6dc627..00000000
@@ -1,14 +0,0 @@
-SUMMARY = "A general purpose TCP-IP emulator"
-LICENSE = "BSD-3-Clause & MIT"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bca0186b14e6b05e338e729f106db727"
-
-SRC_URI = "git://

gitlab.freedesktop.org/slirp/libslirp.git;protocol=https;branch=master"

recipes-networking/slirp/libslirp-virt_git.bb deleted +0 -10
-SRCREV = "888ddad6bde1dc6d7dbfc8daa7d015251b72e02c"
-PV = "4.6.1+git"
-S = "${WORKDIR}/git"
-
-DEPENDS = " \
-    glib-2.0 \
-"
-
-inherit meson pkgconfig
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#8322):
https://lists.yoctoproject.org/g/meta-virtualization/message/8322
Mute This Topic: https://lists.yoctoproject.org/mt/101596711/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II