FYI - MacPorts selfupdate fails… v 1.9.2 to 2.0.3 .. no log file produced (in an obvious place) w Xcode 4.0.2 - OSX 10.7.1

William H. Magill magill at me.com
Mon Sep 12 12:52:43 PDT 2011


Note: this particular error happened before I realized I did not upgrade Xcode on this machine…. was Xcode 4.0.2 -- OSX 10.7.1. (However, it failed again after updating to Xcode 4.1.)
This posting is simply "for the record" -- that the message needs to be expanded :).

outpost> sudo port selfupdate
Password:
Warning: port definitions are more than two weeks old, consider using selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 2.0.3 downloaded.
--->  MacPorts base is outdated, installing new version 2.0.3
Installing new MacPorts release in /opt/local as magill:admin; permissions 0755; Tcl-Package in /Library/Tcl

Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)

….. Could not find any log …. in  /opt/local or in /var/log or /library/logs

Finally found: 
        /opt/local/var/macports/sources/rsync.macports.org/release/base/config.log

I guess that is the log being talked about as there are no others in /opt/local according to "find"… however it doesn't say anything other than to look for the errors in the ?same? file.
[Annoying … the Appstore  download of the lion Xcode4 update … doesn't do anything. You have to launch the installer manually.]
-----------------<cut here>-----------------------
outpost> 
[/opt/local] magill 
outpost> more  ./var/macports/sources/rsync.macports.org/release/base/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by MacPorts configure 2.0.3, which was
generated by GNU Autoconf 2.68.  Invocation command line was

$ ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=magill --with-install-group=admin --with-directory-mode=0755 --enable-readline

## --------- ##
## Platform. ##
## --------- ##

hostname = outpostmcgillsocietyorg.local
uname -m = x86_64
uname -r = 11.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
      Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 4.00 gigabytes
Default processor set: 84 tasks, 355 threads, 8 processors
Load average: 2.14, Mach factor: 5.85
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2655: checking build system type
configure:2669: result: i386-apple-darwin11.1.0
configure:2689: checking host system type
configure:2702: result: i386-apple-darwin11.1.0
configure:2722: checking target system type
configure:2735: result: i386-apple-darwin11.1.0
configure:2763: checking MacPorts version
configure:2766: result: 2.0.3
configure:2799: checking for sw_vers
configure:2817: found /usr/bin/sw_vers
configure:2829: result: /usr/bin/sw_vers
configure:2839: checking for defaults
configure:2857: found /usr/bin/defaults
configure:2869: result: /usr/bin/defaults
configure:2879: checking for xcode-select
configure:2912: result: no
configure:2919: checking Mac OS X version
configure:2922: result: 10.7.1
configure:2957: checking Xcode version
configure:2964: result: 4.0.2
configure:3036: checking for gcc
configure:3063: result: /usr/bin/llvm-gcc-4.2
configure:3292: checking for C compiler version
configure:3301: /usr/bin/llvm-gcc-4.2 --version >&5
./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory
configure:3312: $? = 127
configure:3301: /usr/bin/llvm-gcc-4.2 -v >&5
./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory
configure:3312: $? = 127
configure:3301: /usr/bin/llvm-gcc-4.2 -V >&5
./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory
configure:3312: $? = 127
configure:3301: /usr/bin/llvm-gcc-4.2 -qversion >&5
./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory
configure:3312: $? = 127
configure:3332: checking whether the C compiler works
configure:3354: /usr/bin/llvm-gcc-4.2    conftest.c  >&5
./configure: line 3356: /usr/bin/llvm-gcc-4.2: No such file or directory
configure:3358: $? = 127
configure:3396: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.0.3"
| #define PACKAGE_STRING "MacPorts 2.0.3"
| #define PACKAGE_BUGREPORT "macports-dev at lists.macosforge.org"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3401: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
configure:3403: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-apple-darwin11.1.0
ac_cv_env_BSDMAKE_set=
ac_cv_env_BSDMAKE_value=
ac_cv_env_BZIP2_set=
ac_cv_env_BZIP2_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/llvm-gcc-4.2
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CVS_set=
ac_cv_env_CVS_value=
ac_cv_env_GNUMAKE_set=
ac_cv_env_GNUMAKE_value=
ac_cv_env_GNUTAR_set=
ac_cv_env_GNUTAR_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LZMA_set=
ac_cv_env_LZMA_value=
ac_cv_env_MAKE_set=
ac_cv_env_MAKE_value=
ac_cv_env_MTREE_set=
ac_cv_env_MTREE_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJCPP_set=
ac_cv_env_OBJCPP_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_OPENSSL_set=
ac_cv_env_OPENSSL_value=
ac_cv_env_OPEN_set=
ac_cv_env_OPEN_value=
ac_cv_env_RSYNC_set=
ac_cv_env_RSYNC_value=
ac_cv_env_SED_set=
ac_cv_env_SED_value=
ac_cv_env_SVN_set=
ac_cv_env_SVN_value=
ac_cv_env_TAR_set=
ac_cv_env_TAR_value=
ac_cv_env_XAR_set=
ac_cv_env_XAR_value=
ac_cv_env_XZ_set=
ac_cv_env_XZ_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-apple-darwin11.1.0
ac_cv_path_DEFAULTS=/usr/bin/defaults
ac_cv_path_SW_VERS=/usr/bin/sw_vers
ac_cv_prog_ac_ct_CC=/usr/bin/llvm-gcc-4.2
ac_cv_target=i386-apple-darwin11.1.0

## ----------------- ##
## Output variables. ##
## ----------------- ##

BSDMAKE=''
BZIP2=''
BZR=''
CC='/usr/bin/llvm-gcc-4.2'
CFLAGS=''
CFLAGS_LIBCURL=''
CFLAGS_QUICHEEATERS=''
CFLAGS_SQLITE3=''
CFLAGS_WERROR=''
CHOWN=''
CP=''
CPIO=''
CPP=''
CPPFLAGS=''
CURL_CONFIG=''
CVS=''
DEFAULTS='/usr/bin/defaults'
DEFS=''
DEVELOPER_DIR='/Developer'
DIFF=''
DSCL=''
DSEDITGROUP=''
DSTGRP=''
DSTMODE=''
DSTUSR=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_PROGS=''
FILE=''
GIT=''
GNUMAKE=''
GNUPATCH=''
GNUTAR=''
GREP=''
GZIP=''
HAVE_FRAMEWORK_COREFOUNDATION=''
HAVE_FRAMEWORK_IOKIT=''
HAVE_FRAMEWORK_SYSTEMCONFIGURATION=''
HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER=''
HAVE_LAUNCHD=''
HDIUTIL=''
HG=''
INCLUDES=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LAUNCHCTL=''
LDFLAGS=''
LDFLAGS_LIBCURL=''
LDFLAGS_SQLITE3=''
LIBOBJS=''
LIBS=''
LIPO=''
LN_S=''
LSBOM=''
LTLIBOBJS=''
LZMA=''
MACPORTS_VERSION='2.0.3'
MAKE=''
MD5_LIBS=''
MKBOM=''
MPAPPLICATIONSDIR=''
MPCONFIGDIR=''
MPCONFIGDIR_EXPANDED=''
MPFRAMEWORKSDIR=''
MTREE=''
OBJC=''
OBJCFLAGS=''
OBJCPP=''
OBJC_FOUNDATION=''
OBJC_FOUNDATION_CPPFLAGS=''
OBJC_FOUNDATION_LDFLAGS=''
OBJC_FOUNDATION_LIBS=''
OBJC_LIBS=''
OBJC_PTHREAD_CFLAGS=''
OBJC_PTHREAD_LIBS=''
OBJC_RUNTIME=''
OBJC_RUNTIME_FLAGS=''
OBJEXT=''
OPEN=''
OPENSSL=''
OUR_INCLUDED_PACKAGES=''
PACKAGE_BUGREPORT='macports-dev at lists.macosforge.org'
PACKAGE_NAME='MacPorts'
PACKAGE_STRING='MacPorts 2.0.3'
PACKAGE_TARNAME='macports'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.3'
PATCH=''
PATHCONF=''
PATH_CLEANED='/bin:/sbin:/usr/bin:/usr/sbin'
PATH_SEPARATOR=':'
PAX=''
PKG_CONFIG=''
PORTSDIR=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
READLINE_LIBS=''
READLINK_IS_NOT_P1003_1A=''
RMDIR=''
RSYNC=''
RUNUSR=''
SED=''
SED_EXT=''
SET_MAKE=''
SHELL='/bin/sh'
SHLIB_CFLAGS=''
SHLIB_LD=''
SHLIB_LDFLAGS=''
SHLIB_SUFFIX=''
SQLITE3_TCL_DIR=''
STLIB_LD=''
SVN=''
SW_VERS='/usr/bin/sw_vers'
TAR=''
TAR_CMD=''
TAR_Q=''
TCLSH=''
TCL_BIN_DIR=''
TCL_CC=''
TCL_DEFS=''
TCL_INCLUDES=''
TCL_LIB_FILE=''
TCL_LIB_FLAG=''
TCL_LIB_SPEC=''
TCL_PACKAGE_DIR=''
TCL_SRC_DIR=''
TCL_STUB_LIB_FILE=''
TCL_STUB_LIB_FLAG=''
TCL_STUB_LIB_SPEC=''
TCL_VERSION=''
UNIVERSAL_ARCHS=''
UNZIP=''
XAR=''
XCODEBUILD=''
XCODE_SELECT=''
XZ=''
ZIP=''
ac_ct_CC='/usr/bin/llvm-gcc-4.2'
ac_ct_OBJC=''
acx_pthread_config=''
bindir='${exec_prefix}/bin'
build='i386-apple-darwin11.1.0'
build_alias=''
build_cpu='i386'
build_os='darwin11.1.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-apple-darwin11.1.0'
host_alias=''
host_cpu='i386'
host_os='darwin11.1.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
localstatedir_expanded=''
macports_tcl_dir=''
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/local'
prefix_expanded=''
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target='i386-apple-darwin11.1.0'
target_alias=''
target_cpu='i386'
target_os='darwin11.1.0'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "MacPorts"
#define PACKAGE_TARNAME "macports"
#define PACKAGE_VERSION "2.0.3"
#define PACKAGE_STRING "MacPorts 2.0.3"
#define PACKAGE_BUGREPORT "macports-dev at lists.macosforge.org"
#define PACKAGE_URL ""

configure: exit 77
[/opt/local] magill 
-----------------------------<cut here>--------------------------

T.T.F.N.
William H. Magill
# iMac11,3 Core i7 [2.936GHz - 4 GB 1333] OS X 10.7.1
# iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.8
# MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.8
# Mac mini Core Duo [1.66 Ghz - 2 GB 667]OS X 10.7.1
# Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11 
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a 
# XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3
# XP1000 [Alpha 21264-A (EV6-7) - 256 meg] FreeBSD 5.3
magill at mcgillsociety.org
magill at me.com
whmagill at gmail.com


More information about the macports-users mailing list