[MacPorts] #34992: selfupdate fails: trying to use another username as argument

MacPorts noreply at macports.org
Wed Jun 27 14:32:18 PDT 2012


#34992: selfupdate fails: trying to use another username as argument
-----------------------------------+----------------------------------------
  Reporter:  spam4scott@…          |       Owner:  macports-tickets@…                   
      Type:  defect                |      Status:  closed                               
  Priority:  Normal                |   Milestone:                                       
 Component:  base                  |     Version:  2.1.1                                
Resolution:  worksforme            |    Keywords:  selfupdate                           
      Port:                        |  
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => worksforme
  * component:  ports => base


Old description:

> Hi.  The resolved tickets I've found related to this all seem to have
> been resolved by the user updating their version of XCode, but I have the
> latest XCode (4.3.3) and OS 10.7.4.
>

> % sudo port -v selfupdate
> --->  Updating MacPorts base sources using rsync
> receiving file list ... done
>
> sent 36 bytes  received 69 bytes  70.00 bytes/sec
> total size is 3539456  speedup is 33709.10
> receiving file list ... done
>
> sent 36 bytes  received 76 bytes  74.67 bytes/sec
> total size is 512  speedup is 4.57
> MacPorts base version 2.0.4 installed,
> MacPorts base version 2.1.1 downloaded.
> --->  Updating the ports tree
> Synchronizing local ports tree from
> rsync://rsync.macports.org/release/ports/
> receiving file list ... done
>
> sent 53 bytes  received 600044 bytes  240038.80 bytes/sec
> total size is 35463195  speedup is 59.10
> receiving file list ... done
>
> sent 36 bytes  received 70 bytes  212.00 bytes/sec
> total size is 8595928  speedup is 81093.66
> --->  MacPorts base is outdated, installing new version 2.1.1
> Installing new MacPorts release in /opt/local as andrewlove:1000;
> permissions 0755; Tcl-Package in /Library/Tcl
>
> checking build system type... x86_64-apple-darwin11.4.0
> checking host system type... x86_64-apple-darwin11.4.0
> checking target system type... x86_64-apple-darwin11.4.0
> checking MacPorts version... 2.1.1
> checking for sw_vers... /usr/bin/sw_vers
> checking for defaults... /usr/bin/defaults
> checking for xcode-select... /usr/bin/xcode-select
> checking Mac OS X version... 10.7.4
> checking Xcode location... /Applications/Xcode.app/Contents/Developer
> checking Xcode version... 4.3.3
> checking for gcc... /usr/bin/cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/cc accepts -g... yes
> checking for /usr/bin/cc option to accept ISO C89... none needed
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking whether we are using the GNU Objective C compiler... yes
> checking whether gcc accepts -g... yes
> checking for bsdmake... /usr/bin/bsdmake
> checking for bzip2... /usr/bin/bzip2
> checking for bzr... no
> checking for chown... /usr/sbin/chown
> checking for cp... /bin/cp
> checking for cpio... /usr/bin/cpio
> checking for cvs... /usr/bin/cvs
> checking for diff... /usr/bin/diff
> checking for dscl... /usr/bin/dscl
> checking for dseditgroup... /usr/sbin/dseditgroup
> checking for file... /usr/bin/file
> checking for git... /usr/bin/git
> checking for gnumake... /usr/bin/gnumake
> checking for gnupatch... no
> checking for gpatch... no
> checking for gnutar... /usr/bin/gnutar
> checking for gzip... /usr/bin/gzip
> checking for hdiutil... /usr/bin/hdiutil
> checking for hg... no
> checking for launchctl... /bin/launchctl
> checking for lipo... /usr/bin/lipo
> checking for lsbom... /usr/bin/lsbom
> checking for lzma... no
> checking for make... /usr/bin/make
> checking for mdfind... /usr/bin/mdfind
> checking for mdls... /usr/bin/mdls
> checking for mkbom... /usr/bin/mkbom
> checking for mtree... /usr/sbin/mtree
> checking for open... /usr/bin/open
> checking for openssl... /usr/bin/openssl
> checking for patch... /usr/bin/patch
> checking for pax... /bin/pax
> checking for rmdir... /bin/rmdir
> checking for rsync... /usr/bin/rsync
> checking for sed... /usr/bin/sed
> checking for svn... /usr/bin/svn
> checking for swig... no
> checking for tar... /usr/bin/tar
> checking for unzip... /usr/bin/unzip
> checking for xar... /usr/bin/xar
> checking for xcodebuild... /usr/bin/xcodebuild
> checking for xcrun... /usr/bin/xcrun
> checking for xz... no
> checking for zip... /usr/bin/zip
> checking for launchd... yes
> checking for sed... (cached) /usr/bin/sed
> checking which sed flag to use for extended regexp... -E (BSD)
> checking for tar... (cached) /usr/bin/tar
> checking whether tar supports -q... yes (bsdtar)
> checking for tar... (cached) /usr/bin/tar
> checking for gnutar... (cached) /usr/bin/gnutar
> checking for which tar variant to use... /usr/bin/gnutar
> checking for /usr/bin/gnutar --no-same-owner support... yes
> checking for patch... (cached) /usr/bin/patch
> checking for gpatch... no
> checking for GNU (FSF) patch... /usr/bin/patch
> checking how to mark unused variables...
> checking for gcc symbol visibility attribute...
> __attribute__((visibility("hidden")))
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads...
> -D_THREAD_SAFE
> checking how to run the Objective C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking objc/objc.h usability... yes
> checking objc/objc.h presence... yes
> checking for objc/objc.h... yes
> checking if linking libobjc requires pthreads... no
> checking for Apple Objective-C runtime... yes
> checking for GNU Objective C runtime... no
> configure: Using Apple Objective-C runtime
> checking for Apple Foundation library... yes
> configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your
> environment, preventing the use of GNUstep's Foundation library
> configure: Using Apple Foundation library
> checking for CoreFoundation framework... yes
> checking for SystemConfiguration framework... yes
> checking for IOKit framework... yes
> checking for CFNotificationCenterGetDarwinNotifyCenter... yes
> checking for whether we will build daemondo... yes
> checking for ports tree... configure: WARNING: No ports tree found
> checking for MacPorts config directory... ${sysconfdir}/macports
> checking for install user... andrewlove
> checking for install group... 1000
> checking for macports user... macports
> checking what permissions to use for installation directories... 755
> checking for Applications installation directory...
> ~andrewlove/Applications/MacPorts
> checking for Frameworks installation directory...
> /opt/local/Library/Frameworks
> checking for Universal CPU architectures... x86_64 i386
> checking how to run the C preprocessor... /usr/bin/cc -E
> checking for ANSI C header files... (cached) yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking paths.h usability... yes
> checking paths.h presence... yes
> checking for paths.h... yes
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking crt_externs.h usability... yes
> checking crt_externs.h presence... yes
> checking for crt_externs.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sys/fcntl.h usability... yes
> checking sys/fcntl.h presence... yes
> checking for sys/fcntl.h... yes
> checking sys/cdefs.h usability... yes
> checking sys/cdefs.h presence... yes
> checking for sys/cdefs.h... yes
> checking err.h usability... yes
> checking err.h presence... yes
> checking for err.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/sysctl.h usability... yes
> checking sys/sysctl.h presence... yes
> checking for sys/sysctl.h... yes
> checking readline/readline.h usability... yes
> checking readline/readline.h presence... yes
> checking for readline/readline.h... yes
> checking readline/history.h usability... yes
> checking readline/history.h presence... yes
> checking for readline/history.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking sys/paths.h usability... yes
> checking sys/paths.h presence... yes
> checking for sys/paths.h... yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking for bzero... yes
> checking for memset... yes
> checking for fgetln... yes
> checking for lockf... yes
> checking for flock... yes
> checking for setmode... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for strlcpy... yes
> checking for copyfile... yes
> checking for clearenv... no
> checking for sysctlbyname... yes
> checking if readlink conforms to POSIX 1003.1a... yes
> checking CommonCrypto/CommonDigest.h usability... yes
> checking CommonCrypto/CommonDigest.h presence... yes
> checking for CommonCrypto/CommonDigest.h... yes
> checking for readline in -lreadline... yes
> checking whether rl_username_completion_function is declared... no
> checking whether rl_filename_completion_function is declared... yes
> checking whether rl_completion_matches is declared... yes
> checking whether username_completion_function is declared... yes
> checking whether filename_completion_function is declared... yes
> checking whether completion_matches is declared... yes
> checking for Tcl configuration... found /usr/lib/tclConfig.sh
> checking for existence of /usr/lib/tclConfig.sh... loading
> checking for Tcl public headers... /usr/include
> checking for tclsh... /usr/bin/tclsh
> checking for Tcl package directory... /Library/Tcl
> checking whether tclsh was compiled with threads... yes
> checking for curl-config... /usr/bin/curl-config
> checking sqlite3.h usability... yes
> checking sqlite3.h presence... yes
> checking for sqlite3.h... yes
> checking sqlite3ext.h usability... yes
> checking sqlite3ext.h presence... yes
> checking for sqlite3ext.h... yes
> checking for Tcl sqlite3 location... /usr/lib/sqlite3
> checking for SQLite >= 3003011... yes
> checking for Tcl Thread package... yes
> checking how to build libraries... shared
> checking that any existing MacPorts install can be upgraded... yes
> configure: creating ./config.status
> config.status: creating src/programs/daemondo/Makefile
> config.status: creating Doxyfile
> config.status: creating Makefile
> config.status: creating Mk/macports.autoconf.mk
> config.status: creating doc/base.mtree
> config.status: creating doc/prefix.mtree
> config.status: creating doc/macosx.mtree
> config.status: creating doc/macports.conf
> config.status: creating doc/pubkeys.conf
> config.status: creating portmgr/freebsd/Makefile
> config.status: creating src/Makefile
> config.status: creating src/machista1.0/Makefile
> config.status: creating src/macports1.0/macports_autoconf.tcl
> config.status: creating src/port1.0/port_autoconf.tcl
> config.status: creating src/registry2.0/registry_autoconf.tcl
> config.status: creating src/programs/Makefile
> config.status: creating src/macports1.0/macports_fastload.tcl
> config.status: creating setupenv.bash
> config.status: creating src/pkg_mkindex.sh
> config.status: creating src/config.h
> ===> making all in doc
> gzip -c port.1 > port.1.gz
> gzip -c macports.conf.5 > macports.conf.5.gz
> gzip -c portfile.7 > portfile.7.gz
> gzip -c portstyle.7 > portstyle.7.gz
> gzip -c porthier.7 > porthier.7.gz
> gzip -c portgroup.7 > portgroup.7.gz
> ===> making all in src
> ===> making all in src/cregistry
> /usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -Wextra -Wall -pedantic
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common registry.c -o
> registry.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -Wextra -Wall -pedantic
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common entry.c -o entry.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -Wextra -Wall -pedantic
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sql.c -o sql.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -Wextra -Wall -pedantic
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common vercomp.c -o
> vercomp.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -Wextra -Wall -pedantic
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common util.c -o util.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -Wextra -Wall -pedantic
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common file.c -o file.o
> ar cr cregistry.a registry.o entry.o sql.o vercomp.o util.o file.o
> ranlib cregistry.a
> /usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -Wextra -Wall -pedantic
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sqlext.c -o
> sqlext.o
> /usr/bin/cc -dynamiclib -g -O2 -Wextra -Wall -pedantic
> -Wl,-single_module sqlext.o vercomp.o -o macports.sqlext
> ===> making all in src/macports1.0
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> macports.c -o macports.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> get_systemconfiguration_proxies.c -o get_systemconfiguration_proxies.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> sysctl.c -o sysctl.o
> /usr/bin/cc -dynamiclib -g -O2 -Wextra -Wall -pedantic
> -Wl,-single_module macports.o get_systemconfiguration_proxies.o sysctl.o
> -o MacPorts.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.5
> -ltclstub8.5   -framework CoreFoundation -framework SystemConfiguration
> ===> making all in src/port1.0
> ===> making all in src/package1.0
> ===> making all in src/pextlib1.0
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> Pextlib.c -o Pextlib.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> strsed.c -o strsed.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> fgetln.c -o fgetln.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> md5cmd.c -o md5cmd.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> setmode.c -o setmode.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> xinstall.c -o xinstall.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common fs-
> traverse.c -o fs-traverse.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> strcasecmp.c -o strcasecmp.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> vercomp.c -o vercomp.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> filemap.c -o filemap.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> base32cmd.c -o base32cmd.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> sha1cmd.c -o sha1cmd.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> curl.c -o curl.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> rmd160cmd.c -o rmd160cmd.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> sha256cmd.c -o sha256cmd.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> readline.c -o readline.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> uid.c -o uid.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> tracelib.c -o tracelib.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> tty.c -o tty.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> readdir.c -o readdir.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> pipe.c -o pipe.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> flock.c -o flock.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> system.c -o system.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> mktemp.c -o mktemp.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> realpath.c -o realpath.o
> /usr/bin/cc -dynamiclib -g -O2 -Wextra -Wall -pedantic
> -Wl,-single_module Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o
> xinstall.o fs-traverse.o strcasecmp.o vercomp.o filemap.o base32cmd.o
> sha1cmd.o curl.o rmd160cmd.o sha256cmd.o readline.o uid.o tracelib.o
> tty.o readdir.o pipe.o flock.o system.o mktemp.o realpath.o -o
> Pextlib.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.5
> -ltclstub8.5   -lcurl  -lreadline
> ===> making all in src/registry2.0
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic   -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> registry.c -o registry.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic   -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common util.c
> -o util.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic   -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> entry.c -o entry.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic   -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> entryobj.c -o entryobj.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic   -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common file.c
> -o file.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic   -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common
> fileobj.c -o fileobj.o
> /usr/bin/cc -dynamiclib -g -O2 -Wextra -Wall -pedantic
> -Wl,-single_module registry.o util.o entry.o entryobj.o file.o fileobj.o
> ../cregistry/cregistry.a -o registry.dylib
> -L/System/Library/Frameworks/Tcl.framework/Versions/8.5 -ltclstub8.5
> -lsqlite3
> ===> making all in src/darwintracelib1.0
> /usr/bin/cc -g -O2 -Wextra -Wall   -fPIC -Wno-deprecated-declarations
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include"  -c -o darwintrace.o
> darwintrace.c
> /usr/bin/cc -dynamiclib -g -O2 -Wextra -Wall   -fPIC -Wno-deprecated-
> declarations  -Wl,-single_module darwintrace.o -o darwintrace.dylib
> ===> making all in src/machista1.0
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic  -fPIC -std=c99 -pedantic -DHAVE_CONFIG_H -I.. -I.
> -I"/usr/include" -fno-common libmachista.c -o libmachista.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic  -fPIC -std=c99 -pedantic -DHAVE_CONFIG_H -I.. -I.
> -I"/usr/include" -fno-common hashmap.c -o hashmap.o
> /usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall
> -pedantic  -fPIC -std=c99 -pedantic -DHAVE_CONFIG_H -I.. -I.
> -I"/usr/include" -fno-common machista_wrap.c -o machista_wrap.o
> /usr/bin/cc -dynamiclib -g -O2 -Wextra -Wall -pedantic  -fPIC -std=c99
> -pedantic  -Wl,-single_module libmachista.o hashmap.o machista_wrap.o -o
> machista.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.5
> -ltclstub8.5
> clang: warning: argument unused during compilation: '-std=c99'
> ===> making all in src/port
> sed -e 's, at TCLSH\@,/usr/bin/tclsh,g' -e
> 's, at macports_tcl_dir\@,/opt/local/share/macports/Tcl,g' portmirror.tcl >
> portmirror
> sed -e 's, at TCLSH\@,/usr/bin/tclsh,g' -e
> 's, at macports_tcl_dir\@,/opt/local/share/macports/Tcl,g' portindex.tcl >
> portindex
> sed -e 's, at TCLSH\@,/usr/bin/tclsh,g' -e
> 's, at macports_tcl_dir\@,/opt/local/share/macports/Tcl,g' port.tcl > port
> ===> making all in src/programs
> ===> making all in src/programs/daemondo
> mkdir -p build
> /usr/bin/cc -g -O2 -Wextra -Wall   -DHAVE_CONFIG_H -I.. -I.
> -I"/usr/include" -I../..  -c -o main.o main.c
> /usr/bin/cc -g -O2 -Wextra -Wall   -o build/daemondo -framework
> CoreFoundation -framework SystemConfiguration -framework IOKit main.o
> ===> making all in tests
> make[1]: Nothing to be done for `all'.
> ===> making install in doc
> /usr/bin/install -c -d -o andrewlove -g 1000 -m 755 /opt/local
> install: andrewlove: Invalid argument
> make[1]: *** [install] Error 67
> make: *** [install] Error 1
> shell command "cd
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base
> && CC=/usr/bin/cc ./configure --prefix=/opt/local --with-
> tclpackage=/Library/Tcl --with-install-user=andrewlove --with-install-
> group=1000 --with-directory-mode=0755 --enable-readline && make && make
> install SELFUPDATING=1" returned error 2
> Error: /opt/local/bin/port: port selfupdate failed: Error installing new
> MacPorts base: shell command failed (see log for details)
>

> Now 'andrewlove' is a username on my system, which is unused.  No idea
> why it's become an argument that MacPorts wants.
>
> Tried to fix this by deleting his account and user directory.  No effect.
>
> Also tried downloading the latest MacPorts .dmg and installing overtop of
> my existing installation.  No effect.
>

> Can anyone recommend a fix?  I can't install new ports because it says my
> tables are out of date and I need to run selfupdate...
>
> Thanks.

New description:

 Hi.  The resolved tickets I've found related to this all seem to have been
 resolved by the user updating their version of XCode, but I have the
 latest XCode (4.3.3) and OS 10.7.4.


 {{{
 % sudo port -v selfupdate
 }}}

 (output removed by admin; see attached log file instead)


 Now 'andrewlove' is a username on my system, which is unused.  No idea why
 it's become an argument that MacPorts wants.

 Tried to fix this by deleting his account and user directory.  No effect.

 Also tried downloading the latest MacPorts .dmg and installing overtop of
 my existing installation.  No effect.


 Can anyone recommend a fix?  I can't install new ports because it says my
 tables are out of date and I need to run selfupdate...

 Thanks.

--

Comment:

 Looking through the log searching for "andrewlove", I see various lines:

 {{{
 Installing new MacPorts release in /opt/local as andrewlove:1000;
 permissions 0755; Tcl-Package in /Library/Tcl
 }}}

 {{{
 checking for install user... andrewlove
 checking for install group... 1000
 checking for macports user... macports
 }}}

 {{{
 checking for Applications installation directory...
 ~andrewlove/Applications/MacPorts
 checking for Frameworks installation directory...
 /opt/local/Library/Frameworks
 }}}

 And then of course the ultimate failure:

 {{{
 ===> making install in doc
 /usr/bin/install -c -d -o andrewlove -g 1000 -m 755 /opt/local
 install: andrewlove: Invalid argument
 make[1]: *** [install] Error 67
 make: *** [install] Error 1
 }}}

 If it was not your intention for applications to get installed in
 ~andrewlove/Applications/MacPorts, or for user andrewlove (which the error
 message "Invalid argument" seems to be telling you is not a valid username
 on your system) and group 1000 to own the MacPorts installation, you
 should consult your macports.conf file; perhaps erroneous settings have
 been entered there.

-- 
Ticket URL: <https://trac.macports.org/ticket/34992#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list