GNU bug report logs - #35430
MinGW: Including libguile.h breaks build because there is no sys/select.h

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: John Ralls <jralls@HIDDEN>; dated Thu, 25 Apr 2019 20:03:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 35430 <at> debbugs.gnu.org:


Received: (at 35430) by debbugs.gnu.org; 25 Apr 2019 21:08:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 25 17:08:13 2019
Received: from localhost ([127.0.0.1]:59469 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJlbI-00087U-P2
	for submit <at> debbugs.gnu.org; Thu, 25 Apr 2019 17:08:12 -0400
Received: from resqmta-po-02v.sys.comcast.net ([96.114.154.161]:52318)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jralls@HIDDEN>) id 1hJlbG-00087H-Ew
 for 35430 <at> debbugs.gnu.org; Thu, 25 Apr 2019 17:08:11 -0400
Received: from resomta-po-16v.sys.comcast.net ([96.114.154.240])
 by resqmta-po-02v.sys.comcast.net with ESMTP
 id JcgthddFCjzMjJlbAhAdpb; Thu, 25 Apr 2019 21:08:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=comcastmailservice.net; s=20180828_2048; t=1556226484;
 bh=gvkOBYUgXRr2Hr22VTqT70qBiBxQckJ+E+yqHn++v+Y=;
 h=Received:Received:Received:Received:Received:From:Content-Type:
 Mime-Version:Subject:Message-Id:Date:To;
 b=AqYiVEKsZ4EhlU+3TYKmDtcQC9gFoYJqeDo2hpL1n+tEzHCctFzC6VJDc5Zd+hwSH
 1kcIer7ka5KMjCmBh6cCl5qhIL1iMLwLckTtXpsM5kEBHhAIHF2j7gOI9FQ3EmK6v4
 2yydjMWCpuD1CQT6VRDGpXhqcDKdHSbADh97xUGcirzrwj7n4pqQKQZzVXxQ9kelc7
 7D1hgBpJ++dg65LmlVywpBhb6aXgKo+Yht4nHkEjLJ/SI2mSl+EWap5GQMy5Ftmmht
 fginnJsn+FruiHPOwymAU0MNX4AD2naNhWDMuV3DqQnQJpzgFvYGe7MbAhv1k+gka7
 2GUNBoD6sxKOQ==
Received: from jeeves.ceridwen.fremont.ca.us ([24.6.45.99])
 by resomta-po-16v.sys.comcast.net with ESMTPA
 id Jlb9hKzvq12HVJlb9h1ZHJ; Thu, 25 Apr 2019 21:08:04 +0000
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduuddrheeggdduheekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtdhhtddvnecuhfhrohhmpeflohhhnhcutfgrlhhlshcuoehjrhgrlhhlshestggvrhhiugifvghnrdhusheqnecukfhppedvgedriedrgeehrdelleenucfrrghrrghmpehhvghlohepjhgvvghvvghsrdgtvghrihgufigvnhdrfhhrvghmohhnthdrtggrrdhushdpihhnvghtpedvgedriedrgeehrdelledpmhgrihhlfhhrohhmpehjrhgrlhhlshestggvrhhiugifvghnrdhushdprhgtphhtthhopeefheegfedtseguvggssghughhsrdhgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
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 433D71A003AA
 for <35430 <at> debbugs.gnu.org>; Thu, 25 Apr 2019 13:59:42 -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 vQMgNOvCEBmE for <35430 <at> debbugs.gnu.org>;
 Thu, 25 Apr 2019 13:59:41 -0700 (PDT)
Received: from [192.168.1.42] (unknown [192.168.1.42])
 by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id D95081A001AF
 for <35430 <at> debbugs.gnu.org>; Thu, 25 Apr 2019 13:59:40 -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\))
Subject: Patch for 35430
Message-Id: <DE6F8A57-D5AA-4803-9C45-6AF3B1E97150@HIDDEN>
Date: Thu, 25 Apr 2019 13:59:39 -0700
To: 35430 <at> debbugs.gnu.org
X-Mailer: Apple Mail (2.3445.102.3)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35430
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 (-)

=46rom 843070dd3961a2282ee9f6582f459e70894758fa Mon Sep 17 00:00:00 2001
From: John Ralls <jralls@HIDDEN>
Date: Thu, 25 Apr 2019 13:49:02 -0700
Subject: [PATCH] MinGW: Don't break build when including libguile.h

     * iselect.h: get fd_set declaration from winsock2.h on MinGW.
Fixes bug 35430.
---
 libguile/iselect.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libguile/iselect.h b/libguile/iselect.h
index 945ad14af..806c30504 100644
--- a/libguile/iselect.h
+++ b/libguile/iselect.h
@@ -29,7 +29,11 @@
 /* Needed for FD_SET on some systems.  */
 #include <sys/types.h>

+#ifdef __MINGW32__
+#include <winsock2.h>
+#else
 #include <sys/select.h>
+#endif

 SCM_API int scm_std_select (int fds,
                            fd_set *rfds,
@@ -38,7 +42,6 @@ SCM_API int scm_std_select (int fds,
                            struct timeval *timeout);

 #define SELECT_TYPE fd_set
-
 #endif  /* SCM_ISELECT_H */

 /*
--
2.20.1





Information forwarded to bug-guile@HIDDEN:
bug#35430; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Apr 2019 20:02:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 25 16:02:16 2019
Received: from localhost ([127.0.0.1]:59412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJkZR-0006V9-4p
	for submit <at> debbugs.gnu.org; Thu, 25 Apr 2019 16:02:15 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53739)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jralls@HIDDEN>) id 1hJkZP-0006Uv-4s
 for submit <at> debbugs.gnu.org; Thu, 25 Apr 2019 16:02:11 -0400
Received: from lists.gnu.org ([209.51.188.17]:44230)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jralls@HIDDEN>) id 1hJkZH-0003ae-KO
 for submit <at> debbugs.gnu.org; Thu, 25 Apr 2019 16:02:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39861)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jralls@HIDDEN>) id 1hJkZE-0006Sr-FK
 for bug-guile@HIDDEN; Thu, 25 Apr 2019 16:02:02 -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.8 required=5.0 tests=BAYES_50,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 1hJkZC-0003Cu-DK
 for bug-guile@HIDDEN; Thu, 25 Apr 2019 16:01:59 -0400
Received: from resqmta-po-05v.sys.comcast.net
 ([2001:558:fe16:19:96:114:154:164]:49182)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jralls@HIDDEN>) id 1hJkZB-0002up-Vx
 for bug-guile@HIDDEN; Thu, 25 Apr 2019 16:01:58 -0400
Received: from resomta-po-09v.sys.comcast.net ([96.114.154.233])
 by resqmta-po-05v.sys.comcast.net with ESMTP
 id JcU8hTQDY3hFEJkZ7hGzpo; Thu, 25 Apr 2019 20:01:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=comcastmailservice.net; s=20180828_2048; t=1556222513;
 bh=t2v33zvBF6akcjGx+MG9cXBFEvtUuIe4px/bkcPi9OM=;
 h=Received:Received:Received:Received:Received:From:Content-Type:
 Mime-Version:Subject:Message-Id:Date:To;
 b=gAbc1KwArkWN0E0/XZzxdetPZUTxyCDqLuoOyhg+BDZI5SEy5ChrYxZC9PXuyRImz
 Iqn3DQyAVS5GmZ3XXRVeij9A/x1mruRYttyuOp/icAi64lrsT2TrLkatov5CGdcsww
 sni3SnfwsUThKqIuo42aecgHxL80S2YILGGI107vcU9yQVLtDIfm2tuoIlj5iFaQl5
 1wpqLRxH8kxZwvHc/M3Nw0/wtRZgizcg8lV8kQVVq0MhNLyztcWW9VsTomKAF61Mal
 XmgM7vUVZ/btx4cIZqc0GXs5Bz7yJptJBm/Zl/jSIiiAiSXJ7OSC2ON4tPSoNj0Uhq
 8zY+cz7DCe8tg==
Received: from jeeves.ceridwen.fremont.ca.us ([24.6.45.99])
 by resomta-po-09v.sys.comcast.net with ESMTPA
 id JkZ7hpLrrjIbiJkZ7h0vgO; Thu, 25 Apr 2019 20:01:53 +0000
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduuddrheeggddugeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtdhhtddvnecuhfhrohhmpeflohhhnhcutfgrlhhlshcuoehjrhgrlhhlshestggvrhhiugifvghnrdhusheqnecukfhppedvgedriedrgeehrdelleenucfrrghrrghmpehhvghlohepjhgvvghvvghsrdgtvghrihgufigvnhdrfhhrvghmohhnthdrtggrrdhushdpihhnvghtpedvgedriedrgeehrdelledpmhgrihhlfhhrohhmpehjrhgrlhhlshestggvrhhiugifvghnrdhushdprhgtphhtthhopegsuhhgqdhguhhilhgvsehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
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 C42451A003AA
 for <bug-guile@HIDDEN>; Thu, 25 Apr 2019 13:01:52 -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 l3BJNJOH_efa for <bug-guile@HIDDEN>;
 Thu, 25 Apr 2019 13:01:51 -0700 (PDT)
Received: from [192.168.1.42] (unknown [192.168.1.42])
 by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 1C3771A001AF
 for <bug-guile@HIDDEN>; Thu, 25 Apr 2019 13:01:51 -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\))
Subject: MinGW: Including libguile.h breaks build because there is no
 sys/select.h
Message-Id: <6A5B1168-BEF9-422F-99BD-7FC1EA2F0F48@HIDDEN>
Date: Thu, 25 Apr 2019 13:01:50 -0700
To: bug-guile@HIDDEN
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: 2001:558:fe16:19:96:114:154:164
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
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 (---)

libguile.h indirectly includes libguile/iselect.h via libguile/threads.h =
and libguile/deprecated.h. iselect.h in turn includes <sys/select.h> =
that is not provided by MinGW.

<sys/select.h> is included in iselect.h to provide a declaration of =
fd_set; in MinGW that's declared in winsock2.h.






Acknowledgement sent to John Ralls <jralls@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#35430; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.