Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2015 17:55:38 +0100
From:      Michael Grimm <trashcan@odo.in-berlin.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: net/unison240 depends on lang/ocaml-nox11
Message-ID:  <A2C3ACF2-0391-4B16-A552-C9934020B0FD@odo.in-berlin.de>
In-Reply-To: <550D853C.7070303@FreeBSD.org>
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> <550D853C.7070303@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 21.03.2015, at 15:50, Guido Falsi <madpilot@FreeBSD.org> wrote:
> On 03/21/15 14:50, Michelle Sullivan wrote:


>> 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...
>=20
> Exactly.
>=20
> There are four cases:
>=20
> one asks for both with or without X11, works fine, in both.
>=20
> one asks for ocaml without X11 and unison with X11, this is wrong and
> cannot obviously work.
>=20
> 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.
>=20
> 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?


I recently (after last upgrade of poudriere-devel, although I do not =
know if that is the cause) ran into a comparable issue with unison =
without X11 :

	| MWN> cat /usr/local/etc/poudriere.d/stable10-make.conf
	| WITHOUT_X11=3Dyes
	[...]

	| MWN> pkg info | grep unison
	| unison-nox11-2.48.3_1          User-level file synchronization =
tool (without x11 stuff)

poudriere's build failed with:

	| MWN> cat  /.../logs/ocaml-nox11-4.01.0_4.log
	| ---Begin OPTIONS List---
	| =3D=3D=3D> The following configuration options are available =
for ocaml-nox11-4.01.0_4:
	|      DOCS=3Don: Build and/or install documentation
	|      EXAMPLES=3Don: Build and/or install examples
	|      THREADS=3Don: Threading support
---->	|      TK=3Don: LablTk library (requires X11 support)
	|      X11=3Doff: X11 (graphics) support
	| =3D=3D=3D> Use 'make config' to modify these settings
	| ---End OPTIONS List---
	[...]
	| ---End make.conf---
	| =3D=3D=3D=3D>> Ignoring lang/ocaml: requires X11 support to =
build TK bindings
	| build of lang/ocaml ended at Sat Mar 21 17:08:37 CET 2015

That's weird, ocaml-nox11 defaults to "TK=3Don" which requires X11 =
support. Bug or feature?

I explicitly had to to unset "LablTk library (requires X11 support)" to =
get this issue solved.

Regards,
Michael




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A2C3ACF2-0391-4B16-A552-C9934020B0FD>