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

Xapian nobody at xapian.org
Thu Jan 2 11:48:31 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:

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

> When build is configured with --enable-log option, building xapian fails.
> It fails because KeyMaker class doesn't have get_description method which
> is probably used for logging.
>
> I was get away with an error while adding a dummy get_description method.
> It will be good to fix this issue. I can try fixing this but I was not
> sure what to return in description for KeyMaker.
>
> I can give it a go with guidance on what to return.

New description:

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

 {{{

 :
 ./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.
 It fails because KeyMaker class doesn't have get_description method which
 is probably used for logging.

 I was get away with an error while adding a dummy get_description method.
 It will be good to fix this issue. I can try fixing this but I was not
 sure what to return in description for KeyMaker.

 I can give it a go with guidance on what to return.

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


More information about the Xapian-tickets mailing list