From owner-dev-commits-src-main@freebsd.org Tue Feb 2 01:15:54 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E0A9C4F876F; Tue, 2 Feb 2021 01:15:54 +0000 (UTC) (envelope-from git@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 4DV6MG5x4yz3nLK; Tue, 2 Feb 2021 01:15:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 BE8F1254C3; Tue, 2 Feb 2021 01:15:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1121FsYQ078895; Tue, 2 Feb 2021 01:15:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1121Fs8g078894; Tue, 2 Feb 2021 01:15:54 GMT (envelope-from git) Date: Tue, 2 Feb 2021 01:15:54 GMT Message-Id: <202102020115.1121Fs8g078894@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 0b7f1af804f0 - main - Bump shared library versions after ncurses bump in 13. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0b7f1af804f06a285717b490bef80e24648adcbe Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2021 01:15:54 -0000 The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0b7f1af804f06a285717b490bef80e24648adcbe commit 0b7f1af804f06a285717b490bef80e24648adcbe Author: John Baldwin AuthorDate: 2021-02-02 01:09:33 +0000 Commit: John Baldwin CommitDate: 2021-02-02 01:11:49 +0000 Bump shared library versions after ncurses bump in 13. A few shared libraries in the base system link against ncurses. An upgrade from a 12.x host to 13 results in ABI breakage for existing binaries since the newer versions of these libraries link against the newer ncurses while the binary itself links against the older ncurses. For example, dialog4ports built on 12.x sometimes crashes on 13 since it depends on libdialog which links against ncurses internally. MFC after: 3 days Reviewed by: kib, delphij Differential Revision: https://reviews.freebsd.org/D28448 --- ObsoleteFiles.inc | 11 +++++++++++ gnu/lib/libdialog/Makefile | 2 +- lib/libdpv/Makefile | 2 +- lib/libedit/Makefile | 2 +- lib/ncurses/form/Makefile | 1 + lib/ncurses/menu/Makefile | 1 + lib/ncurses/panel/Makefile | 1 + 7 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 29cf25e152e6..696243470b14 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -36,6 +36,17 @@ # xargs -n1 | sort | uniq -d; # done +# 20210201: bump shared libraries which link against ncurses +OLD_LIBS+=lib/libedit.so.7 +OLD_LIBS+=usr/lib/libdialog.so.8 +OLD_LIBS+=usr/lib/libdpv.so.1 +OLD_LIBS+=usr/lib/libform.so.5 +OLD_LIBS+=usr/lib/libformw.so.5 +OLD_LIBS+=usr/lib/libmenu.so.5 +OLD_LIBS+=usr/lib/libmenuw.so.5 +OLD_LIBS+=usr/lib/libpanel.so.5 +OLD_LIBS+=usr/lib/libpanelw.so.5 + # 20210125: ndis driver support removed OLD_FILES+=usr/sbin/ndiscvt OLD_FILES+=usr/sbin/ndisgen diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile index 69d8dbd3fdb8..e4f1b62121d9 100644 --- a/gnu/lib/libdialog/Makefile +++ b/gnu/lib/libdialog/Makefile @@ -3,7 +3,7 @@ DIALOG= ${SRCTOP}/contrib/dialog LIB= dialog -SHLIB_MAJOR= 8 +SHLIB_MAJOR= 9 SRCS= argv.c arrows.c buildlist.c buttons.c calendar.c checklist.c \ columns.c dlg_keys.c editbox.c fselect.c formbox.c guage.c \ help.c inputbox.c inputstr.c menubox.c mixedform.c \ diff --git a/lib/libdpv/Makefile b/lib/libdpv/Makefile index d2334ee38186..be28debc70bc 100644 --- a/lib/libdpv/Makefile +++ b/lib/libdpv/Makefile @@ -2,7 +2,7 @@ PACKAGE= dpv LIB= dpv -SHLIB_MAJOR= 1 +SHLIB_MAJOR= 2 INCS= dpv.h MAN= dpv.3 MLINKS= dpv.3 dpv_free.3 diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index f1dbad42db22..963063ef90fa 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -7,7 +7,7 @@ PACKAGE=clibs EDITDIR= ${SRCTOP}/contrib/libedit .PATH: ${EDITDIR} -SHLIB_MAJOR= 7 +SHLIB_MAJOR= 8 SHLIBDIR?= /lib WARNS?= 3 diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile index a8e636d6ce1b..a6b186936dc5 100644 --- a/lib/ncurses/form/Makefile +++ b/lib/ncurses/form/Makefile @@ -6,6 +6,7 @@ SRCDIR= ${NCURSES_DIR}/form LIB= formw +SHLIB_MAJOR= 6 .PATH: ${SRCDIR} SRCS= \ diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile index 7844cd4d936c..9bd92723fed9 100644 --- a/lib/ncurses/menu/Makefile +++ b/lib/ncurses/menu/Makefile @@ -6,6 +6,7 @@ SRCDIR= ${NCURSES_DIR}/menu LIB= menuw +SHLIB_MAJOR= 6 .PATH: ${SRCDIR} SRCS= \ diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile index a22df4d89570..9dd950496b1b 100644 --- a/lib/ncurses/panel/Makefile +++ b/lib/ncurses/panel/Makefile @@ -6,6 +6,7 @@ SRCDIR= ${NCURSES_DIR}/panel LIB= panelw +SHLIB_MAJOR= 6 .PATH: ${SRCDIR} SRCS= \