1 |
On Wednesday 10 May 2017 19:43:34 tuxic@××××××.de wrote: |
2 |
> Hi, |
3 |
> |
4 |
> ok it seems that previously reported problems |
5 |
> with compilation problems of the dependencies |
6 |
> of freecad had gone. |
7 |
> |
8 |
> Reason was a mixed up configuration of gcc. |
9 |
> |
10 |
> I returned to gcc 5* and that did it. |
11 |
> |
12 |
> Now emerging reaches the final step and |
13 |
> starts compiling freecad, and ..... failed. |
14 |
> |
15 |
> I added the build.log as 7zip compressed file |
16 |
> to this email. |
17 |
> |
18 |
> Waht happens here ... it fails so silently... |
19 |
> |
20 |
> Thank you very much in advance for any help! |
21 |
> Cheers |
22 |
> Meino |
23 |
|
24 |
This does not look like a silent failure to me. If you search your log for |
25 |
'Error 1' you'll come across this: |
26 |
================================== |
27 |
cd /var/tmp/portage/media- |
28 |
gfx/freecad-0.16/work/freecad-0.16_build/src/Mod/Image/App && /usr/bin/x86_64- |
29 |
pc-linux-gnu-g++ -DHAVE_CONFIG_H -DImage_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB - |
30 |
DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB - |
31 |
DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64 -I/var/tmp/portage/media- |
32 |
gfx/freecad-0.16/work/freecad-0.16_build -isystem /usr/include/qt4 -isystem |
33 |
/usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtSvg -isystem |
34 |
/usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtWebKit -isystem |
35 |
/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem |
36 |
/usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore - |
37 |
I/var/tmp/portage/media-gfx/freecad-0.16/work/freecad-0.16_build/src - |
38 |
I/var/tmp/portage/media-gfx/freecad-0.16/work/FreeCAD-0.16/src - |
39 |
I/usr/include/python2.7 -DNDEBUG -Wall -Wno-deprecated -Wno-write-strings - |
40 |
march=native -O2 -pipe -std=c++11 -D_OCC64 -fPIC -o |
41 |
CMakeFiles/Image.dir/AppImage.cpp.o -c /var/tmp/portage/media- |
42 |
gfx/freecad-0.16/work/FreeCAD-0.16/src/Mod/Image/App/AppImage.cppui/moc_DownloadItem.cppx11::basic_string<char, |
43 |
std::char_traits<char>, std::allocator<char> > >, |
44 |
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, |
45 |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> |
46 |
> > > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char |
47 |
const*, std::__cxx11::basic_string<char, std::char_traits<char>, |
48 |
std::allocator<char> > >, |
49 |
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, |
50 |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> |
51 |
> > > > > const&)'cxx11::basic_string<char, std::char_traits<char>, |
52 |
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, |
53 |
std::char_traits<char>, std::allocator<char> > > > |
54 |
const&)'::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, |
55 |
std::char_traits<char>, std::allocator<char> >, |
56 |
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, |
57 |
std::allocator<char> > > > const&, bool) const' |
58 |
../../lib/libFreeCADApp.so: undefined reference to |
59 |
`boost::re_detail_106300::perl_matcher<__gnu_cxx::__normal_iterator<char |
60 |
const*, std::__cxx11::basic_string<char, std::char_traits<char>, |
61 |
std::allocator<char> > >, |
62 |
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, |
63 |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> |
64 |
> > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > |
65 |
>::construct_init(boost::basic_regex<char, boost::regex_traits<char, |
66 |
boost::cpp_regex_traits<char> > > const&, |
67 |
boost::regex_constants::_match_flags)')'unsigned int, unsigned int)'ence to |
68 |
`boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string<char, |
69 |
std::char_traits<char>, std::allocator<char> > const&, |
70 |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> |
71 |
> const&, std::__cxx11::basic_string<char, std::char_traits<char>, |
72 |
std::allocator<char> > const&, int)'bFreeCADApp.so: undefined reference to |
73 |
`boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, |
74 |
std::char_traits<char>, std::allocator<char> > const&) const'undefined |
75 |
reference to |
76 |
`boost::program_options::to_internal(std::__cxx11::basic_string<char, |
77 |
std::char_traits<char>, std::allocator<char> > const&)' |
78 |
../../lib/libFreeCADApp.so: undefined reference to |
79 |
`boost::program_options::validate(boost::any&, |
80 |
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, |
81 |
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, |
82 |
std::char_traits<char>, std::allocator<char> > > > const&, |
83 |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> |
84 |
>*, int)'2]: *** [src/Main/CMakeFiles/FreeCADMainCmd.dir/build.make:112: |
85 |
bin/FreeCADCmd] Error 1 |
86 |
make[2]: Leaving directory '/var/tmp/portage/media- |
87 |
gfx/freecad-0.16/work/freecad-0.16_build' |
88 |
make[1]: *** [CMakeFiles/Makefile2:867: |
89 |
src/Main/CMakeFiles/FreeCADMainCmd.dir/all] Error 2 |
90 |
=================================================== |
91 |
|
92 |
So, it seems it fails to build the binaries for FreeCAD because it doesn't |
93 |
like something about boost, which you probably had built with a different |
94 |
version of gcc. In the first instance I would re-emerge boost and try again |
95 |
to emerge FreeCAD, both with the *same* version of gcc. |
96 |
|
97 |
-- |
98 |
Regards, |
99 |
Mick |