From nobody Thu Jul 21 16:13:58 2022 X-Original-To: ports-bugs@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 4Lpd151y0wz4WyrC for ; Thu, 21 Jul 2022 16:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lpd150vCXz4L48 for ; Thu, 21 Jul 2022 16:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lpd1473HjzSld for ; Thu, 21 Jul 2022 16:14:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26LGE0Gh057066 for ; Thu, 21 Jul 2022 16:14:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26LGE0iE057065 for ports-bugs@FreeBSD.org; Thu, 21 Jul 2022 16:14:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261523] Mk/bsd.default-versions.mk: Change default db5 (deprecated and EoL) to db18 Date: Thu, 21 Jul 2022 16:13:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: yasu@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run? X-Bugzilla-Changed-Fields: attachments.isobsolete flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658420041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T7AfOKDJTySEVs7oV+kw74wmtLTzmZ3qYtZb7uZVVsc=; b=VgcEx5PepHQvlE0X25w1oTrWzCITrSyzrx31W45FRC0wy4T/+8fiHViyFItvRy0pdVvlU5 aMPLPCKNQXJbNEyWYmkI3wV/L1hNX8yuRBvqW/NBfPRiG6x4M18NzxW9bbD6OzUx+lEXhu 6/4Uhi+i+Ue6HnSVC+H9kUcf63v5+uqcj1QRtSnrcNbI88tg4TMD51ut68P2qYL1B1pyIi j1ErupOS0QphYUje6Smkf3synFMoOLfLl/jYvzDFmgFFtgQsUxflvXTgc5o4EQoj2RKUgT eyKUtHVO4AAJreITq7ZycdrEe2M9TxcOn90Mq2F8EGkbMHH8LbyihXnS1gloJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658420041; a=rsa-sha256; cv=none; b=lu7iZzpPSENlPyMQngFRZBliF+dprdBZ2POxy81obc/xUAZVQ4x14IIlYMpQJM4FxgcSiD zaFXRG7XPmp0Qgm7coq59ejr73O+9rzyn2YyvnSIflfRik4gOoUXBli1voB+dYYqa3l0V+ Exs08SdW3nIkWWtq5EdqW3LOFfxPtM+9GMgavrH6fLFbc/I0fWGbQsH+/W5e70D3mLDcSN cw9Ux781o/M9x1WZfPPoo8suqzN9MuKlT+Wi5bCTtUuQIl77jKI7vRM2jK+lxvz4J4M47E aDBtLAE6oyOxKXa9V5C+h2oVgWP7+AS7RzwJpwPU5bOfg1tizDTOFFE0s8mZLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261523 Yasuhiro Kimura changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #231569|0 |1 is obsolete| | Attachment #231617|maintainer-approval?(apache | Flags|@FreeBSD.org) | Attachment #231617|0 |1 is obsolete| | --- Comment #9 from Yasuhiro Kimura --- Created attachment 235409 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235409&action= =3Dedit Updated patch file * Remove compatiblity hack to upgrade older plussed versions to 5+ aa there isn't such case in ports tree anymore. * Remove INVALID_BDB_VER and replace it with argument of 'USE=3Dbsb'. * Stop checking if there is already installed version of berkeley db. While testing migration from db5 to db18, I found following confuging situation. (1) Currently default version of bdb is 5. So if a port uses 'USES=3Dbdb'= , then install packages depends of db5. (2) To migrate to db18, add 'DEFAULT_VERSIONS+=3Dbdb=3D18' to /etc/make.c= onf. (3) Rebuild package installed at (1). (4) Now it is expected the package depends on db18. But what really=20=20= =20=20=20=20 happens is that it still depends on db5. It happens because when db5 is alr= eady installed it is used as default version of bdb even if there is 'DEFAULT_VERSIONS+=3Dbdb=3D18' in /etc/make.conf. It's against user's expec= tation. So remove the logic. * Add entry to UPDATING. * Bump PORTREVISION of ports that use bdb. --=20 You are receiving this mail because: You are on the CC list for the bug.=