Package Details: arangodb 3.2.9-1

Git Clone URL: https://aur.archlinux.org/arangodb.git (read-only)
Package Base: arangodb
Description: A multi-model NoSQL database, combining key-value, document and graph data models.
Upstream URL: https://www.arangodb.com/
Keywords: database document-store graph nosql
Licenses: Apache
Submitter: bpdp
Maintainer: sleepycat (NicoHood)
Last Packager: sleepycat
Votes: 13
Popularity: 0.601116
First Submitted: 2012-08-23 14:29
Last Updated: 2017-12-13 04:54

Latest Comments

william81 commented on 2017-11-10 05:42

I get a PGP Error, cannot verify the file.

==> Building and installing package
==> Making package: arangodb 3.2.4-1 (Fri Nov 10 13:24:25 CST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading ArangoDB-3.2.4.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 114M 100 114M 0 0 162k 0 0:12:01 0:12:01 --:--:-- 168k
-> Downloading ArangoDB-3.2.4.tar.bz2.asc...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 819 100 819 0 0 273 0 0:00:03 0:00:03 --:--:-- 896
-> Found arangodb3.service
-> Found arangodb-tmpfile.conf
-> Found arangodb-users.conf
==> Validating source files with sha512sums...
ArangoDB-3.2.4.tar.bz2 ... Passed
ArangoDB-3.2.4.tar.bz2.asc ... Skipped
arangodb3.service ... Passed
arangodb-tmpfile.conf ... Passed
arangodb-users.conf ... Passed
==> Verifying source file signatures with gpg...
ArangoDB-3.2.4.tar.bz2 ... FAILED (unknown public key EA93F5E56E751E9B)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build arangodb.
==> Restart building arangodb ? [y/N]

sleepycat commented on 2017-09-14 15:11

So I've switched from GCC5 to Clang and hopefully that resolves the build drama. I'm now able to build successfully on both my systems. I've also updated to 3.2.3. If there are any more problems or suggestions, let me know! Thanks

t3476 commented on 2017-08-30 12:45

Latest release v3.2.2 can be built with clang and modified PKGBUILD. notice that I skip gpg and checksum because I can't find them:


# Maintainer: Mike Williamson <mike at korora dot ca>

pkgname=arangodb
pkgver=3.2.2
pkgrel=1
pkgdesc="A multi-model NoSQL database, combining key-value, document and graph data models."
arch=("i686" "x86_64")
url="https://www.arangodb.com/"
license=("APACHE")
depends=("openssl" "systemd" "curl" "zlib")
makedepends=("cmake" "clang" "python2" "linux-api-headers")
options=()
install=arangodb.install
source=("https://github.com/arangodb/arangodb/archive/v$pkgver.tar.gz"
"arangodb3.service"
"arangodb-tmpfile.conf"
"arangodb-users.conf")
sha512sums=('SKIP'
'18bccbc960555c600c86409a89545c1c056dbce9abcd5724cd61c54a734d9c974df0d01b0a49c1859299ffc448c3e576f8c2bcc6134ad3f5062293b11cf85091'
'b1fdf8cc0525d1fc093d02b24b18a1d8361fb2cd8274974269957ef8074a26eb4f2174bdd4abd41154d535df43cd9d553c1b8205cd5945e53674d25dfa3c533f'
'8a73da7dfb9cc371ce7c72efd53afc04ede26a890cd7542c82c518bf3d7c5be38abfcad66235fc9cf9d63c9955ebcdbca4c1d7056b386b1b59bf61dc1887febd')

build() {
msg2 "Symlinking 'python' to python2."
ln -s -f /usr/bin/python2 python
export PATH="`pwd`:$PATH"
export LD="ld.gold"
# I'm not proud of this but currently it's the only way to compile this.
export CC="clang"
export CXX="clang++"

msg2 "Configuring Arangodb."
cd $srcdir/arangodb-$pkgver
[ -d build ] || mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="-O3 -fno-omit-frame-pointer" \
-DCMAKE_CXX_FLAGS="-O3 -fno-omit-frame-pointer" \
-DCMAKE_INSTALL_PREFIX:PATH=/ \
-DCMAKE_SKIP_RPATH=On \
..
msg2 "Building Arangodb."
make -j $(nproc)
}

package() {
msg2 "Preparing Arangodb."
mkdir -p $pkgdir/usr/bin
cp -R $srcdir/arangodb-$pkgver/build/etc $pkgdir
cp -R $srcdir/arangodb-$pkgver/build/var $pkgdir
cp -R $srcdir/arangodb-$pkgver/build/bin/* $pkgdir/usr/bin/
mkdir -p $pkgdir/usr/share/arangodb3/js
mkdir -p $pkgdir/usr/share/man
mkdir -p $pkgdir/var/lib/arangodb3
mkdir -p $pkgdir/var/lib/arangodb3-apps
mkdir -p $pkgdir/var/log/arangodb3
cp -R $srcdir/arangodb-$pkgver/js/* $pkgdir/usr/share/arangodb3/js
cp -R $srcdir/arangodb-$pkgver/Documentation/man/* $pkgdir/usr/share/man

install -Dm644 arangodb-users.conf "$pkgdir"/usr/lib/sysusers.d/arangodb.conf
install -Dm644 arangodb-tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/arangodb.conf
install -Dm644 $srcdir/arangodb-"$pkgver"/Installation/logrotate.d/arangod.systemd "$pkgdir"/etc/logrotate.d/arangodb3
install -D -m644 $srcdir/arangodb-$pkgver/LICENSE "${pkgdir}/usr/share/licenses/arangodb3/LICENSE"

msg2 "Preparing systemd service."
mkdir -p $pkgdir/usr/lib/systemd/system
cp $srcdir/arangodb3.service $pkgdir/usr/lib/systemd/system/
}



thomasdingemanse commented on 2017-08-03 13:32

I am encountering the same problem as @rcrath below. I see the following error show up a few times in my CMake error log:

gcc-5: error: unrecognized command line option ‘-fno-plt’
make[1]: *** [CMakeFiles/cmTC_b55c3.dir/build.make:66: CMakeFiles/cmTC_b55c3.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/thomas/Downloads/arangodb/src/ArangoDB-3.2.0/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_b55c3/fast] Error 2

I found some basic info on the -fno-plt setting (which apparently has only been completely functional since gcc6), but I don't know anything about gcc or CMake, so I don't really know what to make of this. I hope the log is somehow helpful at least.

https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html

rcrath commented on 2017-07-30 08:56

compiling with "makepkg --skipinteg -i" fails too, as follows (same as psychma I think):
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /usr/share/cmake-3.8/Modules/TestBigEndian.cmake:41 (message):
no suitable type found
Call Stack (most recent call first):
3rdParty/V8/CMakeLists.txt:25 (TEST_BIG_ENDIAN)


-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-rich/aur-arangodb/src/ArangoDB-3.2.0/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/yaourt-tmp-rich/aur-arangodb/src/ArangoDB-3.2.0/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...


rcrath commented on 2017-07-30 08:51

still getting

-> Found arangodb3.service
-> Found arangodb-tmpfile.conf
-> Found arangodb-users.conf
==> Validating source files with sha512sums...
ArangoDB-3.2.0.tar.bz2 ... FAILED
ArangoDB-3.2.0.tar.bz2.asc ... Skipped
arangodb3.service ... Passed
arangodb-tmpfile.conf ... Passed
arangodb-users.conf ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build arangodb.
==> Restart building arangodb ? [y/N]

pschyma commented on 2017-07-22 16:59

Thank you. But I'm still experiencing build failures.

-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /usr/share/cmake-3.8/Modules/TestBigEndian.cmake:41 (message):
no suitable type found
Call Stack (most recent call first):
3rdParty/V8/CMakeLists.txt:25 (TEST_BIG_ENDIAN)


-- Configuring incomplete, errors occurred!
See also "/home/peter/builds/arangodb/src/ArangoDB-3.2.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/peter/builds/arangodb/src/ArangoDB-3.2.0/build/CMakeFiles/CMakeError.log".

sleepycat commented on 2017-07-21 11:47

I've updated the package to Arango 3.2. It builds again because I added gcc5 to the makedepends. It's workaround rather than a fix, and once this is builds with current gcc again I'll be removing it. Thanks to all of you who spend time debugging this.

Arango 3.2 has some great new features: Distributed graph processing with Pregel and a suite of awesome algorithms, ClusterFoxx, and a bunch more.
You can read about it here: https://www.arangodb.com/2017/07/arangodb-3-2-rocksdb-pregel-fault-tolerant-foxx-satellite-collections/

Enjoy

rcrath commented on 2017-07-08 06:03

pgp key error, so run makepkg --skippgpcheck, build fails with following:

[ 93%] Linking CXX static library libarangoserver.a
[ 93%] Built target arangoserver
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


snap installs ok, but fails to start via systemctl :(

pschyma commented on 2017-07-04 16:14

@guerch: There are two binary realeases that can be installed on Arch: the Docker and Snap images provided by ArangoDB. You can always use one of them.

All comments