From owner-freebsd-ports@FreeBSD.ORG Mon Apr 7 09:26:14 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D8B1790; Mon, 7 Apr 2014 09:26:14 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E8737111; Mon, 7 Apr 2014 09:26:13 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.8/8.14.8) with ESMTP id s379QBBh025207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 7 Apr 2014 13:26:11 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.8/8.14.8/Submit) id s379QBQc025206; Mon, 7 Apr 2014 13:26:11 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 7 Apr 2014 13:26:11 +0400 From: Gleb Smirnoff To: Oliver Lehmann Subject: Re: r263478 - /stable/10/sys/net/route.h breaks net-snmp Message-ID: <20140407092611.GP44326@glebius.int.ru> References: <20140406101131.Horde.OoOkpfQUTkPO6Q0jKJFQvw7@avocado.salatschuessel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140406101131.Horde.OoOkpfQUTkPO6Q0jKJFQvw7@avocado.salatschuessel.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: zi@freebsd.org, ports@freebsd.org, stable@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2014 09:26:14 -0000 On Sun, Apr 06, 2014 at 10:11:31AM +0200, Oliver Lehmann wrote: O> Hi Gleb, O> O> your change to route.h breaks the compilation of O> net-mgmt/net-snmp. Can you please fix it? O> O> Here is a log from CURRENT, the error message on 10-STABLE is the same. O> With 10-RELEASE the port compiled fine: O> O> http://beefy1.isc.freebsd.org/bulk/head-i386-default/latest/logs/errors/net-snmp-5.7.2_4.log Strange. This is how it builds on my CURRENT: checking for struct rtentry.rt_dst... no checking for struct rtentry.rt_hash... no checking for struct rtentry.rt_next... no checking for struct rtentry.rt_refcnt... no checking for struct rtentry.rt_unit... no checking for struct rtentry.rt_use... no checking type of rtentry structure... unknown checking for struct rtentry... rtentry After that, it compiles fine. In your log it detects 'struct ortentry' and surprisingly prefers it. -- Totus tuus, Glebius.