Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2022 19:02:41 -0400
From:      "Dan Langille" <dan@langille.org>
To:        "via questions" <questions@freebsd.org>
Subject:   Re: Moving from BDB5 to BDB18
Message-ID:  <58c51556-11b2-4d84-8e83-7b97612b98b3@www.fastmail.com>
In-Reply-To:  <CAN6yY1v=4xMy=M4MC2E6Yi9oRq_GjdR7qH9CT8WS-_bZ7xX50Q@mail.gmail.com>
References:  <63e462b6-5c6d-9130-7f9c-06f35841d157@cloudzeeland.nl> <CAN6yY1vaaknSEB5o3=N6YNMKoJbEsGwBu8ZMqXgbx1Jwp0gegA@mail.gmail.com> <bc3285ef-9c40-cfad-28a1-e0bccbd1fc2a@cloudzeeland.nl> <CAN6yY1vvFefs1hLtepVmB5Q9voawvcWe0-3E1JmPM65dDg3MqA@mail.gmail.com> <31a00676-5ce0-63be-4cda-8d1e4801c937@langille.org> <CAN6yY1v=4xMy=M4MC2E6Yi9oRq_GjdR7qH9CT8WS-_bZ7xX50Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--53ed36168f4f44eaa50012d7b7181d9f
Content-Type: text/plain

On Mon, Jun 27, 2022, at 1:53 AM, Kevin Oberman wrote:
> On Sun, Jun 26, 2022 at 5:26 PM Dan Langille <dan@langille.org> wrote:
>> Kevin Oberman wrote on 5/19/22 8:17 PM:
>> 
>>> On Thu, May 19, 2022 at 5:19 AM Jos Chrispijn <bsduser@cloudzeeland.nl> wrote:
>>>> Kevin Oberman:
>>>> 
>>>> > That is exactly what that means. As the shareable for db18 is not the 
>>>> > same as for db5, all programs linked to db5 must be reinstalled. so that 
>>>> > they link to any of the several shareables db installs.
>>>> 
>>>> Can you tell how do I force them to use bdb18?
>>>> Can imagine that they automagically force installation of bdb5 again on 
>>>> re-compile?
>>>> 
>>>> Thanks, Jos
>>> 
>>> For some reason, quite likely, a good one, the default in ports/Mk/bsd.default-versions.mk is still 5. You can either edit the Makefile for each of the ports linked against 5 to 18 or edit the default for BDB  to 18. 
>>> 
>> 
>> Jos: did you succeed?
>> 
>> Kevin: Wouldn't this be enough to picked up db18?
>> 
>> DEFAULT_VERSIONS+=bdb=18
>> 
>> I ask because that didn't fix devel/apr1 for me. It still built with db5
> 
> I edited the ports/Mk/bsd.default-versions.mk, rebuilt all of the ports that depend on BDB and that worked.
> 
> Just tried devel/apr1 and it was happy to build against bdb18. This is after an update to ports/Mk has replaced the 18 with 5. I see bsd.sanity.mk has several references to BDB and ports/Mk/Uses/bdb.mk has some stuff that really tries to build things with 18.
> > pkg info -d apr
> apr-1.7.0.1.6.1_2:
> expat-2.4.8
> gdbm-1.23
> db18-18.1.40
> 
> Note that I no longer have db5 installed... only db18.
> 
> -- 
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

I just tried that;

[pkg01 dan /usr/local/poudriere/ports/default/devel/apr1] % make -V BDB_DEFAULT
18

Rebuilding devel/apr1 still uses db5....

* I removed old packages from /var/cache/pkg
* I've tried with various options - devel/apr1 keeps wanting db5

--
  Dan Langille
  dan@langille.org


--53ed36168f4f44eaa50012d7b7181d9f
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div><span style=3D"=
background-image:;background-position-x:;background-position-y:;backgrou=
nd-size:;background-repeat-x:;background-repeat-y:;background-attachment=
:;background-origin:;background-clip:;background-color:;color:var(--ui-p=
age-color-fg);">On Mon, Jun 27, 2022, at 1:53 AM, Kevin Oberman wrote:</=
span><br></div><blockquote type=3D"cite" id=3D"qt" style=3D""><div dir=3D=
"ltr"><div dir=3D"ltr"><div class=3D"qt-gmail_default" style=3D"font-fam=
ily:tahoma, sans-serif;font-size:small;">On Sun, Jun 26, 2022 at 5:26 PM=
 Dan Langille &lt;<a href=3D"mailto:dan@langille.org">dan@langille.org</=
a>&gt; wrote:<br></div></div><div class=3D"qt-gmail_quote"><blockquote c=
lass=3D"qt-gmail_quote" style=3D"margin-top:0px;margin-right:0px;margin-=
bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:sol=
id;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div><div><sp=
an>Kevin Oberman wrote on 5/19/22 8:17=20
PM:</span><br></div><div> <br></div><blockquote type=3D"cite"><div dir=3D=
"ltr"><div style=3D"font-family:tahoma, sans-serif;font-size:small;">On =
Thu, May 19,=20
2022 at 5:19 AM Jos Chrispijn &lt;<a href=3D"mailto:bsduser@cloudzeeland=
.nl" target=3D"_blank">bsduser@cloudzeeland.nl</a>&gt;
 wrote:<br></div><div class=3D"qt-gmail_quote"><blockquote class=3D"qt-g=
mail_quote" style=3D"margin-top:0px;margin-right:0px;margin-bottom:0px;m=
argin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-le=
ft-color:rgb(204, 204, 204);padding-left:1ex;"><div>Kevin Oberman:<br></=
div><div> <br></div><div> &gt; That is exactly what that means. As the s=
hareable for db18 is not=20
the <br></div><div> &gt; same as for db5, all programs linked to db5 mus=
t be reinstalled. so
 that <br></div><div> &gt; they link to any of the several shareables db=
 installs.<br></div><div> <br></div><div> Can you tell how do I force th=
em to use bdb18?<br></div><div> Can imagine that they automagically forc=
e installation of bdb5 again on <br></div><div> re-compile?<br></div><di=
v> <br></div><div> Thanks, Jos<br></div></blockquote></div><div><br></di=
v><div><div style=3D"font-family:tahoma, sans-serif;font-size:small;">Fo=
r some reason, quite likely, a good one, the=20
default in ports/Mk/<a href=3D"http://bsd.default-versions.mk" target=3D=
"_blank">bsd.default-versions.mk</a> is still 5. You can=20
either edit the Makefile for each of the ports linked against 5 to 18 or
 edit the default for BDB&nbsp; to 18. <br></div><div><br></div></div></=
div></blockquote><div><br></div><div>Jos: did you succeed?<br></div><div=
> <br></div><div> Kevin: Wouldn't this be enough to picked up db18?<br><=
/div><div> <br></div><div> DEFAULT_VERSIONS+=3Dbdb=3D18<br></div><div> <=
br></div><div> I ask because that didn't fix devel/apr1 for me. It still=
 built with db5<br></div></div></blockquote><div><br></div><div style=3D=
"font-family:tahoma, sans-serif;font-size:small;" class=3D"qt-gmail_defa=
ult">I edited the ports/Mk/<a href=3D"http://bsd.default-versions.mk">bs=
d.default-versions.mk</a>, rebuilt all of the ports that depend on BDB a=
nd that worked.<br></div><div style=3D"font-family:tahoma, sans-serif;fo=
nt-size:small;" class=3D"qt-gmail_default"><br></div><div style=3D"font-=
family:tahoma, sans-serif;font-size:small;" class=3D"qt-gmail_default">J=
ust tried devel/apr1 and it was happy to build against bdb18. This is af=
ter an update to ports/Mk has replaced the 18 with 5. I see <a href=3D"h=
ttp://bsd.sanity.mk">bsd.sanity.mk</a> has several references to BDB and=
 ports/Mk/Uses/<a href=3D"http://bdb.mk">bdb.mk</a>; has some stuff that =
really tries to build things with 18.<br></div><div style=3D"font-family=
:tahoma, sans-serif;font-size:small;" class=3D"qt-gmail_default"><div>&g=
t; pkg info -d apr<br></div><div>apr-1.7.0.1.6.1_2:<br></div><div> expat=
-2.4.8<br></div><div> gdbm-1.23<br></div><div> db18-18.1.40<br></div></d=
iv><div style=3D"font-family:tahoma, sans-serif;font-size:small;" class=3D=
"qt-gmail_default"><br></div><div style=3D"font-family:tahoma, sans-seri=
f;font-size:small;" class=3D"qt-gmail_default">Note that I no longer hav=
e db5 installed... only db18.<br></div></div><div><br></div><div>-- <br>=
</div><div dir=3D"ltr" class=3D"qt-gmail_signature"><div dir=3D"ltr"><di=
v><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div>Kevi=
n Oberman, Part time kid herder and retired Network Engineer<br></div><d=
iv>E-mail: <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkob=
erman@gmail.com</a><br></div></div><div>PGP Fingerprint: D03FB98AFA78E3B=
78C1694B318AB39EF1B055683<br></div></div></div></div></div></div></div><=
/div></div></blockquote><div><br></div><div>I just tried that;<br></div>=
<div><br></div><div>[pkg01 dan /usr/local/poudriere/ports/default/devel/=
apr1] % make -V BDB_DEFAULT<br></div><div>18<br></div><div><br></div><di=
v>Rebuilding devel/apr1 still uses db5....<br></div><div><br></div><div>=
* I removed old packages from&nbsp;<span style=3D"font-variant-ligatures=
:no-common-ligatures;">/var/cache/pkg</span><br></div><div><span style=3D=
"font-variant-ligatures:no-common-ligatures;">* I've tried with various =
options - devel/apr1 keeps wanting db5</span><br></div><div><br></div><d=
iv id=3D"sig65064480"><div class=3D"signature">--<br></div><div class=3D=
"signature">&nbsp; Dan Langille<br></div><div class=3D"signature">&nbsp;=
 dan@langille.org<br></div><div class=3D"signature"><br></div></div><div=
><br></div></body></html>
--53ed36168f4f44eaa50012d7b7181d9f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58c51556-11b2-4d84-8e83-7b97612b98b3>