From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#25790: SOCK_CLOEXEC and SOCK_NONBLOCK undeclared identifier errors with 2.1.7 Date: Tue, 21 Feb 2017 22:15:27 +0100 Message-ID: <87ino3xn2o.fsf@pobox.com> References: <750c3b96-c1fb-40cb-b208-0dc2a205d283@me.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487711778 15838 195.159.176.226 (21 Feb 2017 21:16:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2017 21:16:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 25790-done@debbugs.gnu.org To: ilove zfs Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Feb 21 22:16:13 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgHn9-0003c7-PW for guile-bugs@m.gmane.org; Tue, 21 Feb 2017 22:16:12 +0100 Original-Received: from localhost ([::1]:48645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgHnF-0000NV-Al for guile-bugs@m.gmane.org; Tue, 21 Feb 2017 16:16:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgHn4-0000MM-Sf for bug-guile@gnu.org; Tue, 21 Feb 2017 16:16:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgHn0-0003Gu-4i for bug-guile@gnu.org; Tue, 21 Feb 2017 16:16:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgHn0-0003Gd-0o for bug-guile@gnu.org; Tue, 21 Feb 2017 16:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cgHmz-0006pi-Rt for bug-guile@gnu.org; Tue, 21 Feb 2017 16:16:01 -0500 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Tue, 21 Feb 2017 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25790 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 25790@debbugs.gnu.org, wingo@pobox.com, ilovezfs@icloud.com Original-Received: via spool by 25790-done@debbugs.gnu.org id=D25790.148771173726226 (code D ref 25790); Tue, 21 Feb 2017 21:16:01 +0000 Original-Received: (at 25790-done) by debbugs.gnu.org; 21 Feb 2017 21:15:37 +0000 Original-Received: from localhost ([127.0.0.1]:49317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgHmb-0006ov-JK for submit@debbugs.gnu.org; Tue, 21 Feb 2017 16:15:37 -0500 Original-Received: from pb-sasl2.pobox.com ([64.147.108.67]:53270 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgHma-0006oo-F0 for 25790-done@debbugs.gnu.org; Tue, 21 Feb 2017 16:15:36 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 664F960FB0; Tue, 21 Feb 2017 16:15:36 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=WgIYUd/qyb8fMnfRId1dYcyStDs=; b=dCREVh +EiibW9IdIRCY252mgUD8pTY1z8+N+6fqFedMbTabfGOQp4p+Lw3XkBBRmesVx6V PDmC8cpcw35fkNi6UtOZvqLmW+m0R0uiO6VrF5CHUsXfXkMgh3R+NyKDszivAlTN GJRfGHKegSP9/D2KF4J1i5sqLlJPWwjrESIe8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=GzGuJ+6B1GA3OCpf71IVPF5YYH1tg7fB LXi88Xu5aQF63rTnOAz7N5WO26f6gyv76i2LUptjZn1UqesN5SinSQAKfcMU4ugr WyBQ7Ojd0vyXWrrDWXyhBaHudYjcY2oGBAWKXhzy2HOXE78u1PVOJqG0fWiX2IhZ xusxPwNrBMo= Original-Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 4757160FAE; Tue, 21 Feb 2017 16:15:36 -0500 (EST) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 3DF1160FAD; Tue, 21 Feb 2017 16:15:34 -0500 (EST) In-Reply-To: <750c3b96-c1fb-40cb-b208-0dc2a205d283@me.com> (ilove zfs's message of "Sun, 19 Feb 2017 08:18:53 +0000 (GMT)") X-Pobox-Relay-ID: E2CC875E-F87A-11E6-B864-6141F2301B6D-02397024!pb-sasl2.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8564 Archived-At: On Sun 19 Feb 2017 09:18, ilove zfs writes: > Despite the "accept4 flags. No ifdef as accept4 has a gnulib implementation" building 2.1.7 fails with undeclared identifier errors for SOCK_CLOEXEC and SOCK_NONBLOCK on > macOS. Wrapping the relevant sections in ifdef SOCK_CLOEXEC and ifdef SOCK_NONBLOCK seems to work around the build failure, but I'm not sure if there are any problems with > doing this, or why the build isn't correctly taking advantage of the gnulib accept4 implementation. Yeah sorry about that. Fixed I think (we just don't define SOCK_NONBLOCK et al now). Andy