GNU bug report logs - #45012
27.1.50; Emacs 27.1 release archive missing emacs-module.h

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: Philipp Stephani <p.stephani2@HIDDEN>; dated Wed, 2 Dec 2020 17:53:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 45012) by debbugs.gnu.org; 12 Dec 2020 18:37:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 12 13:37:33 2020
Received: from localhost ([127.0.0.1]:46503 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ko9lt-0000lR-Ef
	for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 13:37:33 -0500
Received: from eggs.gnu.org ([209.51.188.92]:45714)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ko9lr-0000l5-FY
 for 45012 <at> debbugs.gnu.org; Sat, 12 Dec 2020 13:37:32 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48238)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1ko9lm-0000M9-80; Sat, 12 Dec 2020 13:37:26 -0500
Received: from [176.228.60.248] (port=3457 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ko9lk-0007Cv-Iu; Sat, 12 Dec 2020 13:37:25 -0500
Date: Sat, 12 Dec 2020 20:37:10 +0200
Message-Id: <83v9d6euqx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philipp Stephani <p.stephani2@HIDDEN>
In-Reply-To: <CAArVCkRxaZE2M6MZGkp3woQLoB+Q5KnT-aD=p=Jqkg-wGK5f2Q@HIDDEN>
 (message from Philipp Stephani on Sat, 12 Dec 2020 15:55:46 +0100)
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
 <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
 <83tut4f46r.fsf@HIDDEN>
 <CAArVCkR4Ca3u3pTf+HtXUnHe87Zc4AW2wO11LWTyWOT_rSHCoA@HIDDEN>
 <83sg8of3ag.fsf@HIDDEN>
 <CAArVCkRv1E1Ci2nwesKE7hmNa_ViJNfkfTvB33NLrTBnvb4CGg@HIDDEN>
 <83k0tuagvh.fsf@HIDDEN>
 <CAArVCkRxaZE2M6MZGkp3woQLoB+Q5KnT-aD=p=Jqkg-wGK5f2Q@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -3.3 (---)

> From: Philipp Stephani <p.stephani2@HIDDEN>
> Date: Sat, 12 Dec 2020 15:55:46 +0100
> Cc: 45012 <at> debbugs.gnu.org
> 
> > > Concretely, I'm using emacs-module.h for my Go bindings to the module
> > > API (https://godoc.org/github.com/phst/emacs). The compilation of the
> > > library naturally requires emacs-module.h, but not Emacs.
> >
> > So you will build the module, but never test it or use it?  Is that a
> > reasonably practical use case?
> 
> It depends what "you" is. "You" could be a continuous build system
> that's capable of compiling C code, but not of running Emacs. That's
> not far-fetched; compiling C code is far more common than running
> Emacs, and therefore is better supported by build systems.

There's no need to build Emacs, you only need to configure it to get
emacs-module.h generated.




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

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


Received: (at 45012) by debbugs.gnu.org; 12 Dec 2020 14:56:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 12 09:56:05 2020
Received: from localhost ([127.0.0.1]:46273 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ko6JZ-0004Ti-3k
	for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 09:56:05 -0500
Received: from mail-oi1-f175.google.com ([209.85.167.175]:36268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <p.stephani2@HIDDEN>) id 1ko6JW-0004Sv-Ry
 for 45012 <at> debbugs.gnu.org; Sat, 12 Dec 2020 09:56:03 -0500
Received: by mail-oi1-f175.google.com with SMTP id 9so6448663oiq.3
 for <45012 <at> debbugs.gnu.org>; Sat, 12 Dec 2020 06:56:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=Tv420iCkVTlX20ob9AWNpQJ77/J+bwSss6MvV4ZnpvU=;
 b=NI/3ZMxI/Q22rYEFY0Q9ldyy0zPal7LjBf1ISncNzUdhqP12/8utmyGWJ4LYUUnFYG
 74jhQZACVKdOZRclIiBZpEOGN7L9dW1/1zuVrNnRajxDPfkeuEJVLoJJ415Fiaep/OGa
 LpYHasA+YcblXJJ51/U/NWifEyLajfXQ1YVOhqZSmQwhzlP5fyoQ+kLaM/xBWMUwWu7K
 O3EzwFiuEwDU3weFTYDxZG1bS4OPHABbnkP+6nYU9ov8jKcJ7O+x4icObFKZhuz9FWR9
 w8hH3oN9tnbhYKMz2ft45NDZ2//6exs6HFTYV/PQgRgzRg2NZXbYoDRI5eZv9xR717at
 fudA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=Tv420iCkVTlX20ob9AWNpQJ77/J+bwSss6MvV4ZnpvU=;
 b=uJmSx00BCHMOQ42RewB2UbQSBOJ3PAnDuAV5XVidlmXC52yCQPiThRQn1VUdjpL+eo
 OGZ62E20OJC1Yd2GypjDEiNu/cdV/YdQ0qBVYLn01jACeqV074F++CSr6NUGPR2Rlg/6
 0KW7+JgyZa29LwS98kK3RXFC9qnuPAKLLK9dEpdgzwK1e44BXTOiGqA6qj6mJJCfRodS
 aCVklmrtjdV4vZAkxidUPyWx7opoJIws0lqtF17tqVtvOVPRUzYErB7dojBzGUWL2yjd
 dKa+uSx9vaUtdmDImWliOeSve8VII7108+rsU1pCjFOO2r7q9Bu/ORXZ/QmOgCWnng4P
 uxxA==
X-Gm-Message-State: AOAM530eMWCh6rSEluxSre6XNH2HYpL/Ht8Hlz/hKE+duC7QOi+8VNTT
 TXEuhbtTb9bABNNE7byPvYUpX4TR67kp/XbLLOo=
X-Google-Smtp-Source: ABdhPJzb1YfaLyv/9QHA7DpwGi7pG2XGiFxaPbQ1ZTy9ZAbU3qwEABIU3ZQfqgHVl5jcEs0OKIDXuaP/34nFZSvPQhY=
X-Received: by 2002:a54:4881:: with SMTP id r1mr12747318oic.9.1607784957129;
 Sat, 12 Dec 2020 06:55:57 -0800 (PST)
MIME-Version: 1.0
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
 <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
 <83tut4f46r.fsf@HIDDEN>
 <CAArVCkR4Ca3u3pTf+HtXUnHe87Zc4AW2wO11LWTyWOT_rSHCoA@HIDDEN>
 <83sg8of3ag.fsf@HIDDEN>
 <CAArVCkRv1E1Ci2nwesKE7hmNa_ViJNfkfTvB33NLrTBnvb4CGg@HIDDEN>
 <83k0tuagvh.fsf@HIDDEN>
In-Reply-To: <83k0tuagvh.fsf@HIDDEN>
From: Philipp Stephani <p.stephani2@HIDDEN>
Date: Sat, 12 Dec 2020 15:55:46 +0100
Message-ID: <CAArVCkRxaZE2M6MZGkp3woQLoB+Q5KnT-aD=p=Jqkg-wGK5f2Q@HIDDEN>
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -0.8 (/)

Am So., 6. Dez. 2020 um 20:12 Uhr schrieb Eli Zaretskii <eliz@HIDDEN>:
>
> > From: Philipp Stephani <p.stephani2@HIDDEN>
> > Date: Sun, 6 Dec 2020 18:13:30 +0100
> > Cc: 45012 <at> debbugs.gnu.org
> >
> > > I'm making a step back and asking why you thought it was a problem
> > > that emacs-module.h was not part of the release tarball.  It gets
> > > built as part of Emacs, so once Emacs is built, the header is
> > > available.  So why do you want it to be in the tarball?
> >
> > Concretely, I'm using emacs-module.h for my Go bindings to the module
> > API (https://godoc.org/github.com/phst/emacs). The compilation of the
> > library naturally requires emacs-module.h, but not Emacs.
>
> So you will build the module, but never test it or use it?  Is that a
> reasonably practical use case?

It depends what "you" is. "You" could be a continuous build system
that's capable of compiling C code, but not of running Emacs. That's
not far-fetched; compiling C code is far more common than running
Emacs, and therefore is better supported by build systems.
Or, the tests for the module aren't written in ELisp. It's entirely
reasonable to write the tests in the language that the module is
written in, and e.g. mock out the emacs_env object.
Or: the module provides only trivial wrappers around existing complex
functions, and those implementation functions have tests written in
another language.

>
> > Somewhat more abstractly, Emacs modules are independent from Emacs,
> > and Emacs isn't needed (and shouldn't be needed) to build them.
>
> If you just build a module and never use it, perhaps.  Once you want
> to use it, you need Emacs.

See above, "you" can be non-human users that can't or don't need to
use Emacs in any meaningful way.

>
> > Moreover, the build process for Emacs is rather involved, requiring
> > multiple steps lots of external binaries such as the GNU Autotools,
> > etc., while building a module only requires a C compiler (or compiler
> > for whatever language the module is written in) and a linker that
> > produces shared objects.
>
> Most people nowadays don't build their Emacs, they get it from a
> distribution.  That distribution will (or should) provide
> emacs-module.h as well.

That only works for non-hermetic builds. Hermetic builds (such as the
Bazel builds in my example) need to ship all dependencies and can't
rely on local distributions. CI/CD systems also tend to not have a
full GNU/Linux distribution with Linux installed, or they run builds
in a sandbox that doesn't allow access to local files (for hermeticity
or security), or similar.

>
> So I'm still not sure we have a good reason to revert the decision we
> made for Emacs 27 regarding emacs-module.h exclusion.

Quoting the commit message, the only reason given for not including
emacs-module.h is "it's too much hassle", without any explanation what
this "hassle" consists in and why it is "too much". (The release
tarball also includes .elc files, and those are a much bigger hassle
to build.) Rather, this decision shifts the hassle to the users.




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

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


Received: (at 45012) by debbugs.gnu.org; 6 Dec 2020 19:12:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 06 14:12:38 2020
Received: from localhost ([127.0.0.1]:51304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1klzSY-0006Id-AR
	for submit <at> debbugs.gnu.org; Sun, 06 Dec 2020 14:12:38 -0500
Received: from eggs.gnu.org ([209.51.188.92]:57668)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1klzSW-0006IN-KI
 for 45012 <at> debbugs.gnu.org; Sun, 06 Dec 2020 14:12:37 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41274)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1klzSQ-0007Ov-Jh; Sun, 06 Dec 2020 14:12:31 -0500
Received: from [176.228.60.248] (port=1847 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1klzSP-0001Lk-KW; Sun, 06 Dec 2020 14:12:30 -0500
Date: Sun, 06 Dec 2020 21:12:18 +0200
Message-Id: <83k0tuagvh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philipp Stephani <p.stephani2@HIDDEN>
In-Reply-To: <CAArVCkRv1E1Ci2nwesKE7hmNa_ViJNfkfTvB33NLrTBnvb4CGg@HIDDEN>
 (message from Philipp Stephani on Sun, 6 Dec 2020 18:13:30 +0100)
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
 <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
 <83tut4f46r.fsf@HIDDEN>
 <CAArVCkR4Ca3u3pTf+HtXUnHe87Zc4AW2wO11LWTyWOT_rSHCoA@HIDDEN>
 <83sg8of3ag.fsf@HIDDEN>
 <CAArVCkRv1E1Ci2nwesKE7hmNa_ViJNfkfTvB33NLrTBnvb4CGg@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -3.3 (---)

> From: Philipp Stephani <p.stephani2@HIDDEN>
> Date: Sun, 6 Dec 2020 18:13:30 +0100
> Cc: 45012 <at> debbugs.gnu.org
> 
> > I'm making a step back and asking why you thought it was a problem
> > that emacs-module.h was not part of the release tarball.  It gets
> > built as part of Emacs, so once Emacs is built, the header is
> > available.  So why do you want it to be in the tarball?
> 
> Concretely, I'm using emacs-module.h for my Go bindings to the module
> API (https://godoc.org/github.com/phst/emacs). The compilation of the
> library naturally requires emacs-module.h, but not Emacs.

So you will build the module, but never test it or use it?  Is that a
reasonably practical use case?

> Somewhat more abstractly, Emacs modules are independent from Emacs,
> and Emacs isn't needed (and shouldn't be needed) to build them.

If you just build a module and never use it, perhaps.  Once you want
to use it, you need Emacs.

> Moreover, the build process for Emacs is rather involved, requiring
> multiple steps lots of external binaries such as the GNU Autotools,
> etc., while building a module only requires a C compiler (or compiler
> for whatever language the module is written in) and a linker that
> produces shared objects.

Most people nowadays don't build their Emacs, they get it from a
distribution.  That distribution will (or should) provide
emacs-module.h as well.

So I'm still not sure we have a good reason to revert the decision we
made for Emacs 27 regarding emacs-module.h exclusion.




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

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


Received: (at 45012) by debbugs.gnu.org; 6 Dec 2020 17:13:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 06 12:13:49 2020
Received: from localhost ([127.0.0.1]:51113 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1klxbZ-0007Vq-2H
	for submit <at> debbugs.gnu.org; Sun, 06 Dec 2020 12:13:49 -0500
Received: from mail-oi1-f179.google.com ([209.85.167.179]:39451)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <p.stephani2@HIDDEN>) id 1klxbX-0007Vc-FF
 for 45012 <at> debbugs.gnu.org; Sun, 06 Dec 2020 12:13:47 -0500
Received: by mail-oi1-f179.google.com with SMTP id v85so2154540oia.6
 for <45012 <at> debbugs.gnu.org>; Sun, 06 Dec 2020 09:13:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=GOy4UQDbytY7KmSpPoZmuqSRynohjn8K8Yo4Xi9E/0w=;
 b=VH02yBZOTC8ZDgV+niqBFGGIPwrh5kI1DwYbvlysLbh1uY9ywY10Pe4wQGtaOkeatW
 27/OTD2p0ncdg7K2EZJ9rsySpeSejzhZQOPvF2oCZfcJDbrw9F9PWgJ/D68czl0XMasL
 Od9RZHOqB4gwVUYeu5QrC6ktRpkwmb+1TWrYGjJpJ50y5mslb4J7igXnmyyfO3OfLSWc
 uHq3NesVv3RL20h9R3uwprkwiQIHbqMFkGcpZDsrzzWQ5dzT1MUyl9SHsBOu35edO3AX
 pzJw5BWC+wy4qkM6Smnw0rjsAhp24l3zVni5CO+SMRGo9+MBoiedYMC2shKopDtVC3WW
 QzUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=GOy4UQDbytY7KmSpPoZmuqSRynohjn8K8Yo4Xi9E/0w=;
 b=Gcx7r2U14DnpN4xeHlkKsEdmNOUzUlPcDI0IXhluXM7vKhMgT28LFrOcVWfrlhUx5b
 rBwFKjh8od/7YeyutS0I3mxdnuKPeI7asdSzCNDalwYlJ60RwIj7DvfrcerjsVbQgD34
 KK3GXGbsWGFXx0QZCW8/FTAA5EWg644C1QCgWUEoNaya7JR7DXxY/DzaApnDALUHyqJq
 XNS2PRFqBbHv5GiOoe+PVBbffZe5EYjKreVSq1P7O3Zx37OicQSRzSVoZsc42vJtrok4
 muwWU3kw6XCcVBR0DOZ9gT6dlUWaEbj/FpUeKzOGHMrlNhiyoAenQYYfErxpBazL7M3/
 I1ZA==
X-Gm-Message-State: AOAM5326qX4VWd/x4W60udGAX0VHFbkUlYs6ykrpRWAXcexHE0AbW9fy
 PPACEE1DktrQ1p+8LhidCbp5rlfJzbnKFrvf4qw=
X-Google-Smtp-Source: ABdhPJwmPk658W2INMh/S0NayXAGEgHwHsTU4uG1SQCvFdiLX+xdqRUURoLHvjwsVCrVn9IuaG0oAav2wEXPtmyXBvY=
X-Received: by 2002:aca:3a02:: with SMTP id h2mr3897537oia.65.1607274821648;
 Sun, 06 Dec 2020 09:13:41 -0800 (PST)
MIME-Version: 1.0
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
 <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
 <83tut4f46r.fsf@HIDDEN>
 <CAArVCkR4Ca3u3pTf+HtXUnHe87Zc4AW2wO11LWTyWOT_rSHCoA@HIDDEN>
 <83sg8of3ag.fsf@HIDDEN>
In-Reply-To: <83sg8of3ag.fsf@HIDDEN>
From: Philipp Stephani <p.stephani2@HIDDEN>
Date: Sun, 6 Dec 2020 18:13:30 +0100
Message-ID: <CAArVCkRv1E1Ci2nwesKE7hmNa_ViJNfkfTvB33NLrTBnvb4CGg@HIDDEN>
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -0.8 (/)

Am Mi., 2. Dez. 2020 um 19:53 Uhr schrieb Eli Zaretskii <eliz@HIDDEN>:
>
> > From: Philipp Stephani <p.stephani2@HIDDEN>
> > Date: Wed, 2 Dec 2020 19:47:49 +0100
> > Cc: 45012 <at> debbugs.gnu.org
> >
> > > Why is it a problem that emacs-module.h is built as part of Emacs?
> >
> > How is that related?
>
> I'm making a step back and asking why you thought it was a problem
> that emacs-module.h was not part of the release tarball.  It gets
> built as part of Emacs, so once Emacs is built, the header is
> available.  So why do you want it to be in the tarball?

Concretely, I'm using emacs-module.h for my Go bindings to the module
API (https://godoc.org/github.com/phst/emacs). The compilation of the
library naturally requires emacs-module.h, but not Emacs. In the build
process I therefore extract only emacs-module.h from the release
archive (https://github.com/phst/emacs/blob/29d32c83d5d39b1f0ac41bb79372ee7e1cb7439d/header.BUILD#L17).
That works with Emacs 26.3, but not with 27.1.
Somewhat more abstractly, Emacs modules are independent from Emacs,
and Emacs isn't needed (and shouldn't be needed) to build them.
Moreover, the build process for Emacs is rather involved, requiring
multiple steps lots of external binaries such as the GNU Autotools,
etc., while building a module only requires a C compiler (or compiler
for whatever language the module is written in) and a linker that
produces shared objects. Therefore it's reasonable to assume that
module authors shouldn't need to build Emacs (or aren't even able to
build Emacs). Including emacs-module.h in the release archive achieves
that.




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

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


Received: (at 45012) by debbugs.gnu.org; 2 Dec 2020 18:53:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 02 13:53:21 2020
Received: from localhost ([127.0.0.1]:37406 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kkXFh-0006kB-1j
	for submit <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:53:21 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37658)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kkXFf-0006jw-5f
 for 45012 <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:53:19 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55557)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kkXFZ-0003lE-Ot; Wed, 02 Dec 2020 13:53:13 -0500
Received: from [176.228.60.248] (port=2700 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kkXFY-0004Eb-Tj; Wed, 02 Dec 2020 13:53:13 -0500
Date: Wed, 02 Dec 2020 20:53:11 +0200
Message-Id: <83sg8of3ag.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philipp Stephani <p.stephani2@HIDDEN>
In-Reply-To: <CAArVCkR4Ca3u3pTf+HtXUnHe87Zc4AW2wO11LWTyWOT_rSHCoA@HIDDEN>
 (message from Philipp Stephani on Wed, 2 Dec 2020 19:47:49 +0100)
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
 <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
 <83tut4f46r.fsf@HIDDEN>
 <CAArVCkR4Ca3u3pTf+HtXUnHe87Zc4AW2wO11LWTyWOT_rSHCoA@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -3.3 (---)

> From: Philipp Stephani <p.stephani2@HIDDEN>
> Date: Wed, 2 Dec 2020 19:47:49 +0100
> Cc: 45012 <at> debbugs.gnu.org
> 
> > Why is it a problem that emacs-module.h is built as part of Emacs?
> 
> How is that related?

I'm making a step back and asking why you thought it was a problem
that emacs-module.h was not part of the release tarball.  It gets
built as part of Emacs, so once Emacs is built, the header is
available.  So why do you want it to be in the tarball?




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

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


Received: (at 45012) by debbugs.gnu.org; 2 Dec 2020 18:48:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 02 13:48:08 2020
Received: from localhost ([127.0.0.1]:37402 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kkXAe-0006cV-Am
	for submit <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:48:08 -0500
Received: from mail-oi1-f179.google.com ([209.85.167.179]:33452)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <p.stephani2@HIDDEN>) id 1kkXAc-0006c2-LR
 for 45012 <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:48:07 -0500
Received: by mail-oi1-f179.google.com with SMTP id k26so2680845oiw.0
 for <45012 <at> debbugs.gnu.org>; Wed, 02 Dec 2020 10:48:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=D78W+oS8IqlRwrvXclNMIEIkXbwiYq6RIoFfe76EJbM=;
 b=fOdt1fFAw2EPRAdjhPtgVhwF3qA+VJZPlXbWI2NNNSVbzlp2dntPScnJ4PKKdyvli9
 3jAWkAEKhc6OjOX5PdXecH/e/21weEH1+HRSc/soKeXmD2mEcFyoigIOaO8UyQAW9iFH
 XsOR3TfN2yylbx3vuuJNQ/JPMYecMtKMyJAB9GmxXVr2MtNBjVTuZugzXFJo/cPBAicc
 kU1SJ3cVuRVh61wbuN3Tx6C3wcxvc9s64WtiX0xMKbRUZVW3IulLJ9V8oJRzjjjpUav6
 klmxsjYrq3mQ/yhZI+S7EgiJ6R5Y/K3hm60p4+CXNyLMlwQYru9+/kv2IqErdLd7xK4f
 5HbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=D78W+oS8IqlRwrvXclNMIEIkXbwiYq6RIoFfe76EJbM=;
 b=iRFzALZcoc8Eq0/DDfu19MOrMuZROlKFS0xi/vY+x5vj/ZCWCYVTm6cmT3Fn+gzLZz
 Yfwai8wcoPxbCx/2PpAH0N/3/TgN+OguKodiNU8qkJ9kzH4CnlxqdtgLjPdyYys8Knl+
 08qtXOb0cTWM0qkFEtQhernvUuuxuPLFcsIw7a/k8TlKVkrt1r9CPXaht1SXaIQzlNUm
 6ffWEGMRmANQAEtuuPsQsGZaG4umq4jmoaXbF1dWKxaYcflgLAT9m3hZx3oWyVgzroxc
 T3Dco9daeZty64mKTddglQ6YIasRIQ9oiRCANOVFkXLVAuQbzj4mA+VxJTyF3NUHX7pS
 LctA==
X-Gm-Message-State: AOAM533G0aOjKAiZGFmhE0O7X7ZVklwLz5noa5W5LLSafHzEuCdEsvS4
 tdqhH2V1T8v0en0T/S7dNksDmwN0/TXMd7+km0JPNcmP
X-Google-Smtp-Source: ABdhPJz0ZdhLfwMH0ZnT7iNFCj0jaGyJmvHl4SgzWqFRd0A1o8wuvpAMTyvFMW8RiPupB+thv5idSnwGgFIvCSHtYbM=
X-Received: by 2002:a05:6808:3af:: with SMTP id
 n15mr2557510oie.65.1606934880743; 
 Wed, 02 Dec 2020 10:48:00 -0800 (PST)
MIME-Version: 1.0
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
 <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
 <83tut4f46r.fsf@HIDDEN>
In-Reply-To: <83tut4f46r.fsf@HIDDEN>
From: Philipp Stephani <p.stephani2@HIDDEN>
Date: Wed, 2 Dec 2020 19:47:49 +0100
Message-ID: <CAArVCkR4Ca3u3pTf+HtXUnHe87Zc4AW2wO11LWTyWOT_rSHCoA@HIDDEN>
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -0.8 (/)

Am Mi., 2. Dez. 2020 um 19:33 Uhr schrieb Eli Zaretskii <eliz@HIDDEN>:
>
> > From: Philipp Stephani <p.stephani2@HIDDEN>
> > Date: Wed, 2 Dec 2020 19:11:44 +0100
> > Cc: 45012 <at> debbugs.gnu.org
> >
> > >   commit 1043cd30acffcc0b61da4a80dcf3f8a5ac459267
> > >   Author:     Paul Eggert <eggert@HIDDEN>
> > >   AuthorDate: Sat Jun 8 14:08:05 2019 -0700
> > >   Commit:     Paul Eggert <eggert@HIDDEN>
> > >   CommitDate: Sat Jun 8 14:42:10 2019 -0700
> > >
> > >       Fix out-of-source make-dist problems
> > >
> > >       Problem with jisx2131-filter reported by Phillip Lord in:
> > >       https://lists.gnu.org/r/emacs-devel/2019-06/msg00147.html
> > >       * admin/charsets/Makefile.in (SED_SCRIPT):
> > >       Put it in $(srcdir), which is not necessarily the working directory.
> > >       ($(SED_SCRIPT)): Rename from jisx2131-filter.  All uses changed.
> > >       (clean): Do not remove SED_SCRIPT.
> > >       (extraclean): Remove it here instead.
> > >       * make-dist (possibly_non_vc_files): Remove src/emacs-module.h.
> > >       Although it is portable and could be distributed in the tarball,
> > >       it's too much hassle to do that, so let each builder make it.
> > >
> > > Wasn't there some discussion about the problems with distributing it,
> > > as it is not entirely portable?
> >
> > If so, then we need to fix that. emacs-module.h must be 100% portable.
>
> Why is it a problem that emacs-module.h is built as part of Emacs?

How is that related? emacs-module.h is just a textual concatenation of
various fragments. There's nothing platform-specific that's part of
its build process.
A module author shouldn't need to care about whether emacs-module.h is
checked in or created by configure; it should just be part of the
release.




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

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


Received: (at 45012) by debbugs.gnu.org; 2 Dec 2020 18:33:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 02 13:33:59 2020
Received: from localhost ([127.0.0.1]:37366 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kkWwx-0006GE-3T
	for submit <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:33:59 -0500
Received: from eggs.gnu.org ([209.51.188.92]:60862)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kkWwu-0006Fe-KH
 for 45012 <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:33:57 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55268)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kkWwp-0001Cx-Ar; Wed, 02 Dec 2020 13:33:51 -0500
Received: from [176.228.60.248] (port=1481 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kkWwo-0005Jc-9O; Wed, 02 Dec 2020 13:33:50 -0500
Date: Wed, 02 Dec 2020 20:33:48 +0200
Message-Id: <83tut4f46r.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philipp Stephani <p.stephani2@HIDDEN>
In-Reply-To: <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
 (message from Philipp Stephani on Wed, 2 Dec 2020 19:11:44 +0100)
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
 <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -3.3 (---)

> From: Philipp Stephani <p.stephani2@HIDDEN>
> Date: Wed, 2 Dec 2020 19:11:44 +0100
> Cc: 45012 <at> debbugs.gnu.org
> 
> >   commit 1043cd30acffcc0b61da4a80dcf3f8a5ac459267
> >   Author:     Paul Eggert <eggert@HIDDEN>
> >   AuthorDate: Sat Jun 8 14:08:05 2019 -0700
> >   Commit:     Paul Eggert <eggert@HIDDEN>
> >   CommitDate: Sat Jun 8 14:42:10 2019 -0700
> >
> >       Fix out-of-source make-dist problems
> >
> >       Problem with jisx2131-filter reported by Phillip Lord in:
> >       https://lists.gnu.org/r/emacs-devel/2019-06/msg00147.html
> >       * admin/charsets/Makefile.in (SED_SCRIPT):
> >       Put it in $(srcdir), which is not necessarily the working directory.
> >       ($(SED_SCRIPT)): Rename from jisx2131-filter.  All uses changed.
> >       (clean): Do not remove SED_SCRIPT.
> >       (extraclean): Remove it here instead.
> >       * make-dist (possibly_non_vc_files): Remove src/emacs-module.h.
> >       Although it is portable and could be distributed in the tarball,
> >       it's too much hassle to do that, so let each builder make it.
> >
> > Wasn't there some discussion about the problems with distributing it,
> > as it is not entirely portable?
> 
> If so, then we need to fix that. emacs-module.h must be 100% portable.

Why is it a problem that emacs-module.h is built as part of Emacs?




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

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


Received: (at 45012) by debbugs.gnu.org; 2 Dec 2020 18:12:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 02 13:12:02 2020
Received: from localhost ([127.0.0.1]:37342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kkWbi-0005j8-Lf
	for submit <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:12:02 -0500
Received: from mail-oi1-f172.google.com ([209.85.167.172]:34942)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <p.stephani2@HIDDEN>) id 1kkWbh-0005ie-E3
 for 45012 <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:12:01 -0500
Received: by mail-oi1-f172.google.com with SMTP id t9so2562735oic.2
 for <45012 <at> debbugs.gnu.org>; Wed, 02 Dec 2020 10:12:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=AStncIxihrNlr+qpTsKdTaKMpiO8KYWU1eUIc6ZkuFI=;
 b=cV4fYaHIesX9KqRLB0zGaUTTuEtqr41l4FkUMvNKHPcKfDO+uMaxStUfClX66shYFy
 BC53X/ATaWnLc+SzEZwAEwZo0ptyQSBGvYpEsU/pp5G2e7wHpz4wxvly8NFXnrRdF/nO
 WiNQyyo1zUH0izq7O/nHSM8kVudo+j0+SJ/IOPyKCK2V8IEDXz4MRSJtWYvD858P9ge1
 UabrGNe3y4i6kwXhDIjHMTy9Z0WdTW+Qo0wNS2ci/MM9a6ZiR+lVgHGlFBgFtC7kxVsi
 /5V+J3FJmkbU7yQGZOeCbhoHcCLG9zE3Q7gOtwEOCP/QyhrEu+5HITZ9BBX7aTi5ODui
 CoKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=AStncIxihrNlr+qpTsKdTaKMpiO8KYWU1eUIc6ZkuFI=;
 b=pshPjaijFZdVco9+tMrzyCYLFFX1vYMUJdCyEjl0C1fTtxPbSYFS3Amhele7UMr4e5
 EPRpK/K8xmpC98QJcUbq0ZHmODPTzLUBnmy3bAMIsTYdsB4pKJD0wyoYNmoCCArD6gyT
 Z1Fp+PrYJtSI8uEBykMDD4UXoEN2F2mwicumAGtQAnG2QUMnjzh4nUTir2fxQrBkXiUX
 F/UvlKXq2UehIeZEA0V9N2YqasrVFPp0XugRfz1QawgJzzmv4KV9mSO9bvGja/ZH2gkU
 jagpoOP55M+69QPwqnDBIl7Ph/l1hkpzD5ht4poUrue+JraQR77bscMWc8ycOOK1ZY4u
 KPFg==
X-Gm-Message-State: AOAM5332sAKgx3e+TySeskaAagV1FaXv28kQkAgb9nDp1WvCGc7hUQfz
 dE6TX8BZfFzg8w+FBwcWLh2DIW5peUrc7XcjS4E=
X-Google-Smtp-Source: ABdhPJy+azadjJaD4swnkV3HsYfbSXdRGGaMqugQMBY9Ns8I/gOHs9Ee6Vbg7RUA93mebZh5QjgCu1RsANjNdH0d0eY=
X-Received: by 2002:aca:1b0a:: with SMTP id b10mr2462891oib.9.1606932715544;
 Wed, 02 Dec 2020 10:11:55 -0800 (PST)
MIME-Version: 1.0
References: <wvr4ft4occyt.fsf@HIDDEN> <83v9dkf594.fsf@HIDDEN>
In-Reply-To: <83v9dkf594.fsf@HIDDEN>
From: Philipp Stephani <p.stephani2@HIDDEN>
Date: Wed, 2 Dec 2020 19:11:44 +0100
Message-ID: <CAArVCkS9=EWkWhnFww19LxdwikgRQSrQDwrAMOWar_r-X+rGeQ@HIDDEN>
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -0.8 (/)

Am Mi., 2. Dez. 2020 um 19:10 Uhr schrieb Eli Zaretskii <eliz@HIDDEN>:
>
> > From: Philipp Stephani <p.stephani2@HIDDEN>
> > Date: Wed, 02 Dec 2020 18:52:26 +0100
> >
> > The release archive for Emacs 27.1 as distributed on ftp.gnu.org is
> > missing the emacs-module.h header.
>
> This happens because emacs-module.h was removed from make-dist, in
> this commit:
>
>   commit 1043cd30acffcc0b61da4a80dcf3f8a5ac459267
>   Author:     Paul Eggert <eggert@HIDDEN>
>   AuthorDate: Sat Jun 8 14:08:05 2019 -0700
>   Commit:     Paul Eggert <eggert@HIDDEN>
>   CommitDate: Sat Jun 8 14:42:10 2019 -0700
>
>       Fix out-of-source make-dist problems
>
>       Problem with jisx2131-filter reported by Phillip Lord in:
>       https://lists.gnu.org/r/emacs-devel/2019-06/msg00147.html
>       * admin/charsets/Makefile.in (SED_SCRIPT):
>       Put it in $(srcdir), which is not necessarily the working directory.
>       ($(SED_SCRIPT)): Rename from jisx2131-filter.  All uses changed.
>       (clean): Do not remove SED_SCRIPT.
>       (extraclean): Remove it here instead.
>       * make-dist (possibly_non_vc_files): Remove src/emacs-module.h.
>       Although it is portable and could be distributed in the tarball,
>       it's too much hassle to do that, so let each builder make it.
>
> Wasn't there some discussion about the problems with distributing it,
> as it is not entirely portable?

If so, then we need to fix that. emacs-module.h must be 100% portable.




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

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


Received: (at 45012) by debbugs.gnu.org; 2 Dec 2020 18:10:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 02 13:10:57 2020
Received: from localhost ([127.0.0.1]:37338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kkWaf-0005hA-9w
	for submit <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:10:57 -0500
Received: from eggs.gnu.org ([209.51.188.92]:55588)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kkWad-0005gy-Je
 for 45012 <at> debbugs.gnu.org; Wed, 02 Dec 2020 13:10:56 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54930)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kkWaY-0006vq-DA; Wed, 02 Dec 2020 13:10:50 -0500
Received: from [176.228.60.248] (port=4046 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kkWaX-0004oj-ON; Wed, 02 Dec 2020 13:10:50 -0500
Date: Wed, 02 Dec 2020 20:10:47 +0200
Message-Id: <83v9dkf594.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philipp Stephani <p.stephani2@HIDDEN>
In-Reply-To: <wvr4ft4occyt.fsf@HIDDEN> (message from Philipp Stephani on
 Wed, 02 Dec 2020 18:52:26 +0100)
Subject: Re: bug#45012: 27.1.50;
 Emacs 27.1 release archive missing emacs-module.h
References: <wvr4ft4occyt.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45012
Cc: 45012 <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: -3.3 (---)

> From: Philipp Stephani <p.stephani2@HIDDEN>
> Date: Wed, 02 Dec 2020 18:52:26 +0100
> 
> The release archive for Emacs 27.1 as distributed on ftp.gnu.org is
> missing the emacs-module.h header.

This happens because emacs-module.h was removed from make-dist, in
this commit:

  commit 1043cd30acffcc0b61da4a80dcf3f8a5ac459267
  Author:     Paul Eggert <eggert@HIDDEN>
  AuthorDate: Sat Jun 8 14:08:05 2019 -0700
  Commit:     Paul Eggert <eggert@HIDDEN>
  CommitDate: Sat Jun 8 14:42:10 2019 -0700

      Fix out-of-source make-dist problems

      Problem with jisx2131-filter reported by Phillip Lord in:
      https://lists.gnu.org/r/emacs-devel/2019-06/msg00147.html
      * admin/charsets/Makefile.in (SED_SCRIPT):
      Put it in $(srcdir), which is not necessarily the working directory.
      ($(SED_SCRIPT)): Rename from jisx2131-filter.  All uses changed.
      (clean): Do not remove SED_SCRIPT.
      (extraclean): Remove it here instead.
      * make-dist (possibly_non_vc_files): Remove src/emacs-module.h.
      Although it is portable and could be distributed in the tarball,
      it's too much hassle to do that, so let each builder make it.

Wasn't there some discussion about the problems with distributing it,
as it is not entirely portable?




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

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


Received: (at submit) by debbugs.gnu.org; 2 Dec 2020 17:52:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 02 12:52:37 2020
Received: from localhost ([127.0.0.1]:37272 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kkWIv-0005CA-Aq
	for submit <at> debbugs.gnu.org; Wed, 02 Dec 2020 12:52:37 -0500
Received: from lists.gnu.org ([209.51.188.17]:50772)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <p.stephani2@HIDDEN>) id 1kkWIt-0005C3-SW
 for submit <at> debbugs.gnu.org; Wed, 02 Dec 2020 12:52:36 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40664)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <p.stephani2@HIDDEN>)
 id 1kkWIs-0007Hy-Pe
 for bug-gnu-emacs@HIDDEN; Wed, 02 Dec 2020 12:52:35 -0500
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:33426)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <p.stephani2@HIDDEN>)
 id 1kkWIp-0004Lb-2O
 for bug-gnu-emacs@HIDDEN; Wed, 02 Dec 2020 12:52:34 -0500
Received: by mail-wr1-x42b.google.com with SMTP id u12so5028860wrt.0
 for <bug-gnu-emacs@HIDDEN>; Wed, 02 Dec 2020 09:52:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=LecZ//CWTCsHLfFWvsqDzCsaydZA/VgU4MryPzeV+Wo=;
 b=C0I+z7AsxMK9DI/Y63JNS7F4bKACU7dGk05/Bblop5Cy3X8m3cOClvQXQTize0xI22
 /uBvDzDOSoMp06eIqF2adFbqO3AbhuRwPZoYg3hB8absHEGIbJubOE0IK/hex05XUDaJ
 +htFO5FfKi32sVBhup+gNs6CaAfxqbr9Je0PdsHQP1EwUPQIA4CxFypXAG0M1yyM4UR5
 MLAZm2EgL8oF77oOkLGKq68NRZD98N/TzrjIwyerwFEYMXqMcnqnUg7znAcb2pHnMC8e
 GriRaPKpXO4DRhOm2sQyvYGfLfRJkEEamuKGEuZeQxebUnOg3Z7wQI+5QAITFpbKst2C
 jgfw==
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
 :content-transfer-encoding;
 bh=LecZ//CWTCsHLfFWvsqDzCsaydZA/VgU4MryPzeV+Wo=;
 b=P3VGHeO0BIvsuEcM+ZPoug2msxKhy14UsJupsdOQiGdvwMmXMRLUmQWfD8Lx4d+ygT
 VAWtJXkuZYgPgG8mlj+DLa/EJ8kOWHK7+utWfY3BMwmj/hHAuWf3Yy5IWYToNk5ktuPp
 QeFHJ1rWQh30c3y/G8Ww8gYnM3DYhDeS2dl8K6bmEmAR98sGyCz4o0CGJllSPYfnY5Ds
 6Cwudh650DWjwZiCD6NdbLHLWrObtMFtp72XtQ2D+DRL1TUlobNyww6kFiRURPz5Qauv
 q79BxqxYs6a5JNNjyOIuYYtuneZ/epDtq7djrPtW6+FcHBaCrQGZag3rLAqsdF/MJQdP
 5njA==
X-Gm-Message-State: AOAM531O36TZW8m7JFWFESlcxkBw5kdwaGlsxyq+CQnch+p+JntWrbJM
 lfvpgAtGYV+p+pZZt4I61lxBXiTtmkY=
X-Google-Smtp-Source: ABdhPJzNUvRM9+ypCAwT6MgjwZB0AkGaJI/MBGXJXNSWv4Ow19p7bwNaj5YhLUfR0opNFP/0jIRUVw==
X-Received: by 2002:adf:ec0d:: with SMTP id x13mr4908949wrn.207.1606931548454; 
 Wed, 02 Dec 2020 09:52:28 -0800 (PST)
Received: from phst ([46.128.199.221])
 by smtp.gmail.com with ESMTPSA id f199sm2856643wme.15.2020.12.02.09.52.27
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 02 Dec 2020 09:52:27 -0800 (PST)
From: Philipp Stephani <p.stephani2@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.1.50; Emacs 27.1 release archive missing emacs-module.h
Date: Wed, 02 Dec 2020 18:52:26 +0100
Message-ID: <wvr4ft4occyt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::42b;
 envelope-from=p.stephani2@HIDDEN; helo=mail-wr1-x42b.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
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.1 (--)


The release archive for Emacs 27.1 as distributed on ftp.gnu.org is
missing the emacs-module.h header.  The header is present in the Emacs
26.3 release archive.  Let's please make sure that the header is
consistently present in the release archives.


In GNU Emacs 27.1.50 (build 28, x86_64-pc-linux-gnu, GTK+ Version 3.24.22)
 of 2020-11-29
Repository revision: 17fa17be3d93fc10f6ca91d738d5056b1b9f1f1e
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux rodete

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --enable-checking=3Dall --enable-gtk-deprecation-warnings
 --enable-gcc-warnings=3Dwarn-only --enable-check-lisp-object-type
 --with-mailutils --without-pop 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-g3'

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3
X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER GMP

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

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-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
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec epa epg epg-config gnus-util
rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton
derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars mailcap subr-x rx gnutls puny seq
byte-opt gv bytecomp byte-compile cconv dbus xml compile comint
ansi-color ring cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 68118 7094)
 (symbols 48 8597 1)
 (strings 32 23696 1941)
 (string-bytes 1 767387)
 (vectors 16 13054)
 (vector-slots 8 169386 8176)
 (floats 8 25 28)
 (intervals 56 208 0)
 (buffers 1000 12))

--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen

Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich.  Falls Sie diese f=C3=A4lschlicherweise erhal=
ten haben
sollten, leiten Sie diese bitte nicht an jemand anderes weiter, l=C3=B6sche=
n Sie
alle Kopien und Anh=C3=A4nge davon und lassen Sie mich bitte wissen, dass d=
ie E-Mail
an die falsche Person gesendet wurde.

This e-mail is confidential.  If you received this communication by mistake,
please don=E2=80=99t forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.




Acknowledgement sent to Philipp Stephani <p.stephani2@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#45012; 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, 12 Dec 2020 18:45:02 UTC

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