astro/gpsd fails to build on CURRENT
Rainer Hurling
rhurlin at gwdg.de
Sat May 11 20:05:35 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-logs.zip
Type: application/octet-stream
Size: 5663 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130511/7c3128d1/attachment.obj>
More information about the freebsd-ports
mailing list