Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616962 - sci-chemistry/avogadro2-0.9.0 : CMake Error at /.../AvogadroLibsTargets.cmake:205 (message):
Summary: sci-chemistry/avogadro2-0.9.0 : CMake Error at /.../AvogadroLibsTargets.cmake...
Status: RESOLVED DUPLICATE of bug 624242
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-04-29 09:35 UTC by Toralf Förster
Modified: 2018-03-04 12:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.75 KB, text/plain)
2017-04-29 09:35 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,50.64 KB, text/plain)
2017-04-29 09:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,368.10 KB, text/plain)
2017-04-29 09:35 UTC, Toralf Förster
Details
environment (environment,119.14 KB, text/plain)
2017-04-29 09:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.83 KB, application/x-bzip)
2017-04-29 09:35 UTC, Toralf Förster
Details
sci-chemistry:avogadro2-0.9.0:20170429-092113.log (sci-chemistry:avogadro2-0.9.0:20170429-092113.log,4.44 KB, text/plain)
2017-04-29 09:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.04 KB, application/x-bzip)
2017-04-29 09:36 UTC, Toralf Förster
Details
fixes a cmake file to compile with gcc-6 and gcc-7 (avogadrolibs-gcc6.patch,625 bytes, patch)
2017-05-26 12:30 UTC, milan hodoscek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-04-29 09:35:39 UTC
-- 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
Comment 1 Toralf Förster gentoo-dev 2017-04-29 09:35:42 UTC
Created attachment 471256 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-04-29 09:35:45 UTC
Created attachment 471258 [details]
CMakeOutput.log
Comment 3 Toralf Förster gentoo-dev 2017-04-29 09:35:50 UTC
Created attachment 471260 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-04-29 09:35:53 UTC
Created attachment 471262 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-04-29 09:35:55 UTC
Created attachment 471264 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-04-29 09:35:59 UTC
Created attachment 471266 [details]
sci-chemistry:avogadro2-0.9.0:20170429-092113.log
Comment 7 Toralf Förster gentoo-dev 2017-04-29 09:36:02 UTC
Created attachment 471268 [details]
temp.tbz2
Comment 8 milan hodoscek 2017-05-26 12:30:57 UTC
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
Comment 9 milan hodoscek 2017-05-31 13:49:32 UTC
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.
Comment 10 Andreas Sturmlechner gentoo-dev 2018-03-04 12:33:28 UTC

*** This bug has been marked as a duplicate of bug 624242 ***