Package Details: cereal 1.2.2-1

Git Clone URL: https://aur.archlinux.org/cereal.git (read-only)
Package Base: cereal
Description: A C++11 library for serialization
Upstream URL: https://github.com/USCiLab/cereal
Licenses: BSD
Submitter: alucryd
Maintainer: alucryd
Last Packager: alucryd
Votes: 7
Popularity: 0.976546
First Submitted: 2016-08-28 11:16
Last Updated: 2017-02-26 12:51

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

CMon commented on 2017-05-09 09:15

You could reduce the dependencies if you would build it without the tests and just install it then the deps would only contain cmake. just change the CMake build line to:

cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DSKIP_PORTABILITY_TEST=YES \
-DJUST_INSTALL_CEREAL=YES \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=unused-variable"

alucryd commented on 2017-01-23 18:41

Yes it does, the link is literally right above.

devnull99 commented on 2017-01-23 18:04

gcc-multilib doesn't exist at all in repositories, it is better just skip portability test

diff --git a/PKGBUILD b/PKGBUILD
index fd945dc..08e4085 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
url='https://github.com/USCiLab/cereal'
license=('BSD')
depends=('')
-makedepends=('boost' 'cmake' 'gcc-multilib')
+makedepends=('boost' 'cmake')
source=("cereal-${pkgver}.tar.gz::https://github.com/USCiLab/cereal/archive/v${pkgver}.tar.gz")
sha256sums=('7d321c22ea1280b47ddb06f3e9702fcdbb2910ff2f3df0a2554804210714434e')

@@ -27,6 +27,7 @@ build() {
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
+ -DSKIP_PORTABILITY_TEST=TRUE \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=unused-variable"
make
}

alucryd commented on 2016-10-13 12:33

Just added gcc-multilib in makedepends, should build fine now.

alucryd commented on 2016-09-23 13:19

It seems the portability test needs gcc-multilib, I need to investigate.

latimerius commented on 2016-09-21 16:17

Hi, it's cool to see cereal in Arch! However, it fails to build for me due to this:

In file included from /usr/include/features.h:392:0,
from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
from /usr/include/c++/6.2.1/type_traits:38,
from /home/pvl/aur/cereal/src/cereal-1.2.1/./include/cereal/cereal.hpp:32,
from /home/pvl/aur/cereal/src/cereal-1.2.1/./include/cereal/archives/portable_binary.hpp:32,
from /home/pvl/aur/cereal/src/cereal-1.2.1/unittests/portability_test.cpp:28:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
# include <gnu/stubs-32.h>
^
compilation terminated.