[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

--- 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

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.

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

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

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


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

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

root@rolling-vm-freebsd4[35]# pkg version -vL =
apel-emacs28_nox-10.8.20201106_1   ?   orphaned: editors/apel
c-sig-emacs28_nox-        ?   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-,2 <   needs updating (index has,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 ?   orphaned: editors/flim
forge-devel-emacs28_nox-   ?   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- ?   orphaned: japanese/lookup
magit-devel-emacs28_nox-   ?   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-   ?   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

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:,2 ->,2

Number of packages to be upgraded: 1

Proceed with this action? [y/N]: y
[1/1] Upgrading emacs-devel-nox from,2 to,2...
[1/1] Extracting emacs-devel-nox-,2: 100%

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

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