My flags to freecad and vtk, by now. Maybe usefull.

media-gfx/freecad
Installed versions: 0.16^m(03:53:26 AM 01/23/2017)(PYTHON_TARGETS="python2_7")

sci-libs/vtk
Installed versions: 6.1.0-r4^t(02:04:31 AM 12/28/2016)(R X boost ffmpeg imaging java mpi python qt5 rendering smp tbb tcl theora tk -all-modules -aqua -cg -doc -examples -gdal -json -kaapi -mysql -odbc -offscreen -postgres -test -views -web -xdmf2 ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7" VIDEO_CARDS="-nvidia")

By the way. I think is better you put a bug report in bugs.gentoo.org.

Best regards.


On 05/07/2017 03:01 AM, tu...@posteo.de wrote:
Hi,

after trying to get FreeCAD working and after
getting some success (it runs when started by root)
I decided to recompile the whole stuff from ground
up to prevent to previously have a success by random,
which turns into an error later.

I emerged -C freecad and cleanup the rest. I even
removed according files below /usr/portage/distfiles
to really get "the pure geniune experience"...

...it purely fails.

vtk does not longer compile. It tried it
with "factory setting" and with use
flags, which I found on the internet
when searching for "FreeCAD compile
problems". Both failed the same way.
I checked for enough space on my hd and
yes...it is enough.

Here is what I got:



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
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `(anonymous 
namespace)::operator<<(vtkOStreamWrapper&, Json::Value const&)':
vtkGeoJSONFeature.cxx:(.text+0x107): undefined reference to 
`Json::StyledStreamWriter::StyledStreamWriter(std::string)'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function 
`vtkGeoJSONFeature::ExtractGeoJSONFeatureGeometry(Json::Value const&, 
vtkPolyData*)':
vtkGeoJSONFeature.cxx:(.text+0x2d4f): undefined reference to 
`Json::Value::asString() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function 
`vtkGeoJSONFeature::ExtractGeoJSONFeature(Json::Value const&, vtkPolyData*)':
vtkGeoJSONFeature.cxx:(.text+0x3444): undefined reference to 
`Json::Value::asString() const'
vtkGeoJSONFeature.cxx:(.text+0x3e9d): undefined reference to 
`Json::Value::asString() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function 
`vtkGeoJSONFeature::PrintSelf(std::ostream&, vtkIndent)':
vtkGeoJSONFeature.cxx:(.text+0x448c): undefined reference to 
`Json::StyledStreamWriter::StyledStreamWriter(std::string)'
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*)':
vtkGeoJSONReader.cxx:(.text+0xbb3): undefined reference to 
`Json::Value::operator[](std::string const&) const'
vtkGeoJSONReader.cxx:(.text+0xc07): undefined reference to 
`Json::Value::asString() const'
vtkGeoJSONReader.cxx:(.text+0xd9b): undefined reference to 
`Json::FastWriter::write(Json::Value const&)'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function 
`vtkGeoJSONReader::GeoJSONReaderInternal::ParseRoot(Json::Value const&, 
vtkPolyData*, bool, char const*)':
vtkGeoJSONReader.cxx:(.text+0x1897): undefined reference to 
`Json::Value::asString() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function 
`vtkGeoJSONReader::GeoJSONReaderInternal::CanParseFile(char const*, 
Json::Value&)':
vtkGeoJSONReader.cxx:(.text+0x25ee): undefined reference to 
`Json::Reader::getFormattedErrorMessages() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function 
`vtkGeoJSONReader::GeoJSONReaderInternal::CanParseString(char*, Json::Value&)':
vtkGeoJSONReader.cxx:(.text+0x2a66): undefined reference to 
`Json::Reader::parse(std::string const&, Json::Value&, bool)'
vtkGeoJSONReader.cxx:(.text+0x2c74): undefined reference to 
`Json::Reader::getFormattedErrorMessages() const'
collect2: error: ld returned 1 exit status
make[2]: *** [IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/build.make:156: 
lib/libvtkIOGeoJSON.so.1] Error 1
make[2]: Leaving directory 
'/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
make[1]: *** [CMakeFiles/Makefile2:5039: 
IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 51%] Linking CXX shared library ../../lib/libvtkIOParallelXML.so
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
/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
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
make[2]: Leaving directory 
'/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
[ 51%] Built target vtkIOParallelXML
make[1]: Leaving directory 
'/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
make: *** [Makefile:130: all] Error 2
  * ERROR: sci-libs/vtk-7.1.0::gentoo failed (compile phase):
  *   emake failed
  *
  * If you need support, post the output of `emerge --info 
'=sci-libs/vtk-7.1.0::gentoo'`,
  * the complete build log and the output of `emerge -pqv 
'=sci-libs/vtk-7.1.0::gentoo'`.
  * The complete build log is located at 
'/var/tmp/portage/sci-libs/vtk-7.1.0/temp/build.log'.
  * The ebuild environment file is located at 
'/var/tmp/portage/sci-libs/vtk-7.1.0/temp/environment'.
  * Working directory: 
'/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
  * S: '/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""

If needed I will post all log etc...but I dont want to logbomb the
mailinglist in beforehand ;)

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






Reply via email to