Bug 222947 - sci-chemistry/avogadro-0.8.0 fails to emerge with a cmake error
Bug#: 222947 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cryos@gentoo.org Reported By: urcindalo@gmail.com
Component: Applications
URL: 
Summary: sci-chemistry/avogadro-0.8.0 fails to emerge with a cmake error
Keywords:  
Status Whiteboard: 
Opened: 2008-05-20 11:00 0000
Description:   Opened: 2008-05-20 11:00 0000
When updating my mostly stable amd64 box today, avogadro 0.8.0 failed to
emerge:
====
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
CMake Error: PkgConfig_DIR is not set.  It must be set to the directory
containing PkgConfigConfig.cmake in order to use PkgConfig.
-- Configuring done
 *
 * ERROR: sci-chemistry/avogadro-0.8.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  780:  Called die
 * The specific snippet of code:
 *       cmake -DCMAKE_INSTALL_PREFIX=/usr
-DLIBRARY_OUTPUT_PATH=PROJECT_BINARY_DIR/$(get_libdir)
-DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON=${USEPYTHON}
-DLIB_INSTALL_DIR=$(get_libdir) -DCMAKE_C_COMPILER=$(type -p $(tc-getCC))
-DCMAKE_CXX_COMPILER=$(type -p $(tc-getCXX)) || die "cmake failed";
 *  The die message:
 *   cmake failed
====

I tried re-emerging dev-util/cmake-2.4.6-r1, to no avail.

Reproducible: Always

------- Comment #1 From Emil Jensen 2008-05-21 04:14:00 0000 -------
I am also on amd64 and get the same result.

------- Comment #2 From Markus Dittrich 2008-05-21 10:44:50 0000 -------
Everything works fine for me using dev-util/cmake-2.4.8.
Could you give this version a try?

Thanks,
Markus

------- Comment #3 From Marcus D. Hanwell 2008-05-21 20:44:49 0000 -------
May be I need to bump the CMake requirement if this is the case - didn't
realise.

------- Comment #4 From Marcus D. Hanwell 2008-05-21 21:21:53 0000 -------
I have bumped the dependency to cmake-2.4.8. Hopefully this has resolved your
issue. Please reopen if your problem persists.