ports/178732: TypeError: Tried to lookup Dir '/usr/local/lib' as a File.: *** [do-build] Error code 2
Christian A Bryant
admin at canonicaldev.com
Sat May 18 07:40:00 UTC 2013
>Number: 178732
>Category: ports
>Synopsis: TypeError: Tried to lookup Dir '/usr/local/lib' as a File.: *** [do-build] Error code 2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 18 07:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Christian A Bryant
>Release: 9.1-RELEASE-p3
>Organization:
Canonical Development
>Environment:
FreeBSD tosh12.canonicaldev.com 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
root at tosh12:/usr/ports/astro/gpsd # make install clean
===> 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... yes
You 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.
*** [install] Error code 1
Stop in /usr/ports/astro/gpsd.
>How-To-Repeat:
Step 1: Log into server
Step 2: su
Step 3: cd /usr/ports/astro/gpsd
Step 4: root at tosh12:/usr/ports/astro/gpsd # make install clean
Step 5: Fails
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list