From nobody Mon Jun 27 05:53:49 2022 X-Original-To: freebsd-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 90AE18A5A1E for ; Mon, 27 Jun 2022 05:54:08 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LWcNv3Mf6z3qxj for ; Mon, 27 Jun 2022 05:54:07 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x233.google.com with SMTP id y77so11552358oia.3 for ; Sun, 26 Jun 2022 22:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=odTYXKOc1m6wIiY+ueOJ8XRrNJfNl2j296DF2PVr/hg=; b=SQ3MpMFUKZG6r9SMBRbj+O+OXwENP8BCU0RulMGOHx2ZzlFJSxDQkaz3ptJeZN4G4O 2fZhbRAVQXgYO/uiJ76PvxOpQhhlxUnAWAiYcS/kgkpq6xB7THtvNswj+wR+DFUtLEHr +xTJJBCF3oAKNMfe9PRlopRioJAaEyh1FcEi1DgemtfapTPIC1oDYfbB/oivtrnc6Cuz 6jJVQRAvIn8Mh2Nn0XviHqvxFNYB8zgI0+lDAby7H1+ePa2hLTa7xSFvG3+FMG0ec4o7 YQwg0enpwZC5zzLrBaQUb568mAhvae5H42sUnDU4cL1+I0+ag9at01b/etqVzoTNFltP pxRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=odTYXKOc1m6wIiY+ueOJ8XRrNJfNl2j296DF2PVr/hg=; b=DeAYNbtz4RiJFzvgfSKaaiDPDa0+Hlr1CiB8EK+orE9VHHJJt2WoH9HaFWttluq08y vIsOwO5XVCLBmwaZcvz6oIw6+xIRmjYCI9L/lUgIVCmnnIxYcP7emQzF21I/u0rLf5pB /ukEjAwERGXdfGxNiAVvlPzHt4eug0eAlzm+CEicUF64792odEXz8EJznHRPkt7sirpa GCfqQN3Ljkz4h5F1Dj88A9DwL5e5tDbsYfH8ZOLNO/Ily0bRk0XWF2IJT4E7qU2tl2wC 9xykk2qTKYGuhCg85yAOWnOhIGBVLJr4wql+x4rftlHHYnlUvjWcM6hLqg0B6JH26SqR Qf5g== X-Gm-Message-State: AJIora8rmLEjzDhj1MxMWrg7vkdJnCTig40egFA4AAlq/En99bamjG7x AoqdRIoBe7pZ6tMgTFqx7bYK44BIpMOp1KYeb2uEJcPKJ3o= X-Google-Smtp-Source: AGRyM1u/wIpv6UCe3ebzL7hDUc8cbgEWUzMUP1YpGOddEjzo9RpclF5a8L/oniBnSAttfMgpG6+BNnN2NkUvSv7WT1w= X-Received: by 2002:a05:6808:1a0f:b0:335:380c:9f43 with SMTP id bk15-20020a0568081a0f00b00335380c9f43mr6841553oib.230.1656309246617; Sun, 26 Jun 2022 22:54:06 -0700 (PDT) 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 References: <63e462b6-5c6d-9130-7f9c-06f35841d157@cloudzeeland.nl> <31a00676-5ce0-63be-4cda-8d1e4801c937@langille.org> In-Reply-To: <31a00676-5ce0-63be-4cda-8d1e4801c937@langille.org> From: Kevin Oberman Date: Sun, 26 Jun 2022 22:53:49 -0700 Message-ID: Subject: Re: Moving from BDB5 to BDB18 To: Dan Langille Cc: Jos Chrispijn , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000486dff05e2678cd7" X-Rspamd-Queue-Id: 4LWcNv3Mf6z3qxj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=SQ3MpMFU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::233 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.70 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::233:from]; MLMMJ_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000486dff05e2678cd7 Content-Type: text/plain; charset="UTF-8" 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 --000000000000486dff05e2678cd7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Jun 26, 2022 at 5:26 PM= Dan Langille <dan@langille.org&= gt; wrote:
Kevin Oberman wrote on 5/19/22 8:17=20 PM:
=20
On Thu, May 19,=20 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=20 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 go= od 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=C2=A0 to 18.


Jos: did you succeed?

Kevin: Wouldn't this be enough to picked up db18?

DEFAULT_VERSIONS+=3Dbdb=3D18

I ask because that didn't fix devel/apr1 for me. It still built with db= 5

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 B= DB and ports/Mk/Uses/bdb.mk has some stuff th= at really tries to build things with 18.
> pkg info -d ap= r
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 Engine= er
E-mail: rkob= erman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B3= 18AB39EF1B055683
--000000000000486dff05e2678cd7--