Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709982 - app-emulation/crun-0.12.2 version bump
Summary: app-emulation/crun-0.12.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-02-17 20:06 UTC by Bruce Guenter
Modified: 2020-06-02 11:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
crun-0.12-de-duplicate-json_common.patch (crun-0.12-de-duplicate-json_common.patch,1.02 KB, patch)
2020-02-17 20:07 UTC, Bruce Guenter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Guenter 2020-02-17 20:06:04 UTC
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
Comment 1 Bruce Guenter 2020-02-17 20:07:51 UTC
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.
Comment 2 Bruce Guenter 2020-02-17 22:51:36 UTC
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.
Comment 3 Dennis Schridde 2020-04-21 06:53:02 UTC
Version 0.13 was released in March: https://github.com/containers/crun/releases/tag/0.13
Comment 4 Dennis Schridde 2020-04-21 07:28:44 UTC
(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
Comment 5 Dennis Schridde 2020-04-21 07:55:32 UTC
Also note that libcrun.so as built by the ebuild is unusable, even for version 0.13: https://bugs.gentoo.org/717750
Comment 6 Larry the Git Cow gentoo-dev 2020-06-02 11:13:53 UTC
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(+)