[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
loadables/rm not POSIX compliant
From: |
Tim Rühsen |
Subject: |
loadables/rm not POSIX compliant |
Date: |
Tue, 28 May 2019 14:32:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
Hi,
I just built bash from git master
(3ba697465bc74fab513a26dea700cc82e9f4724e) and enabled the 'rm' loadable via
enable -f ~/src/bash/examples/loadables/rm rm
Now, the next './configure' (autotools) says:
#########
rm: usage: rm [-rf] file ...
Oops!
Your 'rm' program seems unable to run without file operands specified
on the command line, even when the '-f' option is present. This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Please tell bug-automake@gnu.org about your system, including the value
of your $PATH and any error possibly output before this message. This
can help us improve future automake versions.
Aborting the configuration process, to ensure you take notice of the issue.
You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: <https://www.gnu.org/software/coreutils/>.
If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
to "yes", and re-run configure.
configure: error: Your 'rm' program is bad, sorry.
#########
Is it possible to fix the loadable 'rm' command ?
Let me know if you want me to provide a patch.
Regards, Tim
signature.asc
Description: OpenPGP digital signature
- loadables/rm not POSIX compliant,
Tim Rühsen <=
- Re: loadables/rm not POSIX compliant, Chet Ramey, 2019/05/28
- Re: loadables/rm not POSIX compliant, Eli Schwartz, 2019/05/28
- Re: loadables/rm not POSIX compliant, Tim Rühsen, 2019/05/28
- Re: loadables/rm not POSIX compliant, Chet Ramey, 2019/05/28
- Re: loadables/rm not POSIX compliant, G. Branden Robinson, 2019/05/28
- Re: loadables/rm not POSIX compliant, Greg Wooledge, 2019/05/28
- Re: loadables/rm not POSIX compliant, Eli Schwartz, 2019/05/28
- Re: loadables/rm not POSIX compliant, Chet Ramey, 2019/05/28
- Re: loadables/rm not POSIX compliant, Tim Rühsen, 2019/05/29
- Re: loadables/rm not POSIX compliant, Tim Rühsen, 2019/05/29