Boost logo

Boost-Build :

From: Andre Hentz (gclbb-jamboost_at_[hidden])
Date: 2003-04-15 16:13:12


On Tue, 15 Apr 2003, Vladimir Prus wrote:

> The questions are:
> (i) why all tests pass for Andre

This question is likely to remain unanswered. Please, bear with
me while I tell what happend when I tried bjam on your test file.

> $ ls -ld /cygdrive
> dr-xr-xr-x 4 0 0 0 Jan 1 1970 /cygdrive

$ ls -ld /cygdrive
dr-xr-xr-x 6 Everyone Everyone 0 Dec 31 1969 /cygdrive

(Note: this is WindowsXP)

>
> P.S. BTW, Andre, it would be interesting if you run "bjam -fJamfile" (on the
> attached file) and report the results. Output from "ls -ld /cygdrive" is
> interesting as well...
>

Here's what happened the first time:

/cygdrive/c/home/ahentz$ cariden/tools/cygwin/bin/bjam.exe -fJamfile
...found 2 targets...
...updating 1 target...
MkDir /cygdrive
...updated 1 target...
/cygdrive/c/home/ahentz$ ls -ld /cygdrive
dr-xr-xr-x 6 Everyone Everyone 0 Dec 31 1969 /cygdrive
/cygdrive/c/home/ahentz$ which mkdir
/usr/bin/mkdir

Then I realized that I run sshd and use putty to get a decent terminal. I
thought that could be the difference so I opened a cygwin window and tried
again. It surely failed. I went back to my putty window and tried once
more:

/cygdrive/c/home/ahentz$ cariden/tools/cygwin/bin/bjam.exe -fJamfile -d2
...found 2 targets...
...updating 1 target...
MkDir /cygdrive

mkdir /cygdrive

mkdir: cannot create directory `/cygdrive': File exists
...failed MkDir /cygdrive...
...failed updating 1 target...
/cygdrive/c/home/ahentz$ ls -ld /cygdrive
dr-xr-xr-x 6 Everyone Everyone 0 Dec 31 1969 /cygdrive

I couldn't believe my eyes! It was working, now it is broken :-(

I'll patch bjam and try again. I'll let you know the results.

Best,

Andre Hentz

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk