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

Bug#1110626: libcmis ftbfs with boost 1.88



forwarded 1110626 https://github.com/tdf/libcmis/issues/67

tag 1110626 + upstream

tag 1110626 + fixed-upstream

tag 1110626 + pending

thanks


Am 09.08.25 um 10:32 schrieb Matthias Klose:
libcmis ftbfs with boost 1.88, and only checked with GCC 15:

Don't believe so, it also fails with boost 1.88 and gcc 14 with the same error.


[...]
xml-utils.cxx: In function 'std::string libcmis::sha1(const std::string&)':
xml-utils.cxx:539:26: error: cannot convert 'unsigned int [5]' to 'unsigned char (&)[20]'
  539 |         sha1.get_digest( digest );
      |                          ^~~~~~
      |                          |
      |                          unsigned int [5]
In file included from xml-utils.cxx:40:
/usr/include/boost/uuid/detail/sha1.hpp:179:43: note: initializing argument 1 of 'void boost::uuids::detail::sha1::get_digest(unsigned char (&)[20])'
  179 | inline void sha1::get_digest(digest_type& digest)
      |                              ~~~~~~~~~~~~~^~~~~~
make[4]: *** [Makefile:1207: libcmis_la-xml-utils.lo] Error 1

This is upstream https://github.com/tdf/libcmis/issues/67 (so https://github.com/tdf/libcmis/commit/dfcb642a491f7ec2ae52e3e83d31bb6cdf3670c2 and https://github.com/tdf/libcmis/commit/0753091be57edae28655e43a9bae9e4c4e414117 to not break older boosts)


Will add.


It would have been extremely helpful if there was a matching libboost(...)-dev, not just the 1.88-dev since this now involves ignoring the build-depends (which works here, but for stuff which depends on stuff which depends on libboost-dev this will become cumbersome)


Regards,


Rene


Reply to: