From nobody Tue Jul 19 23:02:41 2022 X-Original-To: questions@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 4LnZB10ZwHz46nhN for ; Tue, 19 Jul 2022 23:03:05 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LnZB02t3tz3QJ4 for ; Tue, 19 Jul 2022 23:03:04 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 1227E32007E8 for ; Tue, 19 Jul 2022 19:03:02 -0400 (EDT) Received: from imap42 ([10.202.2.92]) by compute2.internal (MEProxy); Tue, 19 Jul 2022 19:03:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1658271782; x=1658358182; bh=sjBDuPj74O dchn+0mmNkzT92jyn6p3ISt6f2Jx/u7mY=; b=gHGuy6rOpYR62+v0Rf/yHNaQcZ 8GeLxNWW8az8j03Y5JGpjA4TWyicIEtD9FPFMNbj/LOXWe8+5Azrz6W+qK1mRbHD 0T236J248DbAgfP1qvR97yV4DLaSSyozaVNBcWI3G7lizjBjvdIuYko3WiIJFwjZ BAD0aoNaj8jvQtgYX0djm8QapQJgxoMtzUwJeMQ4myXTlNyEFouedamRnfmP2/2/ 7j4KxIDY3awGK31UNoW4OBxn4HJ884dFgVt0qpb267z2YCaPDAUkdWt5MdXh6szr enXsiXklPgYbvwOwfxWbvrRyrLXf+JXJ3i0MLus5q/l420pH7q0KkoOOhrHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1658271782; x=1658358182; bh=sjBDuPj74Odchn+0mmNkzT92jyn6 p3ISt6f2Jx/u7mY=; b=qtztEqPHubpXljgMWFlQmFRqaXinpgoKYskJwlIch1SH rnpwwaTN1Ua4ovA6729HWV+81iwY0WSBHZnDsG6YvVptvcTTnpa/vb7N8J6MUrqH 4s8NvVDIjGAoEVwmcOBTTuiSO1vx5J4+NY2ifSaxH96ex8e2uMxEyVOwQGfO4zOq dEan/1tat3s1C/mCSsE+Jogb4d/1gX+xscC3NyNif1K8rNRvoOnYgP90K9EbrqXJ gFApApOqjAeBxOBWXFbdzjMa0tjGR0iSZ3eFvJg5utyJlfzCZ5SXz/hJs4fH7jiC V2jg0XjtMVkxW+G6VX1vfDVyctsjyqfEcFJmZoFJYA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeluddgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdffrghn ucfnrghnghhilhhlvgdfuceouggrnheslhgrnhhgihhllhgvrdhorhhgqeenucggtffrrg htthgvrhhnpefhjedvhedtgedvkedufefgjeffjeeuvdffveekkedthffgvdeutdeghfeh uedukeenucffohhmrghinhepuggvfhgruhhlthdqvhgvrhhsihhonhhsrdhmkhdpshgrnh hithihrdhmkhdpsggusgdrmhhknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepuggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5D650BC0075; Tue, 19 Jul 2022 19:03:02 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-755-g3e1da8b93f-fm-20220708.002-g3e1da8b9 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Message-Id: <58c51556-11b2-4d84-8e83-7b97612b98b3@www.fastmail.com> In-Reply-To: References: <63e462b6-5c6d-9130-7f9c-06f35841d157@cloudzeeland.nl> <31a00676-5ce0-63be-4cda-8d1e4801c937@langille.org> Date: Tue, 19 Jul 2022 19:02:41 -0400 From: "Dan Langille" To: "via questions" Subject: Re: Moving from BDB5 to BDB18 Content-Type: multipart/alternative; boundary=53ed36168f4f44eaa50012d7b7181d9f X-Rspamd-Queue-Id: 4LnZB02t3tz3QJ4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm3 header.b=gHGuy6rO; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=qtztEqPH; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 64.147.123.20 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-4.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; MID_RHS_WWW(0.50)[]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm3,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.20:from]; XM_UA_NO_VERSION(0.01)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEFALL_USER(0.00)[dan]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-ThisMailContainsUnwantedMimeParts: N --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 wrote: >> Kevin Oberman wrote on 5/19/22 8:17 PM: >> >>> On Thu, May 19, 2022 at 5:19 AM Jos Chrispijn 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
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:

> That is exactly what that means. As the s= hareable for db18 is not=20 the
> same as for db5, all programs linked to db5 mus= t be reinstalled. so that
> they link to any of the several shareables db= installs.

Can you tell how do I force th= em to use bdb18?
Can imagine that they automagically forc= e installation of bdb5 again on
re-compile?

Thanks, Jos

Fo= r some reason, quite likely, a good one, the=20 default in ports/Mk/bsd.default-versions.mk 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  to 18.


Jos: did you succeed?

Kevin: Wouldn't this be enough to picked up db18?
<= /div>

DEFAULT_VERSIONS+=3Dbdb=3D18
<= br>
I ask because that didn't fix devel/apr1 for me. It still= built with db5

I edited the ports/Mk/bs= d.default-versions.mk, rebuilt all of the ports that depend on BDB a= nd that worked.

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 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.
&g= t; 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 hav= e db5 installed... only db18.

--
=
Kevi= n Oberman, Part time kid herder and retired Network Engineer
E-mail: rkob= erman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B= 78C1694B318AB39EF1B055683
<= /div>

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--