partial installs

Scott Haneda talklists at newgeo.com
Thu Jul 29 11:41:04 PDT 2010


On Jul 29, 2010, at 10:43 AM, Ryan Schmidt wrote:

> If you don't remember what all dependencies were installed that you don't need anymore, you can use the port_cutleaves script (available by installing the port_cutleaves port), or possibly the leaves pseudoport (as in "port installed leaves" to see what MacPorts thinks are leaves, and if you agree, then "sudo port uninstall leaves", etc.).

Hmm, after my little slip of the fingers with "sudo port uninstall leaves", I am having a hard time getting most of these ports back in.

$sudo port install irssi
--->  Computing dependencies for gettext
--->  Configuring gettext
Error: Target org.macports.configure returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.18.1.1" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.18.1.1-x86_64/gettext-0.18.1.1": file already exists
Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log
Error: Problem while installing gettext
Error: Unable to execute port: upgrade glib2 failed
To report a bug, see <http://guide.macports.org/#project.tickets>

$sudo port clean irssi
--->  Cleaning irssi

$sudo port clean gettext
--->  Cleaning gettext

$sudo port install irssi
--->  Computing dependencies for gettext
--->  Fetching gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
Error: Target org.macports.configure returned: configure failure: shell command failed
Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log

Here is the log:
version:1
:msg:main --->  Computing dependencies for gettext:info:main .:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:msg:main 
:debug:main Executing org.macports.main (gettext)
:msg:main --->  Fetching gettext
:debug:fetch fetch phase started at Thu Jul 29 11:39:42 PDT 2010
:debug:fetch Executing org.macports.fetch (gettext)
:msg:fetch --->  Verifying checksum(s) for gettext
:debug:checksum checksum phase started at Thu Jul 29 11:39:42 PDT 2010
:debug:checksum Executing org.macports.checksum (gettext)
:info:checksum --->  Checksumming gettext-0.18.1.1.tar.gz
:debug:checksum Correct (md5) checksum for gettext-0.18.1.1.tar.gz
:debug:checksum Correct (sha1) checksum for gettext-0.18.1.1.tar.gz
:debug:checksum Correct (rmd160) checksum for gettext-0.18.1.1.tar.gz
:msg:checksum --->  Extracting gettext
:debug:extract extract phase started at Thu Jul 29 11:39:42 PDT 2010
:debug:extract Executing org.macports.extract (gettext)
:info:extract --->  Extracting gettext-0.18.1.1.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/gettext/gettext-0.18.1.1.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gettext/gettext-0.18.1.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Thu Jul 29 11:39:46 PDT 2010
:debug:patch Executing org.macports.patch (gettext)
:msg:patch --->  Applying patches to gettext
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext/files/patch-gettext-tools-Makefile.in
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.18.1.1" && /usr/bin/patch -p0'
:info:patch patching file gettext-tools/Makefile.in
:msg:patch --->  Configuring gettext
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Thu Jul 29 11:39:46 PDT 2010
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (gettext)
:info:configure --->  Configuring gettext for architecture x86_64
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' CPPFLAGS='-no-cpp-precomp' CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.18.1.1-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --disable-csharp --without-emacs --with-included-gettext --with-included-glib --with-included-libcroco --with-included-libxml --without-git --without-cvs --disable-dependency-tracking '
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking build system type... x86_64-apple-darwin10.4.0
:info:configure checking host system type... x86_64-apple-darwin10.4.0
:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
:info:configure   Referenced from: /opt/local/bin/gawk
:info:configure   Reason: image not found
:info:configure sed: stdout: Broken pipe
:info:configure ./config.status: line 851: 10805 Done(1)                 eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
:info:configure      10806 Trace/BPT trap          | $AWK -f "$tmp/subs.awk" > $tmp/out
:info:configure config.status: error: could not create Makefile
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.18.1.1-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --disable-csharp --without-emacs --with-included-gettext --with-included-glib --with-included-libcroco --with-included-libxml --without-git --without-cvs --disable-dependency-tracking  " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed
:debug:configure Backtrace: configure failure: shell command failed
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for gettext): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log

-- 
Scott (* For off-list contact, replace talklists@ with scott@ *)



More information about the macports-users mailing list