#59824 closed defect (invalid)
emacs-devel is now of version 27.0.50
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | wyuenho (Jimmy Yuen Ho Wong) | |
Port: | emacs-devel |
Description
Portfile
contains:
75 if {$subport eq $name || $subport eq "emacs-app"} { 76 version 26.3 77 revision 1 78 79 checksums rmd160 263c0152f538d3371c60accb710f3825b01ae097 \ 80 sha256 09c747e048137c99ed35747b012910b704e0974dde4db6696fde7054ce387591 \ 81 size 65207899 82 83 patchfiles patch-configure.diff 84 85 pre-configure { 86 system -W ${worksrcpath} "sh ./autogen.sh" 87 } 88 }
but /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs -nw --version
returns:
GNU Emacs 27.0.50 Copyright (C) 2019 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.
The X client installs as /opt/local/bin/emacs-27.0.50
.
Change History (9)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Cc: | wyuenho added; dports@… removed |
---|---|
Keywords: | highsierra removed |
Owner: | set to drkp |
Status: | new → assigned |
comment:2 follow-up: 3 Changed 5 years ago by wyuenho (Jimmy Yuen Ho Wong)
comment:3 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)
Replying to wyuenho:
but /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs -nw --version returns:
That's not the X client, that's the NextStep port.
Yes, I know. Therefore, for X11, I added that line:
The X client installs as /opt/local/bin/emacs-27.0.50
Did you type
port install emacs
and sawemacs-devel
installed?
No.
comment:4 follow-up: 5 Changed 5 years ago by wyuenho (Jimmy Yuen Ho Wong)
Well then, what command did you type? I can't reproduce what you saw without knowing you did and expected.
comment:5 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)
Replying to wyuenho:
Well then, what command did you type? I can't reproduce what you saw without knowing you did and expected.
It was port -vd upgrade outdated
. emacs-app-devel
and emacs-devel
where among the set out outdated ports. Their source code comes directly from a GIT repository. Since this happened for the first time the version of GNU Emacs has changed from 26.x to 27.0.50. See:
pete 184 /\ grep -in version `port file emacs-devel` 59: xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim 76: version 26.3 92: version 20191120
Nevertheless the architecture specific ELisp files go into /opt/local/share/emacs/27.0.50:
pete 186 /\ l /opt/local/share/emacs/ total 0 drwxr-xr-x 5 root wheel 170 8 Dez 11:51 27.0.50 drwxr-xr-x 3 root admin 578 8 Dez 11:51 site-lisp
comment:6 follow-up: 7 Changed 5 years ago by wyuenho (Jimmy Yuen Ho Wong)
I still don't understand what the problem is. What's the output of port installed
?
comment:7 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)
Replying to wyuenho:
I still don't understand what the problem is. What's the output of
port installed
?
The problem is that in Portfile
an old and now outdated version of GNU Emacs is recorded.
comment:8 follow-up: 9 Changed 5 years ago by drkp (Dan Ports)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
I don't understand this issue either. I think you are misunderstanding the Portfile, which is shared between emacs and emacs-devel.
The emacs subport installs 26.3, the latest stable version. That is what the version line you are seeing refers to. The emacs-devel subport installs a git release from 20191120, which, yes, identifies itself as 27.0.50.
comment:9 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)
Replying to drkp:
The emacs subport installs 26.3, the latest stable version. That is what the version line you are seeing refers to. The emacs-devel subport installs a git release from 20191120, which, yes, identifies itself as 27.0.50.
Exactly this was my problem, I did not see that four ports share the same Portfile
. My report was non-sense.
That's not the X client, that's the NextStep port.
The title says "emacs-devel is now of version 27.0.50", and this emacs is the TUI version, which is the result of
port install emacs-devel
, which comes fromDid you type
port install emacs
and sawemacs-devel
installed?