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

Bug 941609

Summary: sys-block/thin-provisioning-tools-1.0.14 fails to compile: error: failed to run custom build command for devicemapper-sys v0.3.0
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-10-16 07:44:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-block/thin-provisioning-tools-1.0.14 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-16 07:44:13 UTC
Created attachment 905999 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-16 07:44:14 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  thread 'main' panicked at /var/tmp/portage/sys-block/thin-provisioning-tools-1.0.14/work/cargo_home/gentoo/bindgen-0.69.4/lib.rs:622:31:
error: failed to run custom build command for `devicemapper-sys v0.3.0`
Comment 3 Larry the Git Cow gentoo-dev 2024-10-16 07:55:28 UTC
The bug has been closed via the following commit(s):

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

commit 1c7932252cc1e0635d9735ff18a4a635dd65673d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-16 07:54:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-16 07:54:51 +0000

    sys-block/thin-provisioning-tools: depend on clang for bindgen
    
    Unfortunately have to drop mips and s390 for Clang.
    
    Closes: https://bugs.gentoo.org/941609
    Signed-off-by: Sam James <sam@gentoo.org>

 .../thin-provisioning-tools-1.0.14.ebuild                  | 14 ++++++++++++--
 .../thin-provisioning-tools-1.1.0.ebuild                   | 14 ++++++++++++--
 2 files changed, 24 insertions(+), 4 deletions(-)