[chromium-dev] Re: cygwin dependence missing?

2009-07-06 Thread Dirk Pranke

Okay, I think I've figured this out and it's a relatively undocumented
aspect of our win builds (from what I can tell).

The third_party/cygwin install we have has a modified version of
cygwin1.dll , which has been patched to tell cygwin the root is
third_party/cygwin rather than /. In order for this to work correctly,
you need to run third_party/cygwin/setup_mount.bat to stuff the right
entries into the registry.

We should probably change run_layout_tests to automatically run this
script prior to running the regression (running it every time should
be harmless).

-- Dirk

On Thu, Jul 2, 2009 at 7:27 PM, Dirk Prankedpra...@google.com wrote:
 Debugging this a bit more ... it seems to be some sort of XP vs. Vista
 thing. If I run wdiff exp.txt act.txt in a bash shell or a command
 prompt on Vista, it works. On XP, it works in a bash shell, but in a
 command prompt, I get the /tmp error. It looks like XP is expecting
 to find the cygwin environment, but isn't, and it is finding it on
 Vista. I don't see anything obvious in my environment that is
 different.

 I am running Cygwin 1.5.25, though. At this point, my knowledge of
 cygwin falters, so I'm out of ideas. Anyone else?

 -- Dirk

 On Thu, Jul 2, 2009 at 6:08 PM, Dirk Prankedpra...@google.com wrote:
 Oh, I should add that if I run the same binaries under Vista,
 everything works fine (no error from wdiff).

 -- Dirk

 On Thu, Jul 2, 2009 at 6:07 PM, Dirk Prankedpra...@google.com wrote:
 Hi Marc-Antoine,

 I am getting the same wdiff: /tmp/t101c.0: No such file or directory
 errors ... I'm running an XP VM on a Vista 64 host, but I've tried
 both local files (running the tests on a virtual drive) as well as a
 network share to the host VM. I've tried the /etc/fstab, the
 CYGWIN=nontsec, and the changing of directory ACLs, all to no avail.
 Any other ideas?

 -- Dirk

 On Thu, Jul 2, 2009 at 5:53 PM, Marc-Antoine Ruelmar...@chromium.org 
 wrote:
 2009/7/1 Bradley Nelson bradnel...@google.com

 gyp should be setting CYGWIN=nontsec for actions and rules (unless you use
 the msvs_use_cygwin_shell:0).

 FYI, cygwin 1.7 doesn't honour CYGWIN=NONTSEC anymore. You need to modify
 /etc/fstab, e.g. c:\cygwin\etc\fstab to add something line:
 none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
 to have the same effect.
 M-A
 





--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-06 Thread Marc-Antoine Ruel
On Mon, Jul 6, 2009 at 6:31 PM, Dirk Pranke dpra...@google.com wrote:

 We should probably change run_layout_tests to automatically run this
 script prior to running the regression (running it every time should
 be harmless).


Patches are welcome!

M-A

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-06 Thread David Jones
Okay, I think I've figured this out and it's a relatively undocumented
aspect of our win builds (from what I can tell).

The third_party/cygwin install we have has a modified version of
cygwin1.dll , which has been patched to tell cygwin the root is
third_party/cygwin rather than /. In order for this to work correctly,
you need to run third_party/cygwin/setup_mount.bat to stuff the right
entries into the registry.

We should probably change run_layout_tests to automatically run this
script prior to running the regression (running it every time should
be harmless).

-- Dirk

Do you mean my layout-test actually uses the cygwin under depot_tools, but not 
the third_party/cygwin?
also, what does setup_mount.bat  do?
--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-06 Thread Dirk Pranke

2009/7/6 David Jones ds...@163.com:
Okay, I think I've figured this out and it's a relatively undocumented
aspect of our win builds (from what I can tell).

The third_party/cygwin install we have has a modified version of
cygwin1.dll , which has been patched to tell cygwin the root is
third_party/cygwin rather than /. In order for this to work correctly,
you need to run third_party/cygwin/setup_mount.bat to stuff the right
entries into the registry.

We should probably change run_layout_tests to automatically run this
script prior to running the regression (running it every time should
be harmless).

-- Dirk

 Do you mean my layout-test actually uses the cygwin under depot_tools, but
 not the third_party/cygwin?
 also, what does setup_mount.bat  do?


There isn't a cygwin under depot_tools, unless you have something I
don't. setup_mount.bat creates a bunch of registry entries that tells
cygwin where to find the root of its source tree. Read the source for
that file and the README.google in that directory; they're pretty
clear about what's going on (enough so that me repeating it here
wouldn't add anything).

Unless you either had those files added at some point, or somehow
managed to install cygwin into the same path, I'm not sure why it
would be working for you on one machine and not the other.

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-05 Thread David Jones
That's really weird, as I posted, between the two same layout-tests, one 
succeeded on XP of my notebook, one failed on XP of my PC.
I totally agree with you, I think that must be something wrong about 
ENVIROMENT, such as PATH.
 
FYI:
my PATH=D:\Program Files\Perl\bin;D:\Program 
Files\Perl\site\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program
 Files\Rational\common;D:\Program 
Files\Rational\ClearCase\bin;C:\Python24;C:\Python24\Scripts;D:\depot_tools;

 
--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-03 Thread Dirk Pranke

Debugging this a bit more ... it seems to be some sort of XP vs. Vista
thing. If I run wdiff exp.txt act.txt in a bash shell or a command
prompt on Vista, it works. On XP, it works in a bash shell, but in a
command prompt, I get the /tmp error. It looks like XP is expecting
to find the cygwin environment, but isn't, and it is finding it on
Vista. I don't see anything obvious in my environment that is
different.

I am running Cygwin 1.5.25, though. At this point, my knowledge of
cygwin falters, so I'm out of ideas. Anyone else?

-- Dirk

On Thu, Jul 2, 2009 at 6:08 PM, Dirk Prankedpra...@google.com wrote:
 Oh, I should add that if I run the same binaries under Vista,
 everything works fine (no error from wdiff).

 -- Dirk

 On Thu, Jul 2, 2009 at 6:07 PM, Dirk Prankedpra...@google.com wrote:
 Hi Marc-Antoine,

 I am getting the same wdiff: /tmp/t101c.0: No such file or directory
 errors ... I'm running an XP VM on a Vista 64 host, but I've tried
 both local files (running the tests on a virtual drive) as well as a
 network share to the host VM. I've tried the /etc/fstab, the
 CYGWIN=nontsec, and the changing of directory ACLs, all to no avail.
 Any other ideas?

 -- Dirk

 On Thu, Jul 2, 2009 at 5:53 PM, Marc-Antoine Ruelmar...@chromium.org wrote:
 2009/7/1 Bradley Nelson bradnel...@google.com

 gyp should be setting CYGWIN=nontsec for actions and rules (unless you use
 the msvs_use_cygwin_shell:0).

 FYI, cygwin 1.7 doesn't honour CYGWIN=NONTSEC anymore. You need to modify
 /etc/fstab, e.g. c:\cygwin\etc\fstab to add something line:
 none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
 to have the same effect.
 M-A
 




--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-03 Thread Dirk Pranke

Hi Marc-Antoine,

I am getting the same wdiff: /tmp/t101c.0: No such file or directory
errors ... I'm running an XP VM on a Vista 64 host, but I've tried
both local files (running the tests on a virtual drive) as well as a
network share to the host VM. I've tried the /etc/fstab, the
CYGWIN=nontsec, and the changing of directory ACLs, all to no avail.
Any other ideas?

-- Dirk

On Thu, Jul 2, 2009 at 5:53 PM, Marc-Antoine Ruelmar...@chromium.org wrote:
 2009/7/1 Bradley Nelson bradnel...@google.com

 gyp should be setting CYGWIN=nontsec for actions and rules (unless you use
 the msvs_use_cygwin_shell:0).

 FYI, cygwin 1.7 doesn't honour CYGWIN=NONTSEC anymore. You need to modify
 /etc/fstab, e.g. c:\cygwin\etc\fstab to add something line:
 none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
 to have the same effect.
 M-A
 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-02 Thread David Jones
Well,new headway is I found it's really a weird bug. I copies the same source 
from my pc to my notebook(both are Windows XP), and run layouttest.
 
The one on pc is still with the cygwin errors I've posted, but the notebook's 
succeeded without any cygwin error.
 
I cann't explain that, could anyone explain that?

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-02 Thread Marc-Antoine Ruel
Just guessing, access controls. Assuming you are an administrator on your
workstation, try:
- Right click on src, Properties
- Security tab
- Advanced button
- Owner tab
- Select your account, check Replace owner on subcontainers and objects,
Click OK and wait
- Click OK again to dismiss all the dialog boxes
- Right click on src, Properties
- Security tab
- Advanced button
- Make sure you have write access from the Permission entries.
- Check Replace permission entries on all child objects with entries shown
here that apply to child sbjects
- Click OK and wait
- Click OK again to dismiss all the dialog boxes

M-A

2009/7/2 David Jones ds...@163.com

 Well,new headway is I found it's really a weird bug. I copies the same
 source from my pc to my notebook(both are Windows XP), and run layouttest.

 The one on pc is still with the cygwin errors I've posted, but the
 notebook's succeeded without any cygwin error.

 I cann't explain that, could anyone explain that?


 --
 200万种商品,最低价格,疯狂诱惑你http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-01 Thread David Jones

I wasn't either, but a simple search provided this:

:: Set CYGWIN variable to 'nontsec'. That makes sure that permissions
:: on your windows machine are not updated as a side effect of cygwin:: 
operations.SET CYGWIN=nontsec
 
well, where to set it? in the run_webkit_tests.bat?

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-07-01 Thread Bradley Nelson
If you're hitting overflows, it might be from the native client landing,
which ended up dragging in more than intended, its been backed out, but it
was an extra 300MB.
gyp should be setting CYGWIN=nontsec for actions and rules (unless you use
the msvs_use_cygwin_shell:0).

-BradN


2009/7/1 David Jones ds...@163.com


 I wasn't either, but a simple search provided this:

 :: Set CYGWIN variable to 'nontsec'. That makes sure that permissions
 :: on your windows machine are not updated as a side effect of cygwin::
 operations.SET CYGWIN=nontsec

 well, where to set it? in the run_webkit_tests.bat?


 --
 200万种商品,最低价格,疯狂诱惑你http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-06-30 Thread John Abd-El-Malek
It looks like it had trouble writing to /tmp.  I don't think there are
missing binaries, looks like a space/permission issue.  Is there enough
space available?

2009/6/29 David Jones ds...@163.com

 I reviewed my layout-tests' output, and found some errors like:
 090629 14:28:30 __init__.py:1032 ERROR
 LayoutTests/http/tests/xmlhttprequest/xml-encoding.html failed:
   Text diff mismatch
   Simplified text diff mismatch
 /cygdrive/e/mychromesrc/src/third_party/cygwin/bin/wdiff: /tmp/t101c.0: No
 such file or directory

 I think I missed something about cygwin, right?
 How to make up?


 --
 200万种商品,最低价格,疯狂诱惑你http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-06-30 Thread Darin Fisher
I have the same problem when running the layout tests from WinXP inside a
VMware image.  My host machine is a Vista64 box.  I haven't been able to
track down the problem, so I'm hopeful that someone else might also know the
fix :-)
-Darin



2009/6/30 John Abd-El-Malek j...@chromium.org

 It looks like it had trouble writing to /tmp.  I don't think there are
 missing binaries, looks like a space/permission issue.  Is there enough
 space available?

 2009/6/29 David Jones ds...@163.com

 I reviewed my layout-tests' output, and found some errors like:
 090629 14:28:30 __init__.py:1032 ERROR
 LayoutTests/http/tests/xmlhttprequest/xml-encoding.html failed:
   Text diff mismatch
   Simplified text diff mismatch
 /cygdrive/e/mychromesrc/src/third_party/cygwin/bin/wdiff: /tmp/t101c.0: No
 such file or directory

 I think I missed something about cygwin, right?
 How to make up?


 --
 200万种商品,最低价格,疯狂诱惑你http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com



 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: cygwin dependence missing?

2009-06-30 Thread Marc-Antoine Ruel

set CYGWIN=nontsec
?

2009/6/30 Darin Fisher da...@chromium.org:
 I have the same problem when running the layout tests from WinXP inside a
 VMware image.  My host machine is a Vista64 box.  I haven't been able to
 track down the problem, so I'm hopeful that someone else might also know the
 fix :-)
 -Darin


 2009/6/30 John Abd-El-Malek j...@chromium.org

 It looks like it had trouble writing to /tmp.  I don't think there are
 missing binaries, looks like a space/permission issue.  Is there enough
 space available?

 2009/6/29 David Jones ds...@163.com

 I reviewed my layout-tests' output, and found some errors like:
 090629 14:28:30 __init__.py:1032 ERROR
 LayoutTests/http/tests/xmlhttprequest/xml-encoding.html failed:
   Text diff mismatch
   Simplified text diff mismatch
 /cygdrive/e/mychromesrc/src/third_party/cygwin/bin/wdiff: /tmp/t101c.0:
 No such file or directory

 I think I missed something about cygwin, right?
 How to make up?


 
 200万种商品,最低价格,疯狂诱惑你





 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---