From owner-freebsd-ports@FreeBSD.ORG Sat May 11 21:38:33 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 6D80AAD9 for ; Sat, 11 May 2013 21:38:33 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id E25A7A6C for ; Sat, 11 May 2013 21:38:32 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.6/8.14.6) with ESMTP id r4BLcHuw007365; Sun, 12 May 2013 01:38:17 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.6/8.14.6/Submit) id r4BLcGlK007361; Sun, 12 May 2013 01:38:16 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sun, 12 May 2013 01:38:16 +0400 From: Gleb Smirnoff To: Rainer Hurling Subject: Re: astro/gpsd fails to build on CURRENT Message-ID: <20130511213816.GY15182@glebius.int.ru> References: <51892984.4050301@gwdg.de> <20130511185320.GW15182@glebius.int.ru> <518EA482.1080602@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <518EA482.1080602@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: gavin@16degrees.com.au, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2013 21:38:33 -0000 On Sat, May 11, 2013 at 10:05:22PM +0200, Rainer Hurling wrote: R> On 11.05.2013 20:53 (UTC+2), Gleb Smirnoff wrote: R> > Rainer, R> > R> > On Tue, May 07, 2013 at 06:19:16PM +0200, Rainer Hurling wrote: R> > R> When I try to build astro/gpsd on 10.0-CURRENT it fails with the R> > R> following messages (devel/scons should be up to date): R> > R> R> > R> /usr/ports/astro/gpsd#make R> > R> ===> Found saved configuration for gpsd-3.9 R> > R> > ... R> > R> > R> Checking for C header file sys/endian.h... yes R> > R> Checking that xsltproc can make man pages... yes R> > R> Altered configuration variables: R> > R> mtk3301 = False (default True): MTK-3301 support R> > R> nmea2000 = False (default True): NMEA2000/CAN support R> > R> bluez = False (default True): BlueZ support for Bluetooth devices R> > R> libQgpsmm = False (default True): build QT bindings R> > R> chrpath = False (default True): use chrpath to edit library load paths R> > R> mandir = man (default share/man): manual pages directory R> > R> pkgconfig = libdata/pkgconfig (default lib/pkgconfig): pkgconfig file R> > R> directory R> > R> TypeError: Tried to lookup Dir '/usr/local/lib' as a File.: R> > R> File "/usr/ports/astro/gpsd/work/gpsd-3.9/SConstruct", line 955: R> > R> parse_flags=gpsdlibs + ncurseslibs + ['-lm']) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 258: R> > R> return MethodWrapper.__call__(self, target, source, *args, **kw) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 222: R> > R> return self.method(*nargs, **kwargs) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Builder.py", line 631: R> > R> env = env.Override(env_kw) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 635: R> > R> if merges: env.MergeFlags(merges) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 810: R> > R> args = self.ParseFlags(args) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 796: R> > R> do_parse(arg) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 670: R> > R> for t in arg: do_parse(t) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 726: R> > R> dict['LIBS'].append(self.fs.File(arg)) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 1339: R> > R> return self._lookup(name, directory, File, create) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 1318: R> > R> return root._lookup_abs(p, fsclass, create) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 2223: R> > R> result.must_be_same(klass) R> > R> File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 626: R> > R> (self.__class__.__name__, self.path, klass.__name__)) R> > R> *** [do-build] Error code 2 R> > R> Stop in /usr/ports/astro/gpsd. R> > R> *** [build] Error code 1 R> > R> Stop in /usr/ports/astro/gpsd. R> R> Gleb, R> R> thanks for answering. R> R> > R> > Sorry, I can't reproduce that on a clean 10.0-CURRENT amd64. R> > R> For me this happens on three boxes, all 10.0-CURRENT amd64 with more R> than 1.500 ports installed (most because of their use for scientific R> workplaces, some multimedia ones). R> R> I think Christoph is right here in suspecting scons interaction with R> ncurses (wrong parsing). If I patch /usr/local/bin/ncurses5-config in R> the way, Christoph suggested, all went fine. The attached zip contains R> two log files, one with the messages of the unpatched build, one with R> the patched one. R> R> My systems are far away from 'clean' systems, because they growed over R> the years. On the other hand, even if I try to build astro/gpsd without R> /etc/make.conf, it fails. I have no clue, where to look next. May be maintainer of scons has idea. I've added him to Cc. -- Totus tuus, Glebius.