From nobody Thu Oct 21 15:40:51 2021 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 392E618031D6 for ; Thu, 21 Oct 2021 15:40:51 +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 4HZsBp5ymwz3KYc for ; Thu, 21 Oct 2021 15:40:50 +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 AE8C81D7D9 for ; Thu, 21 Oct 2021 15:40:50 +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 19LFeobs061691 for ; Thu, 21 Oct 2021 15:40:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19LFeok9061690 for ports-bugs@FreeBSD.org; Thu, 21 Oct 2021 15:40:50 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 259259] Mk/Uses/emacs.mk: Remove Emacs major version from EMACS_PKGNAMESUFFIX Date: Thu, 21 Oct 2021 15:40:51 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yasu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259259 --- Comment #6 from Yasuhiro Kimura --- (In reply to Joseph Mingrone from comment #3) > 2. It looks like the transition won't be smooth. This doesn't happen wit= hout the patch. Maybe we just need to bump PORTVERSION? Certainly it is the hurdle that need to be overcome. At first PORTVERSION of all dependent ports need to be bump to rebuild pack= ages with new EMACS_PKGNAMESUFFIX. Based on it, for portmaster user it is proper= ly handled with `portmaster -a`. But for binary packages user it isn't so eas= y to handle it. Since package name of dependent ports change, `pkg` command rega= rds them as orphaned. And unfortunately I can't find the way to upgrading orpha= ned package without once removing and reinstalling them. So following steps are probably easiest and most reliable. 1. Execute `pkg query -a '%a %o' | awk '$1=3D=3D0 {print $2}' | sort > /tmp/package-origin-list.txt`. This command creates the list of origin of packages manually installed by user. 2. Remove Emacs and dependent packages with `pkg remove -g 'emacs*'`. 3. Execute `pkg query -a '%a %o' | awk '$1=3D=3D0 {print $2}' | sort | diff /tmp/package-origin-list.txt -`. This command shows manually installed pack= ages removed by step 2. 4. Install each package showed by step 3 with `pkg install`. --=20 You are receiving this mail because: You are on the CC list for the bug.=