-- Found Git: /usr/bin/git (found version "2.12.2") -- Could not use git to determine source version, using version 0.9.0 CMake Error at /usr/lib64/cmake/avogadrolibs/AvogadroLibsTargets.cmake:205 (message): The imported target "jsoncpp" references the file "/usr/lib64/libjsoncpp.a" ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: plasma-systemd_20170420-191853 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) [2] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: 1) IcedTea JDK 7.2.6.9 [icedtea-7] 2) IcedTea JDK 7.2.6.9 [icedtea-bin-7] *) IcedTea JDK 3.3.0 [icedtea-bin-8] 4) JamVM JDK 2.0.0 [jamvm] Available Java Virtual Machines: [1] icedtea-7 [2] icedtea-bin-7 [3] icedtea-bin-8 system-vm [4] jamvm
Created attachment 471256 [details] emerge-info.txt
Created attachment 471258 [details] CMakeOutput.log
Created attachment 471260 [details] emerge-history.txt
Created attachment 471262 [details] environment
Created attachment 471264 [details] etc.portage.tbz2
Created attachment 471266 [details] sci-chemistry:avogadro2-0.9.0:20170429-092113.log
Created attachment 471268 [details] temp.tbz2
Created attachment 474360 [details, diff] fixes a cmake file to compile with gcc-6 and gcc-7 This patch fixes the build of avogadrolibs, I think both 0.8.0 and 0.9.0 versions. However there is a problem with the cmake refereing for /usr/lib64/libjson.a and /usr/lib64/libjsoncpp.a The/usr/lib64/libjson.a problem may be fixed by making a link to it from libjson-c.a The /usr/lib64/libjsoncpp.a problem may be fixed by deleting the line -DBUILD_STATIC_LIBS=OFF in jsoncpp-1.8.0.build Then also avogadro2 will build
The text in comment #8 actually belongs to the bug (is copied from there) Bug #588706 (avogadrolibs bug) but fixes also the problem for the avogadro2 so I left it here.
*** This bug has been marked as a duplicate of bug 624242 ***