[gentoo-user] Back to bussiness with freecad ... but ...

2017-05-10 Thread tuxic
Hi,

ok it seems that previously reported problems
with compilation problems of the dependencies
of freecad had gone.

Reason was a mixed up configuration of gcc.

I returned to gcc 5* and that did it.

Now emerging reaches the final step and
starts compiling freecad, and . failed.

I added the build.log as 7zip compressed file
to this email.

Waht happens here ... it fails so silently...

Thank you very much in advance for any help!
Cheers
Meino




build.log.7z
Description: application/7z-compressed


Re: [gentoo-user] Back to bussiness with freecad ... but ...

2017-05-11 Thread Mick
On Wednesday 10 May 2017 19:43:34 tu...@posteo.de wrote:
> Hi,
> 
> ok it seems that previously reported problems
> with compilation problems of the dependencies
> of freecad had gone.
> 
> Reason was a mixed up configuration of gcc.
> 
> I returned to gcc 5* and that did it.
> 
> Now emerging reaches the final step and
> starts compiling freecad, and . failed.
> 
> I added the build.log as 7zip compressed file
> to this email.
> 
> Waht happens here ... it fails so silently...
> 
> Thank you very much in advance for any help!
> Cheers
> Meino

This does not look like a silent failure to me.  If you search your log for 
'Error 1' you'll come across this:
==
cd /var/tmp/portage/media-
gfx/freecad-0.16/work/freecad-0.16_build/src/Mod/Image/App && /usr/bin/x86_64-
pc-linux-gnu-g++ -DHAVE_CONFIG_H -DImage_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -
DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -
DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64 -I/var/tmp/portage/media-
gfx/freecad-0.16/work/freecad-0.16_build -isystem /usr/include/qt4 -isystem 
/usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtSvg -isystem 
/usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtWebKit -isystem 
/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem 
/usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -
I/var/tmp/portage/media-gfx/freecad-0.16/work/freecad-0.16_build/src -
I/var/tmp/portage/media-gfx/freecad-0.16/work/FreeCAD-0.16/src -
I/usr/include/python2.7   -DNDEBUG -Wall -Wno-deprecated -Wno-write-strings -
march=native -O2 -pipe -std=c++11 -D_OCC64 -fPIC   -o 
CMakeFiles/Image.dir/AppImage.cpp.o -c /var/tmp/portage/media-
gfx/freecad-0.16/work/FreeCAD-0.16/src/Mod/Image/App/AppImage.cppui/moc_DownloadItem.cppx11::basic_string, std::allocator > >, 
std::allocator, std::allocator 
> > > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator, 
std::allocator > >, 
std::allocator, std::allocator 
> > > > > const&)'cxx11::basic_string, 
std::allocator >, std::allocator, std::allocator > > > 
const&)'::parse(boost::any&, std::vector, std::allocator >, 
std::allocator, 
std::allocator > > > const&, bool) const'
../../lib/libFreeCADApp.so: undefined reference to 
`boost::re_detail_106300::perl_matcher<__gnu_cxx::__normal_iterator, 
std::allocator > >, 
std::allocator, std::allocator 
> > > >, boost::regex_traits > 
>::construct_init(boost::basic_regex > > const&, 
boost::regex_constants::_match_flags)')'unsigned int, unsigned int)'ence to 
`boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string, std::allocator > const&, 
std::__cxx11::basic_string, std::allocator 
> const&, std::__cxx11::basic_string, 
std::allocator > const&, int)'bFreeCADApp.so: undefined reference to 
`boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string, std::allocator > const&) const'undefined 
reference to 
`boost::program_options::to_internal(std::__cxx11::basic_string, std::allocator > const&)'
../../lib/libFreeCADApp.so: undefined reference to 
`boost::program_options::validate(boost::any&, 
std::vector, 
std::allocator >, std::allocator, std::allocator > > > const&, 
std::__cxx11::basic_string, std::allocator 
>*, int)'2]: *** [src/Main/CMakeFiles/FreeCADMainCmd.dir/build.make:112: 
bin/FreeCADCmd] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-
gfx/freecad-0.16/work/freecad-0.16_build'
make[1]: *** [CMakeFiles/Makefile2:867: 
src/Main/CMakeFiles/FreeCADMainCmd.dir/all] Error 2
===

So, it seems it fails to build the binaries for FreeCAD because it doesn't 
like something about boost, which you probably had built with a different 
version of gcc.  In the first instance I would re-emerge boost and try again 
to emerge FreeCAD, both with the *same* version of gcc.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Back to bussiness with freecad ... but ...

2017-05-11 Thread tuxic
On 05/11 11:31, Mick wrote:
> On Wednesday 10 May 2017 19:43:34 tu...@posteo.de wrote:
> > Hi,
> > 
> > ok it seems that previously reported problems
> > with compilation problems of the dependencies
> > of freecad had gone.
> > 
> > Reason was a mixed up configuration of gcc.
> > 
> > I returned to gcc 5* and that did it.
> > 
> > Now emerging reaches the final step and
> > starts compiling freecad, and . failed.
> > 
> > I added the build.log as 7zip compressed file
> > to this email.
> > 
> > Waht happens here ... it fails so silently...
> > 
> > Thank you very much in advance for any help!
> > Cheers
> > Meino
> 
> This does not look like a silent failure to me.  If you search your log for 
> 'Error 1' you'll come across this:
> ==
> cd /var/tmp/portage/media-
> gfx/freecad-0.16/work/freecad-0.16_build/src/Mod/Image/App && /usr/bin/x86_64-
> pc-linux-gnu-g++ -DHAVE_CONFIG_H -DImage_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -
> DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -
> DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64 -I/var/tmp/portage/media-
> gfx/freecad-0.16/work/freecad-0.16_build -isystem /usr/include/qt4 -isystem 
> /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtSvg -isystem 
> /usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtWebKit -isystem 
> /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem 
> /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -
> I/var/tmp/portage/media-gfx/freecad-0.16/work/freecad-0.16_build/src -
> I/var/tmp/portage/media-gfx/freecad-0.16/work/FreeCAD-0.16/src -
> I/usr/include/python2.7   -DNDEBUG -Wall -Wno-deprecated -Wno-write-strings -
> march=native -O2 -pipe -std=c++11 -D_OCC64 -fPIC   -o 
> CMakeFiles/Image.dir/AppImage.cpp.o -c /var/tmp/portage/media-
> gfx/freecad-0.16/work/FreeCAD-0.16/src/Mod/Image/App/AppImage.cppui/moc_DownloadItem.cppx11::basic_string  
> std::char_traits, std::allocator > >, 
> std::allocator std::__cxx11::basic_string, std::allocator 
> > > > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator > > > > > 
> const*, std::__cxx11::basic_string, 
> std::allocator > >, 
> std::allocator std::__cxx11::basic_string, std::allocator 
> > > > > > const&)'cxx11::basic_string, 
> std::allocator >, std::allocator std::char_traits, std::allocator > > > 
> const&)'::parse(boost::any&, std::vector std::char_traits, std::allocator >, 
> std::allocator, 
> std::allocator > > > const&, bool) const'
> ../../lib/libFreeCADApp.so: undefined reference to 
> `boost::re_detail_106300::perl_matcher<__gnu_cxx::__normal_iterator const*, std::__cxx11::basic_string, 
> std::allocator > >, 
> std::allocator std::__cxx11::basic_string, std::allocator 
> > > > >, boost::regex_traits > 
> >::construct_init(boost::basic_regex boost::cpp_regex_traits > > const&, 
> boost::regex_constants::_match_flags)')'unsigned int, unsigned int)'ence to 
> `boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string  
> std::char_traits, std::allocator > const&, 
> std::__cxx11::basic_string, std::allocator 
> > const&, std::__cxx11::basic_string, 
> std::allocator > const&, int)'bFreeCADApp.so: undefined reference to 
> `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string  
> std::char_traits, std::allocator > const&) const'undefined 
> reference to 
> `boost::program_options::to_internal(std::__cxx11::basic_string std::char_traits, std::allocator > const&)'
> ../../lib/libFreeCADApp.so: undefined reference to 
> `boost::program_options::validate(boost::any&, 
> std::vector, 
> std::allocator >, std::allocator std::char_traits, std::allocator > > > const&, 
> std::__cxx11::basic_string, std::allocator 
> >*, int)'2]: *** [src/Main/CMakeFiles/FreeCADMainCmd.dir/build.make:112: 
> bin/FreeCADCmd] Error 1
> make[2]: Leaving directory '/var/tmp/portage/media-
> gfx/freecad-0.16/work/freecad-0.16_build'
> make[1]: *** [CMakeFiles/Makefile2:867: 
> src/Main/CMakeFiles/FreeCADMainCmd.dir/all] Error 2
> ===
> 
> So, it seems it fails to build the binaries for FreeCAD because it doesn't 
> like something about boost, which you probably had built with a different 
> version of gcc.  In the first instance I would re-emerge boost and try again 
> to emerge FreeCAD, both with the *same* version of gcc.
> 
> -- 
> Regards,
> Mick


Hi Mick,

for me it was silent enough... ;) :) :) :)

Thank fo the hint! I recompiled boost and freecad and compilation
works fine (in opposite to starting freecad itsself...but I reported
those problems already...)

Cheers
Meino