cmake upgrade failure/success ?machine-dependant...

Gregory Dodwell gregreedee at gmail.com
Thu Nov 18 04:19:19 PST 2010


OSX 10.6.5 upgraded to latest Macports successfully on both machines (iMac
7,1; MacBookPro5,3).
Ran sudo port upgrade outdated with no failure on laptop. Same command
failed on iMac. (The iMac, being an older, non "Pro" machine cannot run OSX
in 64bit mode, despite similar Core2 Duo processor to laptop.)


Here's the terminal output:

bash-3.2$ sudo port upgrade outdated
--->  Computing dependencies for cmake
--->  Fetching cmake
--->  Verifying checksum(s) for cmake
--->  Extracting cmake
--->  Applying patches to cmake
--->  Configuring cmake
Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
Log for cmake is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>


Please see snippets from the main.log:

version:1
:msg:main --->  Computing dependencies for cmake:info:main .:debug:main
Searching for dependency: libidn
:debug:main Found Dependency: receipt exists for libidn
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:msg:main
:debug:main Executing org.macports.main (cmake)
:msg:main --->  Fetching cmake
:debug:fetch fetch phase started at Thu Nov 18 22:45:29 EST 2010
:debug:fetch Executing org.macports.fetch (cmake)
:msg:fetch --->  Verifying checksum(s) for cmake
:debug:checksum checksum phase started at Thu Nov 18 22:45:29 EST 2010
:debug:checksum Executing org.macports.checksum (cmake)
:info:checksum --->  Checksumming cmake-2.8.3.tar.gz
:debug:checksum Correct (md5) checksum for cmake-2.8.3.tar.gz
:debug:checksum Correct (sha1) checksum for cmake-2.8.3.tar.gz
:debug:checksum Correct (rmd160) checksum for cmake-2.8.3.tar.gz
:msg:checksum --->  Extracting cmake
:debug:extract extract phase started at Thu Nov 18 22:45:29 EST 2010
:debug:extract Executing org.macports.extract (cmake)
:info:extract --->  Extracting cmake-2.8.3.tar.gz
:debug:extract setting option extract.args to
'/opt/local/var/macports/distfiles/cmake/cmake-2.8.3.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/cmake/cmake-2.8.3.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Thu Nov 18 22:45:32 EST 2010
:debug:patch Executing org.macports.patch (cmake)
:msg:patch --->  Applying patches to cmake
:info:patch --->  Applying /opt/local/var/macports/sources/
rsync.macports.org/release/ports/devel/cmake/files/patch-CMakeFindFrameworks.cmake.diff
:debug:patch Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.3"
&& /usr/bin/patch -p0'
:info:patch patching file Modules/CMakeFindFrameworks.cmake
:debug:patch Executing proc-post-org.macports.patch-patch-0
:msg:patch --->  Configuring cmake
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Thu Nov 18 22:45:32 EST 2010
:debug:configure Executing org.macports.configure (cmake)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch
x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
CMAKE_PREFIX_PATH='/opt/local' CXX='/usr/bin/g++-4.2'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/.CC_PRINT_OPTIONS'
F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-O2
-m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c'
CMAKE_INCLUDE_PATH='/opt/local/include/ncurses'
CMAKE_LIBRARY_PATH='/opt/local/lib' FFLAGS='-O2 -m64' OBJCFLAGS='-O2 -arch
x86_64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.3"
&& ./configure --prefix=/opt/local --mandir=/share/man
--docdir=/share/doc/cmake --parallel=2
--init=/opt/local/var/macports/sources/
rsync.macports.org/release/ports/devel/cmake/files/macports.cmake'
:info:configure ---------------------------------------------
:info:configure CMake 2.8.3, Copyright 2000-2009 Kitware, Inc.
:info:configure C compiler on this system is: /usr/bin/gcc-4.2 -O2 -arch
x86_64
:info:configure C++ compiler on this system is: /usr/bin/g++-4.2 -O2 -arch
x86_64
:info:configure Makefile processor on this system is: make
:info:configure /usr/bin/g++-4.2 is GNU compiler
:info:configure /usr/bin/g++-4.2 has STL in std:: namespace
:info:configure /usr/bin/g++-4.2 has ANSI streams
:info:configure /usr/bin/g++-4.2 has streams in std:: namespace
:info:configure /usr/bin/g++-4.2 has sstream
:info:configure /usr/bin/g++-4.2 has operator!=(string, char*)
:info:configure /usr/bin/g++-4.2 has stl iterator_traits
:info:configure /usr/bin/g++-4.2 has standard template allocator
:info:configure /usr/bin/g++-4.2 has allocator<>::rebind<>
:info:configure /usr/bin/g++-4.2 does not have non-standard
allocator<>::max_size argument
:info:configure /usr/bin/g++-4.2 has stl containers supporting allocator
objects
:info:configure /usr/bin/g++-4.2 has header cstddef
:info:configure /usr/bin/g++-4.2 requires template friends to use <>
:info:configure /usr/bin/g++-4.2 supports member templates
:info:configure /usr/bin/g++-4.2 has standard template specialization syntax
:info:configure /usr/bin/g++-4.2 has argument dependent lookup
:info:configure /usr/bin/g++-4.2 does not have struct stat with st_mtim
member
:info:configure /usr/bin/g++-4.2 has ios::binary openmode
:info:configure /usr/bin/g++-4.2 has ANSI for scoping
:info:configure ---------------------------------------------

<snip>

System.o -o cmake
:info:configure loading initial cache file
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.3/Bootstrap.cmk/InitialCacheFlags.cmake
:info:configure -- The C compiler identification is GNU
:info:configure -- The CXX compiler identification is GNU
:info:configure -- Checking whether C compiler has -isysroot
:info:configure -- Checking whether C compiler has -isysroot - yes
:info:configure -- Checking whether C compiler supports OSX deployment
target flag
:info:configure -- Checking whether C compiler supports OSX deployment
target flag - yes
:info:configure -- Check for working C compiler: /usr/bin/gcc-4.2
:info:configure CMake Error: Generator: execution of make failed. Make
command was: /opt/local/bin/gmake "cmTryCompileExec/fast"
:info:configure -- Check for working C compiler: /usr/bin/gcc-4.2 -- broken
:info:configure CMake Error at Modules/CMakeTestCCompiler.cmake:52
(MESSAGE):
:info:configure   The C compiler "/usr/bin/gcc-4.2" is not able to compile a
simple test
:info:configure   program.
:info:configure
:info:configure   It fails with the following output:
:info:configure
:info:configure    Change Dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.3/CMakeFiles/CMakeTmp
:info:configure
:info:configure
:info:configure
:info:configure   Run Build Command:/opt/local/bin/gmake
"cmTryCompileExec/fast"
:info:configure
:info:configure   dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
:info:configure
:info:configure     Referenced from: /opt/local/bin/gmake
:info:configure     Reason: no suitable image found.  Did find:
:info:configure
:info:configure   /opt/local/lib/libintl.8.dylib: mach-o, but wrong
architecture
:info:configure
:info:configure   SIGTRAP
:info:configure
:info:configure   Generator: execution of make failed.  Make command was:
:info:configure   /opt/local/bin/gmake "cmTryCompileExec/fast"
:info:configure
:info:configure
:info:configure
:info:configure
:info:configure
:info:configure   CMake will not be able to correctly generate this project.
:info:configure Call Stack (most recent call first):
:info:configure   CMakeLists.txt:13 (PROJECT)
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure ---------------------------------------------
:info:configure Error when bootstrapping CMake:
:info:configure Problem while running initial CMake
:info:configure ---------------------------------------------
:info:configure shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.3"
&& ./configure --prefix=/opt/local --mandir=/share/man
--docdir=/share/doc/cmake --parallel=2
--init=/opt/local/var/macports/sources/
rsync.macports.org/release/ports/devel/cmake/files/macports.cmake " returned
error 11
:error:configure Target org.macports.configure returned: configure failure:
shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log
for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for cmake):
org.macports.destroot org.macports.configure org.macports.build
:notice:configure Log for cmake is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/main.log

Both machines have latest XCode with gcc 4.2.1
Any clues?

Greg./
gregreedee at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101118/018b54ff/attachment.html>


More information about the macports-users mailing list