[Pacemaker] error when build pacemaker 1.1.10-rc5 and corosync-2.3.0

Andrew Beekhof andrew at beekhof.net
Thu Jun 20 23:51:39 UTC 2013


On 20/06/2013, at 11:22 PM, Andrey Groshev <greenx at yandex.ru> wrote:

> Hi, again.
> Still one week ago package normaly rebuilding.
> Today, I resive error:

Just remove all references to clusterlib-devel from pacemaker.spec.in
I'll see what I can do

> 
> # make rpm-dep
> if [ x != x`which yum-builddep 2>/dev/null` ]; then                     \
>            echo "Installing with yum-builddep";                \
>            sudo yum-builddep pacemaker-fedora.spec;    \
>        elif [ x != x`which yum 2>/dev/null` ]; then                            \
>            echo -e "Installing:  python-curses python-xml  automake autoconf libtool pkgconfig python libtool-ltdl-devel  glib2-devel libxml2-devel libxslt-d
> evel libuuid-devel  pkgconfig python-devel gcc-c++ bzip2-devel pam-devel  resource-agents  libqb-devel   ncurses-devel openssl-devel libselinux-devel docbook-
> style-xsl  bison byacc flex help2man  systemd-devel   libgnutls-devel   gnutls-devel  clusterlib-devel  clusterlib-devel  corosynclib-devel  cluster-glue-libs
> -devel  publican inkscape asciidoc \n\n";       \
>            sudo yum install  python-curses python-xml  automake autoconf libtool pkgconfig python libtool-ltdl-devel  glib2-devel libxml2-devel libxslt-devel
> libuuid-devel  pkgconfig python-devel gcc-c++ bzip2-devel pam-devel  resource-agents  libqb-devel   ncurses-devel openssl-devel libselinux-devel docbook-styl
> e-xsl  bison byacc flex help2man  systemd-devel   libgnutls-devel   gnutls-devel  clusterlib-devel  clusterlib-devel  corosynclib-devel  cluster-glue-libs-dev
> el  publican inkscape asciidoc ;        \
>        elif [ x != x`which zypper` ]; then                     \
>            echo -e "Installing:  python-curses python-xml  automake autoconf libtool pkgconfig python libtool-ltdl-devel  glib2-devel libxml2-devel libxslt-d
> evel libuuid-devel  pkgconfig python-devel gcc-c++ bzip2-devel pam-devel  resource-agents  libqb-devel   ncurses-devel openssl-devel libselinux-devel docbook-
> style-xsl  bison byacc flex help2man  systemd-devel   libgnutls-devel   gnutls-devel  clusterlib-devel  clusterlib-devel  corosynclib-devel  cluster-glue-libs
> -devel  publican inkscape asciidoc \n\n";       \
>            sudo zypper install  python-curses python-xml  automake autoconf libtool pkgconfig python libtool-ltdl-devel  glib2-devel libxml2-devel libxslt-de
> vel libuuid-devel  pkgconfig python-devel gcc-c++ bzip2-devel pam-devel  resource-agents  libqb-devel   ncurses-devel openssl-devel libselinux-devel docbook-s
> tyle-xsl  bison byacc flex help2man  systemd-devel   libgnutls-devel   gnutls-devel  clusterlib-devel  clusterlib-devel  corosynclib-devel  cluster-glue-libs-
> devel  publican inkscape asciidoc ;\
>        else                                                    \
>            echo "I don't know how to install  python-curses python-xml  automake autoconf libtool pkgconfig python libtool-ltdl-devel  glib2-devel libxml2-de
> vel libxslt-devel libuuid-devel  pkgconfig python-devel gcc-c++ bzip2-devel pam-devel  resource-agents  libqb-devel   ncurses-devel openssl-devel libselinux-d
> evel docbook-style-xsl  bison byacc flex help2man  systemd-devel   libgnutls-devel   gnutls-devel  clusterlib-devel  clusterlib-devel  corosynclib-devel  clus
> ter-glue-libs-devel  publican inkscape asciidoc ";\
>        fi
> Installing with yum-builddep
> Loaded plugins: fastestmirror, rhnplugin
> Loading mirror speeds from cached hostfile
> Loading mirror speeds from cached hostfile
> Getting requirements for pacemaker-fedora.spec
> --> Already installed : automake-1.11.1-4.el6.noarch
> --> Already installed : autoconf-2.63-5.1.el6.noarch
> --> Already installed : libtool-2.2.6-15.5.el6.x86_64
> --> Already installed : 1:pkgconfig-0.23-9.1.el6.x86_64
> --> Already installed : python-2.6.6-36.el6.x86_64
> --> Already installed : libtool-ltdl-devel-2.2.6-15.5.el6.x86_64
> --> Already installed : glib2-devel-2.22.5-7.el6.x86_64
> --> Already installed : libxml2-devel-2.7.6-12.el6_4.1.x86_64
> --> Already installed : libxslt-devel-1.1.26-2.el6_3.1.x86_64
> --> Already installed : libuuid-devel-2.17.2-12.9.el6.x86_64
> --> Already installed : python-devel-2.6.6-36.el6.x86_64
> --> Already installed : gcc-c++-4.4.7-3.el6.x86_64
> --> Already installed : bzip2-devel-1.0.5-7.el6_0.x86_64
> --> Already installed : pam-devel-1.1.1-13.el6.x86_64
> --> Already installed : resource-agents-3.9.5-1.51.f7f96.el6.x86_64
> --> Already installed : libqb-devel-0.14.4-1.38.07c9.el6.x86_64
> --> Already installed : ncurses-devel-5.7-3.20090208.el6.x86_64
> --> Already installed : openssl-devel-1.0.0-27.el6_4.2.x86_64
> --> Already installed : libselinux-devel-2.0.94-5.3.el6.x86_64
> --> Already installed : docbook-style-xsl-1.75.2-6.el6.noarch
> --> Already installed : bison-2.4.1-5.el6.x86_64
> --> Already installed : byacc-1.9.20070509-7.el6.x86_64
> --> Already installed : flex-2.5.35-8.el6.x86_64
> --> Already installed : help2man-1.36.4-6.el6.noarch
> --> Already installed : gnutls-devel-2.8.5-10.el6_4.1.x86_64
> --> clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Already installed : corosynclib-devel-2.3.0-1.21.298a.el6.x86_64
> --> Already installed : publican-2.1-0.el6.x86_64
> --> Already installed : inkscape-0.47-6.el6.x86_64
> --> Already installed : asciidoc-8.4.5-4.1.el6.noarch
> There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
> --> Running transaction check
> ---> Package clusterlib-devel.x86_64 0:3.0.12.1-49.el6 will be installed
> --> Processing Dependency: clusterlib = 3.0.12.1-49.el6 for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libdlm_lt.so.3()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libfence.so.4()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libccs.so.3()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libdlmcontrol.so.3()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: liblogthread.so.3()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libfenced.so.3()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libdlm.so.3()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libcman.so.3()(64bit) for package: clusterlib-devel-3.0.12.1-49.el6.x86_64
> --> Running transaction check
> ---> Package clusterlib.x86_64 0:3.0.12.1-49.el6 will be installed
> --> Processing Dependency: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) for package: clusterlib-3.0.12.1-49.el6.x86_64
> --> Processing Dependency: libconfdb.so.4()(64bit) for package: clusterlib-3.0.12.1-49.el6.x86_64
> --> Finished Dependency Resolution
> Error: Package: clusterlib-3.0.12.1-49.el6.x86_64 (centos-base6-x64)
>           Requires: libconfdb.so.4()(64bit)
>           Available: corosynclib-1.4.1-7.el6.x86_64 (centos-base6-x64)
>               libconfdb.so.4()(64bit)
>           Available: corosynclib-1.4.1-7.el6_3.1.x86_64 (centos-base6-x64)
>               libconfdb.so.4()(64bit)
>           Available: corosynclib-1.4.1-15.el6.x86_64 (centos-base6-x64)
>               libconfdb.so.4()(64bit)
>           Available: corosynclib-1.4.1-15.el6_4.1.x86_64 (centos-base6-x64)
>               libconfdb.so.4()(64bit)
>           Available: corosynclib-1.4.3-26.2.x86_64 (ha-clustering)
>               libconfdb.so.4()(64bit)
>           Available: corosynclib-1.4.5-35.1.x86_64 (ha-clustering)
>               libconfdb.so.4()(64bit)
>           Installed: corosynclib-2.3.0-1.21.298a.el6.x86_64 (installed)
>               Not found
> Error: Package: clusterlib-3.0.12.1-49.el6.x86_64 (centos-base6-x64)
>           Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>           Available: corosynclib-1.4.1-7.el6.x86_64 (centos-base6-x64)
>               libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>           Available: corosynclib-1.4.1-7.el6_3.1.x86_64 (centos-base6-x64)
>               libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>           Available: corosynclib-1.4.1-15.el6.x86_64 (centos-base6-x64)
>               libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>           Available: corosynclib-1.4.1-15.el6_4.1.x86_64 (centos-base6-x64)
>               libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>           Available: corosynclib-1.4.3-26.2.x86_64 (ha-clustering)
>               libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>           Available: corosynclib-1.4.5-35.1.x86_64 (ha-clustering)
>               libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>           Installed: corosynclib-2.3.0-1.21.298a.el6.x86_64 (installed)
>               Not found
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest
> make: *** [rpm-dep] Error 1
> 
> 
> 
> As I understand, make want install clusterlib-devel.
> But this package depends from libconfdb.so.4.
> But this library exist only in corosync-1.x!
> But I can't install the system in two different versions corosync.
> Unfortunately, this week a lot of things happened.
> And I can't remember how to create a rpm and that changed this week.
> There is a way to remove this dependency?
> I still want to experiment with a pure corosync-2.x.
> Otherwise it turns out that the only working version: corosync-1.4+cman.
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Pacemaker mailing list