Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2015 15:50:36 +0100
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        Michelle Sullivan <michelle@sorbs.net>
Cc:        Jeremie Le Hen <jlh@FreeBSD.org>, freebsd-ports@freebsd.org
Subject:   Re: net/unison240 depends on lang/ocaml-nox11
Message-ID:  <550D853C.7070303@FreeBSD.org>
In-Reply-To: <550D7726.1060704@sorbs.net>
References:  <CAGSa5y3KPuEsGHPztA4k_ejfvHnREMHysynHY%2B4ephA44rw-bg@mail.gmail.com> <CAGSa5y1ye0tAkF3Yjcd4yHA1_RjZxW025PaK3pexMChVW0c3eg@mail.gmail.com> <550D4CA0.8000606@sorbs.net> <550D61BF.3030403@FreeBSD.org> <550D636B.5020000@sorbs.net> <550D6D0F.7080401@FreeBSD.org> <550D7726.1060704@sorbs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@93i386:~ # more /usr/local/etc/poudriere.d/93amd64-make.conf
> NO_WARNING_PKG_INSTALL_EOL=yes
> WITH_MODPERL2=yes
> OPTIONS_UNSET=X11 NLS
> DEFAULT_VERSIONS+=apache=2.2
> TEX_DEFAULT=tetex
> root@93i386:~ # more /usr/local/etc/poudriere.d/93i386-make.conf
> NO_WARNING_PKG_INSTALL_EOL=yes
> WITH_MODPERL2=yes
> OPTIONS_UNSET=NLS
> DEFAULT_VERSIONS+=apache=2.2 perl5=5.16
> PERL5_DEFAULT=5.16
> TEX_DEFAULT=tetex
> WITH_NEW_MESA=yes
> root@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
> _FILE_COMPLETE_OPTIONS_LIST=DOCS X11
> OPTIONS_FILE_UNSET+=DOCS
> OPTIONS_FILE_UNSET+=X11
> 
> 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...

Exactly.

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@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?550D853C.7070303>