Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2013 11:23:54 +0400 (MSK)
From:      Dmitry Sukhodoyev <raven428@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Dmitry Sukhodoyev <raven428@gmail.com>
Subject:   ports/177703: /usr/ports/databases/mongodb fails build with spidermonkey enabl
Message-ID:  <201304080723.r387NsGu036580@mongo22.fishgame3d.com>
Resent-Message-ID: <201304080740.r387e0cq016471@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177703
>Category:       ports
>Synopsis:       /usr/ports/databases/mongodb fails build with spidermonkey enabl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 08 07:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     none
>Release:        FreeBSD 8.2-RELEASE-p1 amd64
>Organization:
noe
>Environment:
System: FreeBSD dr01 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Thu May 19 10:26:
47 UTC 2011 root@second:/usr/obj/usr/nfs/src/sys/fishgame amd64

dr01# pkg_info
dialog4ports-0.1.3  Console Interface to configure ports
gettext-0.18.1.1_1  GNU gettext package
gmake-3.82_1        GNU version of 'make' utility
libexecinfo-1.1_3   A library for inspecting program's backtrace
libiconv-1.14_1     A character set conversion library
nspr-4.9.5          A platform-neutral API for system level and libc like funct
pcre-8.32           Perl Compatible Regular Expressions library
python27-2.7.3_6    An interpreted object-oriented programming language
scons-2.1.0         A build tool alternative to make
snappy-1.1.0        Fast compressor/decompressor library
spidermonkey17-1.7.0_1 A standalone JavaScript interpreter from the Mozilla proj
ec

>Description:
/usr/ports/databases/mongodb fails build with spidermonkey engine enabled with e
rrors:
Checking for C library pcrecpp... yes
Checking for C library pcre... yes
Checking for C library snappy... yes
AttributeError: Values instance has no attribute 'use-system-js':
  File "/usr/ports/databases/mongodb/work/mongodb-src-r2.4.1/SConstruct", line 9
02:
    env = doConfigure( env )
  File "/usr/ports/databases/mongodb/work/mongodb-src-r2.4.1/SConstruct", line 8
18:
    if usesm and use_system_version_of_library("js"):
  File "/usr/ports/databases/mongodb/work/mongodb-src-r2.4.1/SConstruct", line 1
01:
    return has_option('use-system-all') or has_option('use-system-' + name)
  File "/usr/ports/databases/mongodb/work/mongodb-src-r2.4.1/SConstruct", line 9
2:
    x = _has_option(name)
  File "/usr/ports/databases/mongodb/work/mongodb-src-r2.4.1/SConstruct", line 7
9:
    x = get_option( name )
  File "/usr/ports/databases/mongodb/work/mongodb-src-r2.4.1/SConstruct", line 7
6:
    return GetOption( name )
  File "/usr/local/lib/scons-2.1.0/SCons/Script/Main.py", line 470:
    return getattr(OptionsParser.values, name)
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConsOptions.py", line 115:
    return getattr(self.__dict__['__defaults__'], attr)
*** Error code 2

Stop in /usr/ports/databases/mongodb.
*** Error code 1

Stop in /usr/ports/databases/mongodb.

>How-To-Repeat:
cd /usr/ports/databases/mongodb && make config
make SM box checked and try to build: it will stop with error pasted above.
>Fix:

        

>Release-Note:
>Audit-Trail:
>Unformatted:
 ed



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