From owner-freebsd-ports-bugs@freebsd.org Tue Dec 1 18:46:06 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 417774B1153 for ; Tue, 1 Dec 2020 18:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Clrf61BYjz4hVm for ; Tue, 1 Dec 2020 18:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2729A4B134B; Tue, 1 Dec 2020 18:46:06 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26F384B1152 for ; Tue, 1 Dec 2020 18:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Clrf60Wf9z4hpy for ; Tue, 1 Dec 2020 18:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00DA71A53B for ; Tue, 1 Dec 2020 18:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B1Ik5M9003542 for ; Tue, 1 Dec 2020 18:46:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B1Ik5dB003541 for ports-bugs@FreeBSD.org; Tue, 1 Dec 2020 18:46:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251509] Mk/Uses/gnome.mk: USE_GNOME_IMPL does not propagate :build etc, creating bogus dependencies Date: Tue, 01 Dec 2020 18:46:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: greg@unrelenting.technology X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2020 18:46:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251509 Bug ID: 251509 Summary: Mk/Uses/gnome.mk: USE_GNOME_IMPL does not propagate :build etc, creating bogus dependencies Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: greg@unrelenting.technology Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org graphics/libdrm has this: MANPAGES_USE=3D GNOME=3Dlibxslt:build Obviously the intention is to use libxslt only during the build. Now, gnome.mk has: libxslt_USE_GNOME_IMPL=3D libxml2 and the way these implications are handled is (minus the unknown check): . for component in ${USE_GNOME:C/^([^:]+).*/\1/} _USE_GNOME+=3D ${${component}_USE_GNOME_IMPL} ${component} . endfor Oops, the :build flag is lost (literally deleted by the :C/../../ and never handled), not propagated, so we basically have USE_GNOME=3Dlibxml2 =E2=80= =94 so this ends up in the pkg +MANIFEST: "deps": { "libpciaccess": { "origin": "devel/libpciaccess", "version": "0.16" }, "libxml2": { "origin": "textproc/libxml2", "version": "2.9.10_1" } }, But libdrm does not actually depend on libxml2 at runtime!! --- How I noticed this is that poudriere fails to install anything that depends= on libdrm: =3D=3D=3D> mesa-devel-20.3.b.786 depends on package: libva>0 - not found =3D=3D=3D> Installing existing package /packages/All/libva-2.9.1.tzst [unrelenting.technology] Installing libva-2.9.1... [unrelenting.technology] `-- Installing libXfixes-5.0.3_2... [unrelenting.technology] `-- Extracting libXfixes-5.0.3_2: .......... done [unrelenting.technology] `-- Installing libdrm-2.4.103,1... [unrelenting.technology] | `-- Installing libpciaccess-0.16... [unrelenting.technology] | | `-- Installing pciids-20201025... [unrelenting.technology] | | `-- Extracting pciids-20201025: ..... done [unrelenting.technology] | `-- Extracting libpciaccess-0.16: ......... do= ne pkg-static: Missing dependency 'libxml2' =E2=80=A6granted, it *shouldn't* fail, it should find the libxml2 dependenc= y, which of course *was* added to RUN_DEPENDS at the port level, so something went wron= g in poudriere for me here. but I'm glad it did, because idk if anyone would've found that issue otherwise. --=20 You are receiving this mail because: You are the assignee for the bug.=