[Bug 259259] Mk/Uses/emacs.mk: Remove Emacs major version from EMACS_PKGNAMESUFFIX

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Oct 2021 14:36:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259259

--- Comment #5 from Yasuhiro Kimura <yasu@freebsd.org> ---
(In reply to Joseph Mingrone from comment #3)

I reprodeced the situation and confirmed if the problem really happens. At
first I made crean install of 13.0-RELEASE amd64 and checked out ports
342b303a6a89 as ports tree. Editor/emacs-devel is updated to 29.0.50 with ports
e7edd97198e4 and ports 342b303a6a89 is just previous commit of it in main
branch.

----------------------------------------------------------------------
yasu@rolling-vm-freebsd4[1054]% git log -n 2 e7edd97198e4
commit e7edd97198e4
Author: Joseph Mingrone <jrm@FreeBSD.org>
Date:   Wed Sep 29 22:20:03 2021

    editors/emacs-devel: Update to 2021-10-01 commit, 30bbb57*

    * The major version was bumped from 28 to 29 since the last update.

    Approved by:    portmgr (implicit)
    Differential Revision:  https://reviews.freebsd.org/D32258

commit 342b303a6a89
Author: Jimmy Olgeni <olgeni@FreeBSD.org>
Date:   Sat Oct 2 03:13:27 2021

    lang/erlang-doc: Update to version 24.1.
yasu@rolling-vm-freebsd4[1054]%
----------------------------------------------------------------------

Then I did bulk build with poudriere and 13.0-RELEASE jail under following
settings.

List of ports specified with '-f' option of `poudriere bulk`:
https://www.utahime.org/FreeBSD/Mk_Users_emacs.mk/ports-list.txt (*)
Settings used as /usr/local/poudriere.d/make.conf
https://www.utahime.org/FreeBSD/Mk_Users_emacs.mk/make.conf

After bulk build completed I did `pkg install` with each ports in (*) and
following packages are installed as a result.

https://www.utahime.org/FreeBSD/Mk_Users_emacs.mk/pkg-info-aq.log

Next I updated ports tree to ports 126e3bb1f151.

----------------------------------------------------------------------
commit 126e3bb1f151
Author: Joseph Mingrone <jrm@FreeBSD.org>
Date:   Sat Oct 2 00:37:38 2021

    *: Chase new major version (29) of editors/emacs-devel

    Differential Revision:  https://reviews.freebsd.org/D32258
----------------------------------------------------------------------

Then I did bulk build again to update editors/emacs-devel and depending
packages.

Now preparation has completed. First `pkg version -vL =` displays following
output.

----------------------------------------------------------------------
root@rolling-vm-freebsd4[35]# pkg version -vL =
apel-emacs28_nox-10.8.20201106_1   ?   orphaned: editors/apel
c-sig-emacs28_nox-3.8.0.1_5        ?   orphaned: mail/c-sig
closql-emacs28_nox-1.0.6           ?   orphaned: databases/closql
dash.el-emacs28_nox-2.19.1         ?   orphaned: devel/dash.el
emacs-devel-nox-28.0.50.20210916,2 <   needs updating (index has
29.0.50.20211001,2)
emacs-w3m-emacs28_nox-1.4.632.b.20210917 ?   orphaned: www/emacs-w3m
emacsql-emacs28_nox-3.0.0          ?   orphaned: databases/emacsql
flim-emacs28_nox-1.14.9.20210529,1 ?   orphaned: editors/flim
forge-devel-emacs28_nox-0.2.1.14   ?   orphaned: devel/forge-devel
ghub-emacs28_nox-3.5.3             ?   orphaned: devel/ghub
git-modes-emacs28_nox-1.3.1,1      ?   orphaned: devel/git-modes
ja-lookup-emacs28_nox-1.99.96.20180209_7 ?   orphaned: japanese/lookup
magit-devel-emacs28_nox-3.2.1.32   ?   orphaned: devel/magit-devel
markdown-mode.el-emacs28_nox-2.4   ?   orphaned: textproc/markdown-mode.el
mew-devel-emacs28_nox-6.8.72_1     ?   orphaned: mail/mew-devel
pg.el-emacs28_nox-0.13             ?   orphaned: databases/pg.el
semi-emacs28_nox-1.14.7.20210613   ?   orphaned: editors/semi
transient-emacs28_nox-0.3.6        ?   orphaned: devel/transient
treepy.el-emacs28_nox-0.1.2_1      ?   orphaned: devel/treepy.el
with-editor-emacs28_nox-3.0.4      ?   orphaned: editors/with-editor
yaml-mode.el-emacs28_nox-0.0.15_1  ?   orphaned: textproc/yaml-mode.el
yaml.el-emacs28_nox-0.3.4          ?   orphaned: textproc/yaml.el
root@rolling-vm-freebsd4[35]#
----------------------------------------------------------------------

And result of `pkg upgrade` is as following.

----------------------------------------------------------------------
root@rolling-vm-freebsd4[36]# pkg upgrade
Updating Poudriere repository catalogue...
Poudriere repository is up to date.
All repositories are up to date.
Checking for upgrades (2 candidates): 100%
Processing candidates (2 candidates): 100%
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        emacs-devel-nox: 28.0.50.20210916,2 -> 29.0.50.20211001,2

Number of packages to be upgraded: 1

Proceed with this action? [y/N]: y
[1/1] Upgrading emacs-devel-nox from 28.0.50.20210916,2 to
29.0.50.20211001,2...
[1/1] Extracting emacs-devel-nox-29.0.50.20211001,2: 100%
root@rolling-vm-freebsd4[36]#
----------------------------------------------------------------------

As you can see, only editors/emacs-devel is updated and depending ports aren't
updated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.