Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-pair-Authenticated: 65.93.68.37
From: Duncan Murdoch <dmurdoch@pair.com>
To: cygwin@cygwin.com
Subject: Re: "cp: will not create hard link"
Date: Mon, 08 Dec 2003 21:57:07 -0500
Message-ID: <6haatvoo9u4mh78eem9vhpnnsrn5pp1vfq@4ax.com>
References: <9fa9tvceuioq08dj7gqv29vn8ui939mi2d@4ax.com> <696atv4an5pmt7ptq7gc94j29cpc88mbks@4ax.com> <20031209011850.GB12260@redhat.com>
In-Reply-To: <20031209011850.GB12260@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On Mon, 8 Dec 2003 20:18:50 -0500, you wrote:

>On Mon, Dec 08, 2003 at 07:43:32PM -0500, Duncan Murdoch wrote:
>>I think I've tracked this down.  My path contained an old version of
>>cp.exe, ahead of the newly installed one.  It must have been
>>incompatible with the newly installed cygwin dll.
>
>It doesn't work that way.  New dlls always work with older binaries.
>If this "cp" was a cygwin binary then it would work.

Well, it didn't.  Renaming the old cp.exe to get it out of the way
made the build script continue on and die a bit later (when it got to
an old version of find.exe).

Maybe there was a hidden bug that just got revealed with the newer
DLL.  Here's the exact error I see when using the old cp with the new
DLL:

cp -pr  ../../../library/base  ../../../library/tools
../../../library/methods ../../../library/grid  ../../../library/ctest
../../../library/eda  ../../../library/lqs  ../../../library/mle
../../../library/modreg  ../../../library/mva ../../../library/nls
../../../library/splines  ../../../library/stepfun
../../../library/tcltk  ../../../library/ts ../../../library/R.css
rw1090dev/library
cp: will not create hard link `rw1090dev/library/eda/html' to
directory `rw1090dev/library/eda/Meta'
cp: will not create hard link `rw1090dev/library/mva/html' to
directory `rw1090dev/library/mva/data'

(I said it was copying 30 directories, but it's actually only 15.)

Duncan 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

