MantisBT - VCMI
View Issue Details
0003077VCMIOtherpublic2019-07-15 14:172020-05-10 04:45
GetinakS 
AVS 
normalcrashalways
resolvedfixed 
amd64Gentoo Linuxlastest
 
1.next 
0003077: Fresh version from git failed to build.
Build failed after [ 42%] Building CXX object lib/CMakeFiles/vcmi.dir/serializer/CTypeList.cpp.o

update gentoo linux to lastest version (with ACCEPT_KEYWORDS=~amd64), update gamerlay repositary, run 'emerge vcmi'.
packages version:

app-shells/bash: 5.0_p7::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.26.2::gentoo
dev-lang/python: 2.7.16::gentoo, 3.4.8-r1::gentoo, 3.5.7::gentoo, 3.6.8::gentoo
dev-util/cmake: 3.14.5::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.41.2::gentoo
sys-apps/sandbox: 2.17::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.32-r1::gentoo
sys-devel/gcc: 7.3.0-r6::gentoo, 9.1.0-r1::gentoo
sys-devel/gcc-config: 2.0::gentoo
sys-devel/libtool: 2.4.6-r5::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.29-r2::gentoo
dev-libs/boost: 1.70.0::gentoo
No tags attached.
log build.log (355,243) 2019-07-15 14:17
https://bugs.vcmi.eu/file_download.php?file_id=3036&type=bug
Issue History
2019-07-15 14:17GetinakSNew Issue
2019-07-15 14:17GetinakSFile Added: build.log
2019-07-15 14:30AVSNote Added: 0007826
2019-07-15 14:31AVSNote Added: 0007827
2019-07-15 14:32AVSNote Added: 0007828
2019-07-15 15:03AVSAssigned To => AVS
2019-07-15 15:03AVSStatusnew => feedback
2019-07-15 15:03GetinakSNote Added: 0007829
2019-07-15 15:03GetinakSStatusfeedback => assigned
2019-07-15 15:10AVSNote Added: 0007830
2019-07-15 15:40GetinakSNote Added: 0007831
2019-07-15 15:50AVSNote Added: 0007832
2019-07-17 13:43GetinakSNote Added: 0007833
2019-10-14 17:37agruNote Added: 0007853
2019-10-14 17:37agruNote Edited: 0007853bug_revision_view_page.php?bugnote_id=7853#r3593
2020-05-10 04:45AVSStatusassigned => resolved
2020-05-10 04:45AVSFixed in Version => 1.next
2020-05-10 04:45AVSResolutionopen => fixed

Notes
(0007826)
AVS   
2019-07-15 14:30   
"dev-libs/boost: 1.70.0::gentoo" could be a problem
(0007827)
AVS   
2019-07-15 14:31   
Can you try earlier boost?
(0007828)
AVS   
2019-07-15 14:32   
Build log shows error with boost::asio
(0007829)
GetinakS   
2019-07-15 15:03   
I'll try with boost-1.65.0, it will takes a few days(some large packages depends on a new boost).
(0007830)
AVS   
2019-07-15 15:10   
You can use 1.69 there was a patch for that version
https://github.com/vcmi/vcmi/pull/541 [^]
(0007831)
GetinakS   
2019-07-15 15:40   
Currently in portage exists only 1.65.0(stable) and 1.70.0(unstable), so i'll try to build it with 1.65.0
(0007832)
AVS   
2019-07-15 15:50   
Any version between 1.54 (in Travis-CI) and 1.69 (was explicitly fixed) should be OK. I personally use 1.67.
(0007833)
GetinakS   
2019-07-17 13:43   
Build was successfull with boost 1.65.0. Thank you!
(0007853)
agru   
2019-10-14 17:37   
Fails even earlier now on "boost::asio", fails on:
[ 25%] Building CXX object lib/CMakeFiles/vcmi.dir/serializer/Connection.cpp.o

However it is fixed by the github merge request # 615 by krkos, please merge it :)
Verified working with boost 1.71.0