postPortBuild hook question (misbehavior?)

John Marino marcuscom at marino.st
Fri Nov 18 08:38:35 EST 2011


I've starting taking advantage of the hooks capability, specifically the
postPortBuild hook.  It's been working well, but a specific scenario did
not work as I expected.

Case: queue archivers/ocaml-zip
Previously unbuilt dependencies: lang/ocaml and devel/ocaml-findlib

The lang/ocaml port was attempted and failed to build.  The
postPortBuild hook fired as expected.

devel/ocaml-findlib and the queued port archives/ocaml-zip were marked
failed "D" but the postPortBuild hook did NOT fire.

I expected that it would fire two more times and mark these ports failed
for the dependency reason.

1) Does anyone else consider this a bug?
2) If not, what can I modify to change this behavior?

Thanks,
John


More information about the tinderbox-list mailing list