From nobody Sat Apr 25 19:49:23 2026 X-Original-To: dev-commits-src-main@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 4g30lj67mQz6NSBs for ; Sat, 25 Apr 2026 19:49:37 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g30lj0bDbz3jLs for ; Sat, 25 Apr 2026 19:49:37 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; arc=pass ("google.com:s=arc-20240605:i=1"); dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of antoine.brodin.freebsd@gmail.com designates 209.85.160.177 as permitted sender) smtp.mailfrom=antoine.brodin.freebsd@gmail.com Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-50fb1932b62so45435841cf.2 for ; Sat, 25 Apr 2026 12:49:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1777146576; cv=none; d=google.com; s=arc-20240605; b=TtX24sdPDpWcnsJwlA7k3zPUzbNlXI/9qtGv0JNeNC1i4HtGJ8TZjsWhdwgmIFA265 cFjT+EEwIHkM7x8OVz2fewDiK4+SbPKfPaOEPvbZpL7L9I0nzoQdeUnNvAxaNerFB6Ov KxmXwOHZ1kO1cdyhhNUXWSheRSqOTGFC4gng+J1XPpdG66S2OQzXp7R/GeTvR79dyCIH 3xZRv1/x23J5IIX01o1lojhBitaE7mjBO0nZhh5wNouGrQpm2dviJO/9s4tpXoq3/kBR 4gvE2WbdEkZwMOY5aJjM9qD54y6/1lWmkLGIQXx85nUuxbjS7mB65RjBRqQB9l312uDy NKog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=dUSfIxgcXh9VL07oyvJHHetf9W77cnb3tCTorzaQEXs=; fh=9Fz06zmXJJzqlt73y8fw4Jp3kFNg+mb1n9kcVhgALgQ=; b=FTJN1zhTpcu9KEAsoFSXpxYpQU7ab5PJnzszmyqIMx+tkcmNLgx5UzV3+/xPXvzZ3H /e2438tGiNAfeOxk2OIGjDifYzmOBkn+hSgmT82iIGv86jTOd8018vWkK0KM/bhz7hs5 bJqPau7xe0OhI/gYSw1lbQkUawySlzhWSFtAVB4b+gyKPiRZ+1Hp2AkDDn7D4+J5tBtJ ot5y/w/KP4bN0GtFPM0scsd13CHe6UFDfppO3WDH4eYWu7WoHzHQM1bs+rTYcUQUMn+6 Kt2Y1dWeWDSaVAZ7vg0LV0x02fr6wrLsMwwz2jPh9PZMiCt1CWnfD5rxAbJ/Mv9hsbGj YaNA==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777146576; x=1777751376; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dUSfIxgcXh9VL07oyvJHHetf9W77cnb3tCTorzaQEXs=; b=ouuxbkj2pRSsUf2dLh9BqoTb1F2CUcxMrg4+1Aow/QxwPJYIZd2hj36Kg7CNO8922i bCU0knJ1Ll6p1QfggTMBphRjGEml8VP0rkmq7rlzI/wy4XQyxrQSCEfeMxarPY6fdlJ5 IZIRxJOIqgWY6w1Vd16F8l2Joz/hJytc1vdlRmeZOP6rmlILNjRdK9x5x7C2+J3j7SbO syr+AWUgKn3J4oI73uM8rjRRUeMaah8VZaVp+l+vsVi6mwheYly7925R8dk85eGDk5ok hSGp++31BTr3QbudMx7dW0geDoD/gbdNXBc881/e+rhPLj7euB4MShucqS5MEcmqcIM7 BPnA== X-Forwarded-Encrypted: i=1; AFNElJ+pxAy7i0R9T7O0mCwEwlxPAmy6IN5LIB5dTBEGqJ0R7CnCLKYifqHZ5I4aW9PGYJeLmkSKpWcb9FKqmCV1nFiQSDxynw==@freebsd.org X-Gm-Message-State: AOJu0Yxr5IXZP8Jx8I6u4Yg9qnxsfAHp+7lVK2hO5acsJriKdbq9cCC6 F0jj4FNgOHBBoOXAgAD6YxF7LiepGVX5tfKKE59+77TefZtvPdSjqwyUXJ4ADX5HZuKEdUnTz9S iwiq9/cbBXLnaxkEWyKm/43ExT0mI2nVDfA== X-Gm-Gg: AeBDies6PkQ6IZIJwJMYU9n2jhsR+RUWOhKbr8J0YUW00eUh9o5gIU6dN+ZwBPWWlR5 H3DHM72Hx2rtbTWSSPv5yVd6SUDvqfQCEa0DyE5O5MjK2Ew10K4Loax+csi6l5GX+isdbrnycAe 70JQODWUPWNDbgo4F3t56+2NSBUZiX1J4ukC6Ucz6jFuRHI9lNbyi6d2a26Hc8lJ6tsHjHitV6s o9AU666CDfuFrQGmeblaSSZYNlBT8TP6iRnfxmCBMfGfwEFcGxOHe1ZJnkTSLeOf9cbVCm1uosq Opy7thmUjRL28Sy5lnGBfZbj79aJlr14g5e+OoQs7FeNKu4eJS0= X-Received: by 2002:a05:622a:6988:b0:50e:5755:912e with SMTP id d75a77b69052e-50e575593ebmr277481621cf.35.1777146575545; Sat, 25 Apr 2026 12:49:35 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 References: <69e8d0f6.216cd.2cf09725@gitrepo.freebsd.org> <127152B1-0E14-4A04-BB56-01191F2D2F0F@FreeBSD.org> In-Reply-To: From: Antoine Brodin Date: Sat, 25 Apr 2026 21:49:23 +0200 X-Gm-Features: AQROBzC8wWwftJJpVUUa56LHMzKhtVdNxVuQbBXUgJQ-G32XGEyEY4hzCFd1N6U Message-ID: Subject: Re: git: b8352da33f34 - main - pkgconf: import into the base system To: Pierre Pronchery Cc: Baptiste Daroussin , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.88 / 15.00]; ARC_ALLOW(-1.00)[google.com:s=arc-20240605:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; FORGED_SENDER(0.30)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.160.177:from]; NEURAL_SPAM_MEDIUM(0.10)[0.097]; TO_DN_SOME(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-main@freebsd.org]; TAGGED_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.177:from] X-Rspamd-Queue-Id: 4g30lj0bDbz3jLs X-Spamd-Bar: -- On Sat, Apr 25, 2026 at 6:53=E2=80=AFPM Antoine Brodin wrote: > On Sat, Apr 25, 2026 at 3:05=E2=80=AFPM Pierre Pronchery wrote: > > > > Hi Antoine, (all) > > > > > On 25 Apr 2026, at 14:57, Antoine Brodin wrote: > > > > > > On Wed, Apr 22, 2026 at 3:45=E2=80=AFPM Pierre Pronchery wrote: > > >> > > >> The branch main has been updated by khorben: > > >> > > >> URL: https://cgit.FreeBSD.org/src/commit/?id=3Db8352da33f3434f0ba609= 3df361261d1b1f973a1 > > >> > > >> commit b8352da33f3434f0ba6093df361261d1b1f973a1 > > >> Author: Pierre Pronchery > > >> AuthorDate: 2026-04-08 16:52:29 +0000 > > >> Commit: Pierre Pronchery > > >> CommitDate: 2026-04-22 13:42:56 +0000 > > >> > > >> pkgconf: import into the base system > > >> > > >> This introduces the following option: > > >> > > >> * MK_PKGCONF: determines if pkgconf and bomtool should be built > > >> > > >> The objective is to allow the creation of SBOM information while > > >> building FreeBSD's src tree. The build system cannot rely on the > > >> presence of bomtool (and eventually also spdxtool) in the build > > >> environment, except for having it as part of the src tree directl= y. > > >> > > >> The framework implementing the generation of SBOM files is under = review > > >> in D56474. > > >> > > >> This will also help simplifying the build, with the introduction = of > > >> another framework relying on the availability of pkgconf. > > >> > > >> Sponsored by: Alpha-Omega, The FreeBSD Foundation > > >> Reviewed by: bapt, philip > > >> Approved by: philip (mentor) > > >> Differential Revision: https://reviews.freebsd.org/D56404 > > > > > > Does this version behave the same as the version from ports? Spoiler= : > > > it does not > > > > The objective is that it does behave the same way as the version from > > ports. I am sorry that it doesn=E2=80=99t, and I am trying to understan= d how and > > why. > > > > > It breaks some ports: > > > https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa52af= c55257c_s0f7b8f79f6/logs/errors/rubygem-nokogiri-1.19.1_1.log > > > https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa52af= c55257c_s0f7b8f79f6/logs/errors/gtk2-2.24.33_1.log > > > https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa52af= c55257c_s0f7b8f79f6/logs/errors/gtk-layer-shell-0.10.1.log > > > and probably a lot more > > The one from the ports tree has: > PKG_DEFAULT_PATH =3D > /usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig:/usr/local/share/pkgc= onfig > SYSTEM_INCLUDEDIR =3D /usr/include > SYSTEM_LIBDIR =3D /usr/lib I think you have to switch from ${LOCALBASE:U} to ${LOCALBASE:U/usr/local} in the Makefile Antoine