Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2026 23:51:43 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 4dd97955e68d - main - libpkgconf: Fix paths
Message-ID:  <CAFDf7ULO08320gYxmeoqnvvXc4cxDqLsD5aXz-WrDVgcKms6kA@mail.gmail.com>
In-Reply-To: <6f82ab2f-b5da-429f-84ed-4d5b7af5f5f0@yahoo.com>
References:  <69ee1653.34850.61462b24@gitrepo.freebsd.org> <24a05f73-84a3-480f-b797-e0688753810c@yahoo.com> <CAFDf7U%2Bz16qRxMWA%2B=iq_GapPp1T3gfTnibn5rp-cKSmWmMP4w@mail.gmail.com> <6f82ab2f-b5da-429f-84ed-4d5b7af5f5f0@yahoo.com>

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

[-- Attachment #1 --]
Hello Mark,

Sorry for bad reply...

I did take a look a https://reviews.freebsd.org/D56404 and noticed that ivy@
participate on it and did open
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439

For what I see in PR is that uacme pkgconf problem is related to PREFIX set
to pkg maybe related to pkgbase method when installing main or suing a
custom PREFIX.

Thanks,

Mark Millard <marklmi@yahoo.com> escreveu (quinta, 21/05/2026 à(s) 21:21):

> On 5/21/26 11:18, Nuno Teixeira wrote:
> > Hello,
> >
> > This change doens't honour PREFIX when it is set to other path than
> > default "/usr/local/"
>
> As I only had noted an unexpected year in a date when I read the
> original and replied about that, replying to my message instead of
> des@'s original message is a little odd.
>
> But, in response, I did post a question to the review of the original
> https://reviews.freebsd.org/D56404 ("pkgconf: import into the base
> system"), asking:
>
> "What is the relationship of this type of change to use of ${PREFIX}
> when ports install themselves and it is not the /usr/local default
> value? (There is also a linux compatibility related standard default for
> PREFIX and folks can specify things like /opt .)"
>
> I referenced you and your message.
>
> >
> > -CFLAGS+=       -DPERSONALITY_PATH=\"/usr/share/pkgconfig/
> > personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U}/etc/pkgconfig/
> > personality.d\"
> > -CFLAGS+=       -DPKG_DEFAULT_PATH=\"${LOCALBASE:U}/libdata/pkgconfig:/
> > usr/libdata/pkgconfig:${LOCALBASE:U}/share/pkgconfig\"
> > +CFLAGS+=       -DPERSONALITY_PATH=\"/usr/share/pkgconfig/
> > personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U/usr/local}/etc/
> > pkgconfig/personality.d\"
> > +CFLAGS+=       -DPKG_DEFAULT_PATH=\"${LOCALBASE:U/usr/local}/libdata/
> >
> pkgconfig:/usr/libdata/pkgconfig:${LOCALBASE:U/usr/local}/share/pkgconfig\"
> >
> > Please see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439
> > <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439>;
> >
> > Thanks,
> >
> > Mark Millard <marklmi@yahoo.com <mailto:marklmi@yahoo.com>> escreveu
> > (domingo, 26/04/2026 à(s) 19:08):
> >
> >     On 4/26/26 06:42, Dag-Erling Smørg rav wrote:
> >     > The branch main has been updated by des:
> >     >
> >     > URL: https://cgit.FreeBSD.org/src/commit/?
> >     id=4dd97955e68df02b26d59e4e7c9a8167947a5164 <https://
> >     cgit.FreeBSD.org/src/commit/?
> >     id=4dd97955e68df02b26d59e4e7c9a8167947a5164>
> >     >
> >     > commit 4dd97955e68df02b26d59e4e7c9a8167947a5164
> >     > Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
> >     > AuthorDate: 2026-04-26 13:41:47 +0000
> >     > Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
> >     > CommitDate: 2026-04-26 13:41:47 +0000
> >     >
> >     >     libpkgconf: Fix paths
> >     >
> >     >     ${LOCALBASE:U} evaluates to exactly the same thing as
> >     ${LOCALBASE}.
> >     >     Presumably what was meant was ${LOCALBASE:U/usr/local}.
> >     >
> >     >     Fixes:          b8352da33f34 ("pkgconf: import into the base
> >     system")
> >     >     Reviewed by:    khorben
> >     >     Differential Revision:  https://reviews.freebsd.org/D56642
> >     <https://reviews.freebsd.org/D56642>;
> >     > ---
> >     >  lib/libpkgconf/Makefile       | 4 ++--
> >     >  tools/build/depend-cleanup.sh | 4 ++++
> >     >  2 files changed, 6 insertions(+), 2 deletions(-)
> >     >
> >     > diff --git a/lib/libpkgconf/Makefile b/lib/libpkgconf/Makefile
> >     > index fee7f275d9ff..3cfb2172a00e 100644
> >     > --- a/lib/libpkgconf/Makefile
> >     > +++ b/lib/libpkgconf/Makefile
> >     > @@ -14,8 +14,8 @@ INCS=               bsdstubs.h iter.h
> >     libpkgconf-api.h libpkgconf.h stdinc.h
> >     >
> >     >  WARNS?=              3
> >     >
> >     > -CFLAGS+=     -DPERSONALITY_PATH=\"/usr/share/pkgconfig/
> >     personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U}/etc/
> >     pkgconfig/personality.d\"
> >     > -CFLAGS+=     -DPKG_DEFAULT_PATH=\"${LOCALBASE:U}/libdata/
> >     pkgconfig:/usr/libdata/pkgconfig:${LOCALBASE:U}/share/pkgconfig\"
> >     > +CFLAGS+=     -DPERSONALITY_PATH=\"/usr/share/pkgconfig/
> >     personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U/usr/local}/
> >     etc/pkgconfig/personality.d\"
> >     > +CFLAGS+=     -DPKG_DEFAULT_PATH=\"${LOCALBASE:U/usr/local}/
> >     libdata/pkgconfig:/usr/libdata/pkgconfig:${LOCALBASE:U/usr/local}/
> >     share/pkgconfig\"
> >     >  CFLAGS+=     -DSYSTEM_INCLUDEDIR=\"/usr/include\"
> >     >  CFLAGS+=     -DSYSTEM_LIBDIR=\"/usr/lib\"
> >     >  CFLAGS+=     -I${SRCTOP}/lib/libpkgconf -I${PKGCONFDIR}
> >     > diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-
> >     cleanup.sh
> >     > index e9c02d015368..c186c39a3448 100755
> >     > --- a/tools/build/depend-cleanup.sh
> >     > +++ b/tools/build/depend-cleanup.sh
> >     > @@ -317,6 +317,10 @@ check_epoch_and_opts
> >     >  #          "$OBJTOP"/tests/sys/kqueue/libkqueue/*
> >     >  #fi
> >     >
> >     > +# 20250426 # libpkgconfig contains incorrect paths
> >
> >     2025 above is a typo?
> >
> >     > +clean_obj lib/libpkgconf personality c pkgconfig:/share
> >     > +clean_obj lib/libpkgconf pkg c pkgconfig:/share
> >     > +
> >     >  # 20251219 # libkrb5profile is now internal
> >     >  for libcompat in "" $ALL_libcompats; do
> >     >       dirprfx=${libcompat:+obj-lib${libcompat}}
> >     >
> >     >
> >
> >
> >     --
> >     ===
> >     Mark Millard
> >     marklmi at yahoo.com <http://yahoo.com>;
> >
> >
> >
> > --
> > Nuno Teixeira
> > FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org
> > <https://FreeBSD.org>;
>
>
> --
> ===
> Mark Millard
> marklmi at yahoo.com
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

[-- Attachment #2 --]
<div dir="ltr"><div><div><div><div>Hello Mark,<br><br></div>Sorry for bad reply...<br><br></div>I did take a look a <a href="https://reviews.freebsd.org/D56404">https://reviews.freebsd.org/D56404</a>; and noticed that ivy@<br>participate on it and did open <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439</a><br><br></div>For what I see in PR is that uacme pkgconf problem is related to PREFIX set to pkg maybe related to pkgbase method when installing main or suing a custom PREFIX.<br><br></div>Thanks,</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Mark Millard &lt;<a href="mailto:marklmi@yahoo.com">marklmi@yahoo.com</a>&gt; escreveu (quinta, 21/05/2026 à(s) 21:21):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/21/26 11:18, Nuno Teixeira wrote:<br>
&gt; Hello,<br>
&gt; <br>
&gt; This change doens&#39;t honour PREFIX when it is set to other path than<br>
&gt; default &quot;/usr/local/&quot;<br>
<br>
As I only had noted an unexpected year in a date when I read the<br>
original and replied about that, replying to my message instead of<br>
des@&#39;s original message is a little odd.<br>
<br>
But, in response, I did post a question to the review of the original<br>
<a href="https://reviews.freebsd.org/D56404" rel="noreferrer" target="_blank">https://reviews.freebsd.org/D56404</a>; (&quot;pkgconf: import into the base<br>
system&quot;), asking:<br>
<br>
&quot;What is the relationship of this type of change to use of ${PREFIX}<br>
when ports install themselves and it is not the /usr/local default<br>
value? (There is also a linux compatibility related standard default for<br>
PREFIX and folks can specify things like /opt .)&quot;<br>
<br>
I referenced you and your message.<br>
<br>
&gt; <br>
&gt; -CFLAGS+=       -DPERSONALITY_PATH=\&quot;/usr/share/pkgconfig/<br>
&gt; personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U}/etc/pkgconfig/<br>
&gt; personality.d\&quot;<br>
&gt; -CFLAGS+=       -DPKG_DEFAULT_PATH=\&quot;${LOCALBASE:U}/libdata/pkgconfig:/<br>
&gt; usr/libdata/pkgconfig:${LOCALBASE:U}/share/pkgconfig\&quot;<br>
&gt; +CFLAGS+=       -DPERSONALITY_PATH=\&quot;/usr/share/pkgconfig/<br>
&gt; personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U/usr/local}/etc/<br>
&gt; pkgconfig/personality.d\&quot;<br>
&gt; +CFLAGS+=       -DPKG_DEFAULT_PATH=\&quot;${LOCALBASE:U/usr/local}/libdata/<br>
&gt; pkgconfig:/usr/libdata/pkgconfig:${LOCALBASE:U/usr/local}/share/pkgconfig\&quot;<br>
&gt; <br>
&gt; Please see <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439" rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439</a><br>;
&gt; &lt;<a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439" rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295439</a>&gt;<br>;
&gt; <br>
&gt; Thanks,<br>
&gt; <br>
&gt; Mark Millard &lt;<a href="mailto:marklmi@yahoo.com" target="_blank">marklmi@yahoo.com</a> &lt;mailto:<a href="mailto:marklmi@yahoo.com" target="_blank">marklmi@yahoo.com</a>&gt;&gt; escreveu<br>
&gt; (domingo, 26/04/2026 à(s) 19:08):<br>
&gt; <br>
&gt;     On 4/26/26 06:42, Dag-Erling Smørg rav wrote:<br>
&gt;     &gt; The branch main has been updated by des:<br>
&gt;     &gt;<br>
&gt;     &gt; URL: <a href="https://cgit.FreeBSD.org/src/commit/" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/src/commit/</a>?<br>;
&gt;     id=4dd97955e68df02b26d59e4e7c9a8167947a5164 &lt;https://<br>;
&gt;     <a href="http://cgit.FreeBSD.org/src/commit/" rel="noreferrer" target="_blank">cgit.FreeBSD.org/src/commit/</a>?<br>
&gt;     id=4dd97955e68df02b26d59e4e7c9a8167947a5164&gt;<br>
&gt;     &gt;<br>
&gt;     &gt; commit 4dd97955e68df02b26d59e4e7c9a8167947a5164<br>
&gt;     &gt; Author:     Dag-Erling Smørgrav &lt;des@FreeBSD.org&gt;<br>
&gt;     &gt; AuthorDate: 2026-04-26 13:41:47 +0000<br>
&gt;     &gt; Commit:     Dag-Erling Smørgrav &lt;des@FreeBSD.org&gt;<br>
&gt;     &gt; CommitDate: 2026-04-26 13:41:47 +0000<br>
&gt;     &gt;<br>
&gt;     &gt;     libpkgconf: Fix paths<br>
&gt;     &gt;     <br>
&gt;     &gt;     ${LOCALBASE:U} evaluates to exactly the same thing as<br>
&gt;     ${LOCALBASE}.<br>
&gt;     &gt;     Presumably what was meant was ${LOCALBASE:U/usr/local}.<br>
&gt;     &gt;     <br>
&gt;     &gt;     Fixes:          b8352da33f34 (&quot;pkgconf: import into the base<br>
&gt;     system&quot;)<br>
&gt;     &gt;     Reviewed by:    khorben<br>
&gt;     &gt;     Differential Revision:  <a href="https://reviews.freebsd.org/D56642" rel="noreferrer" target="_blank">https://reviews.freebsd.org/D56642</a><br>;
&gt;     &lt;<a href="https://reviews.freebsd.org/D56642" rel="noreferrer" target="_blank">https://reviews.freebsd.org/D56642</a>&gt;<br>;
&gt;     &gt; ---<br>
&gt;     &gt;  lib/libpkgconf/Makefile       | 4 ++--<br>
&gt;     &gt;  tools/build/depend-cleanup.sh | 4 ++++<br>
&gt;     &gt;  2 files changed, 6 insertions(+), 2 deletions(-)<br>
&gt;     &gt;<br>
&gt;     &gt; diff --git a/lib/libpkgconf/Makefile b/lib/libpkgconf/Makefile<br>
&gt;     &gt; index fee7f275d9ff..3cfb2172a00e 100644<br>
&gt;     &gt; --- a/lib/libpkgconf/Makefile<br>
&gt;     &gt; +++ b/lib/libpkgconf/Makefile<br>
&gt;     &gt; @@ -14,8 +14,8 @@ INCS=               bsdstubs.h iter.h<br>
&gt;     libpkgconf-api.h libpkgconf.h stdinc.h<br>
&gt;     &gt; <br>
&gt;     &gt;  WARNS?=              3<br>
&gt;     &gt; <br>
&gt;     &gt; -CFLAGS+=     -DPERSONALITY_PATH=\&quot;/usr/share/pkgconfig/<br>
&gt;     personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U}/etc/<br>
&gt;     pkgconfig/personality.d\&quot;<br>
&gt;     &gt; -CFLAGS+=     -DPKG_DEFAULT_PATH=\&quot;${LOCALBASE:U}/libdata/<br>
&gt;     pkgconfig:/usr/libdata/pkgconfig:${LOCALBASE:U}/share/pkgconfig\&quot;<br>
&gt;     &gt; +CFLAGS+=     -DPERSONALITY_PATH=\&quot;/usr/share/pkgconfig/<br>
&gt;     personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U/usr/local}/<br>
&gt;     etc/pkgconfig/personality.d\&quot;<br>
&gt;     &gt; +CFLAGS+=     -DPKG_DEFAULT_PATH=\&quot;${LOCALBASE:U/usr/local}/<br>
&gt;     libdata/pkgconfig:/usr/libdata/pkgconfig:${LOCALBASE:U/usr/local}/<br>
&gt;     share/pkgconfig\&quot;<br>
&gt;     &gt;  CFLAGS+=     -DSYSTEM_INCLUDEDIR=\&quot;/usr/include\&quot;<br>
&gt;     &gt;  CFLAGS+=     -DSYSTEM_LIBDIR=\&quot;/usr/lib\&quot;<br>
&gt;     &gt;  CFLAGS+=     -I${SRCTOP}/lib/libpkgconf -I${PKGCONFDIR}<br>
&gt;     &gt; diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-<br>
&gt;     cleanup.sh<br>
&gt;     &gt; index e9c02d015368..c186c39a3448 100755<br>
&gt;     &gt; --- a/tools/build/depend-cleanup.sh<br>
&gt;     &gt; +++ b/tools/build/depend-cleanup.sh<br>
&gt;     &gt; @@ -317,6 +317,10 @@ check_epoch_and_opts<br>
&gt;     &gt;  #          &quot;$OBJTOP&quot;/tests/sys/kqueue/libkqueue/*<br>
&gt;     &gt;  #fi<br>
&gt;     &gt; <br>
&gt;     &gt; +# 20250426 # libpkgconfig contains incorrect paths<br>
&gt; <br>
&gt;     2025 above is a typo?<br>
&gt; <br>
&gt;     &gt; +clean_obj lib/libpkgconf personality c pkgconfig:/share<br>
&gt;     &gt; +clean_obj lib/libpkgconf pkg c pkgconfig:/share<br>
&gt;     &gt; +<br>
&gt;     &gt;  # 20251219 # libkrb5profile is now internal<br>
&gt;     &gt;  for libcompat in &quot;&quot; $ALL_libcompats; do<br>
&gt;     &gt;       dirprfx=${libcompat:+obj-lib${libcompat}}<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt; <br>
&gt; <br>
&gt;     -- <br>
&gt;     ===<br>
&gt;     Mark Millard<br>
&gt;     marklmi at <a href="http://yahoo.com" rel="noreferrer" target="_blank">yahoo.com</a> &lt;<a href="http://yahoo.com" rel="noreferrer" target="_blank">http://yahoo.com</a>&gt;<br>;
&gt; <br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Nuno Teixeira<br>
&gt; FreeBSD UNIX:  &lt;eduardo@FreeBSD.org&gt;   Web:  <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br>;
&gt; &lt;<a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a>&gt;<br>;
<br>
<br>
-- <br>
===<br>
Mark Millard<br>
marklmi at <a href="http://yahoo.com" rel="noreferrer" target="_blank">yahoo.com</a><br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX:  &lt;eduardo@FreeBSD.org&gt;   Web:  <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>;
home | help

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