Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Your 'rm' program seems unable to run without file operands...: (3 Items)
   
Your 'rm' program seems unable to run without file operands...  
Hi Folks, 

I'm trying to build apache2.4 using a self-hosted x86 QNX.

The following error is blocking the way, anyone who has experience to work around it ?

OS: QNX localhost 6.5.0 2010/07/09-14:44:03EDT x86pc x86
pkgsrc version: HEAD_650

===> Configuring for gettext-lib-0.18.3
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking for a BSD-compatible install... /usr/pkg/bin/install-sh -c -o root -g root
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../build-aux/install-sh -c -d
checking for gawk... /usr/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
rm: Must specify file[s] for removal.
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: <http://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.
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/devel/gettext-lib
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/devel/gettext-lib
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/archivers/xz
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/devel/gettext-tools
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/converters/help2man
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/devel/autoconf
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/devel/pkg-config
*** Error code 1

Stop.
bmake: stopped in /HEAD_650/pkgsrc/www/apache24
# rm
rm: Must specify file[s] for removal.
Re: Your 'rm' program seems unable to run without file operands...  
Oops.. seems a stupid question, the error information itself tells me the solution.

"EXPORT ACCEPT_INFERIOR_RM_PROGRAM=yes" will fix it.
Re: Your 'rm' program seems unable to run without file operands...  
This is fixed in 6.6.  You should be able to grab the 'rm' from there.

On Wed, Aug 05, 2015 at 04:34:22AM -0400, Zhiying Xiang wrote:
> Hi Folks, 
> 
> I'm trying to build apache2.4 using a self-hosted x86 QNX.
> 
> The following error is blocking the way, anyone who has experience to work around it ?
> 

<snip>

> 
> 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>;