Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <003e01c0e708$55d8cc80$11f55c18@twcny.rr.com>
From: "Michael Williamson" <mikewill@twcny.rr.com>
To: <cygwin@cygwin.com>
Subject: Fw: Bug/Help on cp and mv using 1.3.2?
Date: Sun, 27 May 2001 19:54:14 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400


----- Original Message -----
From: Michael Williamson
To: cygwin@cygwin.com
Sent: Sunday, May 27, 2001 7:52 PM
Subject: Bug/Help on cp and mv using 1.3.2?



----- Original Message -----
From: Michael Williamson
To: cygwin-subscribe@cygwin.com
Sent: Sunday, May 27, 2001 7:46 PM
Subject: subscribe


Not sure if this will get posted to the list, but:

I am using 1.3.2 cygwin, and I was trying to build the meta object compiler
for qt, and I have run into a bizarre bug(??).  Check out the data below:

-Mike Williamson
mikewill@twcny.rr.com


mike@BOXYA123 ~
$ cd /usr/local/qt

mike@BOXYA123 /usr/local/qt
$ make
make[1]: Entering directory `/usr/local/qt-2.3.0'
cd src/moc; make
make[2]: Entering directory `/usr/local/qt-2.3.0/src/moc'
make[2]: Nothing to be done for `all'.
[ comment from mike---- the build/link for moc worked fine prior to the
  next round of make commands ]
make[2]: Leaving directory `/usr/local/qt-2.3.0/src/moc'
rm -f bin/moc
cp src/moc/moc bin/moc
cp: `src/moc/moc' and `bin/moc' are the same file
make[1]: *** [src-moc] Error 1
make[1]: Leaving directory `/usr/local/qt-2.3.0'
make: *** [init] Error 2

mike@BOXYA123 /usr/local/qt
$ file src/moc/moc
src/moc/moc: executable, can't read `src/moc/moc' (No such file or
directory).

mike@BOXYA123 /usr/local/qt
$ src/moc/moc
this should create an error message
standard input:0: Warning: No relevant classes found. No output generated.

mike@BOXYA123 /usr/local/qt
$ ls -l src/moc/moc
-rwxr-xr-x   1 mike     544        450262 May 27 17:42 src/moc/moc

mike@BOXYA123 /usr/local/qt
$ cd src/moc

mike@BOXYA123 /usr/local/qt/src/moc
$ mv moc moc1
mv: `moc' and `moc1' are the same file

mike@BOXYA123 /usr/local/qt/src/moc
$ ls moc1
ls: moc1: No such file or directory

mike@BOXYA123 /usr/local/qt/src/moc
$ $ touch moc1

mike@BOXYA123 /usr/local/qt/src/moc
$ ls -l moc1
-rw-r--r--   1 mike     544             0 May 27 19:43 moc1

mike@BOXYA123 /usr/local/qt/src/moc
$ mv moc moc1
mv: `moc' and `moc1' are the same file

mike@BOXYA123 /usr/local/qt/src/moc
$ diff moc moc1
diff: moc: No such file or directory

mike@BOXYA123 /usr/local/qt/src/moc
$ ls -l moc
-rwxr-xr-x   1 mike     544        450262 May 27 17:42 moc





--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

