Package Details: mongodb-3.4 3.4.23-1

Git Clone URL: https://aur.archlinux.org/mongodb-3.4.git (read-only)
Package Base: mongodb-3.4
Description: A high-performance, open source, schema-free document-oriented database
Upstream URL: https://www.mongodb.com/
Licenses: AGPL3
Conflicts: mongodb, mongodb-bin
Provides: mongodb
Submitter: Geoffroy
Maintainer: brennana
Last Packager: brennana
Votes: 4
Popularity: 0.001490
First Submitted: 2018-01-15 08:10
Last Updated: 2019-11-17 01:39

Required by (31)

Sources (7)

Latest Comments

1 2 Next › Last »

brennana commented on 2019-11-17 01:40

The recent errors have been fixed per agnar's advice. The package has also been updated to the latest version of 3.4.x.

11backslashes commented on 2019-11-16 23:51

brennana, please replace the scons dependency with python2-scons and update the PKGBUILD.

agnar commented on 2019-11-16 09:43

The problem is that the SConstruct file uses python2 syntax and scons uses python3 if that is the default python version on your system. One way to fix it is to replace all "scons" commands in the PKGBUILD file with "scons2". Then will scons use python2. That requires that you have python2 installed on your system, it is installed by the package "python2".

kfl62 commented on 2019-11-15 16:50

Same error like 11backslashes

11backslashes commented on 2019-10-10 16:12

I now get this error on a clean build:

scons: Reading SConscript files ...
  File "/home/user/.cache/yay/mongodb-3.4/src/mongodb-src-r3.4.20/SConstruct", line 33

    print "%s failed: %s" % (bf.node, bf.errstr)

                        ^

SyntaxError: invalid syntax

jamespharvey20 commented on 2019-08-13 23:14

Could also add aur/mongodb-bin to conflicts.

jamespharvey20 commented on 2019-08-13 23:12

Fair warning! aur/wiredtiger may be bumped at any moment to 3.2.0.20190806, and in this version, upstream removed the --enable-leveldb option, and no longer builds the "leveldb" ".so"'s.

Wiredtiger became the default storage engine in mongoDB 3.2, so it's quite possible nothing will need to change for "mongodb-3.4". But, there's some chance it won't handle this, and a new wiredtiger might need to be forked for it, potentially based on 3.1.1.20190808-1. Or, --use-system-wiredtiger could be removed along with the dependency, which would bring in the intended commit along with the version of mongo 3.4 being built.

Geoffroy commented on 2018-11-30 10:30

@drakone this error message has nothing to do with the package itself: IOError: [Errno 28] No space left on device:

Free some space before building / Libère de l'espace disque avant de compiler ;-)

drakone commented on 2018-11-30 10:25

In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23,
                 from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25,
                 from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24,
                 from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17,
                 from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14,
                 from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28,
                 from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25,
                 from src/mongo/client/examples/mongoperf.cpp:44:
src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
 failed ************ (Pred::************
                     ^
src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
 failed ************ (boost::mpl::not_<Pred>::************
                     ^
Linking build/opt/mongo/mongoperf
Install file: "build/opt/mongo/mongoperf" as "mongoperf"
scons: *** [mongoperf] No space left on device
scons: building terminated because of errors.
IOError: [Errno 28] No space left on device:
  File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1361:
    _exec_main(parser, values)
  File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1324:
    _main(parser)
  File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1103:
    nodes = _build_targets(fs, options, targets, target_top)
  File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1298:
    jobs.run(postfunc = jobs_postfunc)
  File "/usr/lib/python2.7/site-packages/SCons/Job.py", line 113:
    postfunc()
  File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1295:
    SCons.SConsign.write()
  File "/usr/lib/python2.7/site-packages/SCons/SConsign.py", line 116:
    syncmethod()
  File "/usr/lib/python2.7/site-packages/SCons/dblite.py", line 144:
    self._pickle_dump(self._dict, f, self._pickle_protocol)
mongoperf failed: No space left on device

Exception IOError: (28, 'No space left on device') in <bound method dblite.__del__ of <SCons.dblite.dblite object at 0x7f169d16d710>> ignored
==> ERREUR : Une erreur s’est produite dans build().

brennana commented on 2018-11-30 00:47

Thanks for the tip, limaxray. I have applied the addition to prepare() along with the update to 3.4.18.