Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1455

couchbase-python-client 4.1.2 can't be build in Fedora 37

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1.3
    • None
    • None
    • None
    • Fedora 37
    • 0

    Description

      Most likely because of gcc-12 is in use, the building fails as types are mixed in binary_ops.hxx.

      This will fix it:

      {{diff --git a/src/binary_ops.hxx b/src/binary_ops.hxx
      index cd502de..714f632 100644
      — a/src/binary_ops.hxx
      +++ b/src/binary_ops.hxx
      @@ -38,8 +38,8 @@ struct counter_options

      {      uint32_t expiry\{ 0 }

      ;
           couchbase::durability_level durability_level{ couchbase::durability_level::none };
           bool use_legacy_durability{ false };

      •    couchbase::replicate_to replicate_to{ couchbase::persist_to::none };
      •    couchbase::persist_to persist_to{ couchbase::replicate_to::none };
        +    couchbase::replicate_to replicate_to{ couchbase::replicate_to::none };
        +    couchbase::persist_to persist_to{ couchbase::persist_to::none };
             std::optional<uint64_t> initial_value{};
             PyObject* span = nullptr;
         };
        }}

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jared.casey Jared Casey
            vheikkin Ville Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty