Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  /bin/install

klacke at hyber.org
Posted: Mon May 26, 2003 5:24 pm Reply with quote
Guest
Folks,

It appears if as the install command in GNU fileutils
behave differently in later releases.

The bug in the erlang Makefiles manifests itself in
gentoo linux systems which run an install command that is slightly
newer than on i.e. rh9.0.

Anyway, older install did complain when we tried to
install the same file twice.

Try for example:

# touch foo; install foo foo /tmp

This command fails on newer install. See:

# install --version
install (fileutils) 4.1.11
Written by David MacKenzie.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# touch foo; install -c foo foo /tmp
install: will not overwrite just-created `/tmp/foo' with `foo'
# echo $?
1

Thus erlang Makefiles fail to install a number of files:

The easiest way to reproduce is to do:

# make install > /tmp/stdout

Anything that gets written to stderr is an error.

I attach a patch. apply as :

# cd otp_src_R9B-1;
# patch -p0 < /path/to/install.patch


/klacke



Claes Wikstrom -- Caps lock is nowhere and
http://www.hyber.org -- everything is under control


Post generated using Mail2Forum (http://m2f.sourceforge.net)
kent at erix.ericsson.se
Posted: Mon May 26, 2003 8:53 pm Reply with quote
Guest
klacke_at_hyber.org writes:
> It appears if as the install command in GNU fileutils
> behave differently in later releases.
>
> The bug in the erlang Makefiles manifests itself in
> gentoo linux systems which run an install command that is slightly
> newer than on i.e. rh9.0.
.
.
> # touch foo; install -c foo foo /tmp
> install: will not overwrite just-created `/tmp/foo' with `foo'
> # echo $?
> 1

I have installed version 5.0 of the GNU install program (part of
coreutils 5.0) for one of our daily builds to make sure the R9C
release will be correct in this respect.

Thank you for the patch and for reporting this,

kent


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum