Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] FreeCAD again (or "still): VTK compile problems
Date: Sun, 07 May 2017 07:02:08
Message-Id: 20170507070153.lw2ixwtwzdxxmti5@solfire
1 Hi,
2
3 after trying to get FreeCAD working and after
4 getting some success (it runs when started by root)
5 I decided to recompile the whole stuff from ground
6 up to prevent to previously have a success by random,
7 which turns into an error later.
8
9 I emerged -C freecad and cleanup the rest. I even
10 removed according files below /usr/portage/distfiles
11 to really get "the pure geniune experience"...
12
13 ...it purely fails.
14
15 vtk does not longer compile. It tried it
16 with "factory setting" and with use
17 flags, which I found on the internet
18 when searching for "FreeCAD compile
19 problems". Both failed the same way.
20 I checked for enough space on my hd and
21 yes...it is enough.
22
23 Here is what I got:
24
25
26
27 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
28 CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `(anonymous namespace)::operator<<(vtkOStreamWrapper&, Json::Value const&)':
29 vtkGeoJSONFeature.cxx:(.text+0x107): undefined reference to `Json::StyledStreamWriter::StyledStreamWriter(std::string)'
30 CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `vtkGeoJSONFeature::ExtractGeoJSONFeatureGeometry(Json::Value const&, vtkPolyData*)':
31 vtkGeoJSONFeature.cxx:(.text+0x2d4f): undefined reference to `Json::Value::asString() const'
32 CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `vtkGeoJSONFeature::ExtractGeoJSONFeature(Json::Value const&, vtkPolyData*)':
33 vtkGeoJSONFeature.cxx:(.text+0x3444): undefined reference to `Json::Value::asString() const'
34 vtkGeoJSONFeature.cxx:(.text+0x3e9d): undefined reference to `Json::Value::asString() const'
35 CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `vtkGeoJSONFeature::PrintSelf(std::ostream&, vtkIndent)':
36 vtkGeoJSONFeature.cxx:(.text+0x448c): undefined reference to `Json::StyledStreamWriter::StyledStreamWriter(std::string)'
37 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*)':
38 vtkGeoJSONReader.cxx:(.text+0xbb3): undefined reference to `Json::Value::operator[](std::string const&) const'
39 vtkGeoJSONReader.cxx:(.text+0xc07): undefined reference to `Json::Value::asString() const'
40 vtkGeoJSONReader.cxx:(.text+0xd9b): undefined reference to `Json::FastWriter::write(Json::Value const&)'
41 CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function `vtkGeoJSONReader::GeoJSONReaderInternal::ParseRoot(Json::Value const&, vtkPolyData*, bool, char const*)':
42 vtkGeoJSONReader.cxx:(.text+0x1897): undefined reference to `Json::Value::asString() const'
43 CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function `vtkGeoJSONReader::GeoJSONReaderInternal::CanParseFile(char const*, Json::Value&)':
44 vtkGeoJSONReader.cxx:(.text+0x25ee): undefined reference to `Json::Reader::getFormattedErrorMessages() const'
45 CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function `vtkGeoJSONReader::GeoJSONReaderInternal::CanParseString(char*, Json::Value&)':
46 vtkGeoJSONReader.cxx:(.text+0x2a66): undefined reference to `Json::Reader::parse(std::string const&, Json::Value&, bool)'
47 vtkGeoJSONReader.cxx:(.text+0x2c74): undefined reference to `Json::Reader::getFormattedErrorMessages() const'
48 collect2: error: ld returned 1 exit status
49 make[2]: *** [IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/build.make:156: lib/libvtkIOGeoJSON.so.1] Error 1
50 make[2]: Leaving directory '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
51 make[1]: *** [CMakeFiles/Makefile2:5039: IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/all] Error 2
52 make[1]: *** Waiting for unfinished jobs....
53 [ 51%] Linking CXX shared library ../../lib/libvtkIOParallelXML.so
54 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
55 /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
56 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
57 make[2]: Leaving directory '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
58 [ 51%] Built target vtkIOParallelXML
59 make[1]: Leaving directory '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
60 make: *** [Makefile:130: all] Error 2
61 * ERROR: sci-libs/vtk-7.1.0::gentoo failed (compile phase):
62 * emake failed
63 *
64 * If you need support, post the output of `emerge --info '=sci-libs/vtk-7.1.0::gentoo'`,
65 * the complete build log and the output of `emerge -pqv '=sci-libs/vtk-7.1.0::gentoo'`.
66 * The complete build log is located at '/var/tmp/portage/sci-libs/vtk-7.1.0/temp/build.log'.
67 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/vtk-7.1.0/temp/environment'.
68 * Working directory: '/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
69 * S: '/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0'
70 !!! When you file a bug report, please include the following information:
71 GENTOO_VM= CLASSPATH="" JAVA_HOME=""
72 JAVACFLAGS="" COMPILER=""
73
74 If needed I will post all log etc...but I dont want to logbomb the
75 mailinglist in beforehand ;)
76
77 Thank you very much for any help in advance!
78 Cheers
79 Meino

Replies

Subject Author
Re: [gentoo-user] FreeCAD again (or "still): VTK compile problems Zhu Sha Zang <zhushazang@×××××××××.br>