bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 2.4.2] testsuite: Failing tests of bison 2.4.2 on Solaris


From: Eric Blake
Subject: Re: [GNU Bison 2.4.2] testsuite: Failing tests of bison 2.4.2 on Solaris 8+9 w/Sun Studio 11+12
Date: Tue, 20 Apr 2010 16:13:18 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b1 Thunderbird/3.0.4

On 04/20/2010 02:16 AM, Dagobert Michelsen wrote:
> Here is a rationaly of why OpenCSW has an additional getopt.h:
> The /opt/csw/include/getopt.h is actually from libgnugetopt. It is needed
> for some packages without getopt_long detection during autoconfigure to
> compile on Solaris, as Solaris does not have getopt_long natively. The
> source
> was taken from
>   http://distfiles.macports.org/libgnugetopt/
> 
> Unfortunately I was unable to find a real upstream site with bugtracking
> etc.

Huh - I suppose that we could consider gnulib to be the current upstream
of a porting effort for getopt to other platforms.  And if that is the
case, then creating an updated libgnugetopt might be as simple as:

gnulib-tool --create-testdir --dir=libgnugetopt getopt-gnu

>>> if you use autoconf 2.64 (prior to that, if the existence and
>>> compilation checks disagree, autoconf went with the existence check).
>>
>> We are using autoconf 2.65.

Then I'm confused how /opt/csw/include/getopt.h is getting included at
all in the first place.  What does config.log say about getopt?

>> I updated gnulib to 2f3175, but the failure remains the same for bison.
>>
>> Is there any more information we can provide?
> 
> Thanks for your efforts!

I guess I'll have to try logging on to the Solaris machine again, and
this time going for the full bison compile rather than just the minimal
gnulib test.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]