net/unison240 depends on lang/ocaml-nox11

Guido Falsi madpilot at
Sat Mar 21 14:50:47 UTC 2015

On 03/21/15 14:50, Michelle Sullivan wrote:
> Guido Falsi wrote:
>> On 03/21/15 13:26, Michelle Sullivan wrote:
>> This leads me to think there is some misalignment of the X11 option in
>> your setup, that's why I asked for the full log of the failed build, I
>> need to check the environment.
>> I'm doing some testing but if you could provide me the build log of the
>> failed unison build it would help.
> You maybe right .. somehow I have a misaligned make.conf for 93amd64 vs
> 93i386 (everything built without error until 93i386)
> root at 93i386:~ # more /usr/local/etc/poudriere.d/93amd64-make.conf
> DEFAULT_VERSIONS+=apache=2.2
> root at 93i386:~ # more /usr/local/etc/poudriere.d/93i386-make.conf
> DEFAULT_VERSIONS+=apache=2.2 perl5=5.16
> root at 93i386:~ # more
> /usr/local/etc/poudriere.d/93i386-options/net_unison/options
> # This file is auto-generated by 'make config'.
> # Options for unison-2.40.102_3
> _OPTIONS_READ=unison-2.40.102_3
> Which means that if unsetting X11 on in the port and not globally ocaml
> is built with X11 and unison without - which poudriere will fail on when
> it tries to find the dependencies...  which means my thoughts were
> exactly the opposite ... poudriere scans the dependency tree on startup
> which picks up the -nox11 package as a dependency then builds with x11
> when it builds ocaml...


There are four cases:

one asks for both with or without X11, works fine, in both.

one asks for ocaml without X11 and unison with X11, this is wrong and
cannot obviously work.

last case is asking for ocaml with X11 and unison without. This could
work in theory, and will work on a live system, but will not work in
poudriere at present, due to ocaml changing it's package name
dynamically. I don't know how to make it work with the present ports system.

This fourth case anyway makes little sense to me anyway, once you have
pulled in the X11 dependency why not use it in all ports which can take
advantage of it?

Guido Falsi <madpilot at>

More information about the freebsd-ports mailing list