Mail Archives: cygwin/2006/05/05/19:16:43
On Fri, 21 Apr 2006, Eric Blake wrote:
>
>> I'm having a problem with cygwin make and the $(wildcard) function. I've
>> attached a Makefile which demonstrates the problem. The gnu make
>> documentation indicates that the wildcard function should only return
files
>> or directories that exist, but in certain circumstances it is returning
>> paths that do not exist. This appears to be a bug introduced in the base
>> cygwin package. Specifically,
>>
>> using base/cygwin 1.5.19-4:
>> - fails when building from linux samba share (version 3.0.20)
>> - fails when building from solaris samba share (version 2.2.8a)
>> - succeeds when building from local hard drive
>
> There are known issues with 1.5.19 and older samba servers that had
> buggy file id numbers. Try the latest snapshot, and see if the problem
> has been fixed due to the samba file id workarounds added since then:
> http://cygwin.com/faq/faq-nochunks.html#faq.setup.snapshots
>
>
Sorry I'm so late in responding to this - got distracted on some other
issues. I just tried updating to the 20060427 snapshot of cygwin1.dll, and
I'm still seeing the same failure:
$ uname -a
CYGWIN_NT-5.1 R63324-11 1.5.20s(0.155/4/2) 20060427 13:16:59 i686 Cygwin
$ make
echo "root file1" > file1.txt
mkdir -p sub1
echo "sub1 file2" > sub1/file2.txt
echo "sub1 file3" > sub1/file3.txt
mkdir -p sub2
echo "sub2 file4" > sub2/file4.txt
echo "sub2 file5" > sub2/file5.txt
make print_files
make[1]: Entering directory `/cygdrive/g/projects/cyg_smb_make_bug'
make[1]: *** No rule to make target `sub1/file3.txt/file1.txt', needed by
`print_files'. Stop.
make[1]: Leaving directory `/cygdrive/g/projects/cyg_smb_make_bug'
make: *** [test] Error 2
$
Any other suggestions? For reference, the sample Makefile is attached here:
http://www.cygwin.com/ml/cygwin/2006-04/msg00592.html
Ken
--
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/
- Raw text -