port not installed according to registry, yet depends_lib didn't "react"?

Ryan Schmidt ryandesign at macports.org
Thu Oct 8 11:25:08 PDT 2015

On Oct 8, 2015, at 1:09 PM, René J.V. Bertin wrote:

> On Thursday October 08 2015 12:04:18 Ryan Schmidt wrote:
>> I know I've encountered situations where a port failed to build because one of its dependencies was inactive. I'm sure I had forcibly deactivated it at some prior time for some forgotten reason. I don't know why MacPorts wouldn't have reactivated it, but it didn't.
> Maybe that has (had) to do with the fact that you can install the newer version of a port, reactivate an older version, and not get bugged by port outdated about it?

I can't say.

>> Maybe that kind of thing is what happened to you. The solution is to reactivate the port.
> Doubtful: `port installed libical` claimed the port wasn't installed. That shouldn't happen after deactivating a port.

Ok, then I don't know what happened in your situation.

>>> Ouch, that's what you get from depending on "internal" software and not on something stable provided by the host :)
>>> I sure hope they're working to fix what they broke!
>> I have no idea what you're referring to here.
> Which part? The fact that portindex apparently uses a python module shipped through MacPorts, and that can be broken by someone who upgrades the module a bit overzealously?

That does not occur.

>>> Fixing a broken portindex through a port update will be tricky, if the breakage is serious enough, btw.
>> I again have no idea what you're talking about.
> How are you going to get `port outdated` to consider the fact a port has been updated if portindex is too broken to generate a valid port index?

The portindex command is not broken. It just failed to produce a complete index, because one of the ports being indexed was invalid.

> Anyway, I understand now that it probably wasn't the portindex command that was broken (on every uptodate MacPorts install), but the port index wasn't rebuilt properly because of a syntax error in a Portfile.

That's correct.

> I was under the impression that syntax errors were caught and excluded only the affected ports from the index? I'm pretty sure that's how it use(d) to work under 2.3.3 and before, in any case.

That's how it seems to me too, on users systems. But that's not apparently the way that it is done on the web server.

More information about the macports-users mailing list