From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#40109: 27.0.90;
simple-delete-trailing-whitespace--bug-21766 fails if Git isn't
installed
Date: Tue, 17 Mar 2020 18:14:14 +0100
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202";
logging-data="23553"; mail-complaints-to="usenet@ciao.gmane.io"
To: 40109@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 17 18:15:15 2020
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1jEFoB-00060U-41
for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Mar 2020 18:15:15 +0100
Original-Received: from localhost ([::1]:37400 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1jEFo9-0006md-P7
for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Mar 2020 13:15:13 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51070)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from ) id 1jEFnz-0006mS-Ri
for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2020 13:15:05 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1jEFny-0004mA-7r
for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2020 13:15:03 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:33541)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1jEFny-0004jU-0r
for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2020 13:15:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1jEFnx-0008VJ-S3
for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2020 13:15:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 17 Mar 2020 17:15:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 40109
X-GNU-PR-Package: emacs
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.158446526732623
(code B ref -1); Tue, 17 Mar 2020 17:15:01 +0000
Original-Received: (at submit) by debbugs.gnu.org; 17 Mar 2020 17:14:27 +0000
Original-Received: from localhost ([127.0.0.1]:39514 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1jEFnO-0008U7-Im
for submit@debbugs.gnu.org; Tue, 17 Mar 2020 13:14:26 -0400
Original-Received: from lists.gnu.org ([209.51.188.17]:34637)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1jEFnM-0008Tz-9d
for submit@debbugs.gnu.org; Tue, 17 Mar 2020 13:14:24 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50288)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from ) id 1jEFnK-0006jG-1X
for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2020 13:14:24 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1jEFnI-00071I-0h
for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2020 13:14:21 -0400
Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:43757)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1jEFnH-0006eP-Or
for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2020 13:14:19 -0400
Original-Received: by mail-wr1-x434.google.com with SMTP id b2so20493940wrj.10
for ; Tue, 17 Mar 2020 10:14:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version;
bh=MdbhSVTsPagQmFxN1P6LIhCAUdSzL4g4oB8OBi1gwAY=;
b=DLldkmVHyEpTceFDyEsT8Ftd6vgw+MH/9mExb/BcfaxNfw23iPUgJmLrIdhphWBG5O
9+P3D2qmASsijkbMhmMGCJdnHroc1wTfwxzpL/w9//cNMyrx3XfG6JvoyGM0vVAEmFPb
i4wM4qWYdWa2C3axJHO6WoiwCRjzKQv9aeZRJ/V6rV8CU4K2ybDt8ViajxFobM4+EL/V
FqVUq4rol9mb00esOfYqWy9zLZBxK6CajxUd89BjhQ7m6bPeaIlk5DLZuoTA7OhR4q2V
t5iYpORxExDhwoK3PRukviGDCr+vrjDowLQ0T0EyOGZ75f2RPrGw3QnJ3PocOadRoAH0
3cxw==
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;
bh=MdbhSVTsPagQmFxN1P6LIhCAUdSzL4g4oB8OBi1gwAY=;
b=h7TPoAkX+5gDcuSil6uwA4JLGzoAAenWPW+bAO/V1NcYbqJUDWMhDtLAuVcIjwhSYe
zneS/MR6TkvlKt9WZp6WH0tR3esLt89GWwxDurkCkpzJxsUI8bVjE8Ul2atoX8W8lpXj
dtnIIp/95/O2+qT/AZg3lRjA0fuZNBs4hCL1Jv3i2v5dyvo3c7wN6285mUI5IzWPvINN
UTK4Jt1num/Dt3jVbZHB4Bcxcr/hrJUFrfPUML1zGWO9KT1qYoC89fHeTBOZ31q1tt5U
P0l8JYmcFcojArt/XVMcT2eWIYQzF8NA71q+iV06u8/mFxOdU/F/FXWQ8vHdFcpX91xu
ssvg==
X-Gm-Message-State: ANhLgQ1PK6vdOfRQrCe4Ka7ETxJXzrJmNC4RpRsiVzvNpSqnPD+qOJHY
jgCjSEgcXLyYrxZ88YUq7kDrSr+M
X-Google-Smtp-Source: ADFU+vuz0HEx0KbBAP4IuiRlcP79cJNibPX8siW3YPFa3bwuQUgif3l5JyjMfQxbKjYwx7vAUnjJDw==
X-Received: by 2002:a5d:5388:: with SMTP id d8mr21429wrv.270.1584465256236;
Tue, 17 Mar 2020 10:14:16 -0700 (PDT)
Original-Received: from phst1 ([2a02:2455:2a2:100:c351:ffcc:5d8e:4288])
by smtp.gmail.com with ESMTPSA id b187sm118236wmc.14.2020.03.17.10.14.15
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 17 Mar 2020 10:14:15 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 209.51.188.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:177461
Archived-At:
Make sure that git isn't installed, e.g. by running 'apt remove git' on
a Debian system. Then, in the Emacs source test directory:
$ make lisp/simple-tests SELECTOR=simple-delete-trailing-whitespace--bug-21766
make[1]: Entering directory '/emacs/test'
GEN lisp/simple-tests.log
Running 1 tests (2020-03-17 18:07:31+0100, selector `simple-delete-trailing-whitespace--bug-21766')
Test simple-delete-trailing-whitespace--bug-21766 backtrace:
call-process("git" nil (t nil) nil "rev-parse" "--abbrev-ref" "HEAD"
emacs-repository-branch-git("/emacs/")
emacs-repository-get-branch("/emacs/")
byte-code("\3021$\0\303\304\305\306!\307\"\206\17\0\10\1\31\211;\205
(defconst tramp-repository-branch (byte-code "\3021$\0\303\304\305\3
require(trampver)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\
require(tramp)
require(tramp-sh)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\
(python-mode)
(progn (python-mode) (insert (concat "query = \"\"\"WITH filtered AS
(unwind-protect (progn (python-mode) (insert (concat "query = \"\"\"
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
(unwind-protect (let ((temp-buffer (generate-new-buffer " *temp*")))
(let ((python (featurep 'python)) (python-indent-guess-indent-offset
(closure (t) nil (defvar python-indent-guess-indent-offset) (let ((p
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name simple-delete-trailing-whitespace--bu
ert-run-or-rerun-test(#s(ert--stats :selector simple-delete-trailing
ert-run-tests(simple-delete-trailing-whitespace--bug-21766 #f(compil
ert-run-tests-batch(simple-delete-trailing-whitespace--bug-21766)
ert-run-tests-batch-and-exit(simple-delete-trailing-whitespace--bug-
eval((ert-run-tests-batch-and-exit 'simple-delete-trailing-whitespac
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/simple-tests.el" "--
command-line()
normal-top-level()
Test simple-delete-trailing-whitespace--bug-21766 condition:
(file-missing "Searching for program" "No such file or directory" "git")
FAILED 1/1 simple-delete-trailing-whitespace--bug-21766 (0.267653 sec)
Ran 1 tests, 0 results as expected, 1 unexpected (2020-03-17 18:07:32+0100, 1.093014 sec)
1 unexpected results:
FAILED simple-delete-trailing-whitespace--bug-21766
make[1]: *** [Makefile:183: lisp/simple-tests.log] Error 1
make[1]: Leaving directory '/emacs/test'
make: *** [Makefile:249: lisp/simple-tests] Error 2
This is weird because trampver.el properly uses ignore-errors, so this
error shouldn't bubble up.
In GNU Emacs 27.0.90 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.12)
of 2020-03-17
Repository revision: 5747a59a886e16fadbd04c385c43628b1d8f50df
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
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-gcc-warnings=warn-only
--enable-gtk-deprecation-warnings --without-pop --with-mailutils
--enable-checking=all --enable-check-lisp-object-type --with-modules
'CFLAGS=-O1 -ggdb3 -fsanitize=address -fsanitize=pointer-compare
-fsanitize=pointer-subtract -fno-sanitize=leak -fsanitize=undefined
-fno-omit-frame-pointer''
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 PDUMPER GMP
Important settings:
value of $LANG: en_US.UTF-8
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-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars
subr-x rx gnutls puny seq byte-opt gv bytecomp byte-compile cconv dbus
xml 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 58870 6391)
(symbols 48 7794 1)
(strings 32 20740 1735)
(string-bytes 1 675750)
(vectors 16 11950)
(vector-slots 8 157424 7380)
(floats 8 25 38)
(intervals 56 204 0)
(buffers 1000 11))