From owner-freebsd-gnome@FreeBSD.ORG Sat Aug 3 14:25:36 2013 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 88E8D81C; Sat, 3 Aug 2013 14:25:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A956B242A; Sat, 3 Aug 2013 14:25:35 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA00861; Sat, 03 Aug 2013 17:25:34 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1V5clx-0005qG-JI; Sat, 03 Aug 2013 17:25:33 +0300 Message-ID: <51FD128C.1060209@FreeBSD.org> Date: Sat, 03 Aug 2013 17:24:12 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130708 Thunderbird/17.0.7 MIME-Version: 1.0 To: gnome@FreeBSD.org Subject: Re: glib-2.36.3 build fails with gcc46 References: <51FD06A3.10201@FreeBSD.org> In-Reply-To: <51FD06A3.10201@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=x-viet-vps Content-Transfer-Encoding: 7bit Cc: freebsd-ports@FreeBSD.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Aug 2013 14:25:36 -0000 on 03/08/2013 16:33 Andriy Gapon said the following: > > glib-2.36.3 build fails with gcc46: > > glib-unix.c: In function 'g_unix_open_pipe': > glib-unix.c:97:5: error: implicit declaration of function 'pipe2' > [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > > I think that unistd.h must be included. Sorry for the noise, this was a pilot error. I use head, but keep forgetting that once in a while lang/gcc* have to be rebuilt after changes in the system headers (because those gccs install some "fixed" versions of them in /usr/local/lib/gcc*/gcc/*/*/include-fixed/). -- Andriy Gapon