Summary: | sys-apps/dtc-1.7.0: Meson build fail with USE=static-libs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan J. <parazyd> |
Component: | Current packages | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | embedded, lu_zero, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge.info
build.log meson-log.txt |
Description
Ivan J.
2023-06-29 08:31:37 UTC
Please include the full build.log, meson-log.txt, amd emerge --info. Created attachment 864802 [details]
emerge.info
Created attachment 864803 [details]
build.log
Created attachment 864804 [details]
meson-log.txt
I am also experiencing this exact build problem Also seeing this since a while. Here's a diff that'll fix it. @lu_zero - Lemme know if you want me to commit it. diff --git a/sys-apps/dtc/dtc-1.7.0.ebuild b/sys-apps/dtc/dtc-1.7.0.ebuild index a56040b060aa..4c213fb685de 100644 --- a/sys-apps/dtc/dtc-1.7.0.ebuild +++ b/sys-apps/dtc/dtc-1.7.0.ebuild @@ -63,12 +63,13 @@ src_prepare() { src_configure() { local emesonargs=( - -Ddefault_library=$(usex static-libs both shared) -Dtools=true -Dvalgrind=disabled # only used for some tests $(meson_feature python) $(meson_feature yaml) ) + use static-libs && emesonargs+=( -Dstatic-build=true ) + meson_src_configure } The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0428966db63c13fc0142f0500e5c44895793eb37 commit 0428966db63c13fc0142f0500e5c44895793eb37 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-25 02:19:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-25 02:19:33 +0000 sys-apps/dtc: fix static build Closes: https://bugs.gentoo.org/909366 Thanks-to: Jason A. Donenfeld <zx2c4@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> sys-apps/dtc/dtc-1.7.0.ebuild | 4 +++- sys-apps/dtc/dtc-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) |