From owner-freebsd-current@FreeBSD.ORG Wed Mar 27 21:07:03 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A23C9B06; Wed, 27 Mar 2013 21:07:03 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx1.freebsd.org (Postfix) with ESMTP id 510F7CD; Wed, 27 Mar 2013 21:07:03 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 15so1885119vea.15 for ; Wed, 27 Mar 2013 14:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=j9wjKvs4dikIJWRyKIPSDN1/VND6Mx8K9ZTUX+EdQCs=; b=EwNmS5KvRnOSN7am7eplQfD1liur8ANZbzpPuoZ0dGUyxET6y3gG4Jc1Q6YODKAqjB 1Pyen7+pS9yyrb3++c6zixODE8JFdfv9GwV6VaIpxtfCSXi8Vq+MBBzsndPFEFT0IHMP USf2KRjf2catupD9kg00IUoUejFhBH4eIEXplB80lY//iXPC8Dp//bLDxhCG0A0CAtss FC1Oi9H5Nth1k8UsZ5Ay9967/9Sueo71R0pDwUDUYzgb0bnjt+pQa1ClAV5ZYgOLwyT0 dism3HI5HLo8gJCvqDgnna09B9BjtRdet0g+Tn4dd6kVVP+XVpQg4LQyFiiRZAnWVgkN VWEA== MIME-Version: 1.0 X-Received: by 10.220.8.75 with SMTP id g11mr24941789vcg.60.1364418422493; Wed, 27 Mar 2013 14:07:02 -0700 (PDT) Sender: davide.italiano@gmail.com Received: by 10.220.34.203 with HTTP; Wed, 27 Mar 2013 14:07:02 -0700 (PDT) In-Reply-To: <20130327212819.1a28b2e1@FreeBSD.org> References: <20130327212819.1a28b2e1@FreeBSD.org> Date: Wed, 27 Mar 2013 22:07:02 +0100 X-Google-Sender-Auth: vZA8Agx7ZPTKTOSTfjZe55NTtiQ Message-ID: Subject: Re: Ports including sys/time.h broken From: Davide Italiano To: Pawel Pekala Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:07:03 -0000 On Wed, Mar 27, 2013 at 9:28 PM, Pawel Pekala wrote: > For some time now (about month?) ports using sys/time.h include fail to > build and I`m sure they were building ok before. At least those seems > affected by this: > > math/atlas > math/openblas > x11-toolkits/c++-gtk-utils > > All fail with similar errors: > > /usr/include/sys/time.h:134:17: error: unknown type name 'sbintime_t' > /usr/include/sys/time.h:141:1: error: unknown type name 'sbintime_t' > /usr/include/sys/time.h: In function 'bttosbt': > /usr/include/sys/time.h:144:12: error: 'sbintime_t' undeclared (first > use in this function) /usr/include/sys/time.h:144:12: note: each > undeclared identifier is reported only once for each function it > appears in /usr/include/sys/time.h:144:23: error: expected ')' before > 'bt' /usr/include/sys/time.h: At top > level: /usr/include/sys/time.h:148:9: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h:206:9: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h:216:1: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h: In function > 'tstosbt': /usr/include/sys/time.h:219:12: error: 'sbintime_t' > undeclared (first use in this function) /usr/include/sys/time.h:219:23: > error: expected ')' before 'ts' /usr/include/sys/time.h: At top > level: /usr/include/sys/time.h:224:9: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h:234:1: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h: In function > 'tvtosbt': /usr/include/sys/time.h:237:12: error: 'sbintime_t' > undeclared (first use in this function) /usr/include/sys/time.h:237:23: > error: expected ')' before 'tv' In file included > from ../common.h:110:0, from swap.c:40: /usr/include/sys/time.h:134:17: > error: unknown type name 'sbintime_t' /usr/include/sys/time.h:141:1: > error: unknown type name 'sbintime_t' /usr/include/sys/time.h: In > function 'bttosbt': /usr/include/sys/time.h:144:12: error: 'sbintime_t' > undeclared (first use in this function) /usr/include/sys/time.h:144:12: > note: each undeclared identifier is reported only once for each > function it appears in /usr/include/sys/time.h:144:23: error: expected > ')' before 'bt' /usr/include/sys/time.h: At top > level: /usr/include/sys/time.h:148:9: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h:206:9: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h:216:1: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h: In function > 'tstosbt': /usr/include/sys/time.h:219:12: error: 'sbintime_t' > undeclared (first use in this function) /usr/include/sys/time.h:219:23: > error: expected ')' before 'ts' /usr/include/sys/time.h: At top > level: /usr/include/sys/time.h:224:9: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h:234:1: error: unknown type name > 'sbintime_t' /usr/include/sys/time.h: In function > 'tvtosbt': /usr/include/sys/time.h:237:12: error: 'sbintime_t' > undeclared (first use in this function) /usr/include/sys/time.h:237:23: > error: expected ')' before 'tv' > > -- > pozdrawiam / with regards > Pawe=C5=82 P=C4=99kala > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " I'm able to build the ports you mentioned. Even if the informations you give are not enough to diagnose the problem (e.g. which version of which compiler was used to build) my guess is that you're using some version of gcc which is stale, i.e. it was build before changes to system headers. --=20 Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare