GNU bug report logs - #51234
emacs.pdmp file name (--fingerprint)

Previous Next

Package: emacs;

Reported by: Thomas Klausner <tk <at> giga.or.at>

Date: Sat, 16 Oct 2021 07:08:02 UTC

Severity: wishlist

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51234 in the body.
You can then email your comments to 51234 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Sat, 16 Oct 2021 07:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Klausner <tk <at> giga.or.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 16 Oct 2021 07:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Klausner <tk <at> giga.or.at>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs.pdmp file name (--fingerprint)
Date: Sat, 16 Oct 2021 09:07:12 +0200
Severity: wishlist

Hi!

Recently, in git head, the default name for the emacs.pdmp file
changed to emacs-someverylonghexstring.pdmp (I think in commit
e81f1faca4382ed5c8f15fec84fb7c900a5468f9).

I don't know why this is preferred to the simple emacs.pdmp that was
there before. I do not see a rationale in the commit messsage.

I'm sending this mail because this filename causes problems for
packagers who prefer maintaining static file lists to make sure
exactly a known list of files is installed by a program.

Can you explain why this was changed?

Can it perhaps be changed back? Or is there an option to not use it?

Thanks,
 Thomas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Sat, 16 Oct 2021 13:45:01 GMT) Full text and rfc822 format available.

Message #8 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Thomas Klausner <tk <at> giga.or.at>
Cc: 51234 <at> debbugs.gnu.org
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Sat, 16 Oct 2021 15:43:58 +0200
Thomas Klausner <tk <at> giga.or.at> writes:

> I don't know why this is preferred to the simple emacs.pdmp that was
> there before. I do not see a rationale in the commit messsage.

The commit message refers to bug#42790, which has the discussion.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 07:42:02 GMT) Full text and rfc822 format available.

Message #11 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Thomas Klausner <tk <at> giga.or.at>
Cc: 51234 <at> debbugs.gnu.org
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 09:41:09 +0200
Thomas Klausner <tk <at> giga.or.at> writes:

> I'm sending this mail because this filename causes problems for
> packagers who prefer maintaining static file lists to make sure
> exactly a known list of files is installed by a program.

If you rename the file to "emacs.pdmp", Emacs will still find it, but I
guess this isn't documented.  We could also add a configure option to do
this renaming automatically, I guess?

Anybody got an opinion here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 18 Oct 2021 07:42:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 08:03:01 GMT) Full text and rfc822 format available.

Message #16 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 51234 <at> debbugs.gnu.org, Thomas Klausner <tk <at> giga.or.at>
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 10:01:39 +0200
>>>>> On Mon, 18 Oct 2021 09:41:09 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Thomas Klausner <tk <at> giga.or.at> writes:
    >> I'm sending this mail because this filename causes problems for
    >> packagers who prefer maintaining static file lists to make sure
    >> exactly a known list of files is installed by a program.

    Lars> If you rename the file to "emacs.pdmp", Emacs will still find it, but I
    Lars> guess this isn't documented.  We could also add a configure option to do
    Lars> this renaming automatically, I guess?

Yes, we donʼt have enough configure options, and our Makefiles are too
simple /s

    Lars> Anybody got an opinion here?

We should document the 'emacs.pdmp' thing, but after that isnʼt it a
packaging issue? Whomever wants 'emacs.pdmp' just copies the actual
pdmp file to that.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 08:05:02 GMT) Full text and rfc822 format available.

Message #19 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 51234 <at> debbugs.gnu.org, Thomas Klausner <tk <at> giga.or.at>
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 10:04:01 +0200
Robert Pluim <rpluim <at> gmail.com> writes:

> We should document the 'emacs.pdmp' thing, but after that isnʼt it a
> packaging issue? Whomever wants 'emacs.pdmp' just copies the actual
> pdmp file to that.

Sure.  Where's a good place to document this so that Debian maintainers
(etc) will find it?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 08:28:02 GMT) Full text and rfc822 format available.

Message #22 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 51234 <at> debbugs.gnu.org, Thomas Klausner <tk <at> giga.or.at>
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 10:26:50 +0200
>>>>> On Mon, 18 Oct 2021 10:04:01 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Robert Pluim <rpluim <at> gmail.com> writes:
    >> We should document the 'emacs.pdmp' thing, but after that isnʼt it a
    >> packaging issue? Whomever wants 'emacs.pdmp' just copies the actual
    >> pdmp file to that.

    Lars> Sure.  Where's a good place to document this so that Debian maintainers
    Lars> (etc) will find it?

etc/NEWS? This is an emacs-29 thing, no? Thatʼs where we announced the
portable dumper itself.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 08:47:01 GMT) Full text and rfc822 format available.

Message #25 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 51234 <at> debbugs.gnu.org, Thomas Klausner <tk <at> giga.or.at>
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 10:46:18 +0200
Robert Pluim <rpluim <at> gmail.com> writes:

> etc/NEWS? This is an emacs-29 thing, no? Thatʼs where we announced the
> portable dumper itself.

Yes, but it should be documented forever -- people will be wondering
later, too.

But I see that I forgot to mention it in NEWS, and it's definitely
NEWS-worthy.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 08:56:01 GMT) Full text and rfc822 format available.

Message #28 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 51234 <at> debbugs.gnu.org, Thomas Klausner <tk <at> giga.or.at>
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 10:55:00 +0200
>>>>> On Mon, 18 Oct 2021 10:46:18 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Robert Pluim <rpluim <at> gmail.com> writes:
    >> etc/NEWS? This is an emacs-29 thing, no? Thatʼs where we announced the
    >> portable dumper itself.

    Lars> Yes, but it should be documented forever -- people will be wondering
    Lars> later, too.

(info "(elisp) Building Emacs")

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 12:32:01 GMT) Full text and rfc822 format available.

Message #31 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 51234 <at> debbugs.gnu.org, tk <at> giga.or.at
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 15:31:06 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Mon, 18 Oct 2021 09:41:09 +0200
> Cc: 51234 <at> debbugs.gnu.org
> 
> Thomas Klausner <tk <at> giga.or.at> writes:
> 
> > I'm sending this mail because this filename causes problems for
> > packagers who prefer maintaining static file lists to make sure
> > exactly a known list of files is installed by a program.
> 
> If you rename the file to "emacs.pdmp", Emacs will still find it, but I
> guess this isn't documented.  We could also add a configure option to do
> this renaming automatically, I guess?
> 
> Anybody got an opinion here?

Me, I wonder how will those distros code with the *.eln files, which
also include hashes that aren't known in advance.  Solving the issue
with the pdumper file will still leave this other one, with many more
files.

So perhaps the distros will just have to adapt?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 12:32:02 GMT) Full text and rfc822 format available.

Message #34 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 51234 <at> debbugs.gnu.org, tk <at> giga.or.at
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 15:31:26 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Mon, 18 Oct 2021 09:41:09 +0200
> Cc: 51234 <at> debbugs.gnu.org
> 
> Thomas Klausner <tk <at> giga.or.at> writes:
> 
> > I'm sending this mail because this filename causes problems for
> > packagers who prefer maintaining static file lists to make sure
> > exactly a known list of files is installed by a program.
> 
> If you rename the file to "emacs.pdmp", Emacs will still find it, but I
> guess this isn't documented.  We could also add a configure option to do
> this renaming automatically, I guess?
> 
> Anybody got an opinion here?

Me, I wonder how will those distros cope with the *.eln files, which
also include hashes that aren't known in advance.  Solving the issue
with the pdumper file will still leave this other one, with many more
files.

So perhaps the distros will just have to adapt?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 12:35:01 GMT) Full text and rfc822 format available.

Message #37 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Klausner <tk <at> giga.or.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 51234 <at> debbugs.gnu.org
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 14:33:53 +0200
On Mon, Oct 18, 2021 at 03:31:06PM +0300, Eli Zaretskii wrote:
> Me, I wonder how will those distros code with the *.eln files, which
> also include hashes that aren't known in advance.  Solving the issue
> with the pdumper file will still leave this other one, with many more
> files.

What are .eln files? I don't see any in the NetBSD build.

Here are the files for the emacs-git package.

https://github.com/NetBSD/pkgsrc-wip/tree/master/emacs-git

The PLIST contains the files that get installed, the Makefile and
options.mk contain any enable/disable arguments to configure.

> So perhaps the distros will just have to adapt?

I've changed the package to rename the emacs-*.pdmp file to emacs.pdmp.
 Thomas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 12:52:02 GMT) Full text and rfc822 format available.

Message #40 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Thomas Klausner <tk <at> giga.or.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 51234 <at> debbugs.gnu.org,
 Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 14:50:56 +0200
>>>>> On Mon, 18 Oct 2021 14:33:53 +0200, Thomas Klausner <tk <at> giga.or.at> said:

    Thomas> On Mon, Oct 18, 2021 at 03:31:06PM +0300, Eli Zaretskii wrote:
    >> Me, I wonder how will those distros code with the *.eln files, which
    >> also include hashes that aren't known in advance.  Solving the issue
    >> with the pdumper file will still leave this other one, with many more
    >> files.

    Thomas> What are .eln files? I don't see any in the NetBSD build.

Theyʼre the output of the native lisp compiler, which will only get
generated if you successfully configure
'--with-native-compilation'. See etc/NEWS for details.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 13:09:01 GMT) Full text and rfc822 format available.

Message #43 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Thomas Klausner <tk <at> giga.or.at>
Cc: larsi <at> gnus.org, 51234 <at> debbugs.gnu.org
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 16:08:48 +0300
> Date: Mon, 18 Oct 2021 14:33:53 +0200
> From: Thomas Klausner <tk <at> giga.or.at>
> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 51234 <at> debbugs.gnu.org
> 
> On Mon, Oct 18, 2021 at 03:31:06PM +0300, Eli Zaretskii wrote:
> > Me, I wonder how will those distros code with the *.eln files, which
> > also include hashes that aren't known in advance.  Solving the issue
> > with the pdumper file will still leave this other one, with many more
> > files.
> 
> What are .eln files? I don't see any in the NetBSD build.

You didn't configure --with-native-compilation, I guess?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 13:15:01 GMT) Full text and rfc822 format available.

Message #46 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 51234 <at> debbugs.gnu.org, Thomas Klausner <tk <at> giga.or.at>
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 15:13:53 +0200
Robert Pluim <rpluim <at> gmail.com> writes:

>     Lars> Yes, but it should be documented forever -- people will be wondering
>     Lars> later, too.
>
> (info "(elisp) Building Emacs")

Yes, I guess...

Eli Zaretskii <eliz <at> gnu.org> writes:

> Me, I wonder how will those distros code with the *.eln files, which
> also include hashes that aren't known in advance.  Solving the issue
> with the pdumper file will still leave this other one, with many more
> files.
>
> So perhaps the distros will just have to adapt?

That's a good point.  So perhaps we shouldn't document how to get to a
known-name setup, because that won't work for nativecomp?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 13:44:01 GMT) Full text and rfc822 format available.

Message #49 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 51234 <at> debbugs.gnu.org, tk <at> giga.or.at
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 15:43:41 +0200
On Okt 18 2021, Eli Zaretskii wrote:

> Me, I wonder how will those distros cope with the *.eln files, which
> also include hashes that aren't known in advance.

Packagers like RPM can cope with that by using wildcards.  They can also
generate file lists on the fly.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 14:17:02 GMT) Full text and rfc822 format available.

Message #52 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: rpluim <at> gmail.com, 51234 <at> debbugs.gnu.org, tk <at> giga.or.at
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 17:16:58 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Mon, 18 Oct 2021 15:13:53 +0200
> Cc: 51234 <at> debbugs.gnu.org, Thomas Klausner <tk <at> giga.or.at>
> 
> > Me, I wonder how will those distros code with the *.eln files, which
> > also include hashes that aren't known in advance.  Solving the issue
> > with the pdumper file will still leave this other one, with many more
> > files.
> >
> > So perhaps the distros will just have to adapt?
> 
> That's a good point.  So perhaps we shouldn't document how to get to a
> known-name setup, because that won't work for nativecomp?

That's what I think.  The actual problem is much larger than just one
file.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Mon, 18 Oct 2021 18:10:02 GMT) Full text and rfc822 format available.

Message #55 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Eli Zaretskii <eliz <at> gnu.org>,
 51234 <at> debbugs.gnu.org, tk <at> giga.or.at
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Mon, 18 Oct 2021 14:09:18 -0400
Andreas Schwab wrote:

> On Okt 18 2021, Eli Zaretskii wrote:
>
>> Me, I wonder how will those distros cope with the *.eln files, which
>> also include hashes that aren't known in advance.
>
> Packagers like RPM can cope with that by using wildcards.  They can also
> generate file lists on the fly.

I feel like +1'ing this.
Plus they also warn if there are installed but unpackaged files, so
there isn't really a pressing need to announce/document the name change.
I see no need to add an option to revert to "emacs.pdmp".

>>> I've changed the package to rename the emacs-*.pdmp file to emacs.pdmp.

A mistake IMO.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51234; Package emacs. (Tue, 19 Oct 2021 20:43:01 GMT) Full text and rfc822 format available.

Message #58 received at 51234 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rpluim <at> gmail.com, 51234 <at> debbugs.gnu.org, tk <at> giga.or.at
Subject: Re: bug#51234: emacs.pdmp file name (--fingerprint)
Date: Tue, 19 Oct 2021 22:42:08 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> That's a good point.  So perhaps we shouldn't document how to get to a
>> known-name setup, because that won't work for nativecomp?
>
> That's what I think.  The actual problem is much larger than just one
> file.

That seems to be the conclusion here, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 51234 <at> debbugs.gnu.org and Thomas Klausner <tk <at> giga.or.at> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 19 Oct 2021 20:43:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 17 Nov 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.