poudriere options -c does not work as expected?

Bryan Drewery bdrewery at FreeBSD.org
Thu Oct 10 13:06:05 UTC 2013


On 10/10/2013 8:02 AM, Anton Shterenlikht wrote:
>>From bdrewery at freebsd.org Thu Oct 10 13:48:11 2013
>>
>> On 10/10/2013 7:19 AM, Anton Shterenlikht wrote:
>>> >From bdrewery at freebsd.org Thu Oct 10 13:11:24 2013
>>>>
>>>> On 10/10/2013 6:26 AM, Anton Shterenlikht wrote:
>>>>> I need to change options for several ports to get
>>>>> them build on ia64, e.g.=3D20
>>>>> =3D3D=3D3D=3D3D>  Configuring for R-3.0.1
>>>>> libquadmath is not available for your compiler and architecture: plea=
>> se=3D
>>>> enable the MISSING option.
>>>>> *** Error code 1
>>>>> make: stopped in /usr/ports/math/R
>>>>> =3D20
>>>>> I set the options with "poudriere options -c math/R".
>>>>> =3D20
>>>>> But the option doesn't seem to be set:
>>>>> =3D20
>>>>> # make -C  /pdr/ports/math/R showconfig |grep MISSING
>>>>>      MISSING=3D3Doff: 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 run=
>>
>>>> 'make -C...showconfig' from host to see the options without adding
>>>> PORT_DBDIR.
>>>>
>>>> Try make -C ... showconfig PORT_DBDIR=3D3D/usr/local/etc/poudriere.d/o=
>> ption=3D
>>> =20
>>> ok:
>>> =20
>>> # grep =3DMISSING /usr/local/etc/poudriere.d/options/math_R/options
>>> OPTIONS_FILE_SET+=3DMISSING
>>> #=20
>>> =20
>>> So the option is set.
>>> Still, I get:
>>> =20
>>> =3D=3D=3D=3D>> Failed ports: math/R:configure
>>> =20
>>> # tail /pdr/data/logs/bulk/ia64-default/latest/logs/R-3.0.1.log=20
>>> libquadmath is not available for your compiler and architecture: please=
>> enable the MISSING option.
>>> =20
>>> =20
>>> *** Error code 1
>>> =20
>>> Stop.
>>> make: stopped in /usr/ports/math/R
>>> =3D=3D=3D>  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
>>> #=20
>>> =20
>>> Thanks
>>> =20
>>> Anton
>>> =20
>>
>> What is in the build log when it shows the options? Is MISSING enabled?
> 
> no
> 
>      MISSING=off: use libmissing rather than libquadmath
> 
> http://eis.bris.ac.uk/~mexas/R-3.0.1.log
> 
> # grep =MISSING /usr/local/etc/poudriere.d/options/math_R/options
> OPTIONS_FILE_SET+=MISSING
> # 
> 
> Thanks
> 

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.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131010/1ac44031/attachment.sig>


More information about the freebsd-ports mailing list