delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/13/18:20:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: DOH! Resolved RE: Compiling rsync 2.5.6 under Cygwin?
Date: Thu, 13 Feb 2003 15:19:43 -0800
Message-ID: <A64C83FEDE2C9147AE14B15F80E7A0D0172F86@EXCHANGE07.utility.pge.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Glenn, Billy" <BDG3 AT pge DOT com>
To: "Max Bowsher" <maxb AT ukf DOT net>, <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 13 Feb 2003 23:19:43.0931 (UTC) FILETIME=[644160B0:01C2D3B6]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1DNK4806282

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:

<snip>
	rsync -rptvze ssh /home/crcq/rsynctest crcq AT wwwdev01:/home/crcq
	building file list ... done
	[HANG]
</snip>

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!
Billy


-----Original Message-----
From: Max Bowsher [mailto:maxb AT ukf DOT net]
Sent: Thursday, February 13, 2003 3:06 PM
To: Glenn, Billy; cygwin AT cygwin DOT 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
> type

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.

Max.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019