Control: retitle -1 shogun FTBFS with libjson-c-dev 0.13.1+dfsg-2

On Thu, Nov 01, 2018 at 12:41:06PM +0100, Sylvestre Ledru wrote:
> Package: shogun
> Severity: important
> 
> Dear Maintainer,
> 
> We updated llvm-defaults to llvm-toolchain-7.
> This package FTBFS using this version (but not sure it is related)
> [ 37%] Building CXX object 
> src/shogun/CMakeFiles/libshogun.dir/io/SerializableJsonFile.cpp.o
> cd /build/shogun-3.2.0/debian/build/src/shogun && /usr/bin/c++  
> -DDSFMT_MEXP=19937 -DHAVE_ARPACK -DHAVE_ATLAS -DHAVE_COLPACK -DHAVE_CURL 
> -DHAVE_CXX11 -DHAVE_CXX11_ATOMIC -DHAVE_DECL_SIGNGAM -DHAVE_DOXYGEN 
> -DHAVE_EIGEN3 -DHAVE_FPCLASS -DHAVE_HDF5 -DHAVE_ISINF -DHAVE_ISNAN 
> -DHAVE_JSON -DHAVE_LAPACK
> -DHAVE_LARGEFILE -D\
> HAVE_LGAMMAL -DHAVE_LOG2 -DHAVE_NLOPT -DHAVE_POWL -DHAVE_PROTOBUF 
> -DHAVE_PTHREAD -DHAVE_SQRTL -DHAVE_SSE2 -DHAVE_STD_ISFINITE -DHAVE_STD_ISINF 
> -DHAVE_STD_ISNAN -DHAVE_STD_UNORDERED_MAP -DHAVE_XML -DSFMT_MEXP=19937 
> -DSHOGUN -DSWIG_TYPE_TABLE=shogun -DUSE_BIGSTATES -DUSE_BOOL -DUSE_BZIP2 
> -DUSE_CHAR
> -DUSE_COMPLEX128 -D\
> USE_FLOAT32 -DUSE_FLOAT64 -DUSE_GLPK -DUSE_GZIP -DUSE_HMMCACHE -DUSE_INT32 
> -DUSE_INT64 -DUSE_LZMA -DUSE_LZO -DUSE_REFERENCE_COUNTING 
> -DUSE_SHORTREAL_KERNELCACHE -DUSE_SNAPPY -DUSE_SPINLOCKS -DUSE_UINT16 
> -DUSE_UINT64 -DUSE_UINT8 -I/build/shogun-3.2.0/src 
> -I/build/shogun-3.2.0/src/shogun
> -I/build/shogun-3.2.0/debian/b\
> uild/src -I/build/shogun-3.2.0/debian/build/src/shogun 
> -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/../include 
> -I/usr/include/json-c -I/usr/include/libxml2 -I/usr/include/hdf5/serial 
> -isystem /usr/include/eigen3  -std=c++11 -Wall -Wno-unused-parameter -Wformat 
> -Wformat-security
> -Wparentheses -Wshadow \
> -Wno-unknown-pragmas -Wno-deprecated -g -g -O2 
> -fdebug-prefix-map=/build/shogun-3.2.0=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -fPIC   -o 
> CMakeFiles/libshogun.dir/io/SerializableJsonFile.cpp.o -c
> /build/shogun-3.2.0/src/shogun/io/SerializableJsonFile.cpp
> /build/shogun-3.2.0/src/shogun/io/SerializableJsonFile.cpp: In member 
> function 'virtual shogun::CSerializableFile::TSerializableReader* 
> shogun::CSerializableJsonFile::new_reader(char*, size_t)':
> /build/shogun-3.2.0/src/shogun/io/SerializableJsonFile.cpp:46:6: error: 
> 'is_error' was not declared in this scope
>    || is_error(buf)
>       ^~~~~~~~
> /build/shogun-3.2.0/src/shogun/io/SerializableJsonFile.cpp:46:6: note: 
> suggested alternative: 'mc_error'
>    || is_error(buf)
>       ^~~~~~~~
>       mc_error
> /build/shogun-3.2.0/src/shogun/io/SerializableJsonFile.cpp: In static member 
> function 'static bool 
> shogun::CSerializableJsonFile::get_object_any(json_object**, json_object*, 
> const char*)':

This happens when building shogun with json-c from experimental,
retitling accordingly.

> Cheers,
> Sylvestre

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to