[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53038: 28.0.50; problem building
From: |
Glenn Morris |
Subject: |
bug#53038: 28.0.50; problem building |
Date: |
Wed, 12 Jan 2022 12:49:48 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 29.1
commit 745580a36d
Date: Wed Jan 12 09:35:43 2022 -0800
Avoid user environment interfering with bootstrap
* Makefile.in, admin/unidata/Makefile.in:
* doc/misc/Makefile.in, lib-src/Makefile.in:
Don't export user environment variables that can affect running
emacs. (Bug#53038)
diff --git a/Makefile.in b/Makefile.in
index b72127dde6..8ac6f52746 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -319,6 +319,9 @@ GLIB_COMPILE_SCHEMAS =
# Program name transformation.
TRANSFORM = @program_transform_name@
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH
+
# What emacs should be called when installed.
EMACS_NAME = `echo emacs | sed '$(TRANSFORM)'`
EMACS = ${EMACS_NAME}${EXEEXT}
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in
index 45bba85213..e75010dc2b 100644
--- a/admin/unidata/Makefile.in
+++ b/admin/unidata/Makefile.in
@@ -29,6 +29,9 @@ srcdir =
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH
+
EMACS = ${top_builddir}/src/emacs
unidir = ${top_srcdir}/lisp/international
emacs = "${EMACS}" -batch --no-site-file --no-site-lisp
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 6c1e9cbc91..d348dbc194 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -234,6 +234,10 @@ ${buildinfodir}/tramp.info tramp.html:
abs_top_builddir = @abs_top_builddir@
+
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH
+
EMACS = ${abs_top_builddir}/src/emacs
emacs = "${EMACS}" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)'
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index c25ba5c974..0453b93506 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -20,6 +20,9 @@
SHELL = @SHELL@
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH
+
# Following ../lisp/Makefile.in.
EMACS = ../src/emacs${EXEEXT}
EMACSOPT = -batch --no-site-file --no-site-lisp
- bug#53038: 28.0.50; problem building, (continued)
- bug#53038: 28.0.50; problem building, Robert Pluim, 2022/01/07
- bug#53038: 28.0.50; problem building, joakim, 2022/01/07
- bug#53038: 28.0.50; problem building, Robert Pluim, 2022/01/07
- bug#53038: 28.0.50; problem building, joakim, 2022/01/07
- bug#53038: 28.0.50; problem building, Robert Pluim, 2022/01/07
bug#53038: 28.0.50; problem building, Lars Ingebrigtsen, 2022/01/07