From nobody Wed May 10 14:57:26 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QGdRj1HRlz4B0YW for ; Wed, 10 May 2023 14:57:37 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2001:468:c80:a103:2:5000:5555:5555]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4QGdRh5Gr5z3vHY for ; Wed, 10 May 2023 14:57:36 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; none Received: from itso-dell.gromit23.net (unknown [IPv6:2601:5c0:c300:2bf1::42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 307D9380C0; Wed, 10 May 2023 10:57:28 -0400 (EDT) Message-ID: <5d0f126103c86d1f9c37b9ab4d16db5479d742a4.camel@gromit.dlib.vt.edu> Subject: Re: The port build failed claiming a runtime dependency on libmuffin. From: Paul Mather To: Steven Friedrich , questions@freebsd.org Date: Wed, 10 May 2023 10:57:26 -0400 In-Reply-To: <7fb7caf4-b578-0142-4dd5-2b85f151c560@Gmail.com> References: <3d532baa-2a09-ce02-0c2e-fdd27ca9d3e9@gmail.com> <4a47ade9-3724-103c-6fa0-5d082ffc7c81@Gmail.com> <7fb7caf4-b578-0142-4dd5-2b85f151c560@Gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu1 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Rspamd-Queue-Id: 4QGdRh5Gr5z3vHY X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, 2023-05-10 at 10:21 -0400, Steven Friedrich wrote: > On 5/10/23 9:51 AM, Steven Friedrich wrote: > > On 5/9/23 11:45 AM, Andreas Perstinger wrote: > > > On 09.05.23 17:34, Steven Friedrich wrote: > > > > On 5/9/23 9:00 AM, Yuri wrote: > > > > > Steven Friedrich wrote: > > > > > > On 5/8/23 5:02 AM, Yuri wrote: > > > > > > > The dependency is called x11-wm/muffin and it's recorded > > > > > > > in > > > > > > > x11/cinnamon/Makefile. > > > > > > Respectfully, you're missing the point.=C2=A0 How can libmuffin > > > > > > be a > > > > > > dependency when it's not in our ports tree?=C2=A0 How does the > > > > > > freebsd=20 > > > > > > team > > > > > > build cinnamon?=C2=A0 And why is a runtime dependency breaking = a > > > > > > build? > > > > > Did you read my reply completely? Why - because it's not > > > > > runtime-only > > > > > dependency; try looking in the port Makefile. > > > > >=20 > > > > STILL, libmuffin is not in the ports tree. > > >=20 > > > Yuri is trying to tell you, that the port x11-wm/muffin provides=20 > > > libmuffin. > > >=20 > > > The Makefile for x11/cinnamon, lines 18-19 [1]: > > >=20 > > > LIB_DEPENDS=3D=C2=A0=C2=A0=C2=A0 libcjs.so:lang/cjs \ > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libmuffin.so:x11-wm/muffin= \ > > >=20 > > > And pkg-plist for x11-wm/muffin, lines 229-231 [2]: > > >=20 > > > lib/libmuffin.so > > > lib/libmuffin.so.0 > > > lib/libmuffin.so.0.0.0 > > >=20 > > > Bye, Andreas > > > [1] https://cgit.freebsd.org/ports/tree/x11/cinnamon/Makefile#n18 > > > [2] > > > https://cgit.freebsd.org/ports/tree/x11-wm/muffin/pkg-plist#n229 > > >=20 > > >=20 > > >=20 > > Looks like I still don't understand.=C2=A0 my meson log is attached. > >=20 > OK, I manually built muffin, and cinnamon builds.=C2=A0 I sent the build= =20 > break log of cinnamon to gnome@freebsd.org Elsewhere in this thread you said you were tracking the quarterly packages release, which is why x11-wm/muffin did not exist for you.=20 Presumably, you switched over to the "latest" track, which is what enabled you to build libmuffin and hence cinnamon. How are you building your packages? Are you using a tool such as Poudriere that ensures a clean environment is used, via jails, to build packages, or are you building natively on your system with installed system packages installed? If the latter, did you force-rebuild all packages after switching from "quarterly" to "latest" to ensure there were no stale/broken package dependencies? Cheers, Paul.