Gentoo Archives: gentoo-user

From: Zhu Sha Zang <zhushazang@×××××××××.br>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] FreeCAD again (or "still): VTK compile problems
Date: Mon, 08 May 2017 02:03:14
Message-Id: 2174dd66-e168-57e6-9bf5-74087b67e809@yahoo.com.br
In Reply to: [gentoo-user] FreeCAD again (or "still): VTK compile problems by tuxic@posteo.de
1 My flags to freecad and vtk, by now. Maybe usefull.
2
3 media-gfx/freecad
4 Installed versions: 0.16^m(03:53:26 AM
5 01/23/2017)(PYTHON_TARGETS="python2_7")
6
7 sci-libs/vtk
8 Installed versions: 6.1.0-r4^t(02:04:31 AM 12/28/2016)(R X boost
9 ffmpeg imaging java mpi python qt5 rendering smp tbb tcl theora tk
10 -all-modules -aqua -cg -doc -examples -gdal -json -kaapi -mysql -odbc
11 -offscreen -postgres -test -views -web -xdmf2 ELIBC="-FreeBSD"
12 PYTHON_TARGETS="python2_7" VIDEO_CARDS="-nvidia")
13
14 By the way. I think is better you put a bug report in bugs.gentoo.org.
15
16 Best regards.
17
18
19 On 05/07/2017 03:01 AM, tuxic@××××××.de wrote:
20 > Hi,
21 >
22 > after trying to get FreeCAD working and after
23 > getting some success (it runs when started by root)
24 > I decided to recompile the whole stuff from ground
25 > up to prevent to previously have a success by random,
26 > which turns into an error later.
27 >
28 > I emerged -C freecad and cleanup the rest. I even
29 > removed according files below /usr/portage/distfiles
30 > to really get "the pure geniune experience"...
31 >
32 > ...it purely fails.
33 >
34 > vtk does not longer compile. It tried it
35 > with "factory setting" and with use
36 > flags, which I found on the internet
37 > when searching for "FreeCAD compile
38 > problems". Both failed the same way.
39 > I checked for enough space on my hd and
40 > yes...it is enough.
41 >
42 > Here is what I got:
43 >
44 >
45 >
46 > tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/Parallel/Core -I/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/Parallel/Core -I/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/IO/Legacy -I/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/IO/Legacy -I/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/Utilities/HashSource -I/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/Utilities/HashSource -D__STDC_CONSTANT_MACROS -D_UNICODE -DNDEBUG -march=native -O2 -pipe -fPIC -fvisibility=hidden -o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPUniformGridAMRWriter.cxx.o -c /var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/IO/ParallelXML/vtkXMLPUniformGridAMRWriter.cxx
47 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `(anonymous namespace)::operator<<(vtkOStreamWrapper&, Json::Value const&)':
48 > vtkGeoJSONFeature.cxx:(.text+0x107): undefined reference to `Json::StyledStreamWriter::StyledStreamWriter(std::string)'
49 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `vtkGeoJSONFeature::ExtractGeoJSONFeatureGeometry(Json::Value const&, vtkPolyData*)':
50 > vtkGeoJSONFeature.cxx:(.text+0x2d4f): undefined reference to `Json::Value::asString() const'
51 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `vtkGeoJSONFeature::ExtractGeoJSONFeature(Json::Value const&, vtkPolyData*)':
52 > vtkGeoJSONFeature.cxx:(.text+0x3444): undefined reference to `Json::Value::asString() const'
53 > vtkGeoJSONFeature.cxx:(.text+0x3e9d): undefined reference to `Json::Value::asString() const'
54 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `vtkGeoJSONFeature::PrintSelf(std::ostream&, vtkIndent)':
55 > vtkGeoJSONFeature.cxx:(.text+0x448c): undefined reference to `Json::StyledStreamWriter::StyledStreamWriter(std::string)'
56 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function `vtkGeoJSONReader::GeoJSONReaderInternal::ParseFeatureProperties(Json::Value const&, std::vector<vtkGeoJSONReader::GeoJSONReaderInternal::GeoJSONProperty, std::allocator<vtkGeoJSONReader::GeoJSONReaderInternal::GeoJSONProperty> >&, char const*)':
57 > vtkGeoJSONReader.cxx:(.text+0xbb3): undefined reference to `Json::Value::operator[](std::string const&) const'
58 > vtkGeoJSONReader.cxx:(.text+0xc07): undefined reference to `Json::Value::asString() const'
59 > vtkGeoJSONReader.cxx:(.text+0xd9b): undefined reference to `Json::FastWriter::write(Json::Value const&)'
60 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function `vtkGeoJSONReader::GeoJSONReaderInternal::ParseRoot(Json::Value const&, vtkPolyData*, bool, char const*)':
61 > vtkGeoJSONReader.cxx:(.text+0x1897): undefined reference to `Json::Value::asString() const'
62 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function `vtkGeoJSONReader::GeoJSONReaderInternal::CanParseFile(char const*, Json::Value&)':
63 > vtkGeoJSONReader.cxx:(.text+0x25ee): undefined reference to `Json::Reader::getFormattedErrorMessages() const'
64 > CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function `vtkGeoJSONReader::GeoJSONReaderInternal::CanParseString(char*, Json::Value&)':
65 > vtkGeoJSONReader.cxx:(.text+0x2a66): undefined reference to `Json::Reader::parse(std::string const&, Json::Value&, bool)'
66 > vtkGeoJSONReader.cxx:(.text+0x2c74): undefined reference to `Json::Reader::getFormattedErrorMessages() const'
67 > collect2: error: ld returned 1 exit status
68 > make[2]: *** [IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/build.make:156: lib/libvtkIOGeoJSON.so.1] Error 1
69 > make[2]: Leaving directory '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
70 > make[1]: *** [CMakeFiles/Makefile2:5039: IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/all] Error 2
71 > make[1]: *** Waiting for unfinished jobs....
72 > [ 51%] Linking CXX shared library ../../lib/libvtkIOParallelXML.so
73 > cd /var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/IO/ParallelXML && /usr/bin/cmake -E cmake_link_script CMakeFiles/vtkIOParallelXML.dir/link.txt --verbose=1
74 > /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libvtkIOParallelXML.so.1 -o ../../lib/libvtkIOParallelXML.so.1 CMakeFiles/vtkIOParallelXML.dir/vtkXMLPDataSetWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPDataWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPImageDataWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPPolyDataWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPRectilinearGridWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPStructuredDataWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPStructuredGridWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPUnstructuredDataWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPUnstructuredGridWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPHierarchicalBoxDataWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPMultiBlockDataWriter.cxx.o CMakeFiles/vtkIOParallelXML.dir/vtkXMLPUniformGridAMRWriter.cxx.o -Wl,-rpath,/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/lib: ../../lib/libvtkIOXML.so.1 ../../lib/libvtkParallelCore.so.1 ../../lib/libvtkIOXMLParser.so.1 ../../lib/libvtkCommonExecutionModel.so.1 ../../lib/libvtkCommonDataModel.so.1 ../../lib/libvtkCommonTransforms.so.1 ../../lib/libvtkCommonMisc.so.1 ../../lib/libvtkCommonMath.so.1 ../../lib/libvtkCommonCore.so.1 ../../lib/libvtksys.so.1 -ldl -Wl,-rpath-link,/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/lib
75 > cd /var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/IO/ParallelXML && /usr/bin/cmake -E cmake_symlink_library ../../lib/libvtkIOParallelXML.so.1 ../../lib/libvtkIOParallelXML.so.1 ../../lib/libvtkIOParallelXML.so
76 > make[2]: Leaving directory '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
77 > [ 51%] Built target vtkIOParallelXML
78 > make[1]: Leaving directory '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
79 > make: *** [Makefile:130: all] Error 2
80 > * ERROR: sci-libs/vtk-7.1.0::gentoo failed (compile phase):
81 > * emake failed
82 > *
83 > * If you need support, post the output of `emerge --info '=sci-libs/vtk-7.1.0::gentoo'`,
84 > * the complete build log and the output of `emerge -pqv '=sci-libs/vtk-7.1.0::gentoo'`.
85 > * The complete build log is located at '/var/tmp/portage/sci-libs/vtk-7.1.0/temp/build.log'.
86 > * The ebuild environment file is located at '/var/tmp/portage/sci-libs/vtk-7.1.0/temp/environment'.
87 > * Working directory: '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
88 > * S: '/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0'
89 > !!! When you file a bug report, please include the following information:
90 > GENTOO_VM= CLASSPATH="" JAVA_HOME=""
91 > JAVACFLAGS="" COMPILER=""
92 >
93 > If needed I will post all log etc...but I dont want to logbomb the
94 > mailinglist in beforehand ;)
95 >
96 > Thank you very much for any help in advance!
97 > Cheers
98 > Meino
99 >
100 >
101 >