Opened 12 years ago

Closed 12 years ago

#34336 closed defect (invalid)

apache2 stopped working after MacPorts installation

Reported by: ellis.lowell.scott@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: apache2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am running OS X 10.7.3

  1. I installed MacPorts, ran sudo port -v selfupdate
  2. I ran port update outdated
  3. I noticed that db46 @4.6.21_6 was uninstalled during the port update outdated process
  4. Apache v2.2.21 will not start, I get the following error:
dyld: Library not loaded: /opt/local/lib/db46/libdb-4.6.dylib
  Referenced from: /opt/local/apache2/bin/httpd
  Reason: image not found
/opt/local/apache2/bin/apachectl: line 78:   539 Trace/BPT trap: 5       $HTTPD -k $ARGV

Change History (8)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Keywords: apache removed
Milestone: MacPorts 2.1.0
Port: apache2 added
Priority: HighNormal
Summary: Apache stopped working after MacPorts installationapache2 stopped working after MacPorts installation

Without a transcript, I'm not sure why db46 would have been uninstalled while upgrading outdated ports, unless a newer version of db46 was then installed (but I can find no newer version of db46 available in MacPorts). The obvious solution at this point seems to be to install the db46 port again; have you tried that?

comment:2 Changed 12 years ago by ellis.lowell.scott@…

Here is the transcript:

Here's the transcript:

Scott-Elliss-MacBook-Pro:apache2 sellis$ sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
receiving file list ... done
base.tar

sent 10894 bytes  received 111 bytes  4402.00 bytes/sec
total size is 3236352  speedup is 294.08
receiving file list ... done
base.tar.rmd160

sent 64 bytes  received 116 bytes  360.00 bytes/sec
total size is 512  speedup is 2.84
MacPorts base version 2.0.4 installed,
MacPorts base version 2.0.4 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
receiving file list ... done
./
databases/db46/
deleting databases/db46/work

sent 65 bytes  received 589266 bytes  168380.29 bytes/sec
total size is 34968893  speedup is 59.34
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/ports

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	13963

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Scott-Elliss-MacBook-Pro:apache2 sellis$ port upgrade outdated
Error: Insufficient privileges to write to MacPorts install prefix.
Scott-Elliss-MacBook-Pro:apache2 sellis$ sudo port upgrade outdated
--->  Cleaning db46
--->  Unable to uninstall db46 @4.6.21_6, the following ports depend on it:
--->  	apr-util @1.3.9_2
--->  	python26 @2.6.6_0+no_tkinter
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Uninstalling db46 @4.6.21_6
Error: Target org.macports.uninstall returned: error deleting "/opt/local/var/macports/software/db46/4.6.21_6": directory not empty
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_db46_4.6.21_6/db46/main.log
Warning: Failed to execute portfile from registry for db46 @4.6.21_6
--->  Unable to uninstall db46 @4.6.21_6, the following ports depend on it:
--->  	apr-util @1.3.9_2
--->  	python26 @2.6.6_0+no_tkinter
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Uninstalling db46 @4.6.21_6
Error: Uninstall db46 4.6.21_6 failed: error deleting "/opt/local/var/macports/software/db46/4.6.21_6": directory not empty
To report a bug, see <http://guide.macports.org/#project.tickets>
Scott-Elliss-MacBook-Pro:apache2 sellis$ sudo port install apr-util
--->  Computing dependencies for libedit
--->  Dependencies to be installed: ncurses
--->  Activating ncurses @5.9_1
Error: Target org.macports.activate returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port.  Please deactivate this port first, or use 'port -f activate ncurses' to force the activation.
Error: Failed to install ncurses
Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
Error: The following dependencies were not installed: ncurses
Error: Problem while installing libedit
Error: Unable to execute port: upgrade sqlite3 failed
To report a bug, see <http://guide.macports.org/#project.tickets>
Scott-Elliss-MacBook-Pro:apache2 sellis$ sudo port install ncurses
--->  Activating ncurses @5.9_1
Error: Target org.macports.activate returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port.  Please deactivate this port first, or use 'port -f activate ncurses' to force the activation.
Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Ok, so it looks like there are several problems resulting from the fact that you probably haven't upgraded these ports in a long time.

"error deleting "/opt/local/var/macports/software/db46/4.6.21_6"" is some bug in the code for upgrading from ports that were originally installed with MacPorts 1.x. I think you can just ignore the problem and proceed to install the db46 port again.

"is being used by the active ncursesw port" is because you still have the ncursesw port installed, which was replaced by ncurses a long time ago. Use "sudo port -f uninstall ncursesw" to get rid of ncursesw, then activate ncurses in its place.

comment:4 Changed 12 years ago by ellis.lowell.scott@…

Ok ncursesw is gone and ncurses is activated. I still get the same error when trying to install db46:

Scott-Elliss-MacBook-Pro:5.7_0 sellis$ sudo port install db46
Error: Target org.macports.activate returned: Image error: Can't find image file /opt/local/var/macports/software/db46/4.6.21_6
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/main.log
Error: Status 1 encountered during processing.

I tried sudo port -df selfupdate, and got an error there as well, on apache 2.2.16:

Scott-Elliss-MacBook-Pro:5.7_0 sellis$ sudo port -df selfupdate
Password:
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
--->  Updating MacPorts base sources using rsync
receiving file list ... done
base.tar

sent 10894 bytes  received 111 bytes  7336.67 bytes/sec
total size is 3236352  speedup is 294.08
receiving file list ... done
base.tar.rmd160

sent 64 bytes  received 116 bytes  360.00 bytes/sec
total size is 512  speedup is 2.84
DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem
DEBUG: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base.tar
MacPorts base version 2.0.4 installed,
DEBUG: Forcing a rebuild and reinstallation of MacPorts
MacPorts base version 2.0.4 downloaded.
--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
./
databases/db46/
devel/ncurses/
deleting databases/db46/work

sent 71 bytes  received 589469 bytes  393026.67 bytes/sec
total size is 34971325  speedup is 59.32
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/ports

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	13967

--->  MacPorts base is outdated, installing new version 2.0.4
DEBUG: Permissions OK
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl

checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking target system type... x86_64-apple-darwin11.3.0
checking MacPorts version... 2.0.4
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.3
checking Xcode location... /Developer
checking Xcode version... 4.1
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 gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for mtree... /usr/sbin/mtree
checking for chown... /usr/sbin/chown
checking for cp... /bin/cp
checking for cpio... /usr/bin/cpio
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 bzr... no
checking for cvs... /usr/bin/cvs
checking for svn... /usr/bin/svn
checking for git... /usr/bin/git
checking for hg... no
checking for gzip... /usr/bin/gzip
checking for lipo... /usr/bin/lipo
checking for patch... /usr/bin/patch
checking for rmdir... /bin/rmdir
checking for rsync... /usr/bin/rsync
checking for openssl... /usr/bin/openssl
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for bsdmake... /usr/bin/bsdmake
checking for make... /usr/bin/make
checking for hdiutil... /usr/bin/hdiutil
checking for launchd... yes
checking for launchctl... /bin/launchctl
checking for xcodebuild... /usr/bin/xcodebuild
checking for gnutar... /usr/bin/gnutar
checking for gnumake... /usr/bin/gnumake
checking for gnupatch... no
checking for gpatch... no
checking for bzip2... /usr/bin/bzip2
checking for lzma... no
checking for xz... no
checking for lsbom... /usr/bin/lsbom
checking for mkbom... /usr/bin/mkbom
checking for pax... /bin/pax
checking for xar... /usr/bin/xar
checking for open... /usr/bin/open
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... root
checking for install group... admin
checking for macports user... macports
checking what permissions to use for installation directories... 755
checking for Applications installation directory... /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 for pkg-config... no
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 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/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 -W -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 -W -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 -W -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 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common vercomp.c -o vercomp.o
ar cr cregistry.a registry.o entry.o sql.o vercomp.o
ranlib cregistry.a
/usr/bin/cc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sqlext.c -o sqlext.o
/usr/bin/cc -dynamiclib -g -O2 -W -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 -W -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 -W -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 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sysctl.c -o sysctl.o
/usr/bin/cc -dynamiclib -g -O2 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -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 -W -Wall -pedantic     -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common realpath.c -o realpath.o
/usr/bin/cc -dynamiclib -g -O2 -W -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 -W -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 -W -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 -W -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 -W -Wall -pedantic   -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common entryobj.c -o entryobj.o
/usr/bin/cc -dynamiclib -g -O2 -W -Wall -pedantic    -Wl,-single_module registry.o util.o entry.o entryobj.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 -W -Wall -pedantic  -fPIC -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include"  -c -o darwintrace.o darwintrace.c
darwintrace.c:961:9: warning: '$' in identifier [-pedantic,-Wdollar-in-identifier-extension]
int stat$INODE64(const char * path, struct stat64 * sb)
        ^
darwintrace.c:963:12: warning: 'stat64' is deprecated [-Wdeprecated-declarations]
    return stat64(path, sb);
           ^
darwintrace.c:1017:10: warning: '$' in identifier [-pedantic,-Wdollar-in-identifier-extension]
int lstat$INODE64(const char * path, struct stat64 * sb)
         ^
darwintrace.c:1019:12: warning: 'lstat64' is deprecated [-Wdeprecated-declarations]
    return lstat64(path, sb);
           ^
4 warnings generated.
/usr/bin/cc -dynamiclib -g -O2 -W -Wall -pedantic  -fPIC  -Wl,-single_module darwintrace.o -o darwintrace.dylib  
===> making all in src/port
sed -e 's,@TCLSH\@,/usr/bin/tclsh,g' -e 's,@macports_tcl_dir\@,/opt/local/share/macports/Tcl,g' portmirror.tcl > portmirror
sed -e 's,@TCLSH\@,/usr/bin/tclsh,g' -e 's,@macports_tcl_dir\@,/opt/local/share/macports/Tcl,g' portindex.tcl > portindex
sed -e 's,@TCLSH\@,/usr/bin/tclsh,g' -e 's,@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 -W -Wall  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -I../..  -c -o main.o main.c
/usr/bin/cc -g -O2 -W -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 root -g admin -m 755 /opt/local
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/etc/macports
< prefix.mtree /usr/sbin/mtree -U -e -p /opt/local > /dev/null
< base.mtree /usr/sbin/mtree -U -e -p /opt/local > /dev/null
if test -L "/opt/local/man" ; then \
		rm -f "/opt/local/man"; \
	fi
if test ! -e "/opt/local/man" ; then \
		ln -s share/man /opt/local/man; \
	fi
for f in macports.conf pubkeys.conf sources.conf variants.conf; do \
		/usr/bin/install -c -o root -g admin -m 444 $f /opt/local/etc/macports/${f}.default; \
		if test ! -e /opt/local/etc/macports/$f ; then \
			set -x; \
			/usr/bin/install -c -o root -g admin -m 644 $f /opt/local/etc/macports; \
		fi; \
	done
# delete old uncompressed man pages if they exist
for m in port.1; do rm -f /opt/local/share/man/man1/$m ; done
for m in macports.conf.5; do rm -f /opt/local/share/man/man5/$m ; done
for m in portfile.7 portstyle.7 porthier.7 portgroup.7; do rm -f /opt/local/share/man/man7/$m ; done
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/install
/usr/bin/install -c -o root -g admin -m 644 base.mtree /opt/local/share/macports/install/
/usr/bin/install -c -o root -g admin -m 644 prefix.mtree /opt/local/share/macports/install/
/usr/bin/install -c -o root -g admin -m 644 macosx.mtree /opt/local/share/macports/install/
/usr/bin/install -c -o root -g admin -m 444 port.1.gz /opt/local/share/man/man1
/usr/bin/install -c -o root -g admin -m 444 macports.conf.5.gz /opt/local/share/man/man5
/usr/bin/install -c -o root -g admin -m 444 portfile.7.gz /opt/local/share/man/man7
/usr/bin/install -c -o root -g admin -m 444 portstyle.7.gz /opt/local/share/man/man7
/usr/bin/install -c -o root -g admin -m 444 porthier.7.gz /opt/local/share/man/man7
/usr/bin/install -c -o root -g admin -m 444 portgroup.7.gz /opt/local/share/man/man7
===> making install in src
===> making install in src/cregistry
make[2]: Nothing to be done for `install'.
===> making install in src/macports1.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/macports1.0
/usr/bin/install -c -o root -g admin -m 444 MacPorts.dylib /opt/local/share/macports/Tcl/macports1.0
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl /opt/local/share/macports/Tcl/macports1.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/macports1.0
+ for file in macports.tcl macports_dlist.tcl macports_util.tcl macports_autoconf.tcl macports_index.tcl macports_fastload.tcl
+ /usr/bin/install -c -o root -g admin -m 444 macports.tcl /opt/local/share/macports/Tcl/macports1.0/macports.tcl
+ for file in macports.tcl macports_dlist.tcl macports_util.tcl macports_autoconf.tcl macports_index.tcl macports_fastload.tcl
+ /usr/bin/install -c -o root -g admin -m 444 macports_dlist.tcl /opt/local/share/macports/Tcl/macports1.0/macports_dlist.tcl
+ for file in macports.tcl macports_dlist.tcl macports_util.tcl macports_autoconf.tcl macports_index.tcl macports_fastload.tcl
+ /usr/bin/install -c -o root -g admin -m 444 macports_util.tcl /opt/local/share/macports/Tcl/macports1.0/macports_util.tcl
+ for file in macports.tcl macports_dlist.tcl macports_util.tcl macports_autoconf.tcl macports_index.tcl macports_fastload.tcl
+ /usr/bin/install -c -o root -g admin -m 444 macports_autoconf.tcl /opt/local/share/macports/Tcl/macports1.0/macports_autoconf.tcl
+ for file in macports.tcl macports_dlist.tcl macports_util.tcl macports_autoconf.tcl macports_index.tcl macports_fastload.tcl
+ /usr/bin/install -c -o root -g admin -m 444 macports_index.tcl /opt/local/share/macports/Tcl/macports1.0/macports_index.tcl
+ for file in macports.tcl macports_dlist.tcl macports_util.tcl macports_autoconf.tcl macports_index.tcl macports_fastload.tcl
+ /usr/bin/install -c -o root -g admin -m 444 macports_fastload.tcl /opt/local/share/macports/Tcl/macports1.0/macports_fastload.tcl
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl /opt/local/share/macports/Tcl/macports1.0
echo "/Library/Tcl" > /opt/local/var/macports/.tclpackage
if test -z "" -a "/Library/Tcl/macports1.0" != "/opt/local/share/macports/Tcl/macports1.0"; then \
		if test ! -L "/Library/Tcl/macports1.0"; then \
            if test ! -e "/Library/Tcl"; then \
                /usr/bin/install -c -d -o root -g admin -m 755 "/Library/Tcl" || true; \
            fi; \
            if test -d "/Library/Tcl/macports1.0"; then \
                rm -vrf "/Library/Tcl/macports1.0" || true; \
            fi; \
            if test ! -e "/Library/Tcl/macports1.0"; then \
                ln -vs "/opt/local/share/macports/Tcl/macports1.0" "/Library/Tcl/macports1.0" || true; \
            fi; \
        fi; \
	fi
===> making install in src/port1.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 port.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portchecksum.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portconfigure.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portextract.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portfetch.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portmain.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portbuild.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portpatch.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portutil.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portinstall.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portuninstall.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portdepends.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portdestroot.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portlint.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portclean.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 porttest.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portactivate.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portdeactivate.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portsubmit.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 port_autoconf.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portstartupitem.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 porttrace.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portlivecheck.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portdistcheck.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portmirror.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portload.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portunload.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portdistfiles.tcl /opt/local/share/macports/Tcl/port1.0
+ for file in port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl portclean.tcl porttest.tcl portactivate.tcl portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ /usr/bin/install -c -o root -g admin -m 444 fetch_common.tcl /opt/local/share/macports/Tcl/port1.0
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl /opt/local/share/macports/Tcl/port1.0
===> making install in src/package1.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 package.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portdmg.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portmdmg.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portmpkg.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portpkg.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portportpkg.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portrpm.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portsrpm.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portdpkg.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portunarchive.tcl /opt/local/share/macports/Tcl/package1.0
+ for file in package.tcl portdmg.tcl portmdmg.tcl portmpkg.tcl portpkg.tcl portportpkg.tcl portrpm.tcl portsrpm.tcl portdpkg.tcl portunarchive.tcl portarchivefetch.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portarchivefetch.tcl /opt/local/share/macports/Tcl/package1.0
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl /opt/local/share/macports/Tcl/package1.0
===> making install in src/pextlib1.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/pextlib1.0
/usr/bin/install -c -o root -g admin -m 444 Pextlib.dylib /opt/local/share/macports/Tcl/pextlib1.0
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl /opt/local/share/macports/Tcl/pextlib1.0
===> making install in src/registry2.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/registry2.0
/usr/bin/install -c -o root -g admin -m 444 registry.dylib /opt/local/share/macports/Tcl/registry2.0
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl /opt/local/share/macports/Tcl/registry2.0
[ ! -d /opt/local/share/macports/Tcl/registry1.0 ] || rm -vrf /opt/local/share/macports/Tcl/registry1.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/registry2.0
/usr/bin/install -c -o root -g admin -m 444 registry.dylib /opt/local/share/macports/Tcl/registry2.0
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 registry.tcl /opt/local/share/macports/Tcl/registry2.0/registry.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 registry_autoconf.tcl /opt/local/share/macports/Tcl/registry2.0/registry_autoconf.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 registry_util.tcl /opt/local/share/macports/Tcl/registry2.0/registry_util.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 receipt_flat.tcl /opt/local/share/macports/Tcl/registry2.0/receipt_flat.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 receipt_sqlite.tcl /opt/local/share/macports/Tcl/registry2.0/receipt_sqlite.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portimage.tcl /opt/local/share/macports/Tcl/registry2.0/portimage.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portuninstall.tcl /opt/local/share/macports/Tcl/registry2.0/portuninstall.tcl
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl /opt/local/share/macports/Tcl/registry2.0
===> making install in src/darwintracelib1.0
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/share/macports/Tcl/darwintrace1.0
/usr/bin/install -c -o root -g admin -m 444 darwintrace.dylib /opt/local/share/macports/Tcl/darwintrace1.0
===> making install in src/port
< ../../doc/prefix.mtree /usr/sbin/mtree -U -d -e -p /opt/local > /dev/null
< ../../doc/base.mtree /usr/sbin/mtree -U -d -e -p /opt/local > /dev/null
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/bin
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/var/macports
/usr/bin/install -c -o root -g admin -m 555 port portindex portmirror /opt/local/bin/
/usr/bin/install -c -o root -g admin -m 444 port-help.tcl  /opt/local/var/macports/
cd /opt/local/bin && ln -s -f port portf
===> making install in src/programs
===> making install in src/programs/daemondo
mkdir -p build
/usr/bin/install -c -o root -g admin -m 555 build/daemondo /opt/local/bin
===> making install in tests
make[1]: Nothing to be done for `install'.
[ ! -f /opt/local/etc/macports/mp_version ] || rm -vf /opt/local/etc/macports/mp_version
/usr/bin/install -c -o root -g admin -m 444 setupenv.bash  /opt/local/share/macports/
/usr/bin/install -c -o root -g admin -m 444 macports-pubkey.pem  /opt/local/share/macports/
/usr/bin/tclsh src/upgrade_sources_conf_default.tcl "/opt/local"
/usr/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl"
This could take a while...
Processing 1 of 48: apr-1.4.2_1.darwin_11.x86_64.tbz2
Processing 2 of 48: db46-4.6.21_6.darwin_11.x86_64.tbz2
Processing 3 of 48: expat-2.0.1_1.darwin_11.x86_64.tbz2
Processing 4 of 48: gperf-3.0.4_0.darwin_11.x86_64.tbz2
Processing 5 of 48: libiconv-1.13.1_0.darwin_11.x86_64.tbz2
Processing 6 of 48: ncurses-5.7_0.darwin_11.x86_64.tbz2
Processing 7 of 48: zlib-1.2.5_0.darwin_11.x86_64.tbz2
Processing 8 of 48: apache-ant-1.8.1_0.darwin_11.x86_64.tbz2
Processing 9 of 48: readline-6.1.002_0.darwin_11.x86_64.tbz2
Processing 10 of 48: sqlite3-3.7.2_0.darwin_11.x86_64.tbz2
Processing 11 of 48: apr-util-1.3.9_2.darwin_11.x86_64.tbz2
Processing 12 of 48: openssl-1.0.0a_0.darwin_11.x86_64.tbz2
Processing 13 of 48: bzip2-1.0.6_0.darwin_11.x86_64.tbz2
Processing 14 of 48: pcre-8.10_0.darwin_11.x86_64.tbz2
Processing 15 of 48: apache2-2.2.16_0+preforkmpm.darwin_11.x86_64.tbz2
sh: line 0: cd: /opt/local/var/macports/software/apache2/2.2.16_0+preforkmpm: No such file or directory
shell command "cd /opt/local/var/macports/software/apache2/2.2.16_0+preforkmpm && /usr/bin/tar -cjf /opt/local/var/macports/software/apache2/apache2-2.2.16_0+preforkmpm.darwin_11.x86_64.tbz2 * > /opt/local/var/macports/software/apache2/error.log 2>&1" returned error 1
shell command failed (see log for details)
    while executing
"system "cd $location && $tarcmd -cjf $newlocation * > ${targetdir}/error.log 2>&1""
    ("foreach" body line 66)
    invoked from within
"foreach installed $ilist {
    incr counter
    set iname [lindex $installed 0]
    set iversion [lindex $installed 1]
    set irevision [lindex $inst..."
    (file "src/images_to_archives.tcl" line 39)
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=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install SELFUPDATING=1" returned error 2
DEBUG: Error installing new MacPorts base: shell command failed (see log for details)
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
Scott-Elliss-MacBook-Pro:5.7_0 sellis$ apache-start
Password:
dyld: Library not loaded: /opt/local/lib/db46/libdb-4.6.dylib
  Referenced from: /opt/local/apache2/bin/httpd
  Reason: image not found
/opt/local/apache2/bin/apachectl: line 78:  8233 Trace/BPT trap: 5       $HTTPD -k $ARGV
Scott-Elliss-MacBook-Pro:5.7_0 sellis$ sudo port install db46
Error: Target org.macports.activate returned: Image error: Can't find image file /opt/local/var/macports/software/db46/4.6.21_6
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Please remember to use WikiFormatting when writing in Trac.

So the above reveals that although you had already upgraded to MacPorts 2.0.4, the conversion of packages from MacPorts 1.x format to 2.x format had never completed successfully; that's sure to cause countless problems, so that's what you'll need to resolve first.

The log you showed says "/opt/local/var/macports/software/apache2/2.2.16_0+preforkmpm: No such file or directory". Is that true? Does that directory not exist? Does /opt/local/var/macports/software/apache2 exist and if so what's in it? You may need to uninstall apache2, then try selfupdating again to see if it will proceed with converting the rest of the old installed ports. For any other ports that similarly fail conversion, try uninstalling them as well. Finally, when conversion of the remaining ports is successful, you can reinstall the ports you uninstalled.

comment:6 Changed 12 years ago by ellis.lowell.scott@…

Yes, it is true that there is no apache2/2.2.16_0 directory. There is no apache directory at all in /opt/local/var/macports/software/.

I will follow the instructions that you have given, and will update the ticket with results. Thank you very much for your timely responses.

--Scott

comment:7 Changed 12 years ago by ellis.lowell.scott@…

I did finally get a working macports config. I had to delete php5 and php-xdebug. All ports are up to date and macports seems fine. I do have apache & php issues (php wasn't installed by macports), but those aren't your concern.

Thank you for your help.

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Glad you got it working!

Note: See TracTickets for help on using tickets.