Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#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 4 years ago by jmroot (Joshua Root)

Cc: wyuenho added; dports@… removed
Keywords: highsierra removed
Owner: set to drkp
Status: newassigned

comment:2 Changed 4 years ago by wyuenho (Jimmy Yuen Ho Wong)

but /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs -nw --version returns:

That's not the X client, that's the NextStep port.

The X client installs as /opt/local/bin/emacs-27.0.50

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 from

if {$subport eq "emacs-devel" || $subport eq "emacs-app-devel"} {
    epoch           1
    version         20191120

    fetch.type      git
    git.url         http://git.savannah.gnu.org/r/emacs.git
    git.branch      c928f41330ece779127a0c4c9b6ca0fdde8a1046

    pre-configure {
        system -W ${worksrcpath} "sh ./autogen.sh"
    }

    configure.args-append  --with-json
    depends_lib-append     port:jansson

    livecheck.type none
}

Did you type port install emacs and saw emacs-devel installed?

Last edited 4 years ago by wyuenho (Jimmy Yuen Ho Wong) (previous) (diff)

comment:3 in reply to:  2 Changed 4 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 saw emacs-devel installed?

No.

comment:4 Changed 4 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.

Last edited 4 years ago by wyuenho (Jimmy Yuen Ho Wong) (previous) (diff)

comment:5 in reply to:  4 Changed 4 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 Changed 4 years ago by wyuenho (Jimmy Yuen Ho Wong)

I still don't understand what the problem is. What's the output of port installed ?

Last edited 4 years ago by wyuenho (Jimmy Yuen Ho Wong) (previous) (diff)

comment:7 in reply to:  6 Changed 4 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 Changed 4 years ago by drkp (Dan Ports)

Resolution: invalid
Status: assignedclosed

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 in reply to:  8 Changed 4 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.

Note: See TracTickets for help on using tickets.