[Xapian-tickets] [Xapian] #631: Doesn't build with Sun C++ since C++11 switch

Xapian nobody at xapian.org
Mon Jun 10 07:42:11 BST 2019


#631: Doesn't build with Sun C++ since C++11 switch
--------------------------+----------------------------
 Reporter:  dmichelsen    |             Owner:  olly
     Type:  defect        |            Status:  new
 Priority:  normal        |         Milestone:  1.4.x
Component:  Build system  |           Version:  1.3.1
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  Solaris
--------------------------+----------------------------

Comment (by olly):

 I can build the usual test programs (`soaktest` fails in a similar way to
 `xapian-delve` though).

 `unittest`, `internaltest` and `stemtest` all pass.

 `apitest` fails for honey like so:

 {{{
 Running test: expandweights7...terminate called after throwing an instance
 of 'Xapian::InvalidArgumentError'
 Abort (core dumped)
 }}}

 This suggests exception handling isn't working correctly as the test
 harness should catch all exceptions.  In fact from the commented above it
 looks like the same issue we were hitting 4 years ago.

 But if I force a static library build (configure with `--disable-shared`)
 then the build completes and the testsuite passes except for a single
 failure with remotetcp_glass:

 {{{
 Running test: closedb5... FAIL: EXCEPTION std::string recursive delete of
 ".glass/dbw") failed, errno = File exists
 }}}

 Retrying just this testcase by hand, it seems to fail like that about half
 the time, and pass the other half.

--
Ticket URL: <https://trac.xapian.org/ticket/631#comment:9>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list