[Xapian-tickets] [Xapian] #799: Issue with enable-log option failing while building

Xapian nobody at xapian.org
Thu Jan 2 11:46:21 GMT 2020


#799: Issue with enable-log option failing while building
--------------------------+-------------------------------
 Reporter:  Gaurav Arora  |             Owner:  Olly Betts
     Type:  defect        |            Status:  new
 Priority:  normal        |         Milestone:
Component:  Other         |           Version:
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+-------------------------------
Description changed by Gaurav Arora:

Old description:

> ```
> :
> ./common/pretty.h:59:11:   required from ‘PrettyOStream<S>&
> operator<<(PrettyOStream<S>&, const T&) [with S =
> std::__cxx11::basic_ostringstream<char>; T = Xapian::KeyMaker]’
> ./common/pretty.h:87:15:   required from ‘PrettyOStream<S>&
> operator<<(PrettyOStream<S>&, const T*) [with S =
> std::__cxx11::basic_ostringstream<char>; T = Xapian::KeyMaker]’
> api/registry.cc:448:5:   required from here
> /usr/include/c++/8/ostream:682:5: error: no type named ‘type’ in ‘struct
> std::enable_if<false, std::basic_ostream<char>&>’
> make[2]: *** [Makefile:3259: api/registry.lo] Error 1
> ```
>
> When build is configured with --enable-log option, building xapian fails.
> Because newlu KeyMaker class doesn't have get_description method which is
> probably used for logging.
>
> I was get away with error while adding a dummy get_description method. It
> will be good to fix this issue.

New description:

 Pastebin of error:
 https://pastebin.com/Zk4hqU7R


 When build is configured with --enable-log option, building xapian fails.
 Because newlu KeyMaker class doesn't have get_description method which is
 probably used for logging.

 I was get away with error while adding a dummy get_description method. It
 will be good to fix this issue.

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


More information about the Xapian-tickets mailing list