Processing of port freecad fails

Marius Schamschula lists at schamschula.com
Fri Jan 9 11:16:45 PST 2015


On Jan 9, 2015, at 12:52 PM, Ryan Schmidt <ryandesign at macports.org> wrote:

> 
> On Jan 8, 2015, at 8:40 PM, Eneko Gotzon wrote:
> 
>> --->  Fetching distfiles for freecad
>> Error: org.macports.fetch for port freecad returned: must set at least one fortran variant
>> 
>> freecad has these variants:
>>   debug: Enable debug binaries
>>   gcc48: Build using the MacPorts gcc 4.8 compiler
>>   universal: Build for multiple architectures
>> 
>> Please,
>> 	• What must I choose?
>> 	• What exact command must I run?
> 
> The error message says you must set a fortran variant.
> 
> The only one of those variants that has to do with fortran is gcc48, so you should run:
> 
> sudo port clean freecad
> sudo port install freecad +gcc48
> 
> It is unclear to me why freecad does not declare +gcc48 a default variant, or why indeed if fortran is required it is offered as a "variant" at all. Variants are used for options the user may choose to enable or disable, but in this case it sounds like the user does not actually have any choice at all, and so should not be offered one.

freecad used to declare +gcc48 as the default variant until  https://trac.macports.org/changeset/130949 was committed. Given that this change set deleted fortran related default variants for a number of packages, we will likely hear about these in the near future.

Marius
--
Marius Schamschula




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150109/9d89af41/attachment.html>


More information about the macports-users mailing list