This is the mail archive of the
mailing list for the Cygwin project.
DOH! Resolved RE: Compiling rsync 2.5.6 under Cygwin?
- From: "Glenn, Billy" <BDG3 at pge dot com>
- To: "Max Bowsher" <maxb at ukf dot net>, <cygwin at cygwin dot com>
- Date: Thu, 13 Feb 2003 15:19:43 -0800
- Subject: DOH! Resolved RE: Compiling rsync 2.5.6 under Cygwin?
Max- (jump to the end for the spoiler)
Thank you MUCH for your quick, and detailed response! I'll go look to make sure I've got the Cygwin popt package installed. As to the remainder of your questions, I'll take my best crack here, get with my client (I have YET to witness the problem myself :-( and see if I can get any of the additional output you requested. I'm not familiar with the strace or gdb commands, but I'll familiarize myself and see if I can provide the info.
As to "when it hangs" - the user reports that it's "intermittent" (hard to believe) and that is seems to hang after rsync reports:
rsync -rptvze ssh /home/crcq/rsynctest crcq@wwwdev01:/home/crcq
building file list ... done
As to the warnings vs. errors - I guess I cut my output off a bit shy.
ARGH!!! Damn... I JUST realized... I'm a complete idiot. Despite the warnings... as you point out, the compile completes just fine, and I DO, in fact, have a new rsync.exe sitting in my source directory.
DOH! You wouldn't imagine how my co-workers are ribbing me right now. Here's hoping this post doesn't wind up in Google!
Thanks SO much for your help, quick response, and friendly response in the face of obvious ignorance...
Have a GREAT day!
From: Max Bowsher [mailto:firstname.lastname@example.org]
Sent: Thursday, February 13, 2003 3:06 PM
To: Glenn, Billy; email@example.com
Subject: Re: Compiling rsync 2.5.6 under Cygwin?
Glenn, Billy wrote:
> Team Cygwin:
> First, I'd like to start by saying THANK YOU for developing and
> maintaining such an excellent product.
> That having been said - I'm trying to implement a solution for a
> client pushing content from a Windows2000 server to a Solaris web
> server. The obvious tool is rsync over ssh, using public key
> authentication. Using the bundled packages included in Cygwin, I was
> able to get things up and running NO TROUBLE.... however, my client,
> for some unexplained reason, continues to experience "hangs" when
> performing rsync operations.
Can you give any/all of the following?:
- Exactly when the hang occurs
- strace output
- gdb backtraces
> A good bit of Google research shows a lot of good discussion around
> this problem, and more than a little "finger pointing" as to
> where/why it exists.
Let's confirm that this really *is* the same bug. Any info... as above.
> So, I tried to compile the latest rsync sources (2.5.6) within Cygwin
> - but keep getting the following error:
> <snip from make output>
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -DBROKEN_LINKER
> -c popt/po
> ptparse.c -o popt/poptparse.o
> In file included from popt/system.h:73,
> from popt/poptparse.c:9:
> popt/popt.h:377: warning: type qualifiers ignored on function return
That's a warning, not an error.
Also: Cygwin comes with a popt package. If you install it, rsync will link
against the system popt shared library, rather than needlessly incorporating
an extra copy of libpopt into itself.
> Info: resolving _h_errno by linking to __imp__h_errno (auto-import)
And that's only an informational message.
I see no errors.
> Some research around this error showed that perhaps a
> "-DBROKEN_LINKER" switch might help at compile time - but no luck.
No, not relevant here.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html