Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#14533 closed defect (wontfix)

disk full causes "Error: Target org.macports.install returned: unmatched open brace in list" ?

Reported by: Russell.Stringer.Bell.RIP@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: unmatched brace Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port:

Description

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,

Attachments (6)

log0221.gz (218.9 KB) - added by Russell.Stringer.Bell.RIP@… 17 years ago.
error first seen here
port (81.5 KB) - added by Russell.Stringer.Bell.RIP@… 17 years ago.
port tclsh script from macports 1.6.0 - failed to locate unmatched brace
log0234 (32.2 KB) - added by Russell.Stringer.Bell.RIP@… 17 years ago.
error also seen here
macports.conf (2.2 KB) - added by Russell.Stringer.Bell.RIP@… 17 years ago.
sources.conf (322 bytes) - added by Russell.Stringer.Bell.RIP@… 17 years ago.
variants.conf (458 bytes) - added by Russell.Stringer.Bell.RIP@… 17 years ago.

Download all attachments as: .zip

Change History (13)

Changed 17 years ago by Russell.Stringer.Bell.RIP@…

Attachment: log0221.gz added

error first seen here

Changed 17 years ago by Russell.Stringer.Bell.RIP@…

Attachment: port added

port tclsh script from macports 1.6.0 - failed to locate unmatched brace

Changed 17 years ago by Russell.Stringer.Bell.RIP@…

Attachment: log0234 added

error also seen here

Changed 17 years ago by Russell.Stringer.Bell.RIP@…

Attachment: macports.conf added

Changed 17 years ago by Russell.Stringer.Bell.RIP@…

Attachment: sources.conf added

Changed 17 years ago by Russell.Stringer.Bell.RIP@…

Attachment: variants.conf added

comment:1 in reply to:  description Changed 17 years ago by afb@…

Replying to 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)

comment:2 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:3 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:4 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Since the only solution seems to be to reform the registry (by reinstalling), can this ticket be closed as wontfix?

comment:5 in reply to:  4 Changed 16 years ago by Russell.Stringer.Bell.RIP@…

Replying to mcalhoun@…:

Since the only solution seems to be to reform the registry (by reinstalling), can this ticket be closed as wontfix?

I agree to close as 'wontfix'.

comment:6 Changed 16 years ago by mf2k (Frank Schima)

Resolution: wontfix
Status: newclosed

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.