mxcl/homebrew — Issue #8842: generatorrunner faild to upgrade on Lion
Author: Carreau
Created: 2011-11-28 15:19:05+00:00
State: open

Cmake can handle `ApiExptractor` until 0.10.7, but 0.10.8 installed (o_O ?) so failed to `find_package` (c9a680ba790e5b9)

Interseting(?) part of the log :

```
==> Upgrading 3 outdated packages, with result:
generatorrunner 0.6.14, [...]
[...]

-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.7.4", required is "4.5.0")
CMake Error at CMakeLists.txt:6 (find_package):
Could not find a configuration file for package "ApiExtractor" that is
compatible with requested version "0.10.8".

The following configuration files were considered but not accepted:

/usr/local/lib/cmake/ApiExtractor-0.10.7/ApiExtractorConfig.cmake, version: 0.10.7

-- sphinx-build - not found! doc target disabled
CMake Error at tests/test_generator/CMakeLists.txt:15 (get_filename_component):
get_filename_component called with incorrect number of arguments
```

Full log.

```
==> Upgrading 3 outdated packages, with result:
generatorrunner 0.6.14, shiboken 1.0.9, pyside 1.0.8
==> Upgrading generatorrunner
==> Downloading http://pyside.org/files/generatorrunner-0.6.14.tar.bz2
File already downloaded in /Users/bussonniermatthias/Library/Caches/Homebrew
==> cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/generatorrunner/0.6.14' -DCMAKE_BUILD_TYPE=None -Wno-dev
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/llvm-gcc
-- Check for working C compiler: /usr/bin/llvm-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/llvm-g++
-- Check for working CXX compiler: /usr/bin/llvm-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.7.4", required is "4.5.0")
CMake Error at CMakeLists.txt:6 (find_package):
Could not find a configuration file for package "ApiExtractor" that is
compatible with requested version "0.10.8".

The following configuration files were considered but not accepted:

/usr/local/lib/cmake/ApiExtractor-0.10.7/ApiExtractorConfig.cmake, version: 0.10.7

-- sphinx-build - not found! doc target disabled
CMake Error at tests/test_generator/CMakeLists.txt:15 (get_filename_component):
get_filename_component called with incorrect number of arguments

-- Configuring incomplete, errors occurred!
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/generatorrunner.rb#L14
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: c9a680ba790e5b97cc750ae799f6cdc52f39a916
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1-163.7.1
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
MAKEFLAGS: -j4
```