Debian Bug report logs -
#1007969
make: recognize more commands as shell built-ins
Reported by: Peter Pentchev <roam@ringlet.net>
Date: Sat, 19 Mar 2022 18:39:02 UTC
Severity: normal
Found in version make-dfsg/4.2.1-1.2
Fixed in version 4.3-1
Done: Peter Pentchev <roam@ringlet.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, roam@debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#1007969; Package make.
(Sat, 19 Mar 2022 18:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Peter Pentchev <roam@ringlet.net>:
New Bug report received and forwarded. Copy sent to roam@debian.org, Manoj Srivastava <srivasta@debian.org>.
(Sat, 19 Mar 2022 18:39:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: make
Version: 4.2.1-1.2
Severity: normal
X-Debbugs-CC: roam@debian.org
Dear Maintainer,
First of all, thanks a lot for taking care of GNU make in Debian!
What do you think about the attached patches to the version of make in
Debian 10 (buster) that backport two commits from version 4.3 and
let make recognize more commands (both in recipes and in $(shell ...))
as shell built-ins that really need to be run via /bin/sh? I realize
that it may be a bit weird to file a report against oldstable, but
buster is still a supported release, and there is at least one shell
built-in, namely "command", that is in relatively wide use and hence
leads to problems.
I am also attaching a sample Makefile that demonstrates the way make(1)
fails to recognize "command" and "alias" as shell built-ins. I know that
"alias" is completely pointless in non-interactive shells, but it is on
the list of more recognized built-ins in the second patch/commit, so it
was easy to use for testing.
Thanks in advance for looking at this, and keep up the great work!
G'luck,
Peter
-- System Information:
Debian Release: 10.11
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.16.0-4-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages make depends on:
ii libc6 2.28-10
make recommends no packages.
Versions of packages make suggests:
pn make-doc <none>
-- no debconf information
[0001-Add-command-as-a-known-shell-built-in.patch (text/plain, attachment)]
[0002-Recognize-more-commands-as-shell-built-ins.patch (text/plain, attachment)]
[0003-Update-the-changelog-file.patch (text/plain, attachment)]
[Makefile (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Peter Pentchev <roam@ringlet.net>:
You have taken responsibility.
(Sat, 19 Mar 2022 18:48:03 GMT) (full text, mbox, link).
Notification sent
to Peter Pentchev <roam@ringlet.net>:
Bug acknowledged by developer.
(Sat, 19 Mar 2022 18:48:04 GMT) (full text, mbox, link).
Message #10 received at 1007969-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 4.3-1
The two patches attached to the original bug report were taken from
the 4.3 upstream release.
G'luck,
Peter
--
Peter Pentchev roam@ringlet.net roam@debian.org pp@storpool.com
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 17 Apr 2022 07:29:11 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 02:01:49 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.