From owner-freebsd-ports@FreeBSD.ORG Thu Mar 26 15:34:27 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84849985; Thu, 26 Mar 2015 15:34:27 +0000 (UTC) Received: from newton.apeiron.net (newton.apeiron.net [IPv6:2607:f2f8:ae14::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.apeiron.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E473ADD; Thu, 26 Mar 2015 15:34:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at apeiron.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=apeiron.net; s=newton; t=1427384065; bh=rPGNL9tDTJrrtFRPICBM/dq6LBDU9s07WKHrY8qkgFQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=pQKGWOGSUPsZCt1VtQ2qesmvN9uI0MOGYc7ygGI8wO+jDdz+m6WPmVulYWhCCIFaC x71F5XrqRNhTdHAF1tdcHc3rcmC7espqA9oXgqvV7iEZa2U2kpyGA9CkcmjUnBmYgV DX1FiYhOAFoccknscfSVsqHsqaad6Suigy5+c9SQ= Received: by newton.apeiron.net (Postfix, from userid 4001) id BFA6A91C6; Thu, 26 Mar 2015 08:34:24 -0700 (PDT) Date: Thu, 26 Mar 2015 08:34:24 -0700 From: Geoffrey Mainland To: Guido Falsi Subject: Re: net/unison240 depends on lang/ocaml-nox11 Message-ID: <20150326153424.GA14468@apeiron.net> References: <5507F80F.70609@FreeBSD.org> <55080F30.9010104@FreeBSD.org> <550B65A1.9080402@apeiron.net> <550DAD30.4080905@FreeBSD.org> <550DB13D.7020005@apeiron.net> <550DB247.2050800@FreeBSD.org> <20150326022129.GA7814@apeiron.net> <5513E5AD.8050103@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5513E5AD.8050103@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Jeremie Le Hen , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 15:34:27 -0000 On Thu, Mar 26, 2015 at 11:55:41AM +0100, Guido Falsi wrote: > On 03/26/15 03:21, Geoffrey Mainland wrote: > > On Sat, Mar 21, 2015 at 07:02:47PM +0100, Guido Falsi wrote: > >> On 03/21/15 18:58, Geoffrey Mainland wrote: > >>> On 3/21/15 10:41 AM, Guido Falsi wrote: > >>> If you still think there is no difference, I will send you full build > >>> logs both with and without the patch. > >> > >> I'd need the logs anyway, since I don't know what the cause of the error > >> you are seeing is. > >> > >> I also need to know if in the same poudriere run you were building any > >> other port depending on ocaml. > > > > Poudriere logs are posted here: > > > > https://zeno.apeiron.net/unison/test1/ > > > > With the config at the above link, poudriere won't even start a build > > as it complains (rightly) about dependency conflicts. > > > > Removing lang/ocaml-nox11 from test.pklist gets the build to start, > > but it ultimately fails because I have OPTIONS_UNSET=X11 in the > > make.conf. You can see the logs from this failed poudriere build here: > > > > https://zeno.apeiron.net/poudriere/build.html?mastername=test-9-amd64-git&build=2015-03-25_22h09m00s > > > > The successful poudriere build, with the above patch to unison, is here: > > > > https://zeno.apeiron.net/poudriere/build.html?mastername=test-9-amd64-git&build=2015-03-25_21h34m02s > > > > I would like a way to have ocaml and unison, both X11-free, as I am > > running on a headless machine. That used to be possible, and still is > > if I patch unison as shown above. > > Looking at this data I'd say you are trying to use an incorrect config: > > You don't need to specify both the unison-nox11 port and the ocaml-nox11 > port in the list of ports to be built. > > Having OPTIONS_UNSET=X11 in make.conf you could ask for just net/unison > and poudriere, respecting the OPTIONS_UNSET will build both unison and > ocaml without any X11 support. In such a case you'd have a unison > package, not stating it is not supporting X11 but in fact it will have > no X11 binaries (this can be verified by looking into the package, which > is just a txz archive) Thank you for your help, I appreciate it. Unfortunately, building just net/unison with OPTIONS_UNSET=X11 in make.conf doesn't work. See the log here: https://zeno.apeiron.net/poudriere/build.html?mastername=test-9-amd64-git&build=2015-03-26_10h51m36s > You can also request poudriere to build only net/unison-nox11, in such a > case you end up with both packages with "-nox11" in their name. I think > this is the best choice. Building just net/unison-nox11 *with* OPTIONS_UNSET=X11 also doesn't work: https://zeno.apeiron.net/poudriere/build.html?mastername=test-9-amd64-git&build=2015-03-26_11h00m14s Building just net/unison-nox11 *without* OPTIONS_UNSET=X11 does work: https://zeno.apeiron.net/poudriere/build.html?mastername=test-9-amd64-git&build=2015-03-26_11h18m16s Of course this also pulls in all the X11 dependencies. It appears that installing unison requires that lang/ocaml be installed with the X11 dependencies. This is in contrast to the old state of affairs (reverting to the old lang/ocaml-nox11 dependency), where no X11 dependencies were built: https://zeno.apeiron.net/poudriere/build.html?mastername=test-9-amd64-git&build=2015-03-25_21h34m02s If this is as good as it gets, that's fine. If you see a way for me to install unison and avoid X11, please let me know. Thanks, Geoff