crun has released version 0.12.2 with bug fixes and enhancements: https://github.com/containers/crun/releases The ebuild for 0.10 works with an additional patch, which I will attach. Reproducible: Always
Created attachment 614208 [details, diff] crun-0.12-de-duplicate-json_common.patch The included libocispec library has a Makefile.am that lists the json_common source twice, causing a duplicate symbol when building crun. This patch removes the duplication.
Apparently I posted this bug too fast. crun just released a bug fix 0.12.2.1 version: https://github.com/containers/crun/releases/tag/0.12.2.1 Same ebuild and patch builds fine.
Version 0.13 was released in March: https://github.com/containers/crun/releases/tag/0.13
(In reply to Bruce Guenter from comment #1) > Created attachment 614208 [details, diff] [details, diff] > crun-0.12-de-duplicate-json_common.patch > > The included libocispec library has a Makefile.am that lists the json_common > source twice, causing a duplicate symbol when building crun. This patch > removes the duplication. Upstream report: https://github.com/containers/crun/issues/341 Newer versions of libocispec already contain this patch: https://github.com/containers/libocispec/commit/9d58891c058efa55c7b95cb90597d4cadc5c66d8
Also note that libcrun.so as built by the ebuild is unusable, even for version 0.13: https://bugs.gentoo.org/717750
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba74f5d6d3772e0bff832faf76fda6767b0ebef1 commit ba74f5d6d3772e0bff832faf76fda6767b0ebef1 Author: Robert Günzler <r@gnzler.io> AuthorDate: 2020-06-02 10:51:26 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-06-02 11:13:43 +0000 app-emulation/crun: Bump to 0.13 Closes: https://bugs.gentoo.org/709982 Signed-off-by: Robert Günzler <r@gnzler.io> Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-emulation/crun/Manifest | 1 + app-emulation/crun/crun-0.13.ebuild | 74 ++++++++++++++++++++++ ...ec-deduplicate-json_common-in-makefile-am.patch | 31 +++++++++ 3 files changed, 106 insertions(+)