From nobody Sat Apr 25 19:49:23 2026 X-Original-To: dev-commits-src-all@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 4g30lk4nBpz6NSQR for ; Sat, 25 Apr 2026 19:49:38 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (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 4g30lj15tyz3jRp 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.169 as permitted sender) smtp.mailfrom=antoine.brodin.freebsd@gmail.com Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-50e63771d91so75419281cf.0 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=QGatcj+I+avqxtyIwWkuZoPSnTZXo4s6Q1UfM7B4PaWMMNgOwraoH59DHq//44aFFV Ei5YzXkEPzZE8VSUhHnRcOinzhqzLFxAX5KEJi2EtwJV9LUycqFEqK4qqz3YNOEDontE U4OTOid4tnDBKIZ0k32NFHU6MlAIXkIevinIhRDsMz9JPId+bDTLu1PVMXisRuQyK0xQ jBCR7BcRtWtiH/IoCD4vDFgHCjtXypH5VTfQmxslISdIUz21mulYBVPpls5KLCyPEHcV KESNjP3HL0ZUNjaSFXPi4gf8BJRv6koGbK8oPy8V7yC/mu8ds+xHHjv/a1UZc0h/C8HV KeqA== 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=GiYGBrUZPmjIfDVhdq5kObjgvixeZ9I0Lg50Tg3i3eY=; b=Cke1JuKdFcoH67dlSm84fujXUIDyZREITZvfp5WRtqkI87GU/d8h+0DRSP970CnThY 1DLClMtJY4PNgvj9Qy+4Ih3lwjsY1UBLcVoRSJffjHuTJPQfPvhYFEMxHmZMhMC6ZJDo tmjMx5uqWVxkBrkUUWwf3JEee18cnIhsmrr3kuW7Cf/poxYXqeQ5ucz9NQYSL75d04YN 6FPN8LnV571cKt5mZ2De1dCHKhotHXH6A/JGpnafaLvKz4bSvN4vP2mYTcfh7nIQ7TNb quC6WyL2dmE+423X6wgBBXnDLIeXuH4bRIScrQuYA7hxwpYIRtjyj3zUwyQkl8h4433S njrg==; 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=gQ54TR60GsRWrkvviVIUIT6o/A+OtJoedAYA/ZkTiqZ1+BmfWJ0IMb6btQDlxSYdzw iyxZVLNnYkhXl6a7t/Vy00qdBFBdEkknQWZ2GuvM+o03sGLQhDXwcmTrpY67AfGZJkwY fZTkAXmoiUqzsJBN3wip5QbM1aakjI3c1GeqZ5JFlAQk6bjtbeqZfgkc3hop5W4pUZ9x pmjD5firZEjBEn2Zs4pK37Zj3PrTxoDVPvHCwEKPfBUP0DRBMynXBY2CONhpYPnvJGIn XKy775K14cn6I723RB0YWNzVgTWlfrNfnX4JAzCRuca0/M40MmxxovX8/AaItCi1vxWn 6T5A== X-Forwarded-Encrypted: i=1; AFNElJ/fsKzaHWhwfRqNdQsCqEMQKhnA5+rhW+Z5aydZO2Rj63M6yJBVskB+YMWhnnlQgz+rPlsdehto1n58DYcjeRZoj6cM@freebsd.org X-Gm-Message-State: AOJu0YyS1UtwvZhQ2WEC8wUhEuSxzvJw6VQxakklTmkwb8xo493ZCFm0 HjsiWQVurzHDwsEXtV4oZKMjf4glKkw7V0hTanZfejPVse+5OI0ye5SF6RVJXX1+OuAMxpNkvh8 2Wve55UEC9Ruwt5Xx4sXbv1KOBCzATXQ= X-Gm-Gg: AeBDieuAcn212TGvUVvaeyDiP2IlucoAWlQCKLI7IU3rDjf08XZVudZtXYeCzjPWYUD JcBxvmpSzKM9p6GJRI5fybHMZDEscsosdzVaGxl6rCPharokGQhf4ciJtzuBIEjc3iKk0X6XWt9 qiZDBmPh7ys0UnDtGracmJB16xRHE1bTM+6Zp69mToUa1cZRT884Knly6axDSmopKJCmssWSehr zAtuSLmTOPwljejV0bsjfLGDraBnL1557Vf6ADX64/6TA6r4u2EFc+9z6kvn9Vc4HWrieB1NHjn ActeVDBsz3eeopY8pXhr51/nYB4NuSVEBHWGrGaqo+MfmaA0tMQ= 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 all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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:c]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.160.169:from]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; NEURAL_SPAM_MEDIUM(0.10)[0.097]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-all@freebsd.org]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.169:from]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; MLMMJ_DEST(0.00)[dev-commits-src-all@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; R_DKIM_NA(0.00)[] X-Rspamd-Queue-Id: 4g30lj15tyz3jRp 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