From owner-freebsd-ports@FreeBSD.ORG Wed May 23 15:51:59 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE6AC106564A for ; Wed, 23 May 2012 15:51:59 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8CC8FC1B for ; Wed, 23 May 2012 15:51:59 +0000 (UTC) Received: from p5dc3fc8f.dip.t-dialin.net ([93.195.252.143] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SXDqu-0004qj-R2; Wed, 23 May 2012 17:51:57 +0200 Message-ID: <4FBD0797.9040803@gwdg.de> Date: Wed, 23 May 2012 17:51:51 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: "coder.tuxfamily" References: <4FBA9620.3020207@gwdg.de> <4FBA997C.6010000@tuxfamily.org> <4FBAA203.90201@gwdg.de> <4FBAA388.1070906@tuxfamily.org> <4FBB24D3.4010209@gwdg.de> <4FBBC3F2.4050104@tuxfamily.org> <4FBBC504.5010305@gwdg.de> <4FBBD7B4.5090505@tuxfamily.org> <4FBBFADA.6010700@gwdg.de> In-Reply-To: <4FBBFADA.6010700@gwdg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-ports@freebsd.org Subject: Re: graphics/gdal 1.9.0 does not build on CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2012 15:51:59 -0000 On 22.05.2012 22:45 (UTC+1), Rainer Hurling wrote: > On 22.05.2012 20:15 (UTC+1), coder.tuxfamily wrote: >> I have rewrote the patch. >> >> Maybe with this new patch... > > Thanks, but again it gives me the same failure: > > libtool: compile: cc -DNDEBUG -O2 -pipe -O2 -fno-strict-aliasing -pipe > -msse3 -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 -Wall > -Wdeclaration-after-statement -DOGR_ENABLED -I/usr/local/include > -I/usr/ports/graphics/gdal/work/gdal-1.9.0/port -I/usr/local/include > -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local > -I/usr/local/include -I/usr/local -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local > -I/usr/local/include -I/usr -I/usr/include -fPIC -I../../port > -I../../gcore -I../../alg -I../../ogr/ -I/usr/local/include/python2.7 > -I/usr/local/lib/python2.7/site-packages/numpy/core/include > -I/usr/ports/graphics/gdal/work/gdal-1.9.0/include -c > extensions/gdal_wrap.cpp -fPIC -DPIC -o > build/temp.freebsd-10.0-CURRENT-amd64-2.7/extensions/.libs/gdal_wrap.o > cc1plus: warning: command line option "-Wdeclaration-after-statement" is > valid for C/ObjC but not for C++ > extensions/gdal_wrap.cpp: In function 'PyObject* > _wrap_VSIFTruncateL(PyObject*, PyObject*)': > extensions/gdal_wrap.cpp:6845: error: 'VSIFTruncateL' was not declared > in this scope > extensions/gdal_wrap.cpp: In function 'PyObject* > _wrap_MajorObject_SetMetadata__SWIG_0(PyObject*, PyObject*)': > extensions/gdal_wrap.cpp:7220: warning: deprecated conversion from > string constant to 'char*' > error: command '/bin/sh' failed with exit status 1 > gmake[2]: *** [build] Fehler 1 > gmake[2]: Leaving directory > `/usr/ports/graphics/gdal/work/gdal-1.9.0/swig/python' > gmake[1]: *** [build] Fehler 2 > gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.9.0/swig' > gmake: *** [swig-modules] Fehler 2 > *** [do-build] Error code 1 > Stop in /usr/ports/graphics/gdal. > > > I don't think there is a problem with finding libtool or some python > scripts. I will rebuild all my py27- ports and swig, just to be sure. OK, I think I get it. This failure does not happen, if swig is not installed. Then it builds and installs fine. Do you have any idea what is going wrong with swig here?