The builds are broken on Debian 7.
Whats wrong?
Edit: Also I can't use pre-build MCServer files from the jenkins.
Whats wrong?
Code:
Linking C static library lib/libevent_extra.a
[ 32%] Built target event_extra
[ 33%] Building CXX object src/OSSupport/CMakeFiles/OSSupport.dir/CriticalSection.cpp.o
In file included from /root/netzwerk/MCServerGit/src/OSSupport/CriticalSection.cpp:2:
In file included from /root/netzwerk/MCServerGit/src/./Globals.h:244:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:540:6: error:
no matching constructor for initialization of 'duration' (aka
'std::chrono::duration<long, std::ratio<1, 1000000> >')
: __d(__t.time_since_epoch())
^ ~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/condition_variable:111:42: note:
in instantiation of function template specialization
'std::chrono::time_point<std::chrono::system_clock,
std::chrono::duration<long, std::ratio<1, 1000000> >
>::time_point<std::chrono::duration<long, std::ratio<1, 1000000000> > >'
requested here
const __clock_t::time_point __s_atime = __s_entry + __delta;
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:234:12: note:
candidate constructor not viable: no known conversion from
'duration<[...], ratio<[...], 1000000000>>' to 'const duration<[...],
ratio<[...], 1000000>>' for 1st argument
constexpr duration(const duration&) = default;
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:237:19: note:
candidate template ignored: disabled by 'enable_if' [with _Rep2 =
std::chrono::duration<long, std::ratio<1, 1000000000> >]
enable_if<is_convertible<_Rep2, rep>::value
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:244:19: note:
candidate template ignored: disabled by 'enable_if' [with _Rep2 = long,
_Period2 = std::ratio<1, 1000000000>]
enable_if<treat_as_floating_point<rep>::value
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:232:12: note:
candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr duration() : __r() { }
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:227:2: error:
static_assert failed "period must be a specialization of ratio"
static_assert(__is_ratio<_Period>::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/netzwerk/MCServerGit/src/./Globals.h:439:53: note: in instantiation of
template class 'std::chrono::duration<int,
std::ratio_multiply<std::ratio<1, 1000>, std::ratio<50, 1> > >' requested
here
using cTickTimeLong = std::chrono::duration<Int64, cTickTime::period>;
^
2 errors generated.
make[2]: *** [src/OSSupport/CMakeFiles/OSSupport.dir/CriticalSection.cpp.o] Error 1
make[1]: *** [src/OSSupport/CMakeFiles/OSSupport.dir/all] Error 2
make: *** [all] Error 2
Edit: Also I can't use pre-build MCServer files from the jenkins.
Code:
root@7265de3c25:~/netzwerk/MCServer# ./MCServer
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by ./MCServer)