Mail Archives: cygwin/2003/01/06/13:55:27
--Boundary_(ID_+o9CzkrujQZNR4kvzF25tg)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
In the process of building the latest fetchmail (i.e., 6.2.0) for
release, I seem to have stumbled over a Cygwin gcc 3.2 build problem.
Although fetchmail builds cleanly under Cygwin gcc 3.2, it does not
function properly -- it seems to get completely confused.
Here are some of my observations so far:
o All of my public fetchmail releases to dated were built with
gcc 2.95.3-5 or earlier.
o Configured with the defaults (i.e., CFLAGS=-O), fetchmail exits
very early in its poll with a "socket error" when attempting to
fetch mail from a known good IMAP server. See the first
attachment for the details.
o Configured with CFLAGS=-g, fetchmail completes its poll cycle.
However, the log file shows lots of garbage (include carriage
returns). See the second attachment for the details.
o Configured with CC=gcc-2, fetchmail behaves as expected. See the
third attachment for the details.
o Configured with the defaults under Linux and gcc 3.2, fetchmail
behaves as expected.
Any suggestions on how to best debug this problem or potential root
causes will be greatly appreciated.
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--Boundary_(ID_+o9CzkrujQZNR4kvzF25tg)
Content-type: text/plain; charset=us-ascii; NAME=gcc3-1.log
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=gcc3-1.log
fetchmail: 6.2.0 querying sa-bwmail1 (protocol IMAP) at Mon Jan 06 12:56:22 2003: poll started
fetchmail: socket error while fetching from sa-bwmail1
fetchmail: 6.2.0 querying sa-bwmail1 (protocol IMAP) at Mon Jan 06 12:56:22 2003: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2
--Boundary_(ID_+o9CzkrujQZNR4kvzF25tg)
Content-type: text/plain; charset=us-ascii; NAME=gcc3.log
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=gcc3.log
fetchmail: 6.2.0 querying sa-bwmail1 (protocol IMAP) at Mon Jan 06 12:52:54 2003: poll started
fetchmail: IMAP< * OK Microsoft Exchange IMAP4rev1 server version 5.5.2653.23 (sa-bwmail1.esr.hp.com) ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4rev1 IDLE LITERAL+ LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE AUTH=NTLM
A0001 OK CAPABILITY completed.
fetchmail: IMAP< A0001 OK CAPABILITY completed.
E LITERAL+ LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE AUTH=NTLM
A0001 OK CAPABILITY COMPLETED.
fetchmail: IMAP> A0002 AUTHENTICATE NTLM
fetchmail: IMAP< +
fetchmail: IMAP> TlRMTVNTUAABAAAAB7IAAAgACAAgAAAAAAAAAAgAAABqdGlzaGxlcg==
fetchmail: IMAP< + TlRMTVNTUAACAAAAFAAUADAAAAAFggEApUKlOgxfe1wAAAAAAAAAAAAAAABEAAAATQBBAEkATgBEAE8ATQBBAEkATgA=
fetchmail: IMAP> TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAABQAFABwAAAAEAAQAIQAAAAQABAAlAAAAAAAAABkAAAABYIBADab5UU49yUFffEnRNH2OO4q1MMiir2PEbYgEnGHgyHammYK39cZSUCOSAeD8oZRak0AQQBJAE4ARABPAE0AQQBJAE4AagB0AGkAcwBoAGwAZQByAGoAdABpAHMAaABsAGUAcgA=
fetchmail: IMAP< A0002 OK AUTHENTICATE NTLM completed.
AFABwAAAAEAAQAIQAAAAQABAAlAAAAAAAAABkAAAABYIBADab5UU49yUFffEnRNH2OO4q1MMiir2PEbYgEnGHgyHammYK39cZSUCOSAeD8oZRak0AQQBJAE4ARABPAE0AQQBJAE4AagB0AGkAcwBoAGwAZQByAGoAdABpAHMAaABsAGUAcgA=
fetchmail: IMAP> A0003 SELECT "Inbox/test"
fetchmail: IMAP< * 0 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)]
* OK [UIDVALIDITY 234827] UIDVALIDITY value.
A0003 OK [READ-WRITE] SELECT completed.
fetchmail: IMAP< * 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)]
* OK [UIDVALIDITY 234827] UIDVALIDITY value.
A0003 OK [READ-WRITE] SELECT completed.
COMPLETED.
fetchmail: IMAP< * FLAGS (\Seen \Answered \Flagged \Deleted \Draft)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)]
* OK [UIDVALIDITY 234827] UIDVALIDITY value.
A0003 OK [READ-WRITE] SELECT completed.
COMPLETED.
COMPLETED.
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)]
* OK [UIDVALIDITY 234827] UIDVALIDITY value.
A0003 OK [READ-WRITE] SELECT completed.
TY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
COMPLETED.
COMPLETED.
fetchmail: IMAP< * OK [UIDVALIDITY 234827] UIDVALIDITY value.
A0003 OK [READ-WRITE] SELECT completed.
827] UIDVALIDITY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
TY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
COMPLETED.
COMPLETED.
fetchmail: IMAP< A0003 OK [READ-WRITE] SELECT completed.
UE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
827] UIDVALIDITY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
TY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
COMPLETED.
COMPLETED.
fetchmail: No mail for jtishler at sa-bwmail1.esr.hp.com (folder Inbox/test)
fetchmail: IMAP> A0004 LOGOUT
fetchmail: IMAP< * BYE Microsoft Exchange IMAP4rev1 server version 5.5.2653.23 signing off
LIDITY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
TY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
COMPLETED.
COMPLETED.
fetchmail: IMAP< A0004 OK LOGOUT completed.
P4REV1 SERVER VERSION 5.5.2653.23 SIGNING OFF
LIDITY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
TY VALUE.
A0003 OK [READ-WRITE] SELECT COMPLETED.
COMPLETED.
COMPLETED.
fetchmail: 6.2.0 querying sa-bwmail1 (protocol IMAP) at Mon Jan 06 12:52:54 2003: poll completed
fetchmail: normal termination, status 1
--Boundary_(ID_+o9CzkrujQZNR4kvzF25tg)
Content-type: text/plain; charset=us-ascii; NAME=gcc2.log
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=gcc2.log
fetchmail: 6.2.0 querying sa-bwmail1 (protocol IMAP) at Mon Jan 06 12:53:30 2003: poll started
fetchmail: IMAP< * OK Microsoft Exchange IMAP4rev1 server version 5.5.2653.23 (sa-bwmail1.esr.hp.com) ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4rev1 IDLE LITERAL+ LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE AUTH=NTLM
fetchmail: IMAP< A0001 OK CAPABILITY completed.
fetchmail: IMAP> A0002 AUTHENTICATE NTLM
fetchmail: IMAP< +
fetchmail: IMAP> TlRMTVNTUAABAAAAB7IAAAgACAAgAAAAAAAAAAgAAABqdGlzaGxlcg==
fetchmail: IMAP< + TlRMTVNTUAACAAAAFAAUADAAAAAFggEAo1bxKnE6sdEAAAAAAAAAAAAAAABEAAAATQBBAEkATgBEAE8ATQBBAEkATgA=
fetchmail: IMAP> TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAABQAFABwAAAAEAAQAIQAAAAQABAAlAAAAAAAAABkAAAABYIBAK3uP12j4CUvg6Uyl3g0nOCZgE8sCHCgd9y6eQGujrZOmE+LKejrDYcxaG8Vf7vunU0AQQBJAE4ARABPAE0AQQBJAE4AagB0AGkAcwBoAGwAZQByAGoAdABpAHMAaABsAGUAcgA=
fetchmail: IMAP< A0002 OK AUTHENTICATE NTLM completed.
fetchmail: IMAP> A0003 SELECT "Inbox/test"
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< * FLAGS (\Seen \Answered \Flagged \Deleted \Draft)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)]
fetchmail: IMAP< * OK [UIDVALIDITY 234827] UIDVALIDITY value.
fetchmail: IMAP< A0003 OK [READ-WRITE] SELECT completed.
fetchmail: No mail for jtishler at sa-bwmail1.esr.hp.com (folder Inbox/test)
fetchmail: IMAP> A0004 LOGOUT
fetchmail: IMAP< * BYE Microsoft Exchange IMAP4rev1 server version 5.5.2653.23 signing off
fetchmail: IMAP< A0004 OK LOGOUT completed.
fetchmail: 6.2.0 querying sa-bwmail1 (protocol IMAP) at Mon Jan 06 12:53:30 2003: poll completed
fetchmail: normal termination, status 1
--Boundary_(ID_+o9CzkrujQZNR4kvzF25tg)
Content-Type: text/plain; charset=us-ascii
--
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/
--Boundary_(ID_+o9CzkrujQZNR4kvzF25tg)--
- Raw text -