From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 23 01:28:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA05716A417 for ; Thu, 23 Aug 2007 01:28:03 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 54D1913C458 for ; Thu, 23 Aug 2007 01:28:03 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=nexii.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1IO0dk-000CkB-Q6; Thu, 23 Aug 2007 04:33:36 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id F10181703E; Thu, 23 Aug 2007 04:34:00 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 7F698406C; Thu, 23 Aug 2007 04:34:40 +0400 (MSD) Date: Thu, 23 Aug 2007 04:34:40 +0400 From: Dmitry Marakasov To: Jose Alonso Cardenas Marquez Message-ID: <20070823003440.GA18159@hades.panopticon> Mail-Followup-To: Jose Alonso Cardenas Marquez , freebsd-ports-bugs@freebsd.org References: <200708220020.l7M0KBS4030155@freefall.freebsd.org> <7c58fcfc0708221638v262e6163o2aabab611091b53d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <7c58fcfc0708221638v262e6163o2aabab611091b53d@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp65.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - amdmi3.ru X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-ports-bugs@freebsd.org Subject: Re: ports/115701: devel/ode: does not build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 01:28:03 -0000 * Jose Alonso Cardenas Marquez (jacardenasm@gmail.com) wrote: > Hi, it's an strange error because if you try to build devel/ode > again, it will compile without problems. > > tb3 and tb4 tinderboxes build devel/ode without problems but i saw > this error some times when i was testing ode 0.8. > > http://tb3.droso.net/logs/6-acm/ode-0.8,1.log > http://tb4.droso.net/logs/6-STABLE/ode-0.8,1.log > > Try > > make clean clean-depends && make install clean clean-depends Doesn't help (I have no work dirs at all). Building again doesn't help either. Though, I've built it and I know the cause of an error. In the command line that fails: c++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -O2 -fPIC -I/usr/local/include -I../../include -I../../include -I/usr/work/usr/ports/devel/ode/work/ode-0.8/OPCODE -I/usr/work/usr/ports/devel/ode/work/ode-0.8/OPCODE/Ice -DdTRIMESH_ENABLED -DdTRIMESH_OPCODE -O2 -fno-strict-aliasing -pipe -march=pentium4 -I/usr/local/include -L/usr/local/lib -MT libode_a-ode.o -MD -MP -MF ".deps/libode_a-ode.Tpo" -c -o libode_a-ode.o `test -f 'ode.cpp' || echo './'`ode.cpp , the problem are -I options: -I../../include/ode -I/usr/local/include -I../../include Thus, include files from currently installed ode 0.7 are used -> bad. After pkg_deleting ode-0.7 and recompiling, I've ran into another error: --- if c++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -O2 -fPIC -I/usr/local/include -I../../include -I../../include -I/usr/work/usr/ports/devel/ode/work/ode-0.8/OPCODE -I/usr/work/usr/ports/devel/ode/work/ode-0.8/OPCODE/Ice -DdTRIMESH_ENABLED -DdTRIMESH_OPCODE -O2 -fno-strict-aliasing -pipe -march=pentium4 -I/usr/local/include -L/usr/local/lib -MT libode_a-collision_util.o -MD -MP -MF ".deps/libode_a-collision_util.Tpo" -c -o libode_a-collision_util.o `test -f 'collision_util.cpp' || echo './'`collision_util.cpp; \ then mv -f ".deps/libode_a-collision_util.Tpo" ".deps/libode_a-collision_util.Po"; else rm -f ".deps/libode_a-collision_util.Tpo"; exit 1; fi collision_util.cpp: In function `void dInfiniteAABB(dxGeom*, dReal*)': collision_util.cpp:458: error: expected primary-expression before ';' token collision_util.cpp:459: error: expected primary-expression before ';' token collision_util.cpp:460: error: expected primary-expression before ';' token collision_util.cpp:461: error: expected primary-expression before ';' token collision_util.cpp:462: error: expected primary-expression before ';' token collision_util.cpp:463: error: expected primary-expression before ';' token gmake[2]: *** [libode_a-collision_util.o] Error 1 gmake[2]: Leaving directory `/usr/work/usr/ports/devel/ode/work/ode-0.8/ode/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/work/usr/ports/devel/ode/work/ode-0.8/ode' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/devel/ode. *** Error code 1 Stop in /usr/ports/devel/ode. --- This happens because dInfinity is not defined in config.h: --- % grep dInfi include/ode/config.h /* dInfinity Constant */ #define dInfinity --- After I've defined it as FLT_MAX, the compilation succeeded. If you want, I can investigate why exactly this constant does not get defined on my system. (quick grep config.log for now: configure:7752: checking for appropriate dInfinity constant configure:7754: result: ) -- Best regards, Dmitry Marakasov mailto:amdmi3@amdmi3.ru