From owner-freebsd-ports@FreeBSD.ORG Thu Mar 21 16:32:37 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8691D33F for ; Thu, 21 Mar 2013 16:32:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E09069A4 for ; Thu, 21 Mar 2013 16:32:36 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1UIiPr-000442-U6 for freebsd-ports@freebsd.org; Thu, 21 Mar 2013 16:32:35 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UIiPr-0005eh-HA for freebsd-ports@freebsd.org; Thu, 21 Mar 2013 16:32:35 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r2LGWZHm091450 for ; Thu, 21 Mar 2013 16:32:35 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r2LGWZdn091449 for freebsd-ports@freebsd.org; Thu, 21 Mar 2013 16:32:35 GMT (envelope-from mexas) Date: Thu, 21 Mar 2013 16:32:35 GMT From: Anton Shterenlikht Message-Id: <201303211632.r2LGWZdn091449@mech-cluster241.men.bris.ac.uk> To: freebsd-ports@freebsd.org Subject: -current breaking (some?) ports, how to detect which? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 16:32:37 -0000 >From Jan Beich (gecko@): *quote* > In file included from /usr/include/sys/stat.h:99:0, > from /usr/local/include/fontconfig/fontconfig.h:29, > from configure:25673: > /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' This is common error when headers modified by gcc are not in sync with those under /usr/include. For example, after http://svnweb.freebsd.org/changeset/base/247476 make sure you have sbintime_t in sys/types.h copy $ fgrep sbintime /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.3/include-fixed/sys/types.h typedef __int64_t sbintime_t; If you don't have then rebuild lang/gcc47. *end quote* So I'm rebuilding gcc47 now, but how do I know that other ports are unaffected? Or how do I find which other ports are affected? Is this something that current@ should communicate to ports@ more explicitly? Is this something that should be noted in ports/UPDATING? Thanks Anton