Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2013 22:05:22 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: astro/gpsd fails to build on CURRENT
Message-ID:  <518EA482.1080602@gwdg.de>
In-Reply-To: <20130511185320.GW15182@glebius.int.ru>
References:  <51892984.4050301@gwdg.de> <20130511185320.GW15182@glebius.int.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010007080606050500050804
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 11.05.2013 20:53 (UTC+2), Gleb Smirnoff wrote:
>   Rainer,
> 
> On Tue, May 07, 2013 at 06:19:16PM +0200, Rainer Hurling wrote:
> R> When I try to build astro/gpsd on 10.0-CURRENT it fails with the
> R> following messages (devel/scons should be up to date):
> R> 
> R> /usr/ports/astro/gpsd#make
> R> ===>  Found saved configuration for gpsd-3.9
> 
> ...
> 
> R> Checking for C header file sys/endian.h... yes
> R> Checking that xsltproc can make man pages... yes
> R> Altered configuration variables:
> R> mtk3301 = False (default True): MTK-3301 support
> R> nmea2000 = False (default True): NMEA2000/CAN support
> R> bluez = False (default True): BlueZ support for Bluetooth devices
> R> libQgpsmm = False (default True): build QT bindings
> R> chrpath = False (default True): use chrpath to edit library load paths
> R> mandir = man (default share/man): manual pages directory
> R> pkgconfig = libdata/pkgconfig (default lib/pkgconfig): pkgconfig file
> R> directory
> R> TypeError: Tried to lookup Dir '/usr/local/lib' as a File.:
> R>   File "/usr/ports/astro/gpsd/work/gpsd-3.9/SConstruct", line 955:
> R>     parse_flags=gpsdlibs + ncurseslibs + ['-lm'])
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 258:
> R>     return MethodWrapper.__call__(self, target, source, *args, **kw)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 222:
> R>     return self.method(*nargs, **kwargs)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Builder.py", line 631:
> R>     env = env.Override(env_kw)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 635:
> R>     if merges: env.MergeFlags(merges)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 810:
> R>     args = self.ParseFlags(args)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 796:
> R>     do_parse(arg)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 670:
> R>     for t in arg: do_parse(t)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 726:
> R>     dict['LIBS'].append(self.fs.File(arg))
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 1339:
> R>     return self._lookup(name, directory, File, create)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 1318:
> R>     return root._lookup_abs(p, fsclass, create)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 2223:
> R>     result.must_be_same(klass)
> R>   File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 626:
> R>     (self.__class__.__name__, self.path, klass.__name__))
> R> *** [do-build] Error code 2
> R> Stop in /usr/ports/astro/gpsd.
> R> *** [build] Error code 1
> R> Stop in /usr/ports/astro/gpsd.

Gleb,

thanks for answering.

> 
> Sorry, I can't reproduce that on a clean 10.0-CURRENT amd64.
> 
For me this happens on three boxes, all 10.0-CURRENT amd64 with more
than 1.500 ports installed (most because of their use for scientific
workplaces, some multimedia ones).

I think Christoph is right here in suspecting scons interaction with
ncurses (wrong parsing). If I patch /usr/local/bin/ncurses5-config in
the way, Christoph suggested, all went fine. The attached zip contains
two log files, one with the messages of the unpatched build, one with
the patched one.

My systems are far away from 'clean' systems, because they growed over
the years. On the other hand, even if I try to build astro/gpsd without
/etc/make.conf, it fails. I have no clue, where to look next.

Greetings,
Rainer

--------------010007080606050500050804
Content-Type: application/octet-stream;
 name="build-logs.zip"
Content-Trans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AAIAFmvq0KlN9S0VA8AALyKAAAm
ABgAAAAAAAEAAACkgXsFAABidWlsZF93aXRoX25jdXJzZXM1LWNvbmZpZ19wYXRjaGVkLmxv
Z1VUBQAD+aKOUXV4CwABBAAAAAAEAAAAAFBLBQYAAAAAAgACANoAAAAvFQAAAAA=
--------------010007080606050500050804--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518EA482.1080602>