Package Details: cereal 1.2.2-2

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: 8
Popularity: 1.207938
First Submitted: 2016-08-28 11:16
Last Updated: 2017-06-10 10:11

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

sl1pkn07 commented on 2017-06-14 13:53

with wrong I not mean bad, i mean this package build something but is used by nothing (the something compiled is not used for the installer, and the package don't perform any test with check())

for this i'm in the same boat as @Cmon, with that options not do any changes in the sources/packages, and the build process can be gone

greetings

alucryd commented on 2017-06-11 13:38

There is nothing wrong with this package I assure you.

sl1pkn07 commented on 2017-06-10 13:52

i'm not sure if the package is rigth. but this package only install the headers but not the libraries/tests. is strange because do build something in build()

the @CMon solution do it the same without build the testsuite

-DSKIP_PORTABILITY_TEST=YES \
-DJUST_INSTALL_CEREAL=YES \

greetings

alucryd commented on 2017-06-10 10:39

I don't think disabling a bunch of tests is the way to go. Anyway, added an extra cflag to skip a new check added in GCC7. The mistake it checks for is actually not one in cereal's case but intended by the developer (granted it's a shortcut and should not be used), so the check can be safely disabled.

tempomolto commented on 2017-06-06 09:08

If I try to compile (as it's a rpcs3 dependency) without modification, it fails:
cc1plus : tous les avertissements sont traités comme des erreurs
make[2]: *** [unittests/CMakeFiles/test_pair.dir/build.make:63: unittests/CMakeFiles/test_pair.dir/pair.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:910: unittests/CMakeFiles/test_pair.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Using the modifications of PKGBUILD from CMon: it compiles.

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.

All comments