From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1171579-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C847A1382C5 for <garchives@archives.gentoo.org>; Sat, 16 May 2020 15:50:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02D03E09B5; Sat, 16 May 2020 15:50:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D844CE09B5 for <gentoo-commits@lists.gentoo.org>; Sat, 16 May 2020 15:50:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E222634F443 for <gentoo-commits@lists.gentoo.org>; Sat, 16 May 2020 15:50:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED029175 for <gentoo-commits@lists.gentoo.org>; Sat, 16 May 2020 15:50:31 +0000 (UTC) From: "James Le Cuirot" <chewi@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" <chewi@gentoo.org> Message-ID: <1589644128.a34ea67be66666a2cca94e28d8298e31180d37e6.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/glib/glib-2.64.2.ebuild X-VCS-Directories: dev-libs/glib/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: a34ea67be66666a2cca94e28d8298e31180d37e6 X-VCS-Branch: master Date: Sat, 16 May 2020 15:50:31 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d72dcc2b-c1d4-4e90-8d48-65c84eef518f X-Archives-Hash: f93a1f31851dcc9bd32b59c13c05fc6c commit: a34ea67be66666a2cca94e28d8298e31180d37e6 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Mon Apr 13 20:43:06 2020 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat May 16 15:48:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34ea67b dev-libs/glib: Exclude nonsensical and broken libelf dep on Windows elfutils (via libelf) does not build on Windows. gresources are not embedded within ELF binaries on that platform anyway and inspecting ELF binaries from other platforms is not that useful so exclude the dependency in this case. For what it's worth, dev-libs/libelf was tried as an alternative but while Meson did pick it up and link it, gresource.exe still reported that ELF support was missing. Closes: https://github.com/gentoo/gentoo/pull/15337 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> dev-libs/glib/glib-2.64.2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-libs/glib/glib-2.64.2.ebuild b/dev-libs/glib/glib-2.64.2.ebuild index a1034108695..8b05703c347 100644 --- a/dev-libs/glib/glib-2.64.2.ebuild +++ b/dev-libs/glib/glib-2.64.2.ebuild @@ -20,6 +20,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~ # the check is automagic in gio/meson.build. gresource is not a multilib tool # right now, thus it doesn't matter if non-native ABI libelf exists or not # (non-native binary is overwritten, it doesn't matter if libelf was linked to). +# * elfutils (via libelf) does not build on Windows. gresources are not embedded +# within ELF binaries on that platform anyway and inspecting ELF binaries from +# other platforms is not that useful so exclude the dependency in this case. # * Technically static-libs is needed on zlib, util-linux and perhaps more, but # these are used by GIO, which glib[static-libs] consumers don't really seem # to need at all, thus not imposing the deps for now and once some consumers @@ -36,7 +39,7 @@ RDEPEND=" kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] ) selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] ) xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) ) - virtual/libelf:0= + !kernel_Winnt? ( virtual/libelf:0= ) fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND}"