GNU bug report logs - #46052
Colons fooling GNUmakefile mode

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 23 Jan 2021 12:01:02 UTC

Severity: normal

Tags: confirmed, patch

Merged with 17400, 33681, 33900, 35299, 36245, 37934, 45037, 46221, 48052, 76759

Found in version 26.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: bug#33900: closed (Re: isc-dhcp patch-shebang fails when
 cross-compiling)
Date: Mon, 27 Sep 2021 10:37:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#46052: GNUmakefile mode colors fooled by colons in shell commands

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33900 <at> debbugs.gnu.org.

-- 
46052: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46052
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxime Devos <maximedevos <at> telenet.be>
To: Caliph Nomble <calnomble <at> protonmail.com>
Cc: 46052-done <at> debbugs.gnu.org
Subject: Re: isc-dhcp patch-shebang fails when cross-compiling
Date: Mon, 27 Sep 2021 12:35:55 +0200
[Message part 3 (text/plain, inline)]
Caliph Nomble schreef op za 23-01-2021 om 17:40 [+0000]:
> Hi,
> 
> When cross-compiling isc-dhcp (in this case x86-64 to aarch64), patch-shebang
> patches in bash-minimal compiled for x86_64 for the scripts
> libexec/dhclient-script and libexec/.dhclient-script-real. This pretty much
> prevents dhclient from working, requiring manual network configuration.

The current definition of isc-dhcp on master has some modifications to
patch in a cross-compiled bash-minimal instead, so I'm closing the bug report.
If you still notice an issue, feel free to reopen.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: GNUmakefile mode colors fooled by colons in shell commands
Date: Sat, 29 Dec 2018 08:36:22 +0800
$ cat Makefile
U=https://www.example.com//forum.php?mod=forumdisplay
all:new
	if ! test -f old; then touch old; fi
	diff old new > $T || :
	if test -s $T; then cat $T; echo https://www.example.com/; fi
	mv new old
$ emacs -q Makefile
See the weird colors caused by colons etc. on these lines?

     1  U=https://www.example.com//forum.php?mod=forumdisplay
     4          diff old new > $T || :
     5          if test -s $T; then cat $T; echo https://www.example.com/; fi

emacs-version "26.1"



This bug report was last modified 73 days ago.

Previous Next


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