Hi, in order to repair my port-system I removed completely the whole software-branch "/opt" and reinstalled MacPorts (1.52 on my Intel- MacBook with Mac OS X 10.4.10). I installed the window-manager ratpoison as first port. "port installed" gave me the list with one element as expected. Then I installed gcc43 ("sudo port install gcc43"). The build was successful (including the libs), but at the end I got: ================ ---> Building gcc43 with target bootstrap ---> Staging gcc43 into destroot ---> Installing gcc43 4.3-20070907_0+darwin_8 list must have an even number of elements Error: Status 1 encountered during processing. ================ I cleaned gcc43 ("sudo port clean gcc43"). And then: ================ port installed Error: port installed failed: list must have an even number of elements No ports are installed. ================ What can it be? Eckhard.
Now I recapitulated the whole sequence I described in my last mail, except that I installed vim instead of gcc43. Now the "installed"- selector matches the installed ports as it should. Thus it seems that gcc43 corrupted my registry of MacPorts. Eckhard.
On Sep 12, 2007, at 10:00, Eckhard Wiemann wrote:
in order to repair my port-system I removed completely the whole software-branch "/opt" and reinstalled MacPorts (1.52 on my Intel- MacBook with Mac OS X 10.4.10).
I installed the window-manager ratpoison as first port. "port installed" gave me the list with one element as expected.
Then I installed gcc43 ("sudo port install gcc43"). The build was successful (including the libs), but at the end I got:
================
---> Building gcc43 with target bootstrap ---> Staging gcc43 into destroot ---> Installing gcc43 4.3-20070907_0+darwin_8 list must have an even number of elements Error: Status 1 encountered during processing.
================
I cleaned gcc43 ("sudo port clean gcc43"). And then:
================
port installed Error: port installed failed: list must have an even number of elements No ports are installed.
================
What can it be?
On Sep 12, 2007, at 11:34, Eckhard Wiemann wrote:
Now I recapitulated the whole sequence I described in my last mail, except that I installed vim instead of gcc43. Now the "installed"- selector matches the installed ports as it should.
Thus it seems that gcc43 corrupted my registry of MacPorts.
I have confirmed this issue and filed a ticket: http://trac.macports.org/projects/macports/ticket/12698 We probably need a MacPorts base expert to have a look at it. Even if there is a bug in the gcc43 portfile, base should not allow a port bug to corrupt the registry. We either have a bug in base, or a bug in base and a bug in the portfile.
Thanks! This helped a lot, since I had gcc43 installed as well. I tried the following bit: sudo mv /opt/local/var/macports/receipts/gcc43/4.3-20070831_0+darwin_8 /tmp/ And suddenly port installed started working. Someone should take a look at what the gcc43 port's doing. Ranjan -- View this message in context: http://www.nabble.com/%22port-installed%22-fails-tf4429895.html#a12648296 Sent from the MacPorts - Users mailing list archive at Nabble.com.
On Sep 12, 2007, at 22:54, rongenre wrote:
Thanks! This helped a lot, since I had gcc43 installed as well.
I tried the following bit: sudo mv /opt/local/var/macports/receipts/gcc43/4.3-20070831_0 +darwin_8 /tmp/
And suddenly port installed started working.
Someone should take a look at what the gcc43 port's doing.
I fixed gcc43 several hours ago, so if you "port sync" now you'll get the fixed version. We still need to investigate whether base can be improved to prevent this kind of thing in the future. I'll take that to the -dev list now.
participants (3)
-
Eckhard Wiemann
-
rongenre
-
Ryan Schmidt