[MacPorts] #14533: disk full causes "Error: Target org.macports.install returned: unmatched open brace in list" ?
#14533: disk full causes "Error: Target org.macports.install returned: unmatched open brace in list" ? -------------------------------------------------+-------------------------- Reporter: Russell.Stringer.Bell.RIP@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Keywords: unmatched brace | -------------------------------------------------+-------------------------- A few days back I did a install/upgrade command which gave the following error reported under debug mode: {{{ # /opt/local/bin/env PATH=/opt/local/bin:/opt/local/sbin:$PATH /usr/bin/nice -n 19 /opt/local/bin/port -u -c -d -p upgrade createtorrent rtorrent GTorrentViewer a52decX transmission . . . ar: .libs/libtiff.a: No space left on device make[2]: *** [libtiff.la] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 . . . DEBUG: unmatched open brace in list while executing "llength $dep_map" (procedure "receipt_flat::open_dep_map" line 18) invoked from within "${macports::registry.format}::open_dep_map $args" (procedure "registry::open_dep_map" line 3) invoked from within "registry::open_dep_map " (procedure "portuninstall::uninstall" line 43) invoked from within "portuninstall::uninstall $portname ${version_installed}_$revision_installed$oldvariant $optionslist" Error: Uninstall curl 7.15.5_0+darwin_8 failed: unmatched open brace in list . . . }}} I used '-p' when invoking 'port'; so it continued despite all these errors. I assume this has left my Macports in an inconsistent state; some of my port install's/upgrade's seem to be failing with the same error. I know absolutely nothing about Macports design/impl., so I do not know where to begin debugging this error, and I suspect debugging this will involve fixing more than one Macports file/portfile. I googled around and found only this post: http://lists.macosforge.org/pipermail/macports- users/2006-October/000405.html but this post remains unanswered. Is there a nice, clean, quick way to resolve this issue? I have attached logs for relevant 'port install/upgrade' commands. This is a summary of the errors: {{{ # /opt/local/bin/zgrep -n -i -e 'No space left on device' ./log02*.gz ./log0207.gz:21256:Error: Target org.macports.install returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ad$ ./log0221.gz:22959:ar: .libs/libtiff.a: No space left on device ./log0221.gz:22990:ar: .libs/libtiff.a: No space left on device ./log0221.gz:23366:Error: Target org.macports.activate returned: No space left on device # /opt/local/bin/zgrep -n -i -e 'unmatched open brace in list' ./log02*.gz ./log0221.gz:23750:DEBUG: unmatched open brace in list ./log0221.gz:23762:Error: Uninstall curl 7.15.5_0+darwin_8 failed: unmatched open brace in list ./log0221.gz:23917:DEBUG: unmatched open brace in list ./log0221.gz:23929:Error: Uninstall ncursesw 5.6_0+darwin_8 failed: unmatched open brace in list ./log0222.gz:320:Error: Target org.macports.install returned: unmatched open brace in list ./log0222.gz:5345:DEBUG: unmatched open brace in list ./log0222.gz:5357:Error: Uninstall python24 2.4.2_3+darwin_8+macosx failed: unmatched open brace in list ./log0233.gz:1253:DEBUG: unmatched open brace in list ./log0233.gz:1265:Error: Uninstall tcl 8.5.0_0 failed: unmatched open brace in list ./log0234.gz:528:Error: Target org.macports.install returned: unmatched open brace in list ./log0234.gz:571:DEBUG: unmatched open brace in list ./log0234.gz:583:Error: Uninstall freetype 2.1.10_2 failed: unmatched open brace in list }}} My configuration: (let me know if more info is needed to diagnose problem) {{{ $ uname -a Darwin mac-mini-ppc.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc PowerMac10,1 Darwin $ port -d version Version: 1.600 # /opt/local/bin/env PATH=/opt/local/bin:/opt/local/sbin:$PATH /usr/bin/nice -n 20 /opt/local/bin/printenv TERM=dumb SHELL=/bin/sh HISTSIZE=1000000 SSH_CLIENT=::1 50912 22 SSH_TTY=/dev/ttyp2 EMACS=t USER=root HISTFILESIZE=1000000 TERMCAP= VERSION_CONTROL=numbered __CF_USER_TEXT_ENCODING=0x0:0:0 COLUMNS=180 PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin MAIL=/var/mail/root PWD=/ADMIN/DONE/port HOME=/var/root SHLVL=3 LOGNAME=root SSH_CONNECTION=::1 50912 ::1 22 INSIDE_EMACS=22.1.1,comint HISTTIMEFORMAT=%c%t%t _=/opt/local/bin/env OLDPWD=/var/root }}} Thanks, -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14533> MacPorts </projects/macports> Ports system for Mac OS
#14533: disk full causes "Error: Target org.macports.install returned: unmatched open brace in list" ? --------------------------------------------------+------------------------- Reporter: Russell.Stringer.Bell.RIP@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: unmatched brace --------------------------------------------------+------------------------- Comment (by afb@macports.org): Replying to [ticket:14533]:
I used '-p' when invoking 'port'; so it continued despite all these errors. I assume this has left my Macports in an inconsistent state; some of my port install's/upgrade's seem to be failing with the same error. I know absolutely nothing about Macports design/impl., so I do not know where to begin debugging this error, and I suspect debugging this will involve fixing more than one Macports file/portfile.
Yes, your MacPorts "registry" became corrupted/inconsistent. The files it is using live in /opt/local/var/macports/receipts, but there is unfortunately no simple way of repairing it... The "easy" (not "quick") way of repairing is saving the files you care about (like your configuration and distfiles) and start over from a clean installation (move /opt/local aside) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14533#comment:1> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts