GNU logs - #35405, boring messages


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#35405: Guile stable-2.2 HEAD fails to compile on MingGW-W64.
Resent-From: John Ralls <jralls@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Tue, 23 Apr 2019 22:06:02 +0000
Resent-Message-ID: <handler.35405.B.155605716028507 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 35405
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 35405 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.155605716028507
          (code B ref -1); Tue, 23 Apr 2019 22:06:02 +0000
Received: (at submit) by debbugs.gnu.org; 23 Apr 2019 22:06:00 +0000
Received: from localhost ([127.0.0.1]:54528 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJ3Y8-0007Pi-Ex
	for submit <at> debbugs.gnu.org; Tue, 23 Apr 2019 18:06:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35409)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jralls@HIDDEN>) id 1hJ3Y7-0007PV-4F
 for submit <at> debbugs.gnu.org; Tue, 23 Apr 2019 18:05:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:58355)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jralls@HIDDEN>) id 1hJ3Xt-0005h0-25
 for submit <at> debbugs.gnu.org; Tue, 23 Apr 2019 18:05:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49737)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jralls@HIDDEN>) id 1hJ3Xr-0002cM-U8
 for bug-guile@HIDDEN; Tue, 23 Apr 2019 18:05:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jralls@HIDDEN>) id 1hJ3Xp-0005bT-Vq
 for bug-guile@HIDDEN; Tue, 23 Apr 2019 18:05:43 -0400
Received: from resqmta-po-12v.sys.comcast.net ([96.114.154.171]:58368)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jralls@HIDDEN>) id 1hJ3Xo-0005TQ-St
 for bug-guile@HIDDEN; Tue, 23 Apr 2019 18:05:41 -0400
Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242])
 by resqmta-po-12v.sys.comcast.net with ESMTP
 id IuDZh2pP3ZhYwJ3WfhPJJP; Tue, 23 Apr 2019 22:04:29 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=comcastmailservice.net; s=20180828_2048; t=1556057069;
 bh=xZ0Qqxy5WJ8Z5cmYUts+nj7yuJiwJliq6ASETjIgU4s=;
 h=Received:Received:Received:Received:Received:From:Content-Type:
 Mime-Version:Subject:Message-Id:Date:To;
 b=Js2CFCHjTT1wy/7LzRptvyeQAzdu8UqoapLnHlo6757ObI2eLI2RmI/XoZ7s5t+xi
 m8nW3LX+8JCf10oxJwRquNnMcAxjXwXptc+s/aHnkCkIS9LYlQJY15Vr7FRsXj6fll
 e6ItKETa0oc436XhfY0ssIdpW4HSPIfUa+Hqavo+SMi8oWUl2qFqFwYI7mmub7QdHF
 OouNCDQ1hrppBrSRXryh92+s8Id18GX23wLeMAy6U8hNU1EXQwbNfQBol9NuC2eyjh
 F1Up78D7oyPJPRzqnTOd5ENOazdDQ+p6cHrjLdi8EMp2CyC4DUeWK9vzGgGHV3ujiO
 OLJYul3TqKtKw==
Received: from jeeves.ceridwen.fremont.ca.us ([24.6.45.99])
 by resomta-po-18v.sys.comcast.net with ESMTPA
 id J3WehAVPwkVI6J3WehdPsX; Tue, 23 Apr 2019 22:04:28 +0000
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduuddrgeelgddthecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffkfffvofesthhqmhdthhdtvdenucfhrhhomheplfhohhhnucftrghllhhsuceojhhrrghllhhssegtvghrihgufigvnhdruhhsqeenucfkphepvdegrdeirdeghedrleelnecurfgrrhgrmhephhgvlhhopehjvggvvhgvshdrtggvrhhiugifvghnrdhfrhgvmhhonhhtrdgtrgdruhhspdhinhgvthepvdegrdeirdeghedrleelpdhmrghilhhfrhhomhepjhhrrghllhhssegtvghrihgufigvnhdruhhspdhrtghpthhtohepsghughdqghhuihhlvgesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt
X-Xfinity-VMeta: sc=0;st=legit
Received: from localhost (localhost [127.0.0.1])
 by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id DC67E1A00374
 for <bug-guile@HIDDEN>; Tue, 23 Apr 2019 15:04:27 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at jeeves.ceridwen.fremont.ca.us
Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1])
 by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new,
 port 10024) with ESMTP id hrMXbgUaBvha for <bug-guile@HIDDEN>;
 Tue, 23 Apr 2019 15:04:26 -0700 (PDT)
Received: from [192.168.1.42] (unknown [192.168.1.42])
 by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 849061A00367
 for <bug-guile@HIDDEN>; Tue, 23 Apr 2019 15:04:26 -0700 (PDT)
From: John Ralls <jralls@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Message-Id: <74A3FAC1-5988-4FA5-9E89-DAE0A6D7B0B0@HIDDEN>
Date: Tue, 23 Apr 2019 15:04:25 -0700
X-Mailer: Apple Mail (2.3445.102.3)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 96.114.154.171
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

1.=20
In file included from =
C:/gcdev64/gnucash/maint/src/guile/lib/poll.c:39:0:
C:/gcdev64/msys2/mingw32/i686-w64-mingw32/include/winsock2.h:1155:16: =
error: redefinition of 'struct pollfd'
 typedef struct pollfd {
                ^~~~~~
In file included from =
C:/gcdev64/gnucash/maint/src/guile/lib/poll.c:32:0:
./poll.h:405:8: note: originally defined here
 struct pollfd
        ^~~~~~
  CC       recvfrom.lo
C:/gcdev64/gnucash/maint/src/guile/lib/poll.c:329:1: error: conflicting =
types for 'poll'
 poll (struct pollfd *pfd, nfds_t nfd, int timeout)
 ^~~~
In file included from =
C:/gcdev64/gnucash/maint/src/guile/lib/poll.c:32:0:
./poll.h:435:1: note: previous declaration of 'poll' was here
 _GL_FUNCDECL_SYS (poll, int, (struct pollfd *pfd, nfds_t nfd, int =
timeout));
 ^

2.

C:/gcdev64/gnucash/maint/src/guile/libguile/socket.c:43:10: fatal error: =
netinet/tcp.h: No such file or directory
 #include <netinet/tcp.h>
          ^~~~~~~~~~~~~~~
3.
../lib/.libs/libgnu.a(timegm.o): In function `timegm':
C:/gcdev64/gnucash/maint/src/guile/lib/timegm.c:39: undefined reference =
to `mktime_internal'






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: John Ralls <jralls@HIDDEN>
Subject: bug#35405: Acknowledgement (Guile stable-2.2 HEAD fails to
 compile on MingGW-W64.)
Message-ID: <handler.35405.B.155605716028507.ack <at> debbugs.gnu.org>
References: <74A3FAC1-5988-4FA5-9E89-DAE0A6D7B0B0@HIDDEN>
X-Gnu-PR-Message: ack 35405
X-Gnu-PR-Package: guile
Reply-To: 35405 <at> debbugs.gnu.org
Date: Tue, 23 Apr 2019 22:06:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guile@HIDDEN

If you wish to submit further information on this problem, please
send it to 35405 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
35405: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35405
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#35405: Patch for 35405
References: <74A3FAC1-5988-4FA5-9E89-DAE0A6D7B0B0@HIDDEN>
In-Reply-To: <74A3FAC1-5988-4FA5-9E89-DAE0A6D7B0B0@HIDDEN>
Resent-From: John Ralls <jralls@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Tue, 23 Apr 2019 22:14:02 +0000
Resent-Message-ID: <handler.35405.B35405.155605758329191 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 35405
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 35405 <at> debbugs.gnu.org
Received: via spool by 35405-submit <at> debbugs.gnu.org id=B35405.155605758329191
          (code B ref 35405); Tue, 23 Apr 2019 22:14:02 +0000
Received: (at 35405) by debbugs.gnu.org; 23 Apr 2019 22:13:03 +0000
Received: from localhost ([127.0.0.1]:54536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJ3ex-0007al-7v
	for submit <at> debbugs.gnu.org; Tue, 23 Apr 2019 18:13:03 -0400
Received: from resqmta-ch2-06v.sys.comcast.net ([69.252.207.38]:48106)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jralls@HIDDEN>) id 1hJ3eu-0007aE-T4
 for 35405 <at> debbugs.gnu.org; Tue, 23 Apr 2019 18:13:01 -0400
Received: from resomta-ch2-06v.sys.comcast.net ([69.252.207.102])
 by resqmta-ch2-06v.sys.comcast.net with ESMTP
 id J3aAhu8A4AFowJ3eohgvzC; Tue, 23 Apr 2019 22:12:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=comcastmailservice.net; s=20180828_2048; t=1556057574;
 bh=W9LEphIZSySk9QtOKYkNBsv1I5uoPL1Pyzc0L9xFrxo=;
 h=Received:Received:Received:Received:Received:From:Content-Type:
 Mime-Version:Subject:Message-Id:Date:To;
 b=JPpVCpxRqbBWGjgIg+WOgsv/xa9LEBBJoMT0Gnsiy/rcoGe3IS+12Pl0ph0gQltVU
 F7P6Ycd7ddF5iELhqNrS5ao9szz8KlR6Gz5RfJiz3b+ylgxyaj+DLsScoqyHEXuBD2
 n5T+OMhh+lSFvQOzNYwHwFjdx7W9PVWZ+1+08qOcGAsveVkYY02kA30bDzlZKQi4RN
 BUDYTwKPRqqWLcJF5P7eh1AsFIt3dk90ewziauw+yz7pCw8b10boADlQWnrFrySEMs
 oOmuG2kvNVUBuRT/27L2CpQlog1HIF5JxbAz0wqNXg5P0B7GyYUrI3imP9Vy3Z3xCg
 /j+ipJLnMc7SA==
Received: from jeeves.ceridwen.fremont.ca.us ([24.6.45.99])
 by resomta-ch2-06v.sys.comcast.net with ESMTPA
 id J3enhpsASJyHTJ3eohq7lK; Tue, 23 Apr 2019 22:12:54 +0000
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduuddrgeelgddtiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecunecujfgurhephfgtggfukfffvffosehmtdhmrehhtddtnecuhfhrohhmpeflohhhnhcutfgrlhhlshcuoehjrhgrlhhlshestggvrhhiugifvghnrdhusheqnecukfhppedvgedriedrgeehrdelleenucfrrghrrghmpehhvghlohepjhgvvghvvghsrdgtvghrihgufigvnhdrfhhrvghmohhnthdrtggrrdhushdpihhnvghtpedvgedriedrgeehrdelledpmhgrihhlfhhrohhmpehjrhgrlhhlshestggvrhhiugifvghnrdhushdprhgtphhtthhopeefheegtdehseguvggssghughhsrdhgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
X-Xfinity-VMeta: sc=0;st=legit
Received: from localhost (localhost [127.0.0.1])
 by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 3ABB21A00374
 for <35405 <at> debbugs.gnu.org>; Tue, 23 Apr 2019 15:12:53 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at jeeves.ceridwen.fremont.ca.us
Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1])
 by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new,
 port 10024) with ESMTP id z4G9rm9POB_E for <35405 <at> debbugs.gnu.org>;
 Tue, 23 Apr 2019 15:12:52 -0700 (PDT)
Received: from [192.168.1.42] (unknown [192.168.1.42])
 by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 4DBA91A00367
 for <35405 <at> debbugs.gnu.org>; Tue, 23 Apr 2019 15:12:52 -0700 (PDT)
From: John Ralls <jralls@HIDDEN>
Content-Type: multipart/mixed;
 boundary="Apple-Mail=_E1A5BCD7-28E6-4A3D-A3E4-157733F75AD5"
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Message-Id: <A8A95A57-DF24-4A3E-BC49-B8C9A428CE2B@HIDDEN>
Date: Tue, 23 Apr 2019 15:12:51 -0700
X-Mailer: Apple Mail (2.3445.102.3)
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--Apple-Mail=_E1A5BCD7-28E6-4A3D-A3E4-157733F75AD5
Content-Disposition: attachment;
	filename=0001-Fix-build-on-MinGW-w64.patch
Content-Type: application/octet-stream;
	x-unix-mode=0755;
	name="0001-Fix-build-on-MinGW-w64.patch"
Content-Transfer-Encoding: quoted-printable

=46rom=20f2de9d206b33bc2e27acde1e751df9ba8faf60a9=20Mon=20Sep=2017=20=
00:00:00=202001=0AFrom:=20John=20Ralls=20<jralls@HIDDEN>=0ADate:=20=
Tue,=2023=20Apr=202019=2015:06:48=20-0700=0ASubject:=20[PATCH]=20Fix=20=
build=20on=20MinGW-w64=0A=0AFixes=20bug=2035405=0A=0A=20=20=20=20=20=20=20=
*=20lib/poll.h:=20MinGW=20provides=20struct=20pollfd=20in=20winsock2.h=20=
and=0A=20=20=20=20=20=20=20=20=20lib/threads.h=20includes=20it=20so=20=
disable=20declaring=20it=20in=20poll.h=20and=0A=20=20=20=20=20=20=20=20=20=
get=20the=20declaration=20from=20winsock2.h.=20Otherwise=20gcc=20=
complains=20that=0A=20=20=20=20=20=20=20=20=20poll()=20has=20a=20=
different=20signature=20between=20the=20declaration=20and=0A=20=20=20=20=20=
=20=20=20=20definition.=0A=20=20=20=20=20=20=20*=20libguile/socket.c:=20=
TCP=20declarations=20are=20in=20winsock.h=20on=20Windows.=0A=20=20=20=20=20=
=20=20*=20libguile/timegm.c:=20MinGW=20doesn't=20include=20mktime=20so=20=
include=20mktime.c=20to=0A=20=20=20=20=20=20=20=20=20provide=20it.=0A---=0A=
=20lib/poll.in.h=20=20=20=20=20|=205=20+++++=0A=20lib/timegm.c=20=20=20=20=
=20=20|=202=20++=0A=20libguile/socket.c=20|=206=20+++++-=0A=203=20files=20=
changed,=2012=20insertions(+),=201=20deletion(-)=0A=0Adiff=20--git=20=
a/lib/poll.in.h=20b/lib/poll.in.h=0Aindex=20e9b141d8f..3b0a99165=20=
100644=0A---=20a/lib/poll.in.h=0A+++=20b/lib/poll.in.h=0A@@=20-40,6=20=
+40,9=20@@=0A=20=0A=20=0A=20#if=20!@HAVE_POLL_H@=0A+#=20ifdef=20=
__MINGW32__=0A+#=20=20include=20<winsock2.h>=0A+#=20endif=0A=20=0A=20/*=20=
fake=20a=20poll(2)=20environment=20*/=0A=20#=20define=20POLLIN=20=20=20=20=
=20=200x0001=20=20=20=20=20=20/*=20any=20readable=20data=20available=20=20=
=20*/=0A@@=20-55,12=20+58,14=20@@=0A=20=0A=20#=20if=20=
!GNULIB_defined_poll_types=0A=20=0A+#=20=20ifndef=20__MINGW32__=0A=20=
struct=20pollfd=0A=20{=0A=20=20=20int=20fd;=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20/*=20which=20file=20descriptor=20=
to=20poll=20*/=0A=20=20=20short=20events;=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20/*=20events=20we=20are=20interested=20in=20=20=20*/=0A=20=
=20=20short=20revents;=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20/*=20=
events=20found=20on=20return=20=20=20=20=20=20=20=20*/=0A=20};=0A+#=20=20=
endif=0A=20=0A=20typedef=20unsigned=20long=20nfds_t;=0A=20=0Adiff=20=
--git=20a/lib/timegm.c=20b/lib/timegm.c=0Aindex=20168da8ead..35bc67dc1=20=
100644=0A---=20a/lib/timegm.c=0A+++=20b/lib/timegm.c=0A@@=20-38,3=20=
+38,5=20@@=20timegm=20(struct=20tm=20*tmp)=0A=20=20=20tmp->tm_isdst=20=3D=20=
0;=0A=20=20=20return=20__mktime_internal=20(tmp,=20__gmtime_r,=20=
&gmtime_offset);=0A=20}=0A+=0A+#include=20"mktime.c"=0Adiff=20--git=20=
a/libguile/socket.c=20b/libguile/socket.c=0Aindex=2071c17e892..f5371b6c8=20=
100644=0A---=20a/libguile/socket.c=0A+++=20b/libguile/socket.c=0A@@=20=
-40,7=20+40,11=20@@=0A=20#include=20<sys/un.h>=0A=20#endif=0A=20#include=20=
<netinet/in.h>=0A-#include=20<netinet/tcp.h>=0A+#ifdef=20__MINGW32__=0A=
+#=20include=20<winsock.h>=0A+#else=0A+#=20include=20<netinet/tcp.h>=0A=
+#endif=0A=20#include=20<netdb.h>=0A=20#include=20<arpa/inet.h>=0A=20=0A=
--=20=0A2.20.1=0A=0A=

--Apple-Mail=_E1A5BCD7-28E6-4A3D-A3E4-157733F75AD5--




Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#35405: Patch for 35405
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sun, 30 Jun 2019 15:31:02 +0000
Resent-Message-ID: <handler.35405.B35405.156190863925936 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 35405
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: John Ralls <jralls@HIDDEN>
Cc: 35405 <at> debbugs.gnu.org
Received: via spool by 35405-submit <at> debbugs.gnu.org id=B35405.156190863925936
          (code B ref 35405); Sun, 30 Jun 2019 15:31:02 +0000
Received: (at 35405) by debbugs.gnu.org; 30 Jun 2019 15:30:39 +0000
Received: from localhost ([127.0.0.1]:47138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hhbmo-0006jx-HM
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2019 11:30:38 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59433)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hhbmm-0006d8-AC
 for 35405 <at> debbugs.gnu.org; Sun, 30 Jun 2019 11:30:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35170)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hhbmg-0002f4-Sj; Sun, 30 Jun 2019 11:30:30 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39912 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hhbme-00077A-Iv; Sun, 30 Jun 2019 11:30:28 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <74A3FAC1-5988-4FA5-9E89-DAE0A6D7B0B0@HIDDEN>
 <A8A95A57-DF24-4A3E-BC49-B8C9A428CE2B@HIDDEN>
Date: Sun, 30 Jun 2019 17:30:27 +0200
In-Reply-To: <A8A95A57-DF24-4A3E-BC49-B8C9A428CE2B@HIDDEN> (John Ralls's
 message of "Tue, 23 Apr 2019 15:12:51 -0700")
Message-ID: <87lfxjrsz0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi John,

Apologies for the late reply.

John Ralls <jralls@HIDDEN> skribis:

> From f2de9d206b33bc2e27acde1e751df9ba8faf60a9 Mon Sep 17 00:00:00 2001
> From: John Ralls <jralls@HIDDEN>
> Date: Tue, 23 Apr 2019 15:06:48 -0700
> Subject: [PATCH] Fix build on MinGW-w64
>
> Fixes bug 35405
>
>        * lib/poll.h: MinGW provides struct pollfd in winsock2.h and
>          lib/threads.h includes it so disable declaring it in poll.h and
>          get the declaration from winsock2.h. Otherwise gcc complains that
>          poll() has a different signature between the declaration and
>          definition.
>        * libguile/socket.c: TCP declarations are in winsock.h on Windows.
>        * libguile/timegm.c: MinGW doesn't include mktime so include mktim=
e.c to
>          provide it.

The portability later in lib/ comes from the Gnulib project:

  https://gnu.org/s/gnulib

Could you check whether the issue is fixed there in current Git
=E2=80=98master=E2=80=99, and if not report it to bug-gnulib@HIDDEN?

Thank you,
Ludo=E2=80=99.




Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#35405: Patch for 35405
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sun, 30 Jun 2019 15:31:02 +0000
Resent-Message-ID: <handler.35405.B35405.156190865526922 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 35405
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: John Ralls <jralls@HIDDEN>
Cc: 35405 <at> debbugs.gnu.org
Received: via spool by 35405-submit <at> debbugs.gnu.org id=B35405.156190865526922
          (code B ref 35405); Sun, 30 Jun 2019 15:31:02 +0000
Received: (at 35405) by debbugs.gnu.org; 30 Jun 2019 15:30:55 +0000
Received: from localhost ([127.0.0.1]:47141 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hhbn4-0006zr-VR
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2019 11:30:55 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59474)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hhbn3-0006t9-06
 for 35405 <at> debbugs.gnu.org; Sun, 30 Jun 2019 11:30:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35174)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hhbmw-0002yP-3e; Sun, 30 Jun 2019 11:30:46 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39914 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hhbmv-0007YZ-IM; Sun, 30 Jun 2019 11:30:45 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <A8A95A57-DF24-4A3E-BC49-B8C9A428CE2B@HIDDEN> (John Ralls's
 message of "Tue, 23 Apr 2019 15:12:51 -0700")
References: <74A3FAC1-5988-4FA5-9E89-DAE0A6D7B0B0@HIDDEN>
 <A8A95A57-DF24-4A3E-BC49-B8C9A428CE2B@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Date: Sun, 30 Jun 2019 17:30:44 +0200
Message-ID: <87imsnrsyj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi John,

Apologies for the late reply.

John Ralls <jralls@HIDDEN> skribis:

> From f2de9d206b33bc2e27acde1e751df9ba8faf60a9 Mon Sep 17 00:00:00 2001
> From: John Ralls <jralls@HIDDEN>
> Date: Tue, 23 Apr 2019 15:06:48 -0700
> Subject: [PATCH] Fix build on MinGW-w64
>
> Fixes bug 35405
>
>        * lib/poll.h: MinGW provides struct pollfd in winsock2.h and
>          lib/threads.h includes it so disable declaring it in poll.h and
>          get the declaration from winsock2.h. Otherwise gcc complains that
>          poll() has a different signature between the declaration and
>          definition.
>        * libguile/socket.c: TCP declarations are in winsock.h on Windows.
>        * libguile/timegm.c: MinGW doesn't include mktime so include mktim=
e.c to
>          provide it.

The portability layer in lib/ comes from the Gnulib project:

  https://gnu.org/s/gnulib

Could you check whether the issue is fixed there in current Git
=E2=80=98master=E2=80=99, and if not report it to bug-gnulib@HIDDEN?

Thank you,
Ludo=E2=80=99.





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.