astro/gpsd fails to build on CURRENT

Rainer Hurling rhurlin at gwdg.de
Tue May 7 16:19:24 UTC 2013


When I try to build astro/gpsd on 10.0-CURRENT it fails with the
following messages (devel/scons should be up to date):

/usr/ports/astro/gpsd#make
===>  Found saved configuration for gpsd-3.9
===> Fetching all distfiles required by gpsd-3.9 for building
===>  Extracting for gpsd-3.9
=> SHA256 Checksum OK for gpsd-3.9.tar.gz.
===>  Patching for gpsd-3.9
===>  Applying FreeBSD patches for gpsd-3.9
===>   gpsd-3.9 depends on package: docbook-xsl>=0 - found
===>   gpsd-3.9 depends on executable: xsltproc - found
===>   gpsd-3.9 depends on file: /usr/local/bin/python2.7 - found
===>   gpsd-3.9 depends on executable: pkgconf - found
===>   gpsd-3.9 depends on file: /usr/local/bin/scons - found
===>  Configuring for gpsd-3.9
===>  Building for gpsd-3.9
scons: Reading SConscript files ...
Checking if compiler accepts -Wextra ...yes
Checking if compiler accepts -Wall ...yes
Checking if compiler accepts -Wno-uninitialized ...yes
Checking if compiler accepts -Wno-missing-field-initializers ...yes
Checking if compiler accepts -Wcast-align ...yes
Checking if compiler accepts -Wmissing-declarations ...yes
Checking if compiler accepts -Wmissing-prototypes ...yes
Checking if compiler accepts -Wstrict-prototypes ...yes
Checking if compiler accepts -Wpointer-arith ...yes
Checking if compiler accepts -Wreturn-type ...yes
chrpath is not available or use of it has been disabled.
Checking whether the C++ compiler worksyes
Checking for ncurses... no
Checking for ncurses5-config... yes
Checking for libusb-1.0... no
Checking for C library librt... yes
Checking for C library libcap... no
Checking for bluez... no
Checking for C header file sys/timepps.h... no
You do not have kernel PPS available.
Checking for C header file linux/can.h... no
You do not have kernel CANbus available.
Checking for C function daemon()... yes
Checking for C function strlcpy()... yes
Checking for C function strlcat()... yes
Checking for C function clock_gettime()... yes
Checking for C function pselect()... yes
Checking for C header file endian.h... no
Checking for C header file sys/endian.h... yes
Checking that xsltproc can make man pages... yes
Altered configuration variables:
mtk3301 = False (default True): MTK-3301 support
nmea2000 = False (default True): NMEA2000/CAN support
bluez = False (default True): BlueZ support for Bluetooth devices
libQgpsmm = False (default True): build QT bindings
chrpath = False (default True): use chrpath to edit library load paths
mandir = man (default share/man): manual pages directory
pkgconfig = libdata/pkgconfig (default lib/pkgconfig): pkgconfig file
directory
TypeError: Tried to lookup Dir '/usr/local/lib' as a File.:
  File "/usr/ports/astro/gpsd/work/gpsd-3.9/SConstruct", line 955:
    parse_flags=gpsdlibs + ncurseslibs + ['-lm'])
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 258:
    return MethodWrapper.__call__(self, target, source, *args, **kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 222:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/scons-2.1.0/SCons/Builder.py", line 631:
    env = env.Override(env_kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 635:
    if merges: env.MergeFlags(merges)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 810:
    args = self.ParseFlags(args)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 796:
    do_parse(arg)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 670:
    for t in arg: do_parse(t)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 726:
    dict['LIBS'].append(self.fs.File(arg))
  File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 1339:
    return self._lookup(name, directory, File, create)
  File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 1318:
    return root._lookup_abs(p, fsclass, create)
  File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 2223:
    result.must_be_same(klass)
  File "/usr/local/lib/scons-2.1.0/SCons/Node/FS.py", line 626:
    (self.__class__.__name__, self.path, klass.__name__))
*** [do-build] Error code 2
Stop in /usr/ports/astro/gpsd.
*** [build] Error code 1
Stop in /usr/ports/astro/gpsd.


Please let me know, if you need more informations.

Thanks in advance,
Rainer Hurling


More information about the freebsd-ports mailing list