[Xapian-tickets] [Xapian] #469: getopt changes in r14327 breaks build on OpenSolaris (was: r14327 breaks build on OpenSolaris)

Xapian nobody at xapian.org
Mon Apr 26 09:36:36 BST 2010


#469: getopt changes in  r14327 breaks build on OpenSolaris
--------------------------+-------------------------------------------------
 Reporter:  wereHamster   |       Owner:  olly    
     Type:  defect        |      Status:  assigned
 Priority:  normal        |   Milestone:  1.0.20  
Component:  Build system  |     Version:  1.1.5   
 Severity:  normal        |    Keywords:          
Blockedby:                |    Platform:  Solaris 
 Blocking:                |  
--------------------------+-------------------------------------------------
Changes (by olly):

  * status:  new => assigned
  * platform:  All => Solaris
  * component:  Other => Build system
  * milestone:  => 1.0.20


Comment:

 Hmm, so Solaris declares getopt stuff in stdlib.h, which the man page
 doesn't seem to mention.

 I think we need to stop digging and just apply a fix targetted at Cygwin.
 It doesn't seem ideal that we're creating a second definition of optind,
 etc on some platforms, but it only actually seems to cause issues on
 Cygwin.  So reverted the recent getopt changes in r14421 and applied a
 targetted fix in r14422.

 Needs backporting for 1.0.20.

-- 
Ticket URL: <http://trac.xapian.org/ticket/469#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list