From owner-freebsd-ports@FreeBSD.ORG Thu Oct 10 13:46:42 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 77BA117A for ; Thu, 10 Oct 2013 13:46:42 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF8492D75 for ; Thu, 10 Oct 2013 13:46:41 +0000 (UTC) Received: from mail-we0-f171.google.com ([74.125.82.171]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUlavwJ6wSPqoSXp240BQbyP7O/tviflT@postini.com; Thu, 10 Oct 2013 13:46:41 UTC Received: by mail-we0-f171.google.com with SMTP id t60so2589834wes.30 for ; Thu, 10 Oct 2013 06:46:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=U3gZ3SdbbOKYruO2je2L3jFbSv7Gx0Q+mwqnuElmXx4=; b=mAsiwvqSVCAfnSP6J6QKdAb3uadMvxcYGppSQlBE8JTzUy5mKN0i4XXrkpbNsC3tJd x0SDJbIpQQt9LlOo3C9JEB2524TVlVERiUOLGCr//68dyIczlzzzLIiFbiqOMvrzvSj6 R/XWvpsdZ0YV5z/BtP8LorG/V9x5AfzL4njXd6Q6zfftBQMHzuUhANxlctuMct/1ZpJL clK9KcQsh/yAUz6X7IZGrMbSN7sjjBTy83w96bdITasE9WkpwjCphROgd1LBryjFRPiK iVK67itb3CqP5o5cSUIYSz9Uq9nDVzE4WDuZjif0tJJvAk3e6258EVJvE1pPaU0R1fQB R1Yw== X-Gm-Message-State: ALoCoQkXC9cXmAKJkVEpBhagMzsSXgoUAw0ZnSI2bV5rRPfQPbyK5aCD+WoQkulzv2zWlxrYHvKWZ7E4L6ylv+os2NLF5StfbjqCLitsK3bCrpzAUNN4nHPrwUe1WA2B3GmPsinc4GGQ03xpyXJP2QdasIatgaR20485LtdZYnWcclaxpNczVgU= X-Received: by 10.194.109.68 with SMTP id hq4mr12390222wjb.12.1381412799604; Thu, 10 Oct 2013 06:46:39 -0700 (PDT) X-Received: by 10.194.109.68 with SMTP id hq4mr12390207wjb.12.1381412799365; Thu, 10 Oct 2013 06:46:39 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id q5sm25816533wiz.3.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Oct 2013 06:46:38 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r9ADkaPS066240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 10 Oct 2013 14:46:36 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r9ADkabj066239; Thu, 10 Oct 2013 14:46:36 +0100 (BST) (envelope-from mexas) Date: Thu, 10 Oct 2013 14:46:36 +0100 (BST) From: Anton Shterenlikht Message-Id: <201310101346.r9ADkabj066239@mech-cluster241.men.bris.ac.uk> To: bdrewery@FreeBSD.org, mexas@bris.ac.uk Subject: Re: poudriere options -c does not work as expected? In-Reply-To: <5256A637.6060508@FreeBSD.org> Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 13:46:42 -0000 >From bdrewery@freebsd.org Thu Oct 10 14:34:30 2013 >>>>>> =3D3D3D=3D3D3D=3D3D3D> Configuring for R-3.0.1 >>>>>> libquadmath is not available for your compiler and architecture: pl= >ea=3D >>> se=3D3D >>>>> enable the MISSING option. >>>>>> *** Error code 1 >>>>>> make: stopped in /usr/ports/math/R >>>>>> =3D3D20 >>>>>> I set the options with "poudriere options -c math/R". >>>>>> =3D3D20 >>>>>> But the option doesn't seem to be set: >>>>>> =3D3D20 >>>>>> # make -C /pdr/ports/math/R showconfig |grep MISSING >>>>>> MISSING=3D3D3Doff: use libmissing rather than libquadmath >>>>> >>>>> It doesn't work like this. poudriere options stores options in >>>>> /usr/local/etc/poudriere.d/options not in /var/db/ports, you can't r= >un=3D >>> >>>>> 'make -C...showconfig' from host to see the options without adding >>>>> PORT_DBDIR. >>>>> >>>>> Try make -C ... showconfig PORT_DBDIR=3D3D3D/usr/local/etc/poudriere= >=2Ed/o=3D >>> ption=3D3D >>>> =3D20 >>>> ok: >>>> =3D20 >>>> # grep =3D3DMISSING /usr/local/etc/poudriere.d/options/math_R/options= > >>>> OPTIONS_FILE_SET+=3D3DMISSING >>>> #=3D20 >>>> =3D20 >>>> So the option is set. >>>> Still, I get: >>>> =3D20 >>>> =3D3D=3D3D=3D3D=3D3D>> Failed ports: math/R:configure >>>> =3D20 >>>> # tail /pdr/data/logs/bulk/ia64-default/latest/logs/R-3.0.1.log=3D20 >>>> libquadmath is not available for your compiler and architecture: plea= >se=3D >>> enable the MISSING option. >>>> =3D20 >>>> =3D20 >>>> *** Error code 1 >>>> =3D20 >>>> Stop. >>>> make: stopped in /usr/ports/math/R >>>> =3D3D=3D3D=3D3D> Cleaning for R-3.0.1 >>>> build of /usr/ports/math/R ended at Thu Oct 10 13:09:10 BST 2013 >>>> build time: 00:02:45 >>>> #=3D20 >>>> =3D20 >>>> Thanks >>>> =3D20 >>>> Anton >>>> =3D20 >>> >>> What is in the build log when it shows the options? Is MISSING enabled= >? >>=20 >> no >>=20 >> MISSING=3Doff: use libmissing rather than libquadmath >>=20 >> http://eis.bris.ac.uk/~mexas/R-3.0.1.log >>=20 >> # grep =3DMISSING /usr/local/etc/poudriere.d/options/math_R/options >> OPTIONS_FILE_SET+=3DMISSING >> #=20 >>=20 >> Thanks >>=20 > >Show me: echo /usr/local/etc/poudriere.d/*-options. > >I am guessing you have an ia64-options directory. If so, this would be >used instead of the 'options' dir as it is more specific. Delete that >and then your options will work as expected. You are right! # echo /usr/local/etc/poudriere.d/*options /usr/local/etc/poudriere.d/ia64-options /usr/local/etc/poudriere.d/options # So I get it now: poudriere options -c -j category/port will write under /usr/local/etc/poudriere.d/-options while poudriere options -c category/port will write under /usr/local/etc/poudriere.d/options So then poudriere bulk -j -f ... will pull the options, and not the generic options Very clever! Many thanks Anton