Here is the result: DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt DEBUG: Requested variant i386 is not provided by port popt. DEBUG: Requested variant macosx is not provided by port popt. DEBUG: Executing variant darwin provides darwin DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: Requested variant darwin is not provided by port gettext. DEBUG: Requested variant i386 is not provided by port gettext. DEBUG: Requested variant macosx is not provided by port gettext. DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant i386 is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Executing org.macports.main (popt) ---> Fetching popt DEBUG: Executing org.macports.fetch (popt) ---> Verifying checksum(s) for popt DEBUG: Executing org.macports.checksum (popt) ---> Checksumming popt-1.11.tar.gz DEBUG: Correct (md5) checksum for popt-1.11.tar.gz ---> Extracting popt DEBUG: Executing org.macports.extract (popt) ---> Extracting popt-1.11.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/popt/popt-1.11.tar.gz DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work" && gzip -dc /opt/local/var/macports/distfiles/popt/popt-1.11.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (popt) ---> Applying patches to popt ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt/files/patch-poptint.c DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && patch -p0' patching file poptint.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt/files/patch-popt.c DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && patch -p0' patching file ./popt.c DEBUG: Executing proc-post-org.macports.patch-patch-0 ---> Configuring popt DEBUG: Executing org.macports.configure (popt) DEBUG: Environment: CXXFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CFLAGS='-O2' LDFLAGS='-L/opt/local/lib' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-libintl-prefix=/opt/local --with-libiconv-prefix=/opt/local' configure: error: cannot run /bin/sh ./config.sub Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-libintl-prefix=/opt/local --with-libiconv-prefix=/opt/local " returned error 1 Command output: configure: error: cannot run /bin/sh ./config.sub Warning: the following items did not execute (for popt): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. lolveley.