unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59005: 29.0.50; Package transient installed as dependency despite it being built-in
@ 2022-11-03 20:04 miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-24 19:40 ` Stefan Kangas
  0 siblings, 1 reply; 5+ messages in thread
From: miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-03 20:04 UTC (permalink / raw)
  To: 59005

[-- Attachment #1: Type: text/plain, Size: 3415 bytes --]

With an empty .emacs.d directory and nonexistent .emacs.el init file,
installing magit with 'M-x package-install RET magit RET' pulls
transient from elpa. You can see it installed into ~/.emacs.d/elpa/.

Perhaps transient should be added to finder--builtins-alist?

In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
 3.24.34, cairo version 1.17.6) of 2022-10-31 built on miha-pc
Repository revision: a691e811e23dee48674e9e0716429074fdbe3d7b
Repository branch: tmp
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Artix Linux

Configured using:
 'configure --without-libsystemd --with-native-compilation 'CFLAGS=-O2
 -g -flto' LDFLAGS=-flto'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra
help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 78478 6013)
 (symbols 48 7107 0)
 (strings 32 19315 2106)
 (string-bytes 1 579913)
 (vectors 16 14468)
 (vector-slots 8 257304 12864)
 (floats 8 27 46)
 (intervals 56 351 0)
 (buffers 984 12))


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59005: 29.0.50; Package transient installed as dependency despite it being built-in
  2022-11-03 20:04 bug#59005: 29.0.50; Package transient installed as dependency despite it being built-in miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-24 19:40 ` Stefan Kangas
  2022-11-25 14:29   ` Jonas Bernoulli
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2022-11-24 19:40 UTC (permalink / raw)
  To: miha; +Cc: 59005, Jonas Bernoulli

miha@kamnitnik.top writes:

> With an empty .emacs.d directory and nonexistent .emacs.el init file,
> installing magit with 'M-x package-install RET magit RET' pulls
> transient from elpa. You can see it installed into ~/.emacs.d/elpa/.
>
> Perhaps transient should be added to finder--builtins-alist?

Jonas, any comments here?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59005: 29.0.50; Package transient installed as dependency despite it being built-in
  2022-11-24 19:40 ` Stefan Kangas
@ 2022-11-25 14:29   ` Jonas Bernoulli
  2022-11-26  8:10     ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-26 14:17     ` Jonas Bernoulli
  0 siblings, 2 replies; 5+ messages in thread
From: Jonas Bernoulli @ 2022-11-25 14:29 UTC (permalink / raw)
  To: Stefan Kangas, miha; +Cc: 59005

Stefan Kangas <stefankangas@gmail.com> writes:

> miha@kamnitnik.top writes:
>
>> With an empty .emacs.d directory and nonexistent .emacs.el init file,
>> installing magit with 'M-x package-install RET magit RET' pulls
>> transient from elpa. You can see it installed into ~/.emacs.d/elpa/.

That wouldn't be surprising when using Melpa.  But that archive is not
listed in the default value of `package-archives'.  What is its value
of that variable for you and what version of magit gets installed?

>> Perhaps transient should be added to finder--builtins-alist?

The purpose of doing that would be to ensure that `transient' gets its
own entry in `package--builtins' (but because it consists of a single
library it would be the wrong mechanism for doing so).  Since transient
already has such an entry in `package--builtins' anyway, doing this
would not change anything.

> Jonas, any comments here?

This is weird.  Maybe it is related to the following, which I also
cannot explain:

-------------------- Start of forwarded message --------------------
From: ELPA update <do.not.reply@elpa.gnu.org>
To: Jonas Bernoulli <jonas@bernoul.li>
Subject: [NonGNU-devel ELPA] Tarball build failure for magit
Date: Fri, 25 Nov 2022 05:05:50 -0500

The build scripts failed to build the tarball
for version 3.3.0snapshot0.20221125.2110 of the package magit.
You can consult the latest error output in the file
"magit-build-failure.txt" in the NonGNU-devel ELPA archive web site.

You can also try and reproduce the error locally as follows:

    git clone --single-branch git://git.sv.gnu.org/emacs/nongnu.git
    cd nongnu
    make                 # Setup the infrastructure
    make packages/magit  # Create a worktree of the package
    make build/magit     # Build the tarballs into archive(-devel)/

## The current error output was the following:

======== Building tarball archive-devel/magit-3.3.0snapshot0.20221125.2110.tar...
Build error for archive-devel/magit-3.3.0snapshot0.20221125.2110.tar: (error "Unavailable version \"3.3.0\" for package git-commit")
######## Build of package archive-devel/magit-3.3.0snapshot0.20221125.2110.tar FAILED!!
-------------------- End of forwarded message --------------------





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59005: 29.0.50; Package transient installed as dependency despite it being built-in
  2022-11-25 14:29   ` Jonas Bernoulli
@ 2022-11-26  8:10     ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-26 14:17     ` Jonas Bernoulli
  1 sibling, 0 replies; 5+ messages in thread
From: miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-26  8:10 UTC (permalink / raw)
  To: Jonas Bernoulli, Stefan Kangas; +Cc: 59005

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

Jonas Bernoulli <jonas@bernoul.li> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> miha@kamnitnik.top writes:
>>
>>> With an empty .emacs.d directory and nonexistent .emacs.el init file,
>>> installing magit with 'M-x package-install RET magit RET' pulls
>>> transient from elpa. You can see it installed into ~/.emacs.d/elpa/.
>
> That wouldn't be surprising when using Melpa.  But that archive is not
> listed in the default value of `package-archives'.  What is its value
> of that variable for you and what version of magit gets installed?

(("gnu" . "https://elpa.gnu.org/packages/")
 ("nongnu" . "https://elpa.nongnu.org/nongnu/"))

and magit-3.3.0

More detailed bug recipe:

$ mkdir /tmp/emacs-tmp
$ HOME=/tmp/emacs-tmp src/emacs  # or just "emacs"

M-x package-install RET magit RET:
Emacs installs magit-3.3.0, most likely from nongnu elpa.

C-h v package-archives RET:
package-archivesis a variable defined in ‘package.el’.

Its value is
(("gnu" . "https://elpa.gnu.org/packages/")
 ("nongnu" . "https://elpa.nongnu.org/nongnu/"))

$ cd /tmp/emacs-tmp/.emacs.d/elpa
$ ls
archives
dash-2.19.1
dash-2.19.1.signed
git-commit-3.3.0
git-commit-3.3.0.signed
gnupg
magit-3.3.0
magit-3.3.0.signed
magit-section-3.3.0
magit-section-3.3.0.signed
transient-0.3.7
transient-0.3.7.signed
with-editor-3.2.0
with-editor-3.2.0.signed

Thanks and best regards.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59005: 29.0.50; Package transient installed as dependency despite it being built-in
  2022-11-25 14:29   ` Jonas Bernoulli
  2022-11-26  8:10     ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-26 14:17     ` Jonas Bernoulli
  1 sibling, 0 replies; 5+ messages in thread
From: Jonas Bernoulli @ 2022-11-26 14:17 UTC (permalink / raw)
  To: Stefan Kangas, miha; +Cc: 59005

Jonas Bernoulli <jonas@bernoul.li> writes:

> This is weird.  Maybe it is related to the following, which I also
> cannot explain:

That is indeed the case.  The issue was triggered by a change to
elpa-admin.el, the addition of version checks, which takes pre-releases.
into account.  The root cause is a mismatch between how `version<' et
al. treat suffixes like "-git" and how I use "N-git" to mean "this is
not N, it is an arbitrary commit that comes after that".  I am in
communication with Stefan to decide how to deal with that.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-26 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 20:04 bug#59005: 29.0.50; Package transient installed as dependency despite it being built-in miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-24 19:40 ` Stefan Kangas
2022-11-25 14:29   ` Jonas Bernoulli
2022-11-26  8:10     ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-26 14:17     ` Jonas Bernoulli

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).