ghc port vanished

Gregory Wright gwright at antiope.com
Tue Mar 4 13:29:51 PST 2008


Hi Adam,

On Mar 4, 2008, at 4:00 PM, Adam Mercer wrote:

> On Tue, Mar 4, 2008 at 3:47 PM, Gregory Wright <gwright at antiope.com>  
> wrote:
>>
>>
>> Hi,
>>
>> I checked in a version bump of ghc to 6.8.2 yesterday.  The portfile
>> is in the svn
>> repo, but someone emailed me to say that it did not appear in their
>> dports tree.
>> I notice as well that it is missing from the "available ports" on the
>> web page.
>>
>> Did something go awry or should just advise people to wait until some
>> script syncs
>> things up?
>
> Looks like theres a problem with the port, from the latest PortIndex  
> mailing
>
> Total number of ports parsed:	4543
> Ports successfully parsed:	4542	
> Ports failed:			1
>
> Failed to parse file lang/ghc/Portfile: Error evaluating variants
>
> So you've got somthing wrong with the variants, I guess its:
>
> variant no_opengl       { configure.args-append --disable-opengl
>                          configure.args-append --disable-glut
> }
>
> which should be:
>
> variant no_opengl       {
>  configure.args-append --disable-opengl
>  configure.args-append --disable-glut
> }
>

I am a bit confused by this since the Portfile built successfully.   
Does portindex
enforce a stricter syntax or is it this just a quirk?

> lint also gives a lot of warnings:
>
> --->  Verifying Portfile for ghc
> Warning: Line 4 should be a newline (after PortSystem)
> Warning: Line 21 has trailing whitespace before newline
> Warning: Variant no_opengl does not have a description
> Warning: Patchfile patch-configure.ac does not follow the source patch
<snip>

I'll canonicalize the patch names at the next minor revision.

Best Wishes,
Greg



More information about the macports-dev mailing list