Re: date.exe have some time advance to system time

2010-10-25 Thread Csaba Raduly
On Sun, Oct 24, 2010 at 10:43 AM, Kirill Yarosh  wrote:
> I have a problem with date.exe .
> date.exe got a permanent increasing time advance in comparison to system time.
>
> The following example demonstrates the problem:
>
> $ date ; cmd /c echo %TIME%
> Sun Oct 24 10:32:44 JST 2010
> 10:32:37.08

Works Just Fine For Me:

$ date ; cmd /c echo %TIME%
Mon Oct 25 09:47:06 CEDT 2010
 9:47:06.79

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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



Re: date.exe have some time advance to system time

2010-10-25 Thread Kirill Yarosh
On some computers it works as by a book.
-- 
Kirill




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



Pending RFU for unison 2.40

2010-10-25 Thread Andy Moreton
Hi folks,

Andrew Schulman posted an RFU for unison2.40-2.40.61-2 on the apps list
last week [1], but it seems to have been overlooked. Could somebody please
upload the new version ?

Thanks,

AndyM

[1] http://permalink.gmane.org/gmane.os.cygwin.applications/21209



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



Cygwin 2.510.2.2 - Bootstrapping inline module error in Win XP OS in HP laptop which has Intel i5 64 bit processor

2010-10-25 Thread Gb Shasi Kumar
Hi

I am facing an error in Cygwin, when I run Perl scripts which talks to DLL files

Laptop specification:

HP Elite book
Model – 8540W
Intel i5 64 bit processor
Win XP OS

Software – Cygwin
Additional modules – Inline & Parse Rec descent.

My Perl installation in Cygwin is done properly, I am sure about that
(I ran some simple “hello world” kind of scripts & that is working
fine). I checked the installation of Inline & Parse Rec Descent it has
installed it properly. I checked this using “make test” script, I get
all the tests are passing in both Inline & Parse Rec descent.

When I run Perl scripts which uses DLL files I get this error, Please
see the error below. MY Perl scripts uses *.PM Perl modules which
talks to DLL files of a particular hardware. As per the error below it
couldn’t find some the files at run time or compiling stage, however,
I checked it all the required files are present in the _Inline folder.
I don’t understand why it couldn’t load it at run time or compile
time….!

This is the error.

Had problems bootstrapping Inline module 'Corelis_JTAG_6bd5'
Can't load '/cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd
5.dll' for module Corelis_JTAG_6bd5: No such file or directory at
/usr/lib/perl5 /5.8/cygwin/DynaLoader.pm line 230.
at /usr/lib/perl5/site_perl/5.8/Inline.pm line 500

at Corelis_JTAG.pm line 25
BEGIN failed--compilation aborted at Corelis_JTAG.pm line 25.
Compilation failed in require at ./crm_bist.pl line 33.
BEGIN failed--compilation aborted at ./crm_bist.pl line 33.


Moreover, the same Cygwin installation, Inline version, Parse Rec
descent is done the same way in other two IBM Desktops & one TOSHIBA
laptop. There is literally no difference between the scripts &
installation in other PC's. However, the new laptop I am trying is not
going through & it throughs me the above error. But, in my IBM PC &
Toshiba laptop works fine. The new laptop which is not working is HP
Elite book 8540W with SATA SSD hard disk.

This leaves me to suspect two things.
1. The OS (Win XP) version or installation problem!! (The Win XP
in the desktop & laptop is about 5 years old version of Win XP - I
don't know what would help there to you to debug this..)
2. The hard disk in IBM desktop is IDE & the one in Toshiba laptop is
SATA2. The new laptop which is not working is HP Elite book 8540W
with SATA SSD hard disk. Does hard disk matters for Cygwin at all..

Do you think the above two reasons would make anything to fail in
Cygwin, what dependencies they have with respect to Cygwin.

Please help.

Shasi

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



Cygwin 2.510.2.2 - Bootstrapping inline module error in Win XP OS in HP laptop which has Intel i5 64 bit processor.

2010-10-25 Thread Gb Shasi Kumar
Hi
Cygwin 2.510.2.2  -   Bootstrapping inline module error in Win XP OS
in HP laptop which has Intel i5 64 bit processor.
I am facing an error in Cygwin, when I run Perl scripts which talks to DLL files

Laptop specification:

HP Elite book
Model – 8540W
Intel i5 64 bit processor
Win XP OS

Software – Cygwin
Additional modules – Inline & Parse Rec descent.

My Perl installation in Cygwin is done properly, I am sure about that
(I ran some simple “hello world” kind of scripts & that is working
fine). I checked the installation of Inline & Parse Rec Descent it has
installed it properly. I checked this using “make test” script, I get
all the tests are passing in both Inline & Parse Rec descent.
Moreover, inline_test.pl is passing.

As per the error below it couldn’t load some the files at run time or
compiling stage, however, I checked it all the required files are
present in the _Inline folder. I don’t understand why it couldn’t load
it at run time or compile time….! I tried to delete the _inline folder
& re-run it. It creates the new _inline folder, however, it gives the
below error, no matter what..

This is the error.

Had problems bootstrapping Inline module 'Corelis_JTAG_6bd5'
Can't load '/cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd
5.dll' for module Corelis_JTAG_6bd5: No such file or directory at
/usr/lib/perl5 /5.8/cygwin/DynaLoader.pm line 230.
 at /usr/lib/perl5/site_perl/5.8/Inline.pm line 500

 at Corelis_JTAG.pm line 25
BEGIN failed--compilation aborted at Corelis_JTAG.pm line 25.
Compilation failed in require at ./crm_bist.pl line 33.
BEGIN failed--compilation aborted at ./crm_bist.pl line 33.


Moreover, the same Cygwin installation, Inline version, Parse Rec
descent is done the same way in other two IBM Desktops & one TOSHIBA
laptop. There is literally no difference between the scripts &
installation in other PC's. However, the new laptop I am trying is not
going through & it gives me the above error. But, in my IBM PC &
Toshiba laptop works fine. The new laptop which is not working is HP
Elite book 8540W with SATA SSD hard disk.

This leaves me to suspect two things.
1. The OS (Win XP) version or installation problem!! (The Win XP
in the desktop & laptop is about 5 years old version of Win XP - I
don't know what would help there to you to debug this..)
2. The hard disk in IBM desktop is IDE & the one in Toshiba laptop is
SATA2. The new laptop which is not working is HP Elite book 8540W
with SATA SSD hard disk. Does hard disk matters for Cygwin at all..

I tried swapping the hard disk & building a new OS, both of the
options didn’t help to resolve the issue. It looks like a simple
security issue which doesn’t allow me to load the required files
DLL’s. Google search didn’t give me any pointers, I absolutely have no
idea which one to tweak to resolve this.

Please help.

Shasi

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



Re: Cygwin 2.510.2.2 - Bootstrapping inline module error in Win XP OS in HP laptop which has Intel i5 64 bit processor.

2010-10-25 Thread Csaba Raduly
Hi Shasi,

On Mon, Oct 25, 2010 at 4:20 PM, Gb Shasi Kumar  wrote:
> Hi
> Cygwin 2.510.2.2  -   Bootstrapping inline module error in Win XP OS
(snip)
> This is the error.
>
> Had problems bootstrapping Inline module 'Corelis_JTAG_6bd5'
> Can't load 
> '/cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd
> 5.dll' for module Corelis_JTAG_6bd5: No such file or directory at
> /usr/lib/perl5 /5.8/cygwin/DynaLoader.pm line 230.
>  at /usr/lib/perl5/site_perl/5.8/Inline.pm line 500
>
>  at Corelis_JTAG.pm line 25
> BEGIN failed--compilation aborted at Corelis_JTAG.pm line 25.
> Compilation failed in require at ./crm_bist.pl line 33.
> BEGIN failed--compilation aborted at ./crm_bist.pl line 33.
(snip)
> Please help.

We'll need some information about your Cygwin installation, as described here:

> Problem reports:       http://cygwin.com/problems.html

Some possible causes:

1/ the path is wrong. What is the output of:
ls -l /cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll
file  /cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll

2/ Missing DLLs that Corelis_JTAG_6bd5.dll depends on. What is the output of:
ldd  
/cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll
cygcheck 
/cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll

Hope this helps,
Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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



Cygwin's svn appends unwanted .exe to file name on checkout

2010-10-25 Thread Carl Norum

Hi everybody,

I am having the problem described in this past mailing list discussion:

  http://cygwin.com/ml/cygwin/2010-02/msg00704.html

Is there any fix or workaround for it that I should know about?  It's wreaking 
havoc on my automated build machine.  The workaround mentioned (changing the 
default ACLs) does seem to work, but it will take some time before I can get 
changes to support that workaround onto the production build server here.

Any suggestions or information will be greatly appreciated!

Why does cygwin want to change file extensions behind my back anyway?

-- Carl


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



Re: Cygwin's svn appends unwanted .exe to file name on checkout

2010-10-25 Thread Carl Norum

On Oct 25, 2010, at 12:20 PM, Carl Norum wrote:
> I am having the problem described in this past mailing list discussion:
> 
>  http://cygwin.com/ml/cygwin/2010-02/msg00704.html
> 
> Is there any fix or workaround for it that I should know about?  It's 
> wreaking havoc on my automated build machine.  The workaround mentioned 
> (changing the default ACLs) does seem to work, but it will take some time 
> before I can get changes to support that workaround onto the production build 
> server here.

I had to modify the workaround a bit for the production machines:

  setfacl -m d:g:Users:--- .
  setfacl -m d:u:Administrators:--- .

And then checking out into '.' appears to work.  Is there a way I can file a 
bug or track this issue to know when it is fixed?

-- Carl


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



Re: Cygwin's svn appends unwanted .exe to file name on checkout

2010-10-25 Thread David Rothenberger
On 10/25/2010 12:20 PM, Carl Norum wrote:
> I am having the problem described in this past mailing list discussion:
> 
>   http://cygwin.com/ml/cygwin/2010-02/msg00704.html
> 
> Is there any fix or workaround for it that I should know about?

As far as I know, this was fixed in Cygwin 1.7.2. Neither the script here

  http://cygwin.com/ml/cygwin/2010-03/msg00026.html

or the script here

  http://cygwin.com/ml/cygwin/2010-03/msg00067.html

trigger the problem for me.

What version of Cygwin are you using? (Perhaps you can just attach the
output of cygcheck, following there directions here:
http://cygwin.com/problems.html) If you are using the latest version,
can you try the scripts mentioned above? If they work but you still see
a problem, it would be very helpful if you could modify one of them to
reproduce the problem you're seeing.

Thanks.

-- 
David Rothenberger    daver...@acm.org

Volunteer Cygwin svn maintainer


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



Re: Bash problems, strace, performance, etc.

2010-10-25 Thread David Rothenberger
On 10/22/2010 2:47 PM, Eric Blake wrote:
> On 10/22/2010 03:41 PM, Ken Brown wrote:
>> On 10/22/2010 12:32 AM, Andy Koppe wrote:
>>> On 21 October 2010 22:22, Lee D. Rothstein wrote:
> do you have bash-completion, if yes, get rid of it and try again.

 Bash completion is installed on my system but never loaded; i.e.,
 /etc/bash_completion is not sourced in '~/.bashrc', or
 '~/.profile', or anywhere else.
>>>
>>> It gets loaded by /etc/profile.d/bash_completion.sh, which is sourced
>>> by /etc/profile.
>>
>> I wonder if this was a packaging bug in bash-completion. Eric's
>> announcement
>> (http://sourceware.org/ml/cygwin-announce/2010-06/msg00061.html) said
>> the following:
>>
>> You MUST edit your bash startup files to load bash-completion into
>> memory:
> 
> Hmm - maybe this is a case of a copy and paste bug on my part.
> Certainly, before bash-completion 1.0, you had to manually enable
> things.  But it looks like 1.0 and later (first cygwin build in Apr
> 2009) inherit the upstream default of automatic enabling.
> 
> I'll have to revisit that next time I package bash-completion, and
> either fix the release notes to match reality, or alter the packaging to
> restore the manual enabling (but note that other distros like Fedora do
> automatic enabling if you install the package, so that's the direction
> I'm leaning in).

If you do decide to leave in the automatic enabling, it might be worth
mentioning in the release email that users from the pre-1.0 era should
remove the manual loading. My bash startup times doubled when I upgraded
to 1.0 because I was enabling twice and it took me a little while to
figure out why.

-- 
David Rothenberger    daver...@acm.org

Famous quotations:
" "
-- Charlie Chaplin

" "
-- Harpo Marx

" "
-- Marcel Marceau


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



Re: Cygwin 2.510.2.2 - Bootstrapping inline module error in Win XP OS in HP laptop which has Intel i5 64 bit processor.

2010-10-25 Thread Gb Shasi Kumar
Hi Csaba

Thanks for your reply.

I am replying to your questions.

Information about Cygwin Installation - I have attached the
"cygcheck.out" file which should give all the details of my
installation, by the way my version of .ini file is 2.510.2.2. Please
let me know if you need any more details.

For the below mentioned commands you recommended, I have attached a
file "cygwin_error_reporting.txt" which shows the output of the typed
commands. By the way I have changed the working directory

old - /cygdrive/c/test
new - /home/Intel/test ( root is /home/Intel)

The reason I changed this is because, the "Inline 0.44" gets installed
in the root directory not in other directories. I don't know why is
this..

My Laptop has Win 7 32 bit version of Windows & Intel i5 64 bit
architecture, I missed this info last time.

Thanks for your help.

Shasi






On Mon, Oct 25, 2010 at 8:32 PM, Csaba Raduly  wrote:
> Hi Shasi,
>
> On Mon, Oct 25, 2010 at 4:20 PM, Gb Shasi Kumar  wrote:
>> Hi
>> Cygwin 2.510.2.2  -   Bootstrapping inline module error in Win XP OS
> (snip)
>> This is the error.
>>
>> Had problems bootstrapping Inline module 'Corelis_JTAG_6bd5'
>> Can't load 
>> '/cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd
>> 5.dll' for module Corelis_JTAG_6bd5: No such file or directory at
>> /usr/lib/perl5 /5.8/cygwin/DynaLoader.pm line 230.
>>  at /usr/lib/perl5/site_perl/5.8/Inline.pm line 500
>>
>>  at Corelis_JTAG.pm line 25
>> BEGIN failed--compilation aborted at Corelis_JTAG.pm line 25.
>> Compilation failed in require at ./crm_bist.pl line 33.
>> BEGIN failed--compilation aborted at ./crm_bist.pl line 33.
> (snip)
>> Please help.
>
> We'll need some information about your Cygwin installation, as described here:
>
>> Problem reports:       http://cygwin.com/problems.html
>
> Some possible causes:
>
> 1/ the path is wrong. What is the output of:
> ls -l 
> /cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll
> file  
> /cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll
>
> 2/ Missing DLLs that Corelis_JTAG_6bd5.dll depends on. What is the output of:
> ldd      
> /cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll
> cygcheck 
> /cygdrive/c/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll
>
> Hope this helps,
> Csaba
> --
> GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
> Life is complex, with real and imaginary parts.
> "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus 
> Torvalds
> "People disagree with me. I just ignore them." -- Linus Torvalds
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>
in...@intel-pc ~/test
$ perl inline_test.pl
Inline_test.pl: Test OK
Inline_test.pl: Exiting ...


in...@intel-pc ~/test
$ pwd
/home/Intel/test

in...@intel-pc ~/test
$ ./crm.pl
Had problems bootstrapping Inline module 'Corelis_JTAG_6bd5'

Can't load '/home/Intel/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd
5.dll' for module Corelis_JTAG_6bd5: No such file or directory at /usr/lib/perl5
/5.8/cygwin/DynaLoader.pm line 230.
 at /usr/lib/perl5/site_perl/5.8/Inline.pm line 500


 at Corelis_JTAG.pm line 25
BEGIN failed--compilation aborted at Corelis_JTAG.pm line 25.
Compilation failed in require at ./crm.pl line 33.
BEGIN failed--compilation aborted at ./crm.pl line 33.

in...@intel-pc ~/test
$ cygcheck -s -v -r >cygcheck.out

in...@intel-pc ~/test
$ ls -l /home/Intel/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.d
ll
-r-xr-xr-x 1 Intel None 23040 Oct 25 10:11 /home/Intel/test/_Inline/lib/auto/Cor
elis_JTAG_6bd5/Corelis_JTAG_6bd5.dll

in...@intel-pc ~/test
$ file /home/Intel/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dl
l
bash: file: command not found

in...@intel-pc ~/test
$ ldd /home/Intel/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.dll

bash: ldd: command not found

in...@intel-pc ~/test
$ cygcheck /home/Intel/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd
5.dll
C:\cygwin\home/Intel/test/_Inline/lib/auto/Corelis_JTAG_6bd5/Corelis_JTAG_6bd5.d
ll
  C:\cygwin\bin\cygwin1.dll
C:\Windows\system32\ADVAPI32.DLL
  C:\Windows\system32\msvcrt.dll
C:\Windows\system32\KERNELBASE.dll
  C:\Windows\system32\ntdll.dll
C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
C:\Windows\system32