Gentoo Archives: gentoo-user

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