09/03/2009
macports error
While trying to update the installed progs, I got errors like:
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12" && make CC= -f Makefile.devel && make all " returned error 2
Command output: O lib/genaliases.c -o genaliases
make: O: Command not found
make: [lib/aliases.h] Error 127 (ignored)
./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh
/bin/sh: ./genaliases: No such file or directory
make: *** [lib/aliases.h] Error 127
The reason was that I was using an old macports version, 1.6.0 instead of 1.7.0. A supo port selfupdate
fixed the problem. I hope that in the future macports will be upgradable through normal upgrades like gentoo’s portage and debian’s apt-get tools do so we don’t need to “selfupdate” every once in a while…
Filed by kargig at 14:05 under MacOSX
4 Comments | 6,648 views
Hello,
It’s weird. I never had issues with macports (on 2 systems, Leopard and Tiger). The correct way, of you want to have a verbose output is:
$ sudo port -d selfupdate
and again for updating your system:
$ port upgrade outdated
which package did the brick?
Hi there,
You should be aware of Gentoo Prefix. A direct “competitor” of MacPorts. Quite a few people ditch MacPorts after they learn of this, granted it is not as big as MacPorts is…yet. 😉
http://blog.jolexa.net/2009/03/04/gentoo-prefix-use-cases/
http://www.gentoo.org/proj/en/gentoo-alt/prefix/index.xml
@panagiotis: it’s not a specific package problem, all packages had errors like this because macports needed an update. btw verbose is -v, -d is debug which implies verbose too (according to man page)
@jeremy: I am going to try this as soon as possible! I’ll probably ask more about it on irc 🙂
hmm just checked gentoo prefix. I’d like to use portage over macports but this project seems to have the Gentoo FreeBSD project end… Where it works as a concept but in an every day system it can not be compared to freebsd ports.
MacPorts is a pretty active project. I’ve met some developers and joined the mailing list for a couple of months. It’s astonishingly active…