GNU bug report logs - #42790
[PATH] 27.1; Add version info into file name "emacs.pdmp" to avoid mismatch pdmp file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: <lin.sun@HIDDEN>; Keywords: patch; dated Mon, 10 Aug 2020 03:22:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 42790 <at> debbugs.gnu.org:


Received: (at 42790) by debbugs.gnu.org; 15 Aug 2020 10:42:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 15 06:42:32 2020
Received: from localhost ([127.0.0.1]:54320 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k6tdw-00056y-FG
	for submit <at> debbugs.gnu.org; Sat, 15 Aug 2020 06:42:32 -0400
Received: from quimby.gnus.org ([95.216.78.240]:52312)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1k6tdu-00056l-8V
 for 42790 <at> debbugs.gnu.org; Sat, 15 Aug 2020 06:42:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=2Z0d4VGJpSFgNnd+sl+mXERgZ0zqihEsd9NuFPskam4=; b=sAb5+IoN3jtggrzAAycukN9HQ3
 C2o6OqFyNOO75Vj5Lj49zGbFaoX+xM8twKm/jnMBJMme/T1rWpaJkudPHcwOAO81pUlsKGGt4vMnr
 jWJYb+Kr8rOPj/ayTqW4tComemDE2nhKgt8sqy0yQyxZzVzUXZDB2AUxf+IdT0AZRatk=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1k6tdi-0006i2-9Z; Sat, 15 Aug 2020 12:42:24 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: <lin.sun@HIDDEN>
Subject: Re: bug#42790: [PATH] 27.1; Add version info into file name
 "emacs.pdmp" to avoid mismatch pdmp file
References: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us>
 <87d03t5lee.fsf@HIDDEN> <c37d01d672bf$dca725b0$95f57110$@zoom.us>
Date: Sat, 15 Aug 2020 12:42:17 +0200
In-Reply-To: <c37d01d672bf$dca725b0$95f57110$@zoom.us> (lin sun's message of
 "Sat, 15 Aug 2020 12:52:18 +0800")
Message-ID: <878seg1986.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: <lin.sun@HIDDEN> writes: > mkdir -p ~/emacs-min && cd
 ~/emacs-min
 && ~/emacs/configure > --program-suffix=m --with-x=no && sudo make install;
 I think the problem was that I had already built an Emacs in ~/emacs, so
 it didn't want to build the .o files in ~/emacs-min, apparently... 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42790
Cc: eliz@HIDDEN, 42790 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

<lin.sun@HIDDEN> writes:

> mkdir -p ~/emacs-min && cd ~/emacs-min && ~/emacs/configure
> --program-suffix=m --with-x=no && sudo make install;

I think the problem was that I had already built an Emacs in ~/emacs, so
it didn't want to build the .o files in ~/emacs-min, apparently...

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42790; Package emacs. Full text available.

Message received at 42790 <at> debbugs.gnu.org:


Received: (at 42790) by debbugs.gnu.org; 15 Aug 2020 04:52:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 15 00:52:37 2020
Received: from localhost ([127.0.0.1]:54182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k6oBJ-0000Bp-2u
	for submit <at> debbugs.gnu.org; Sat, 15 Aug 2020 00:52:37 -0400
Received: from mail-io1-f45.google.com ([209.85.166.45]:46102)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lin.sun@HIDDEN>) id 1k6oBG-0000Bb-2Y
 for 42790 <at> debbugs.gnu.org; Sat, 15 Aug 2020 00:52:35 -0400
Received: by mail-io1-f45.google.com with SMTP id a5so12671735ioa.13
 for <42790 <at> debbugs.gnu.org>; Fri, 14 Aug 2020 21:52:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zoom.us; s=google;
 h=from:to:cc:references:in-reply-to:subject:date:message-id
 :mime-version:content-transfer-encoding:thread-index
 :content-language;
 bh=uucK9743xZMBOyHF/Q0ZwP2fdQY+bPH1vfBUjYNxWdE=;
 b=TL+biBS8osWFHJD0JzZ4t248rgs0aB6LhQQixKNRIbZpjaykqgO1pkZB3q8sXgDbcw
 goDV6Kpc/vnXVZ2DFobx/bn0081X+itt8oWViwoevHS848399OjMaQZK0YNtvo+fIvB6
 9rNTlRUHfBVotBhQ+F8kTM4FphhG2+fB0R910=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
 :message-id:mime-version:content-transfer-encoding:thread-index
 :content-language;
 bh=uucK9743xZMBOyHF/Q0ZwP2fdQY+bPH1vfBUjYNxWdE=;
 b=rt+mWFhcGki1p8kI6AsG3D2gwImjCNFVg7lYL91L6cCN7K6vJMXc4ZCPLwDx3TiwtQ
 8SzHze9U4PR2QawcHIhQfq8h2t2im1sPoubySMXZxPAL7toeoaO3zY5yJhJiy4fKAUKF
 YRHwEYi0V2O6mGvF1mKycMVtULF3Iq+lyU0FNQfuSY4y8qpdT2ySqoXnuu9bqu6p8jiw
 y5Le40hJeRyJ6zPTg3/6MonT7yDLgXLPB8oTUbjrQ1FrGF9rLWhnVndDJBSehGOXwHeu
 9frc4RG6a2//vHPH5lgcpCAMaWHukDnkCE+qCaLtIQFdWurUWc9l0rHET1gPxFM70TUQ
 0PaA==
X-Gm-Message-State: AOAM530Z0JnP90zoezBEguseW4zOHzj2McLsv6RLF+uoCNQGaaHg35Az
 0IJqGbhB+oN+oftj8OQApIUiWx9a1vEEjiLQRCWUhdzxBWoEy5d4dfp2mpe9PCVkSL/hRHY9V1r
 rmLHmJe+AzeXWIDWkjgSJw8WdRZorH8ozAZaRjZnC0rspyZAXA7QlLt8ZeDgf9GE=
X-Google-Smtp-Source: ABdhPJwpsmzgutPyTKnrdv/F5RMb10RpWySBJFz0FTwTv2b3h8keMK+1u/43qDVcj1kKMGkzHZvw3g==
X-Received: by 2002:a02:3843:: with SMTP id v3mr5650184jae.23.1597467146280;
 Fri, 14 Aug 2020 21:52:26 -0700 (PDT)
Received: from DESKTOPLINSUN ([38.99.100.2])
 by smtp.gmail.com with ESMTPSA id z26sm4167554ilf.60.2020.08.14.21.52.23
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 14 Aug 2020 21:52:25 -0700 (PDT)
From: <lin.sun@HIDDEN>
To: "'Lars Ingebrigtsen'" <larsi@HIDDEN>
References: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us> <87d03t5lee.fsf@HIDDEN>
In-Reply-To: <87d03t5lee.fsf@HIDDEN>
Subject: RE: bug#42790: [PATH] 27.1;
 Add version info into file name "emacs.pdmp" to avoid mismatch pdmp
 file
Date: Sat, 15 Aug 2020 12:52:18 +0800
Message-ID: <c37d01d672bf$dca725b0$95f57110$@zoom.us>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQIinAP1sy8Zpd4+W74pmqM+6XEK1QKblLnjqItoynA=
Content-Language: en-us
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 42790
Cc: eliz@HIDDEN, 42790 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Lars,

I assume you already have an environment that can compile Emacs success, =
and these command lines will illustrate what happened,

cd ~ && git clone --depth 1 -b emacs-27 =
git://git.savannah.gnu.org/emacs.git ~/emacs && cd ~/emacs && =
./autogen.sh;=20
mkdir -p ~/emacs-min && cd ~/emacs-min && ~/emacs/configure =
--program-suffix=3Dm --with-x=3Dno && sudo make install; =20
mkdir -p ~/emacs-nor && cd ~/emacs-nor && ~/emacs/configure && sudo make =
install;

Then try run /usr/local/bin/emacsm, you'll get the error message.

Regards
Lin Sun
-----Original Message-----
From: Lars Ingebrigtsen <larsi@HIDDEN>=20
Sent: Friday, August 14, 2020 22:53
To: lin.sun@HIDDEN
Cc: 42790 <at> debbugs.gnu.org; eliz@HIDDEN
Subject: Re: bug#42790: [PATH] 27.1; Add version info into file name =
"emacs.pdmp" to avoid mismatch pdmp file

<lin.sun@HIDDEN> writes:

> The pdmp file always named as "emcas.pdmp", this will cause error in=20
> my local that I build two Emacs with different configuration options=20
> and different suffix from same source tree. Here are configure lines:
>
> $ cd ~/emacs-min && ~/emacs/configure --program-suffix=3Dm =
--with-x=3Dno...
> $ cd ~/emacs-nor && ~/emacs/configure # normal build
>
> After installation, run the first installed Emacs binary, there is=20
> error message as follow:

I'm not sure I understand the use case or the recipe -- if I try =
something like that, it just says

gcc: error: fontset.o: No such file or directory
gcc: error: fringe.o: No such file or directory
gcc: error: image.o: No such file or directory
gcc: error: xgselect.o: No such file or directory
gcc: error: terminfo.o: No such file or directory
gcc: error: lastfile.o: No such file or directory
make[1]: *** [Makefile:651: temacs] Error 1
make[1]: Leaving directory '/tmp/em/src'
make: *** [Makefile:424: src] Error 2

after saying "make".

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





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42790; Package emacs. Full text available.

Message received at 42790 <at> debbugs.gnu.org:


Received: (at 42790) by debbugs.gnu.org; 14 Aug 2020 14:53:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 14 10:53:43 2020
Received: from localhost ([127.0.0.1]:53505 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k6b5S-000639-S3
	for submit <at> debbugs.gnu.org; Fri, 14 Aug 2020 10:53:43 -0400
Received: from quimby.gnus.org ([95.216.78.240]:42536)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1k6b5S-00062w-2k
 for 42790 <at> debbugs.gnu.org; Fri, 14 Aug 2020 10:53:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=VTb7N5lK24r2CU/WK23152SAb4FwAbpsVYjRPyYwiR4=; b=DyE8lHOlRZcL5purQfso3zhudt
 r4vslMHrF5VARZiw4lCVlREXjUOYsb4X/DfRzrSUN3gnG2APJid+UwTxvtt0ZQqmV6nu98rEUpHWP
 RFMMGRw7zFMZYXFuMGV2M7L/+jtfSQkmcAsa8OTOJ2pSuJpAEzRDrS51yzLAkDCeJ/60=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1k6b5H-0003G7-PE; Fri, 14 Aug 2020 16:53:35 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: <lin.sun@HIDDEN>
Subject: Re: bug#42790: [PATH] 27.1; Add version info into file name
 "emacs.pdmp" to avoid mismatch pdmp file
References: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us>
Date: Fri, 14 Aug 2020 16:53:29 +0200
In-Reply-To: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us> (lin sun's message of
 "Mon, 10 Aug 2020 11:21:32 +0800")
Message-ID: <87d03t5lee.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  <lin.sun@HIDDEN> writes: > The pdmp file always named as
 "emcas.pdmp", this will cause error in my > local that I build two Emacs with
 different configuration options and > different suffix from same source tree.
 Here are con [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42790
Cc: eliz@HIDDEN, 42790 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

<lin.sun@HIDDEN> writes:

> The pdmp file always named as "emcas.pdmp", this will cause error in my
> local that I build two Emacs with different configuration options and
> different suffix from same source tree. Here are configure lines:
>
> $ cd ~/emacs-min && ~/emacs/configure --program-suffix=m --with-x=no...
> $ cd ~/emacs-nor && ~/emacs/configure # normal build
>
> After installation, run the first installed Emacs binary, there is
> error message as follow:

I'm not sure I understand the use case or the recipe -- if I try
something like that, it just says

gcc: error: fontset.o: No such file or directory
gcc: error: fringe.o: No such file or directory
gcc: error: image.o: No such file or directory
gcc: error: xgselect.o: No such file or directory
gcc: error: terminfo.o: No such file or directory
gcc: error: lastfile.o: No such file or directory
make[1]: *** [Makefile:651: temacs] Error 1
make[1]: Leaving directory '/tmp/em/src'
make: *** [Makefile:424: src] Error 2

after saying "make".

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42790; Package emacs. Full text available.
Added tag(s) patch. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 42790 <at> debbugs.gnu.org:


Received: (at 42790) by debbugs.gnu.org; 10 Aug 2020 09:25:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 10 05:25:03 2020
Received: from localhost ([127.0.0.1]:34372 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k543C-0000J6-UX
	for submit <at> debbugs.gnu.org; Mon, 10 Aug 2020 05:25:03 -0400
Received: from mail-pj1-f45.google.com ([209.85.216.45]:34940)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lin.sun@HIDDEN>) id 1k543B-0000IR-Bb
 for 42790 <at> debbugs.gnu.org; Mon, 10 Aug 2020 05:25:01 -0400
Received: by mail-pj1-f45.google.com with SMTP id t6so4655397pjr.0
 for <42790 <at> debbugs.gnu.org>; Mon, 10 Aug 2020 02:25:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zoom.us; s=google;
 h=from:to:cc:references:in-reply-to:subject:date:message-id
 :mime-version:content-transfer-encoding:thread-index
 :content-language;
 bh=ifLp92pQfhQhAEzbGgqDDV2g8jLrGiBMy5OHBWfPQHQ=;
 b=h5vbSUgdKHta8VGSRVo6E45g9aSARAIEPtIKSdOej3sddmdUfaIW3NHVy9PMhWSioe
 J0+l//QB6Fv8f3HnkTPi4Uwy+euVVENUx0cwh7URtX97lR0z2zVS83Yw/97rIUcXksrl
 tAw07nK7Njy6xPChaM5P+G3Cp5MI6qnZ/Wzfg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
 :message-id:mime-version:content-transfer-encoding:thread-index
 :content-language;
 bh=ifLp92pQfhQhAEzbGgqDDV2g8jLrGiBMy5OHBWfPQHQ=;
 b=MINGHfjLOUmS5PNsfmBY58vs2duSly59mQ0g09wxpaZcakNPifoOVs0Jc7EPGz61P0
 mqn4WRkd2xm7i/U6pu0nKc6KNrO+8Yzs42SMA3hNyYj5QQXLV59kVfu7m48ihOcHZO9q
 hGUen0sx5/8Oz634r4BeYvvt6FiIyStFQN4JUUZYdqlWUABRGFoDWdGE950Kj1xJTlHv
 ggo+yFYbGAy+ud6EUE8/ayeomf7aR+QrVokw8SIuMk5nCNfsNLBQe/sEPwQ5jxvrBOUQ
 cd8oxy69jD8PxNpOCjj+iOcifu8YpZT0DZi+/B9gUXLGsk1BYUSxI3I8G2Qa7BRs4FYn
 W7Pw==
X-Gm-Message-State: AOAM5323K4IYT+zqtX8l1n6ssAxLCS/+/NrqaARLeib9rgKczsHfmGny
 riA33JLaOZz2PiEz2RdjKi6aAikNvRP3xcFK0urzgOHtqpggpfzdM3OVArlg66SEnT9yGxykbJw
 nRnTlCSbuf9RupeNUBrmLU946e1uVbLBhQckaDnD0/kBXMXFefy/fYtiHVyfO
X-Google-Smtp-Source: ABdhPJwu+EQkQwXlsL/3VAvzzRFE7CI2GdzERIlBMiDMGYqjE/pKCWtc66dFG/H9A3/zrMwATMY1MA==
X-Received: by 2002:a17:902:cb91:: with SMTP id
 d17mr22888267ply.223.1597051494632; 
 Mon, 10 Aug 2020 02:24:54 -0700 (PDT)
Received: from DESKTOPLINSUN ([38.99.100.2])
 by smtp.gmail.com with ESMTPSA id g129sm21294878pfb.33.2020.08.10.02.24.51
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 10 Aug 2020 02:24:53 -0700 (PDT)
From: <lin.sun@HIDDEN>
To: "'Andreas Schwab'" <schwab@HIDDEN>,
 "'via Bug reports for GNU Emacs,
 the Swiss army knife of text editors'" <bug-gnu-emacs@HIDDEN>
References: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us>
 <87ft8unbwe.fsf@HIDDEN>
In-Reply-To: <87ft8unbwe.fsf@HIDDEN>
Subject: RE: bug#42790: [PATH] 27.1;
 Add version info into file name "emacs.pdmp" to avoid mismatch pdmp
 file
Date: Mon, 10 Aug 2020 17:24:48 +0800
Message-ID: <dcf601d66ef8$1aa60140$4ff203c0$@zoom.us>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQIinAP1sy8Zpd4+W74pmqM+6XEK1QIY3fqfqIftWfA=
Content-Language: en-us
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42790
Cc: eliz@HIDDEN, 42790 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Andreas,

> Even better would be to use the fingerprint in the file name.

It's an idea solution, but in a build tree the name "emacs.pdmp" is =
reasonable.
Another excuse, it's also too complicated to modify the c/lisp/automake =
files=20
to support generating pdmp file name with fingerprint correctly.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42790; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Aug 2020 09:25:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 10 05:25:02 2020
Received: from localhost ([127.0.0.1]:34370 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k543C-0000J4-M6
	for submit <at> debbugs.gnu.org; Mon, 10 Aug 2020 05:25:02 -0400
Received: from lists.gnu.org ([209.51.188.17]:39964)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lin.sun@HIDDEN>) id 1k543B-0000IY-43
 for submit <at> debbugs.gnu.org; Mon, 10 Aug 2020 05:25:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58706)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lin.sun@HIDDEN>) id 1k543A-0005hx-Qu
 for bug-gnu-emacs@HIDDEN; Mon, 10 Aug 2020 05:25:00 -0400
Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:45674)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lin.sun@HIDDEN>) id 1k5437-0008Sf-4E
 for bug-gnu-emacs@HIDDEN; Mon, 10 Aug 2020 05:24:59 -0400
Received: by mail-pl1-x634.google.com with SMTP id bh1so4460129plb.12
 for <bug-gnu-emacs@HIDDEN>; Mon, 10 Aug 2020 02:24:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zoom.us; s=google;
 h=from:to:cc:references:in-reply-to:subject:date:message-id
 :mime-version:content-transfer-encoding:thread-index
 :content-language;
 bh=ifLp92pQfhQhAEzbGgqDDV2g8jLrGiBMy5OHBWfPQHQ=;
 b=h5vbSUgdKHta8VGSRVo6E45g9aSARAIEPtIKSdOej3sddmdUfaIW3NHVy9PMhWSioe
 J0+l//QB6Fv8f3HnkTPi4Uwy+euVVENUx0cwh7URtX97lR0z2zVS83Yw/97rIUcXksrl
 tAw07nK7Njy6xPChaM5P+G3Cp5MI6qnZ/Wzfg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
 :message-id:mime-version:content-transfer-encoding:thread-index
 :content-language;
 bh=ifLp92pQfhQhAEzbGgqDDV2g8jLrGiBMy5OHBWfPQHQ=;
 b=a2CnaC70BxCWWQEhpXaFYFcq9sgsR6iW2p2yRvFW3ZQ24tWjpHYEXjHj9UanU3iMDB
 6hr+AA1Qv3EaZjflT4p5tkjHPVVwKZHliRO3OpTHONoP6Labq7DHRjL0HMlGXM+uMszd
 N98PiVlxoX0WZTZxA84iAW7mhcjgcQc54UqscFSZnRjWAW9KEXsboMl3hbDUSuQBWI5C
 EJnttReVGJy189sHWer+uEIUsN7IHPG6IdT9f7oZOc+Q8naFZuYvjhPjTq4nN5W2CTF7
 aqjnmPUUoKFNHVMY6BfiYgr0q894MsHMMZ7iSjcqKJYYmMsQjE0gZtcaF0I2cNzEkf/5
 9pfA==
X-Gm-Message-State: AOAM530qbJeWghO0Ajk8I/ay9qpVH5msvM24rBoVkrQxSjbYJ5mUB26l
 nrCnMZ2XWJhuRsO4R6Xr45Q/1X5/BtE=
X-Google-Smtp-Source: ABdhPJwu+EQkQwXlsL/3VAvzzRFE7CI2GdzERIlBMiDMGYqjE/pKCWtc66dFG/H9A3/zrMwATMY1MA==
X-Received: by 2002:a17:902:cb91:: with SMTP id
 d17mr22888267ply.223.1597051494632; 
 Mon, 10 Aug 2020 02:24:54 -0700 (PDT)
Received: from DESKTOPLINSUN ([38.99.100.2])
 by smtp.gmail.com with ESMTPSA id g129sm21294878pfb.33.2020.08.10.02.24.51
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 10 Aug 2020 02:24:53 -0700 (PDT)
From: <lin.sun@HIDDEN>
To: "'Andreas Schwab'" <schwab@HIDDEN>,
 "'via Bug reports for GNU Emacs,
 the Swiss army knife of text editors'" <bug-gnu-emacs@HIDDEN>
References: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us>
 <87ft8unbwe.fsf@HIDDEN>
In-Reply-To: <87ft8unbwe.fsf@HIDDEN>
Subject: RE: bug#42790: [PATH] 27.1;
 Add version info into file name "emacs.pdmp" to avoid mismatch pdmp
 file
Date: Mon, 10 Aug 2020 17:24:48 +0800
Message-ID: <dcf601d66ef8$1aa60140$4ff203c0$@zoom.us>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQIinAP1sy8Zpd4+W74pmqM+6XEK1QIY3fqfqIftWfA=
Content-Language: en-us
Received-SPF: pass client-ip=2607:f8b0:4864:20::634;
 envelope-from=lin.sun@HIDDEN; helo=mail-pl1-x634.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -30
X-Spam_score: -3.1
X-Spam_bar: ---
X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-1,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=unavailable autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: eliz@HIDDEN, 42790 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Andreas,

> Even better would be to use the fingerprint in the file name.

It's an idea solution, but in a build tree the name "emacs.pdmp" is =
reasonable.
Another excuse, it's also too complicated to modify the c/lisp/automake =
files=20
to support generating pdmp file name with fingerprint correctly.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42790; Package emacs. Full text available.

Message received at 42790 <at> debbugs.gnu.org:


Received: (at 42790) by debbugs.gnu.org; 10 Aug 2020 08:27:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 10 04:27:53 2020
Received: from localhost ([127.0.0.1]:34281 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k539s-0007DE-Qy
	for submit <at> debbugs.gnu.org; Mon, 10 Aug 2020 04:27:52 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:49120)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1k539p-0007Cz-QT
 for 42790 <at> debbugs.gnu.org; Mon, 10 Aug 2020 04:27:51 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4BQ8Gr1Kczz1rryf;
 Mon, 10 Aug 2020 10:27:47 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4BQ8Gq5dp4z1qrg5;
 Mon, 10 Aug 2020 10:27:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id 7nZWO75Cxd4f; Mon, 10 Aug 2020 10:27:46 +0200 (CEST)
X-Auth-Info: YxZvR8DWydJ/fKA2KJXzPmltqTgLXivuQgu7DFGHPal+oT2cacd4pxyYcHCTlfBS
Received: from igel.home (ppp-46-244-186-123.dynamic.mnet-online.de
 [46.244.186.123])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Mon, 10 Aug 2020 10:27:46 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id AB4512C10E2; Mon, 10 Aug 2020 10:27:45 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: via "Bug reports for GNU Emacs, the Swiss army knife of text editors"
 <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#42790: [PATH] 27.1; Add version info into file name
 "emacs.pdmp" to avoid mismatch pdmp file
References: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us>
X-Yow: Hey, LOOK!!  A pair of SIZE 9 CAPRI PANTS!!  They probably belong to
 SAMMY DAVIS, JR.!!
Date: Mon, 10 Aug 2020 10:27:45 +0200
In-Reply-To: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us> (via's message of "Mon, 
 10 Aug 2020 11:21:32 +0800")
Message-ID: <87ft8unbwe.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 42790
Cc: eliz@HIDDEN, 42790 <at> debbugs.gnu.org, lin.sun@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Aug 10 2020, via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

> This patch will add the version info to pdmp file name to avoid the error.

Even better would be to use the fingerprint in the file name.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
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@HIDDEN:
bug#42790; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Aug 2020 08:27:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 10 04:27:58 2020
Received: from localhost ([127.0.0.1]:34284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k539y-0007DX-0Z
	for submit <at> debbugs.gnu.org; Mon, 10 Aug 2020 04:27:58 -0400
Received: from lists.gnu.org ([209.51.188.17]:49758)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1k539w-0007DQ-Q8
 for submit <at> debbugs.gnu.org; Mon, 10 Aug 2020 04:27:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45764)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <whitebox@HIDDEN>)
 id 1k539w-0002QP-K2
 for bug-gnu-emacs@HIDDEN; Mon, 10 Aug 2020 04:27:56 -0400
Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:57764)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <whitebox@HIDDEN>)
 id 1k539u-0001e6-8d; Mon, 10 Aug 2020 04:27:56 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4BQ8Gr1Kczz1rryf;
 Mon, 10 Aug 2020 10:27:47 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4BQ8Gq5dp4z1qrg5;
 Mon, 10 Aug 2020 10:27:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id 7nZWO75Cxd4f; Mon, 10 Aug 2020 10:27:46 +0200 (CEST)
X-Auth-Info: YxZvR8DWydJ/fKA2KJXzPmltqTgLXivuQgu7DFGHPal+oT2cacd4pxyYcHCTlfBS
Received: from igel.home (ppp-46-244-186-123.dynamic.mnet-online.de
 [46.244.186.123])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Mon, 10 Aug 2020 10:27:46 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id AB4512C10E2; Mon, 10 Aug 2020 10:27:45 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: via "Bug reports for GNU Emacs, the Swiss army knife of text editors"
 <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#42790: [PATH] 27.1; Add version info into file name
 "emacs.pdmp" to avoid mismatch pdmp file
References: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us>
X-Yow: Hey, LOOK!!  A pair of SIZE 9 CAPRI PANTS!!  They probably belong to
 SAMMY DAVIS, JR.!!
Date: Mon, 10 Aug 2020 10:27:45 +0200
In-Reply-To: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us> (via's message of "Mon, 
 10 Aug 2020 11:21:32 +0800")
Message-ID: <87ft8unbwe.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2001:a60:0:28:0:1:25:1;
 envelope-from=whitebox@HIDDEN; helo=mail-out.m-online.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/10 04:27:48
X-ACL-Warn: Detected OS   = Linux 3.11 and newer
X-Spam_score_int: -15
X-Spam_score: -1.6
X-Spam_bar: -
X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: eliz@HIDDEN, 42790 <at> debbugs.gnu.org, lin.sun@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

On Aug 10 2020, via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

> This patch will add the version info to pdmp file name to avoid the error.

Even better would be to use the fingerprint in the file name.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
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@HIDDEN:
bug#42790; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Aug 2020 03:21:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 09 23:21:47 2020
Received: from localhost ([127.0.0.1]:33802 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k4yNf-0007lQ-I6
	for submit <at> debbugs.gnu.org; Sun, 09 Aug 2020 23:21:47 -0400
Received: from lists.gnu.org ([209.51.188.17]:44880)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lin.sun@HIDDEN>) id 1k4yNc-0007lG-2Y
 for submit <at> debbugs.gnu.org; Sun, 09 Aug 2020 23:21:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42270)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lin.sun@HIDDEN>) id 1k4yNb-0004hO-SZ
 for bug-gnu-emacs@HIDDEN; Sun, 09 Aug 2020 23:21:43 -0400
Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:46810)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lin.sun@HIDDEN>) id 1k4yNa-0007b3-B2
 for bug-gnu-emacs@HIDDEN; Sun, 09 Aug 2020 23:21:43 -0400
Received: by mail-pl1-x630.google.com with SMTP id k13so4062667plk.13
 for <bug-gnu-emacs@HIDDEN>; Sun, 09 Aug 2020 20:21:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zoom.us; s=google;
 h=from:to:subject:date:message-id:mime-version:thread-index
 :content-language;
 bh=gqdChBwFkS/GqyS7uMNnaigWrpaTxtChU6kPifi2wYc=;
 b=G+Pg/Ov92YMYLLL+nK06nBqyEnm3zb0sE9KvgoIu9pV+6QgFm1dAD6KFMLqulQVsYS
 uVC7zoXfM4vZUf76+iZu9iv4jXFeabiRsW+eg7Qr3qXGajS7FXSN+tA1A0tTZXl75onO
 qQAM4Hq6xDMxIJG/Eeo9xB34wQAumLm0Xqev0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :thread-index:content-language;
 bh=gqdChBwFkS/GqyS7uMNnaigWrpaTxtChU6kPifi2wYc=;
 b=miKxjY/h53bYWG2Sv3KQ9lo/Qa4eHfx8nXT/uwVx/nvJHefawMVAToXgPKooSIB13B
 eVBbjIr1nX3k1Y+dg2iFgHd2l0V0pF9EbnHTB6SMOb+Mk7wF8N8GL+Dx4TROo+F8Oi9Z
 BkhlUghuTLn4Xc+XbDqVpGgJj4WMwGfLl1Eu6R34eJ4ZI+IGRy8cAhr2pwNdt7bZtmw/
 NsIjzLhUp+QZe73mG6R3Q6tZDiM2IPMQmRfTPDguKOh3N3j9qaQc9w8VYmDdTnv7rswn
 xHKWLrHBVtxBkjLAXZ8wV4GIYFQ7Hp/KqLoHWeMMeKTTRfgDP50NS2KqkmTzo8kOtd3L
 /73g==
X-Gm-Message-State: AOAM531fhpwjnyi1qO1qscoO8QeqMKLKVaY+6gsd3YeT4uX2yjbRj9dA
 COc08Sc7K8AIVJifMi9H52k5pu1UoRFyoXuViAhAVTTRq4j95omS0vnahccgr5Zqxhycv/lZfUM
 jXI3qLaNxpZSF+0N59APAsOByO93u7qDJQdDhfgjLNygU2RlTYUsBjPUn/q86
X-Google-Smtp-Source: ABdhPJxxLWS5xKFBGreZzNGE7lDbcRgoKdAo+PXqxezXgJKZbDLiyg5MZiCvH1ku4l1/XEf5CJVwQQ==
X-Received: by 2002:a17:902:10e:: with SMTP id
 14mr21358563plb.297.1597029699659; 
 Sun, 09 Aug 2020 20:21:39 -0700 (PDT)
Received: from DESKTOPLINSUN ([38.99.100.2])
 by smtp.gmail.com with ESMTPSA id y20sm20306971pfn.183.2020.08.09.20.21.37
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 09 Aug 2020 20:21:38 -0700 (PDT)
From: <lin.sun@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>,
	"'Eli Zaretskii'" <eliz@HIDDEN>
Subject: [PATH] 27.1;
 Add version info into file name "emacs.pdmp" to avoid mismatch pdmp
 file
Date: Mon, 10 Aug 2020 11:21:32 +0800
Message-ID: <cecc01d66ec5$5aeecb20$10cc6160$@zoom.us>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="----=_NextPart_000_CECD_01D66F08.69128050"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdZuxQxzR46Own+pQL6UubrVswZZTQ==
Content-Language: en-us
Received-SPF: pass client-ip=2607:f8b0:4864:20::630;
 envelope-from=lin.sun@HIDDEN; helo=mail-pl1-x630.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -30
X-Spam_score: -3.1
X-Spam_bar: ---
X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-1,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=unavailable autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This is a multipart message in MIME format.

------=_NextPart_000_CECD_01D66F08.69128050
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit

Hi,

The pdmp file always named as "emcas.pdmp", this will cause error in my
local that I build two Emacs with different configuration options and
different suffix from same source tree. Here are configure lines:

$ cd ~/emacs-min && ~/emacs/configure --program-suffix=m --with-x=no...
$ cd ~/emacs-nor && ~/emacs/configure # normal build

After installation, run the first installed Emacs binary, there is
error message as follow:

emacs: could not load dump file "... emacs.pdmp": not built for this
Emacs executable

This patch will add the version info to pdmp file name to avoid the error.
After apply this patch, pdmp file in my case will be "emacs-27.1.pdmp" 
and "emacs-27.1m.pdmp", Emacs will load pdmp file correctly.

------=_NextPart_000_CECD_01D66F08.69128050
Content-Type: application/octet-stream;
	name="0001-Makefile.in-Add-version-info-into-file-name-emacs.pd.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="0001-Makefile.in-Add-version-info-into-file-name-emacs.pd.patch"

From 416180fa843750ccedb4d1fcad436cd445f03735 Mon Sep 17 00:00:00 2001=0A=
From: Lin Sun <lin.sun@HIDDEN>=0A=
Date: Mon, 10 Aug 2020 11:10:21 +0800=0A=
Subject: [PATCH] * Makefile.in: Add version info into file name =
"emacs.pdmp"=0A=
=0A=
---=0A=
 Makefile.in | 3 ++-=0A=
 1 file changed, 2 insertions(+), 1 deletion(-)=0A=
=0A=
diff --git a/Makefile.in b/Makefile.in=0A=
index 67e15cf..078607c 100644=0A=
--- a/Makefile.in=0A=
+++ b/Makefile.in=0A=
@@ -309,6 +309,7 @@ TRANSFORM =3D=0A=
 EMACS_NAME =3D `echo emacs | sed '$(TRANSFORM)'`=0A=
 EMACS =3D ${EMACS_NAME}${EXEEXT}=0A=
 EMACSFULL =3D `echo emacs-${version} | sed '$(TRANSFORM)'`${EXEEXT}=0A=
+EMACS_PDMP =3D `echo emacs-${version} | sed '$(TRANSFORM)'`".pdmp"=0A=
 =0A=
 # Subdirectories to make recursively.=0A=
 SUBDIR =3D $(NTDIR) lib lib-src src lisp=0A=
@@ -495,7 +496,7 @@ install-arch-dep:=0A=
 ifeq (${ns_self_contained},no)=0A=
 	${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} =
"$(DESTDIR)${bindir}/$(EMACSFULL)"=0A=
 ifeq (${DUMPING},pdumper)=0A=
-	${INSTALL_DATA} src/emacs.pdmp =
"$(DESTDIR)${libexecdir}/emacs/${version}/${configuration}"/emacs.pdmp=0A=
+	${INSTALL_DATA} src/emacs.pdmp =
"$(DESTDIR)${libexecdir}/emacs/${version}/${configuration}"/${EMACS_PDMP}=0A=
 endif=0A=
 	-chmod 755 "$(DESTDIR)${bindir}/$(EMACSFULL)"=0A=
 ifndef NO_BIN_LINK=0A=
-- =0A=
2.2.0=0A=
=0A=

------=_NextPart_000_CECD_01D66F08.69128050--





Acknowledgement sent to <lin.sun@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#42790; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 15 Aug 2020 10:45:01 UTC

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