Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13023 closed defect (fixed)

bazaar (devel/bazaar 1.4.2) missing neon dependency

Reported by: rachel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: bazaar depends neon Cc: rachel@…,josh+macports@…,markd@…
Port:

Description

www/neon should be a dependency of bazaar; attempting to install bazaar if neon isn't already installed causes the build to fail, with missing file ne_uri.h.

Easy workaround is of course, port install neon bazaar; but the dependency probably wants to be fixed. :-)

(Observed on leopard but I believe it will apply elsewhere.)

Attachments (1)

bazaar-Portfile.diff (562 bytes) - added by josh+macports@… 17 years ago.
dependency fix/workaround

Download all attachments as: .zip

Change History (8)

comment:1 Changed 17 years ago by markd@…

Cc: rachel@… josh+macports@… markd@… added

neon is a dependency of bazaar, although it is an old-style dependency spec (and probably should be changed) that could be satisfied by a non-MacPorts copy of neon. Could that be what happened for you? Ccing maintainer.

comment:2 Changed 17 years ago by rachel@…

I'm not sure what you mean, although by the looks of the error (which occurred during the actual compile) if there was a system neon it would indeed have used it.

But there isn't, in any stock version of OS X as far as I know.

I've not happened to identify it before because on Tiger neon has tended to have been brought in by something else that I've installed first. For instance, with a new Tiger install one of the first things I'd install would be subversion, and I think that brings in neon. Subversion is installed as standard in Leopard (at least after XCode is installed; I didn't think to look beforehand), as is Python 2.5 and a few other things, which meant that this time around bazaar was actually the first macports port I tried to install, hence exposing the issue.

comment:3 Changed 17 years ago by markd@…

What I meant was that neon is a dependency of bazaar:

port deps bazaar bazaar has library dependencies on:

neon gpgme

So if you don't have another copy somewhere (only because of the old style dependency), it should have been installed before bazaar was installed. I can't think of a reason why it wouldn't be.

comment:4 Changed 17 years ago by josh-macports@…

I can confirm that running "port install bazaar" when neon is not installed does not install neon before attempting to build baz. Looks like a bug in base.

Changing depends_lib to use port:neon makes things behave as expected.

Changed 17 years ago by josh+macports@…

Attachment: bazaar-Portfile.diff added

dependency fix/workaround

comment:5 Changed 17 years ago by markd@…

Resolution: fixed
Status: newclosed

That's odd. I confirmed that it worked for me. But it should be changed anyway so I committed that fix.

comment:6 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: MacPorts 1.5Port Bugs

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.