Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729244

Summary: app-emulation/lxd fails to compile with Clang
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Erik Mackdanz <stasibear>
Status: RESOLVED FIXED    
Severity: normal CC: virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log.bz2
other.tar.bz2

Description Agostino Sarubbo gentoo-dev 2020-06-23 06:34:06 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: app-emulation/lxd fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-23 06:34:12 UTC
Created attachment 645794 [details]
build.log.bz2

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-23 06:34:14 UTC
Created attachment 645796 [details]
other.tar.bz2

other logs
Comment 3 Joonas Niilola gentoo-dev 2020-06-23 06:41:04 UTC
There's a lot of seccomp related errors there. What can you say about the test-box's kernel config? 

  # zgrep -i seccomp /proc/config.gz
Comment 4 Agostino Sarubbo gentoo-dev 2020-06-23 06:45:06 UTC
CONFIG_SECCOMP=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
Comment 5 Larry the Git Cow gentoo-dev 2020-06-23 07:25:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb824502f28aa17d4ebaa4581491b48e156edab2

commit eb824502f28aa17d4ebaa4581491b48e156edab2
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-06-23 07:24:55 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-23 07:25:30 +0000

    app-emulation/lxd: fix 4.0.1 compilation with clang
    
    Closes: https://bugs.gentoo.org/729244
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/lxd/files/lxd-4.0.1-clang.patch | 76 +++++++++++++++++++++++++++
 app-emulation/lxd/lxd-4.0.1.ebuild            |  2 +
 2 files changed, 78 insertions(+)