Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-949

libcouchbase2-libevent libevent dependency version difference

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: 2.9.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 18.04

      Description

      The deb package for libcouchbase2-libevent has the following dependencies:

      libevent-1.4-2 (>= 1.4) | libevent-2.0-5 (>= 2.0), libcouchbase2-core (= 2.9.2-1), libc6 (>= 2.4), libevent-core-2.1-6 (>= 2.1.8-stable)

      On Ubuntu 18.04, libevent-2.0-5 is not in the official repo's, but libevent-2.1-6 is. Note that libevent-core-2.1-6 is available in the official repositories.

      I think libevent-2.1-6 should be used.

      The only (workaround) way to install this package on Ubuntu 18.04 is by installing both libevent-1.4-2 and libevent-core-2.1-6.

        Attachments

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

          Activity

          Hide
          avsej Sergey Avseyev added a comment -

          I'm using ubuntu 18.04 clean chroot environment to build the package and no issues were reported.

          Why installing libevent-2.1-6 and libevent-core-2.1-6 does not satisfy requirements? I don't think you really need libevent-1.4-2 on Ubuntu 18.04. Does it gives an error otherwise?

          Show
          avsej Sergey Avseyev added a comment - I'm using ubuntu 18.04 clean chroot environment to build the package and no issues were reported. Why installing libevent-2.1-6 and libevent-core-2.1-6 does not satisfy requirements? I don't think you really need libevent-1.4-2 on Ubuntu 18.04. Does it gives an error otherwise?
          Hide
          demontpx Bert Hekman added a comment -

          I'm using a docker container using the `ubuntu:bionic` image to run this script:

          #!/usr/bin/env bash
           
          set -xe
           
          apt update
          apt install libevent-2.1-6 libevent-core-2.1-6
           
          mkdir -p ../tmp
          cd ../tmp
           
          wget https://github.com/couchbase/libcouchbase/releases/download/2.9.2/libcouchbase-2.9.2_ubuntu1804_amd64.tar
           
          tar xvf libcouchbase-2.9.2_ubuntu1804_amd64.tar
           
          cd libcouchbase-2.9.2_ubuntu1804_amd64
           
          dpkg -i libcouchbase2-core_2.9.2-1_amd64.deb libcouchbase2-libevent_2.9.2-1_amd64.deb
          

          This results in:

          root@0ef0a6b8411e:/workdir/scripts# ./test.sh 
          + apt update
          Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
          Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 
          Get:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 
          Get:4 http://archive.ubuntu.com/ubuntu bionic/universe Sources [11.5 MB] 
          Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] 
          Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe Sources [5645 B] 
          Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [1075 B]
          Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [137 kB]
          Get:9 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] 
          Get:10 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] 
          Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] 
          Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [39.3 kB]
          Get:13 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] 
          Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [43.6 kB] 
          Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [3679 B]
          Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [219 kB]
          Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [140 kB]
          Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2807 B]
          Fetched 25.5 MB in 3s (8037 kB/s) 
          Reading package lists... Done
          Building dependency tree 
          Reading state information... Done
          17 packages can be upgraded. Run 'apt list --upgradable' to see them.
          + apt install libevent-2.1-6 libevent-core-2.1-6
          Reading package lists... Done
          Building dependency tree 
          Reading state information... Done
          The following NEW packages will be installed:
          libevent-2.1-6 libevent-core-2.1-6
          0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded.
          Need to get 219 kB of archives.
          After this operation, 630 kB of additional disk space will be used.
          Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB]
          Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB]
          Fetched 219 kB in 0s (1580 kB/s) 
          debconf: delaying package configuration, since apt-utils is not installed
          Selecting previously unselected package libevent-2.1-6:amd64.
          (Reading database ... 22971 files and directories currently installed.)
          Preparing to unpack .../libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ...
          Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ...
          Selecting previously unselected package libevent-core-2.1-6:amd64.
          Preparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...
          Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
          Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ...
          Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
          Processing triggers for libc-bin (2.27-3ubuntu1) ...
          + mkdir -p ../tmp
          + cd ../tmp
          + wget https://github.com/couchbase/libcouchbase/releases/download/2.9.2/libcouchbase-2.9.2_ubuntu1804_amd64.tar
          --2018-07-05 08:54:57-- https://github.com/couchbase/libcouchbase/releases/download/2.9.2/libcouchbase-2.9.2_ubuntu1804_amd64.tar
          Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
          Connecting to github.com (github.com)|192.30.253.112|:443... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/2077002/cb269538-7621-11e8-9136-52953641c93c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T085457Z&X-Amz-Expires=300&X-Amz-Signature=43277ba0a1024a181d279d1a78d0e21534f6b8409bfc1ece2a30b2c91993c208&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dlibcouchbase-2.9.2_ubuntu1804_amd64.tar&response-content-type=application%2Foctet-stream [following]
          --2018-07-05 08:54:57-- https://github-production-release-asset-2e65be.s3.amazonaws.com/2077002/cb269538-7621-11e8-9136-52953641c93c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T085457Z&X-Amz-Expires=300&X-Amz-Signature=43277ba0a1024a181d279d1a78d0e21534f6b8409bfc1ece2a30b2c91993c208&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dlibcouchbase-2.9.2_ubuntu1804_amd64.tar&response-content-type=application%2Foctet-stream
          Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.99.179
          Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.99.179|:443... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 5519360 (5.3M) [application/octet-stream]
          Saving to: ‘libcouchbase-2.9.2_ubuntu1804_amd64.tar’
           
          libcouchbase-2.9.2_ubunt 100%[==================================>] 5.26M 1.11MB/s in 5.2s 
           
          2018-07-05 08:55:03 (1.01 MB/s) - ‘libcouchbase-2.9.2_ubuntu1804_amd64.tar’ saved [5519360/5519360]
           
          + tar xvf libcouchbase-2.9.2_ubuntu1804_amd64.tar
          libcouchbase-2.9.2_ubuntu1804_amd64/
          libcouchbase-2.9.2_ubuntu1804_amd64/libcouchbase2-libev_2.9.2-1_amd64.deb
          libcouchbase-2.9.2_ubuntu1804_amd64/libcouchbase-dbg_2.9.2-1_amd64.deb
          libcouchbase-2.9.2_ubuntu1804_amd64/libcouchbase2-libevent_2.9.2-1_amd64.deb
          libcouchbase-2.9.2_ubuntu1804_amd64/libcouchbase-dev_2.9.2-1_amd64.deb
          libcouchbase-2.9.2_ubuntu1804_amd64/libcouchbase2-bin_2.9.2-1_amd64.deb
          libcouchbase-2.9.2_ubuntu1804_amd64/libcouchbase2-core_2.9.2-1_amd64.deb
          + cd libcouchbase-2.9.2_ubuntu1804_amd64
          + dpkg -i libcouchbase2-core_2.9.2-1_amd64.deb libcouchbase2-libevent_2.9.2-1_amd64.deb
          Selecting previously unselected package libcouchbase2-core:amd64.
          (Reading database ... 22981 files and directories currently installed.)
          Preparing to unpack libcouchbase2-core_2.9.2-1_amd64.deb ...
          Unpacking libcouchbase2-core:amd64 (2.9.2-1) ...
          Selecting previously unselected package libcouchbase2-libevent:amd64.
          Preparing to unpack libcouchbase2-libevent_2.9.2-1_amd64.deb ...
          Unpacking libcouchbase2-libevent:amd64 (2.9.2-1) ...
          Setting up libcouchbase2-core:amd64 (2.9.2-1) ...
          dpkg: dependency problems prevent configuration of libcouchbase2-libevent:amd64:
          libcouchbase2-libevent:amd64 depends on libevent-1.4-2 (>= 1.4) | libevent-2.0-5 (>= 2.0); however:
          Package libevent-1.4-2 is not installed.
          Package libevent-2.0-5 is not installed.
           
          dpkg: error processing package libcouchbase2-libevent:amd64 (--install):
          dependency problems - leaving unconfigured
          Processing triggers for libc-bin (2.27-3ubuntu1) ...
          Errors were encountered while processing:
          libcouchbase2-libevent:amd64
          

          Show
          demontpx Bert Hekman added a comment - I'm using a docker container using the `ubuntu:bionic` image to run this script: #!/usr/bin/env bash   set -xe   apt update apt install libevent- 2.1 - 6 libevent-core- 2.1 - 6   mkdir -p ../tmp cd ../tmp   wget https: //github.com/couchbase/libcouchbase/releases/download/2.9.2/libcouchbase-2.9.2_ubuntu1804_amd64.tar   tar xvf libcouchbase- 2.9 .2_ubuntu1804_amd64.tar   cd libcouchbase- 2.9 .2_ubuntu1804_amd64   dpkg -i libcouchbase2-core_2. 9.2 -1_amd64.deb libcouchbase2-libevent_2. 9.2 -1_amd64.deb This results in: root @0ef0a6b8411e :/workdir/scripts# ./test.sh + apt update Get: 1 http: //archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get: 2 http: //archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get: 3 http: //archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get: 4 http: //archive.ubuntu.com/ubuntu bionic/universe Sources [11.5 MB] Get: 5 http: //security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Get: 6 http: //security.ubuntu.com/ubuntu bionic-security/universe Sources [5645 B] Get: 7 http: //security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [1075 B] Get: 8 http: //security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [137 kB] Get: 9 http: //archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] Get: 10 http: //archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] Get: 11 http: //archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] Get: 12 http: //security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [39.3 kB] Get: 13 http: //archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] Get: 14 http: //archive.ubuntu.com/ubuntu bionic-updates/universe Sources [43.6 kB] Get: 15 http: //archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [3679 B] Get: 16 http: //archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [219 kB] Get: 17 http: //archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [140 kB] Get: 18 http: //archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2807 B] Fetched 25.5 MB in 3s ( 8037 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 17 packages can be upgraded. Run 'apt list --upgradable' to see them. + apt install libevent- 2.1 - 6 libevent-core- 2.1 - 6 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libevent- 2.1 - 6 libevent-core- 2.1 - 6 0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded. Need to get 219 kB of archives. After this operation, 630 kB of additional disk space will be used. Get: 1 http: //archive.ubuntu.com/ubuntu bionic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB] Get: 2 http: //archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB] Fetched 219 kB in 0s ( 1580 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libevent- 2.1 - 6 :amd64. (Reading database ... 22971 files and directories currently installed.) Preparing to unpack .../libevent- 2.1 -6_2. 1.8 -stable-4build1_amd64.deb ... Unpacking libevent- 2.1 - 6 :amd64 ( 2.1 . 8 -stable-4build1) ... Selecting previously unselected package libevent-core- 2.1 - 6 :amd64. Preparing to unpack .../libevent-core- 2.1 -6_2. 1.8 -stable-4build1_amd64.deb ... Unpacking libevent-core- 2.1 - 6 :amd64 ( 2.1 . 8 -stable-4build1) ... Setting up libevent- 2.1 - 6 :amd64 ( 2.1 . 8 -stable-4build1) ... Setting up libevent-core- 2.1 - 6 :amd64 ( 2.1 . 8 -stable-4build1) ... Processing triggers for libc-bin ( 2.27 -3ubuntu1) ... + mkdir -p ../tmp + cd ../tmp + wget https: //github.com/couchbase/libcouchbase/releases/download/2.9.2/libcouchbase-2.9.2_ubuntu1804_amd64.tar -- 2018 - 07 - 05 08 : 54 : 57 -- https: //github.com/couchbase/libcouchbase/releases/download/2.9.2/libcouchbase-2.9.2_ubuntu1804_amd64.tar Resolving github.com (github.com)... 192.30 . 253.112 , 192.30 . 253.113 Connecting to github.com (github.com)| 192.30 . 253.112 |: 443 ... connected. HTTP request sent, awaiting response... 302 Found Location: https: //github-production-release-asset-2e65be.s3.amazonaws.com/2077002/cb269538-7621-11e8-9136-52953641c93c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T085457Z&X-Amz-Expires=300&X-Amz-Signature=43277ba0a1024a181d279d1a78d0e21534f6b8409bfc1ece2a30b2c91993c208&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dlibcouchbase-2.9.2_ubuntu1804_amd64.tar&response-content-type=application%2Foctet-stream [following] -- 2018 - 07 - 05 08 : 54 : 57 -- https: //github-production-release-asset-2e65be.s3.amazonaws.com/2077002/cb269538-7621-11e8-9136-52953641c93c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T085457Z&X-Amz-Expires=300&X-Amz-Signature=43277ba0a1024a181d279d1a78d0e21534f6b8409bfc1ece2a30b2c91993c208&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dlibcouchbase-2.9.2_ubuntu1804_amd64.tar&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216 . 99.179 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)| 52.216 . 99.179 |: 443 ... connected. HTTP request sent, awaiting response... 200 OK Length: 5519360 ( 5 .3M) [application/octet-stream] Saving to: ‘libcouchbase- 2.9 .2_ubuntu1804_amd64.tar’   libcouchbase- 2.9 .2_ubunt 100 %[==================================>] 5 .26M 1 .11MB/s in 5 .2s   2018 - 07 - 05 08 : 55 : 03 ( 1.01 MB/s) - ‘libcouchbase- 2.9 .2_ubuntu1804_amd64.tar’ saved [ 5519360 / 5519360 ]   + tar xvf libcouchbase- 2.9 .2_ubuntu1804_amd64.tar libcouchbase- 2.9 .2_ubuntu1804_amd64/ libcouchbase- 2.9 .2_ubuntu1804_amd64/libcouchbase2-libev_2. 9.2 -1_amd64.deb libcouchbase- 2.9 .2_ubuntu1804_amd64/libcouchbase-dbg_2. 9.2 -1_amd64.deb libcouchbase- 2.9 .2_ubuntu1804_amd64/libcouchbase2-libevent_2. 9.2 -1_amd64.deb libcouchbase- 2.9 .2_ubuntu1804_amd64/libcouchbase-dev_2. 9.2 -1_amd64.deb libcouchbase- 2.9 .2_ubuntu1804_amd64/libcouchbase2-bin_2. 9.2 -1_amd64.deb libcouchbase- 2.9 .2_ubuntu1804_amd64/libcouchbase2-core_2. 9.2 -1_amd64.deb + cd libcouchbase- 2.9 .2_ubuntu1804_amd64 + dpkg -i libcouchbase2-core_2. 9.2 -1_amd64.deb libcouchbase2-libevent_2. 9.2 -1_amd64.deb Selecting previously unselected package libcouchbase2-core:amd64. (Reading database ... 22981 files and directories currently installed.) Preparing to unpack libcouchbase2-core_2. 9.2 -1_amd64.deb ... Unpacking libcouchbase2-core:amd64 ( 2.9 . 2 - 1 ) ... Selecting previously unselected package libcouchbase2-libevent:amd64. Preparing to unpack libcouchbase2-libevent_2. 9.2 -1_amd64.deb ... Unpacking libcouchbase2-libevent:amd64 ( 2.9 . 2 - 1 ) ... Setting up libcouchbase2-core:amd64 ( 2.9 . 2 - 1 ) ... dpkg: dependency problems prevent configuration of libcouchbase2-libevent:amd64: libcouchbase2-libevent:amd64 depends on libevent- 1.4 - 2 (>= 1.4 ) | libevent- 2.0 - 5 (>= 2.0 ); however: Package libevent- 1.4 - 2 is not installed. Package libevent- 2.0 - 5 is not installed.   dpkg: error processing package libcouchbase2-libevent:amd64 (--install): dependency problems - leaving unconfigured Processing triggers for libc-bin ( 2.27 -3ubuntu1) ... Errors were encountered while processing: libcouchbase2-libevent:amd64
          Hide
          avsej Sergey Avseyev added a comment -

          Ah, I see. And this problem does not appear if install it using the documentation guide.

          root@23d95536174a:/# apt install libcouchbase2-bin
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          The following additional packages will be installed:
            libcouchbase2-core libcouchbase2-libevent libevent-1.4-2 libevent-core-2.1-6
          The following NEW packages will be installed:
            libcouchbase2-bin libcouchbase2-core libcouchbase2-libevent libevent-1.4-2 libevent-core-2.1-6
          0 upgraded, 5 newly installed, 0 to remove and 9 not upgraded.
          Need to get 739 kB of archives.
          After this operation, 2404 kB of additional disk space will be used.
          Do you want to continue? [Y/n] y
          Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libevent-1.4-2 amd64 1.4.14b-stable-0ubuntu1 [53.8 kB]
          Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB]
          Get:3 http://packages.couchbase.com/ubuntu bionic/bionic/main amd64 libcouchbase2-core amd64 2.9.2-1 [359 kB]
          Get:4 http://packages.couchbase.com/ubuntu bionic/bionic/main amd64 libcouchbase2-libevent amd64 2.9.2-1 [4796 B]
          Get:5 http://packages.couchbase.com/ubuntu bionic/bionic/main amd64 libcouchbase2-bin amd64 2.9.2-1 [235 kB]
          Fetched 739 kB in 2s (346 kB/s)            
          debconf: delaying package configuration, since apt-utils is not installed
          Selecting previously unselected package libcouchbase2-core:amd64.
          (Reading database ... 6926 files and directories currently installed.)
          Preparing to unpack .../libcouchbase2-core_2.9.2-1_amd64.deb ...
          Unpacking libcouchbase2-core:amd64 (2.9.2-1) ...
          Selecting previously unselected package libevent-1.4-2.
          Preparing to unpack .../libevent-1.4-2_1.4.14b-stable-0ubuntu1_amd64.deb ...
          Unpacking libevent-1.4-2 (1.4.14b-stable-0ubuntu1) ...
          Selecting previously unselected package libevent-core-2.1-6:amd64.
          Preparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...
          Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
          Selecting previously unselected package libcouchbase2-libevent:amd64.
          Preparing to unpack .../libcouchbase2-libevent_2.9.2-1_amd64.deb ...
          Unpacking libcouchbase2-libevent:amd64 (2.9.2-1) ...
          Selecting previously unselected package libcouchbase2-bin.
          Preparing to unpack .../libcouchbase2-bin_2.9.2-1_amd64.deb ...
          Unpacking libcouchbase2-bin (2.9.2-1) ...
          Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
          Setting up libcouchbase2-core:amd64 (2.9.2-1) ...
          Setting up libevent-1.4-2 (1.4.14b-stable-0ubuntu1) ...
          Processing triggers for libc-bin (2.27-3ubuntu1) ...
          Setting up libcouchbase2-libevent:amd64 (2.9.2-1) ...
          Setting up libcouchbase2-bin (2.9.2-1) ...
           
          root@23d95536174a:/# cbc version
          cbc:
            Runtime: Version=2.9.2, Changeset=0f7cb6fe8b81c66273bfdab304d0f63bb4490377
            Headers: Version=2.9.2, Changeset=0f7cb6fe8b81c66273bfdab304d0f63bb4490377
            IO: Default=libevent, Current=libevent, Accessible=libevent,select
            SSL Runtime: OpenSSL 1.1.0g  2 Nov 2017
            SSL Headers: OpenSSL 1.1.0g  2 Nov 2017
            Snappy: 1.1.1
            Tracing: SUPPORTED
            System: Linux-4.16.14-300.fc28.x86_64; x86_64
            CC: GNU 7.3.0;  -fno-strict-aliasing -pthread
            CXX: GNU 7.3.0;  -fno-strict-aliasing -pthread
           
          root@23d95536174a:/# ldd /usr/lib/x86_64-linux-gnu/libcouchbase_libevent.so 
          	linux-vdso.so.1 (0x00007fff3a58d000)
          	libevent_core-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent_core-2.1.so.6 (0x00007fcee6546000)
          	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcee6327000)
          	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcee5f36000)
          	/lib64/ld-linux-x86-64.so.2 (0x00007fcee697d000)
          

          We does not use libevent1 when libevent2 is accessible. I will fix the debian package control file in the next release

          Show
          avsej Sergey Avseyev added a comment - Ah, I see. And this problem does not appear if install it using the documentation guide. root@23d95536174a:/# apt install libcouchbase2-bin Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libcouchbase2-core libcouchbase2-libevent libevent-1.4-2 libevent-core-2.1-6 The following NEW packages will be installed: libcouchbase2-bin libcouchbase2-core libcouchbase2-libevent libevent-1.4-2 libevent-core-2.1-6 0 upgraded, 5 newly installed, 0 to remove and 9 not upgraded. Need to get 739 kB of archives. After this operation, 2404 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libevent-1.4-2 amd64 1.4.14b-stable-0ubuntu1 [53.8 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB] Get:3 http://packages.couchbase.com/ubuntu bionic/bionic/main amd64 libcouchbase2-core amd64 2.9.2-1 [359 kB] Get:4 http://packages.couchbase.com/ubuntu bionic/bionic/main amd64 libcouchbase2-libevent amd64 2.9.2-1 [4796 B] Get:5 http://packages.couchbase.com/ubuntu bionic/bionic/main amd64 libcouchbase2-bin amd64 2.9.2-1 [235 kB] Fetched 739 kB in 2s (346 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libcouchbase2-core:amd64. (Reading database ... 6926 files and directories currently installed.) Preparing to unpack .../libcouchbase2-core_2.9.2-1_amd64.deb ... Unpacking libcouchbase2-core:amd64 (2.9.2-1) ... Selecting previously unselected package libevent-1.4-2. Preparing to unpack .../libevent-1.4-2_1.4.14b-stable-0ubuntu1_amd64.deb ... Unpacking libevent-1.4-2 (1.4.14b-stable-0ubuntu1) ... Selecting previously unselected package libevent-core-2.1-6:amd64. Preparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ... Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ... Selecting previously unselected package libcouchbase2-libevent:amd64. Preparing to unpack .../libcouchbase2-libevent_2.9.2-1_amd64.deb ... Unpacking libcouchbase2-libevent:amd64 (2.9.2-1) ... Selecting previously unselected package libcouchbase2-bin. Preparing to unpack .../libcouchbase2-bin_2.9.2-1_amd64.deb ... Unpacking libcouchbase2-bin (2.9.2-1) ... Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ... Setting up libcouchbase2-core:amd64 (2.9.2-1) ... Setting up libevent-1.4-2 (1.4.14b-stable-0ubuntu1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libcouchbase2-libevent:amd64 (2.9.2-1) ... Setting up libcouchbase2-bin (2.9.2-1) ...   root@23d95536174a:/# cbc version cbc: Runtime: Version=2.9.2, Changeset=0f7cb6fe8b81c66273bfdab304d0f63bb4490377 Headers: Version=2.9.2, Changeset=0f7cb6fe8b81c66273bfdab304d0f63bb4490377 IO: Default=libevent, Current=libevent, Accessible=libevent,select SSL Runtime: OpenSSL 1.1.0g 2 Nov 2017 SSL Headers: OpenSSL 1.1.0g 2 Nov 2017 Snappy: 1.1.1 Tracing: SUPPORTED System: Linux-4.16.14-300.fc28.x86_64; x86_64 CC: GNU 7.3.0; -fno-strict-aliasing -pthread CXX: GNU 7.3.0; -fno-strict-aliasing -pthread   root@23d95536174a:/# ldd /usr/lib/x86_64-linux-gnu/libcouchbase_libevent.so linux-vdso.so.1 (0x00007fff3a58d000) libevent_core-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent_core-2.1.so.6 (0x00007fcee6546000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcee6327000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcee5f36000) /lib64/ld-linux-x86-64.so.2 (0x00007fcee697d000) We does not use libevent1 when libevent2 is accessible. I will fix the debian package control file in the next release
          Hide
          demontpx Bert Hekman added a comment -

          It seems apt is using the same workaround

          Thanks Sergey!

          Show
          demontpx Bert Hekman added a comment - It seems apt is using the same workaround Thanks Sergey!
          Hide
          avsej Sergey Avseyev added a comment -

          I think in next releases we would go just with shlibs:Depend which is parsing dependensies from the ELF binaries, and would be more portable across different distributions and versions. The patch is on gerrit. I will resolve the ticket once I will rebuild and verify everything.

          Show
          avsej Sergey Avseyev added a comment - I think in next releases we would go just with shlibs:Depend which is parsing dependensies from the ELF binaries, and would be more portable across different distributions and versions. The patch is on gerrit. I will resolve the ticket once I will rebuild and verify everything.
          Hide
          build-team Couchbase Build Team added a comment -

          Build libcouchbase-2.8.5-210 contains libcouchbase commit 0edea39 with commit message:
          CCBC-949: Do not hardcode libevent dependencies

          Show
          build-team Couchbase Build Team added a comment - Build libcouchbase-2.8.5-210 contains libcouchbase commit 0edea39 with commit message: CCBC-949 : Do not hardcode libevent dependencies
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.5.0-1047 contains libcouchbase commit 0edea39 with commit message:
          CCBC-949: Do not hardcode libevent dependencies

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1047 contains libcouchbase commit 0edea39 with commit message: CCBC-949 : Do not hardcode libevent dependencies

            People

            • Assignee:
              avsej Sergey Avseyev
              Reporter:
              demontpx Bert Hekman
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.