Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2026 20:56:54 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Pierre Pronchery <khorben@defora.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: a3cefe7f2b4d - main - Add 'contrib/pkgconf/' from commit  '6294b6ab217a2d5f1d2bc23a64505a228294c508'
Message-ID:  <20260423205654.00794984@slippy.cwsent.com>
In-Reply-To: <A8427024-D2FD-4CB1-A45F-69AE7798DEE4@defora.org>
References:  <69e8d0f5.21991.2317e6c2@gitrepo.freebsd.org> <20260424005749.3B0092A@slippy.cwsent.com> <A8427024-D2FD-4CB1-A45F-69AE7798DEE4@defora.org>

index | next in thread | previous in thread | raw e-mail

On Fri, 24 Apr 2026 03:27:06 +0200
Pierre Pronchery <khorben@defora.org> wrote:

> 			Hi Cy, (all)
> 
> > On 24 Apr 2026, at 02:57, Cy Schubert <Cy.Schubert@cschubert.com> wrote:
> > 
> > In message <69e8d0f5.21991.2317e6c2@gitrepo.freebsd.org>, Pierre Pronchery 
> > writ
> > es:  
> >> The branch main has been updated by khorben:
> >> 
> >> URL: https://cgit.FreeBSD.org/src/commit/?id=a3cefe7f2b4df0f70ff92d4570ce18e5
> >> 17af43ec
> >> 
> >> commit a3cefe7f2b4df0f70ff92d4570ce18e517af43ec
> >> Merge: 45827f9ad2e3 6294b6ab217a
> >> Author:     Pierre Pronchery <khorben@FreeBSD.org>
> >> AuthorDate: 2026-04-22 13:13:42 +0000
> >> Commit:     Pierre Pronchery <khorben@FreeBSD.org>
> >> CommitDate: 2026-04-22 13:13:42 +0000
> >> 
> >>    Add 'contrib/pkgconf/' from commit '6294b6ab217a2d5f1d2bc23a64505a228294c
> >> 508'
> >> 
> >>    git-subtree-dir: contrib/pkgconf
> >>    git-subtree-mainline: 45827f9ad2e32ec8e4cdde62cbf722a48fb1b396
> >>    git-subtree-split: 6294b6ab217a2d5f1d2bc23a64505a228294c508
> >>   
> > 
> > This commit breaks the x11-toolkits/gtk20 build. It tries pkg-config 
> > --exists cairo-xlib, receiving a return code indicating graphics/cairo does 
> > not have X11 support. To fix this we may need to update ports to use 
> > pkg-config in $LOCALBASE or the base pkg-config should also search for .pc 
> > files in $LOCALBASE/share/pkgconf, in addition to where base .pc files will 
> > be stored. Disabling PKGCONF in base circumvents the problem but it is not 
> > the solution. (Poudriere is yet another matter.)
> > 
> > Thoughts?  
> 
> First: sorry for the breakage.

It's nobody's fault.

> 
> I am a bit confused, because on my system, with gtk2 installed:
> 
> - there is no /usr/local/share/pkgconf folder
> - cairo-xlib.pc and x11.pc are both in /usr/local/libdata/pkgconfig
> - pkg-config in base is already built with PKG_DEFAULT_PATH including
>   /usr/local/libdata/pkgconfig
> 
> Am I missing something?

Setting PKG_CONFIG_PATH has resolved the issue.

PKG_CONFIG_PATH=/usr/libd ata/pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig pkg-config --exists cairo-xlib; echo $?
0
stinky# 

Yes, both $LOCALBASE/libdata/pkgconfig and $LOCALBASE/shre/pkgconfig
exist, each with .pc files installed by different ports. This is best
discussed in a different thread on a different ML.

Would adding an entry to UPDATING be of some value?

> 
> Cheers & HTH,



-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e**(i*pi)+1=0


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20260423205654.00794984>