[Bug 1223446] mono-shogun - Don't build with mono 4

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 7 07:12:04 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1223446



--- Comment #11 from Timotheus Pokorra <timotheus.pokorra at solidcharity.com> ---
I think the support for C# needs to be resolved upstream, in the shogun
project, as it was discussed on IRC fedora-de.

I tried to build shogun without mono (replacing "with mono" with "with monoOff"
in the spec file), but now I get errors already here:
https://kojipkgs.fedoraproject.org//work/tasks/2514/10632514/build.log
[ 52%] Building CXX object
src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o
cd /builddir/build/BUILD/shogun-4.0.0/build-x86-32.fc24/src/shogun &&
/usr/bin/c++   -DDSFMT_MEXP=19937 -DHAVE_ARPACK -DHAVE_ARPREC -DHAVE_ATLAS
-DHAVE_COLPACK -DHAVE_CURL -DHAVE_CXX11 -DHAVE_CXX11_ATOMIC -DHAVE_DECL_ISINF
-DHAVE_DECL_ISNAN -DHAVE_DECL_SIGNGAM -DHAVE_DOXYGEN -DHAVE_EIGEN3
-DHAVE_FPCLASS -DHAVE_HDF5 -DHAVE_ISINF -DHAVE_ISNAN -DHAVE_JBLAS -DHAVE_JSON
-DHAVE_LAPACK -DHAVE_LARGEFILE -DHAVE_LGAMMAL -DHAVE_LINALG_LIB -DHAVE_LOG2
-DHAVE_NLOPT -DHAVE_OCTAVE -DHAVE_POWL -DHAVE_PROTOBUF -DHAVE_PTHREAD
-DHAVE_PYTHON -DHAVE_SQRTL -DHAVE_STD_ISFINITE -DHAVE_STD_ISINF
-DHAVE_STD_ISNAN -DHAVE_STD_UNORDERED_MAP -DHAVE_XML
-DINVERSE_ACTIVE=INVERSE_LUSOL -DOCTAVE_APIVERSION=50 -DPARSER_LP
-DRoleIsExternalInvEngine -DSFMT_MEXP=19937 -DSHOGUN -DSWIG_TYPE_TABLE=shogun
-DUSE_BIGSTATES -DUSE_BOOL -DUSE_BZIP2 -DUSE_CHAR -DUSE_COMPLEX128
-DUSE_FLOAT32 -DUSE_FLOAT64 -DUSE_GLPK -DUSE_GZIP -DUSE_HMMCACHE -DUSE_INT32
-DUSE_INT64 -DUSE_LPSOLVE -DUSE_LZMA -DUSE_LZO -DUSE_REFERENCE_COUNTING
-DUSE_SHORTREAL_KERNELCACHE -DUSE_SNAPPY -DUSE_SPINLOCKS -DUSE_UINT16
-DUSE_UINT64 -DUSE_UINT8 -DYY_NEVER_INTERACTIVE -std=c++11 -Wall
-Wno-unused-parameter -Wformat -Wformat-security -Wparentheses -Wshadow
-Wno-unknown-pragmas -Wno-deprecated  -fopenmp -O2 -O2 -g -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32
-march=i686 -mtune=atom -fasynchronous-unwind-tables  -fPIC
-I/builddir/build/BUILD/shogun-4.0.0/src
-I/builddir/build/BUILD/shogun-4.0.0/src/shogun
-I/builddir/build/BUILD/shogun-4.0.0/build-x86-32.fc24/src
-I/builddir/build/BUILD/shogun-4.0.0/build-x86-32.fc24/src/shogun -isystem
/usr/include/eigen3 -I/usr/lib/../include -I/usr/include/json-c
-I/usr/include/libxml2    -o CMakeFiles/libshogun.dir/base/class_list.cpp.o -c
/builddir/build/BUILD/shogun-4.0.0/src/shogun/base/class_list.cpp
In file included from
/builddir/build/BUILD/shogun-4.0.0/src/shogun/kernel/normalizer/KernelNormalizer.h:16:0,
                 from
/builddir/build/BUILD/shogun-4.0.0/src/shogun/transfer/multitask/MultitaskKernelMaskNormalizer.h:16,
                 from
/builddir/build/BUILD/shogun-4.0.0/src/shogun/base/class_list.cpp:16:
/builddir/build/BUILD/shogun-4.0.0/src/shogun/kernel/Kernel.h: In member
function 'float64_t shogun::CKernel::kernel(int32_t, int32_t)':
/builddir/build/BUILD/shogun-4.0.0/src/shogun/kernel/Kernel.h:207:21: error:
invalid use of incomplete type 'class shogun::CKernelNormalizer'
    return normalizer->normalize(compute(idx_a, idx_b), idx_a, idx_b);
                     ^
In file included from
/builddir/build/BUILD/shogun-4.0.0/src/shogun/kernel/normalizer/KernelNormalizer.h:16:0,
                 from
/builddir/build/BUILD/shogun-4.0.0/src/shogun/transfer/multitask/MultitaskKernelMaskNormalizer.h:16,
                 from
/builddir/build/BUILD/shogun-4.0.0/src/shogun/base/class_list.cpp:16:
/builddir/build/BUILD/shogun-4.0.0/src/shogun/kernel/Kernel.h:32:8: note:
forward declaration of 'class shogun::CKernelNormalizer'
  class CKernelNormalizer;
        ^
src/shogun/CMakeFiles/libshogun.dir/build.make:16432: recipe for target
'src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o' failed

I give up again, I hope someone can make sense of it...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=07VOnPdaIJ&a=cc_unsubscribe


More information about the ml mailing list