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

2013-06-24 Thread Andrew Beekhof

On 25/06/2013, at 1:20 PM, Takatoshi MATSUO  wrote:

> 2013/6/25 Andrew Beekhof :
>> 
>> On 25/06/2013, at 12:12 PM, Takatoshi MATSUO  wrote:
>> 
>>> 2013/6/25 Andrew Beekhof :
 
 On 24/06/2013, at 3:03 PM, Takatoshi MATSUO  wrote:
 
> Hi Andrew
> 
> 2013/6/24 Andrew Beekhof :
>> 
>> On 24/06/2013, at 12:46 PM, Takatoshi MATSUO  
>> wrote:
>> 
>>> Hi Andrew
>>> 
>>> I received similar error using 6ea4b7e(HEAD) under RHEL6.
>>> -
>>> # export WITH='--without cman --without heartbeat'; make rpm-dep
>>> (snip)
>>> --> Finished Dependency Resolution
>>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>>>Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>>>Requires: libconfdb.so.4()(64bit)
>>> You could try using --skip-broken to work around the problem
>>> You could try running: rpm -Va --nofiles --nodigest
>>> make: *** [rpm-dep] Error 1
>>> -
>>> 
>>> So I removed all references to clusterlib-devel from pacemaker.spec.in
>>> as follows.
>>> 
>>> # If you want to build for unofficial installs of corosync-2 on RHEL < 7
>>> # or fedora < 17, remove all references to clusterlib-devel below
>>> 
>>> #%if 0%{?fedora} > 0
>>> #%if 0%{?fedora} < 17
>>> #BuildRequires: clusterlib-devel
>>> #%endif
>>> #%endif
>>> #
>>> #%if 0%{?rhel} > 0
>>> #%if 0%{?rhel} < 7
>>> #BuildRequires: clusterlib-devel
>>> #%endif
>>> #%endif
>>> -
>> 
>> The reason for this is that I'm trying to streamline the spec file.
>> It had become an unreadable mess trying to cater to everyone.
>> 
>> Since cman is available for RHEL6, have you thought about installing it 
>> from RH or CentOS?
> 
> Does cman require High Availability add-on license under RHEL6 ?
 
 Yes, but there are other sources for compatible rpms :)
 
> 
>>> 
>>> But I received another error.
>>> -
>>> # export WITH='--without cman --without heartbeat'; make rpm
>> 
>> The cman and heartbeat conditionals also went in the cleanup, so they'll 
>> be having no effect here.
> 
> How about not requiring clusterlib-devel when using "--without cman" ?
> Is it go against  streamlining the spec file ?
 
 I guess I could put it back.
>>> 
>>> Thank you.
>>> I'll test building rpm after putting it back.
>> 
>> Try:  https://github.com/beekhof/pacemaker/commit/f9e9989
> 
> I succeed in built without clusterlib-devel.
> But "make rpm-dep" is failed. Is it no problem ?

No, you don't need to run it every time.
Just once on a new machine that doesn't have the needed packages installed.

Perhaps yum-builddep isn't as smart as it thinks it is.

> 
> # export WITH='--without cman'; make rpm-dep
> (snip)
> --> Finished Dependency Resolution
> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>   Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>   Requires: libconfdb.so.4()(64bit)
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest
> make: *** [rpm-dep] Error 1
> 
>> 
>>> 
> 
>>> (snip)
>>> Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
>>> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>>> /root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
>>> error: Installed (but unpackaged) file(s) found:
>>> /usr/lib64/heartbeat/attrd
>>> /usr/lib64/heartbeat/cib
>>> /usr/lib64/heartbeat/crmd
>>> /usr/lib64/heartbeat/pengine
>>> /usr/lib64/heartbeat/stonithd
>>> /usr/sbin/crm_uuid
>> 
>> It looks like the machine you're building on has heartbeat installed 
>> which is confusing configure.
>> Any reason to not just remove it?
> 
> I just built Pacemaker 1.0.x which supports heartbeat under same
> machine a short time ago
> I succeed in built after removing it.
> Thank you for the advice,
> 
>>> 
>>> RPM build errors:
>>> Installed (but unpackaged) file(s) found:
>>> /usr/lib64/heartbeat/attrd
>>> /usr/lib64/heartbeat/cib
>>> /usr/lib64/heartbeat/crmd
>>> /usr/lib64/heartbeat/pengine
>>> /usr/lib64/heartbeat/stonithd
>>> /usr/sbin/crm_uuid
>>> make: *** [rpm] Error 1
>>> -
>>> 
>>> Regards,
>>> Takatoshi MATSUO
>>> 
>>> 2013/6/21 Andrew Beekhof :
 
 On 20/06/2013, at 11:22 PM, Andrey Groshev  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
>>>

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

2013-06-24 Thread Takatoshi MATSUO
2013/6/25 Andrew Beekhof :
>
> On 25/06/2013, at 12:12 PM, Takatoshi MATSUO  wrote:
>
>> 2013/6/25 Andrew Beekhof :
>>>
>>> On 24/06/2013, at 3:03 PM, Takatoshi MATSUO  wrote:
>>>
 Hi Andrew

 2013/6/24 Andrew Beekhof :
>
> On 24/06/2013, at 12:46 PM, Takatoshi MATSUO  wrote:
>
>> Hi Andrew
>>
>> I received similar error using 6ea4b7e(HEAD) under RHEL6.
>> -
>> # export WITH='--without cman --without heartbeat'; make rpm-dep
>> (snip)
>> --> Finished Dependency Resolution
>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>> Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>> Requires: libconfdb.so.4()(64bit)
>> You could try using --skip-broken to work around the problem
>> You could try running: rpm -Va --nofiles --nodigest
>> make: *** [rpm-dep] Error 1
>> -
>>
>> So I removed all references to clusterlib-devel from pacemaker.spec.in
>> as follows.
>> 
>> # If you want to build for unofficial installs of corosync-2 on RHEL < 7
>> # or fedora < 17, remove all references to clusterlib-devel below
>>
>> #%if 0%{?fedora} > 0
>> #%if 0%{?fedora} < 17
>> #BuildRequires: clusterlib-devel
>> #%endif
>> #%endif
>> #
>> #%if 0%{?rhel} > 0
>> #%if 0%{?rhel} < 7
>> #BuildRequires: clusterlib-devel
>> #%endif
>> #%endif
>> -
>
> The reason for this is that I'm trying to streamline the spec file.
> It had become an unreadable mess trying to cater to everyone.
>
> Since cman is available for RHEL6, have you thought about installing it 
> from RH or CentOS?

 Does cman require High Availability add-on license under RHEL6 ?
>>>
>>> Yes, but there are other sources for compatible rpms :)
>>>

>>
>> But I received another error.
>> -
>> # export WITH='--without cman --without heartbeat'; make rpm
>
> The cman and heartbeat conditionals also went in the cleanup, so they'll 
> be having no effect here.

 How about not requiring clusterlib-devel when using "--without cman" ?
 Is it go against  streamlining the spec file ?
>>>
>>> I guess I could put it back.
>>
>> Thank you.
>> I'll test building rpm after putting it back.
>
> Try:  https://github.com/beekhof/pacemaker/commit/f9e9989

I succeed in built without clusterlib-devel.
But "make rpm-dep" is failed. Is it no problem ?

# export WITH='--without cman'; make rpm-dep
(snip)
--> Finished Dependency Resolution
Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
   Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
   Requires: libconfdb.so.4()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
make: *** [rpm-dep] Error 1

>
>>

>> (snip)
>> Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
>> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>> /root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
>> error: Installed (but unpackaged) file(s) found:
>> /usr/lib64/heartbeat/attrd
>> /usr/lib64/heartbeat/cib
>> /usr/lib64/heartbeat/crmd
>> /usr/lib64/heartbeat/pengine
>> /usr/lib64/heartbeat/stonithd
>> /usr/sbin/crm_uuid
>
> It looks like the machine you're building on has heartbeat installed 
> which is confusing configure.
> Any reason to not just remove it?

 I just built Pacemaker 1.0.x which supports heartbeat under same
 machine a short time ago
 I succeed in built after removing it.
 Thank you for the advice,

>>
>> RPM build errors:
>>  Installed (but unpackaged) file(s) found:
>> /usr/lib64/heartbeat/attrd
>> /usr/lib64/heartbeat/cib
>> /usr/lib64/heartbeat/crmd
>> /usr/lib64/heartbeat/pengine
>> /usr/lib64/heartbeat/stonithd
>> /usr/sbin/crm_uuid
>> make: *** [rpm] Error 1
>> -
>>
>> Regards,
>> Takatoshi MATSUO
>>
>> 2013/6/21 Andrew Beekhof :
>>>
>>> On 20/06/2013, at 11:22 PM, Andrey Groshev  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

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

2013-06-24 Thread Andrew Beekhof

On 25/06/2013, at 12:12 PM, Takatoshi MATSUO  wrote:

> 2013/6/25 Andrew Beekhof :
>> 
>> On 24/06/2013, at 3:03 PM, Takatoshi MATSUO  wrote:
>> 
>>> Hi Andrew
>>> 
>>> 2013/6/24 Andrew Beekhof :
 
 On 24/06/2013, at 12:46 PM, Takatoshi MATSUO  wrote:
 
> Hi Andrew
> 
> I received similar error using 6ea4b7e(HEAD) under RHEL6.
> -
> # export WITH='--without cman --without heartbeat'; make rpm-dep
> (snip)
> --> Finished Dependency Resolution
> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
> Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
> Requires: libconfdb.so.4()(64bit)
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest
> make: *** [rpm-dep] Error 1
> -
> 
> So I removed all references to clusterlib-devel from pacemaker.spec.in
> as follows.
> 
> # If you want to build for unofficial installs of corosync-2 on RHEL < 7
> # or fedora < 17, remove all references to clusterlib-devel below
> 
> #%if 0%{?fedora} > 0
> #%if 0%{?fedora} < 17
> #BuildRequires: clusterlib-devel
> #%endif
> #%endif
> #
> #%if 0%{?rhel} > 0
> #%if 0%{?rhel} < 7
> #BuildRequires: clusterlib-devel
> #%endif
> #%endif
> -
 
 The reason for this is that I'm trying to streamline the spec file.
 It had become an unreadable mess trying to cater to everyone.
 
 Since cman is available for RHEL6, have you thought about installing it 
 from RH or CentOS?
>>> 
>>> Does cman require High Availability add-on license under RHEL6 ?
>> 
>> Yes, but there are other sources for compatible rpms :)
>> 
>>> 
> 
> But I received another error.
> -
> # export WITH='--without cman --without heartbeat'; make rpm
 
 The cman and heartbeat conditionals also went in the cleanup, so they'll 
 be having no effect here.
>>> 
>>> How about not requiring clusterlib-devel when using "--without cman" ?
>>> Is it go against  streamlining the spec file ?
>> 
>> I guess I could put it back.
> 
> Thank you.
> I'll test building rpm after putting it back.

Try:  https://github.com/beekhof/pacemaker/commit/f9e9989

> 
>>> 
> (snip)
> Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
> error: Installed (but unpackaged) file(s) found:
> /usr/lib64/heartbeat/attrd
> /usr/lib64/heartbeat/cib
> /usr/lib64/heartbeat/crmd
> /usr/lib64/heartbeat/pengine
> /usr/lib64/heartbeat/stonithd
> /usr/sbin/crm_uuid
 
 It looks like the machine you're building on has heartbeat installed which 
 is confusing configure.
 Any reason to not just remove it?
>>> 
>>> I just built Pacemaker 1.0.x which supports heartbeat under same
>>> machine a short time ago
>>> I succeed in built after removing it.
>>> Thank you for the advice,
>>> 
> 
> RPM build errors:
>  Installed (but unpackaged) file(s) found:
> /usr/lib64/heartbeat/attrd
> /usr/lib64/heartbeat/cib
> /usr/lib64/heartbeat/crmd
> /usr/lib64/heartbeat/pengine
> /usr/lib64/heartbeat/stonithd
> /usr/sbin/crm_uuid
> make: *** [rpm] Error 1
> -
> 
> Regards,
> Takatoshi MATSUO
> 
> 2013/6/21 Andrew Beekhof :
>> 
>> On 20/06/2013, at 11:22 PM, Andrey Groshev  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-dev

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

2013-06-24 Thread Takatoshi MATSUO
2013/6/25 Andrew Beekhof :
>
> On 24/06/2013, at 3:03 PM, Takatoshi MATSUO  wrote:
>
>> Hi Andrew
>>
>> 2013/6/24 Andrew Beekhof :
>>>
>>> On 24/06/2013, at 12:46 PM, Takatoshi MATSUO  wrote:
>>>
 Hi Andrew

 I received similar error using 6ea4b7e(HEAD) under RHEL6.
 -
 # export WITH='--without cman --without heartbeat'; make rpm-dep
 (snip)
 --> Finished Dependency Resolution
 Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
  Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
 Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
  Requires: libconfdb.so.4()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 make: *** [rpm-dep] Error 1
 -

 So I removed all references to clusterlib-devel from pacemaker.spec.in
 as follows.
 
 # If you want to build for unofficial installs of corosync-2 on RHEL < 7
 # or fedora < 17, remove all references to clusterlib-devel below

 #%if 0%{?fedora} > 0
 #%if 0%{?fedora} < 17
 #BuildRequires: clusterlib-devel
 #%endif
 #%endif
 #
 #%if 0%{?rhel} > 0
 #%if 0%{?rhel} < 7
 #BuildRequires: clusterlib-devel
 #%endif
 #%endif
 -
>>>
>>> The reason for this is that I'm trying to streamline the spec file.
>>> It had become an unreadable mess trying to cater to everyone.
>>>
>>> Since cman is available for RHEL6, have you thought about installing it 
>>> from RH or CentOS?
>>
>> Does cman require High Availability add-on license under RHEL6 ?
>
> Yes, but there are other sources for compatible rpms :)
>
>>

 But I received another error.
 -
 # export WITH='--without cman --without heartbeat'; make rpm
>>>
>>> The cman and heartbeat conditionals also went in the cleanup, so they'll be 
>>> having no effect here.
>>
>> How about not requiring clusterlib-devel when using "--without cman" ?
>> Is it go against  streamlining the spec file ?
>
> I guess I could put it back.

Thank you.
I'll test building rpm after putting it back.

>>
 (snip)
 Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
 Checking for unpackaged file(s): /usr/lib/rpm/check-files
 /root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
 error: Installed (but unpackaged) file(s) found:
  /usr/lib64/heartbeat/attrd
  /usr/lib64/heartbeat/cib
  /usr/lib64/heartbeat/crmd
  /usr/lib64/heartbeat/pengine
  /usr/lib64/heartbeat/stonithd
  /usr/sbin/crm_uuid
>>>
>>> It looks like the machine you're building on has heartbeat installed which 
>>> is confusing configure.
>>> Any reason to not just remove it?
>>
>> I just built Pacemaker 1.0.x which supports heartbeat under same
>> machine a short time ago
>> I succeed in built after removing it.
>> Thank you for the advice,
>>

 RPM build errors:
   Installed (but unpackaged) file(s) found:
  /usr/lib64/heartbeat/attrd
  /usr/lib64/heartbeat/cib
  /usr/lib64/heartbeat/crmd
  /usr/lib64/heartbeat/pengine
  /usr/lib64/heartbeat/stonithd
  /usr/sbin/crm_uuid
 make: *** [rpm] Error 1
 -

 Regards,
 Takatoshi MATSUO

 2013/6/21 Andrew Beekhof :
>
> On 20/06/2013, at 11:22 PM, Andrey Groshev  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

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

2013-06-24 Thread Andrew Beekhof

On 24/06/2013, at 3:03 PM, Takatoshi MATSUO  wrote:

> Hi Andrew
> 
> 2013/6/24 Andrew Beekhof :
>> 
>> On 24/06/2013, at 12:46 PM, Takatoshi MATSUO  wrote:
>> 
>>> Hi Andrew
>>> 
>>> I received similar error using 6ea4b7e(HEAD) under RHEL6.
>>> -
>>> # export WITH='--without cman --without heartbeat'; make rpm-dep
>>> (snip)
>>> --> Finished Dependency Resolution
>>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>>>  Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>>>  Requires: libconfdb.so.4()(64bit)
>>> You could try using --skip-broken to work around the problem
>>> You could try running: rpm -Va --nofiles --nodigest
>>> make: *** [rpm-dep] Error 1
>>> -
>>> 
>>> So I removed all references to clusterlib-devel from pacemaker.spec.in
>>> as follows.
>>> 
>>> # If you want to build for unofficial installs of corosync-2 on RHEL < 7
>>> # or fedora < 17, remove all references to clusterlib-devel below
>>> 
>>> #%if 0%{?fedora} > 0
>>> #%if 0%{?fedora} < 17
>>> #BuildRequires: clusterlib-devel
>>> #%endif
>>> #%endif
>>> #
>>> #%if 0%{?rhel} > 0
>>> #%if 0%{?rhel} < 7
>>> #BuildRequires: clusterlib-devel
>>> #%endif
>>> #%endif
>>> -
>> 
>> The reason for this is that I'm trying to streamline the spec file.
>> It had become an unreadable mess trying to cater to everyone.
>> 
>> Since cman is available for RHEL6, have you thought about installing it from 
>> RH or CentOS?
> 
> Does cman require High Availability add-on license under RHEL6 ?

Yes, but there are other sources for compatible rpms :)

> 
>>> 
>>> But I received another error.
>>> -
>>> # export WITH='--without cman --without heartbeat'; make rpm
>> 
>> The cman and heartbeat conditionals also went in the cleanup, so they'll be 
>> having no effect here.
> 
> How about not requiring clusterlib-devel when using "--without cman" ?
> Is it go against  streamlining the spec file ?

I guess I could put it back.

> 
>>> (snip)
>>> Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
>>> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>>> /root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
>>> error: Installed (but unpackaged) file(s) found:
>>>  /usr/lib64/heartbeat/attrd
>>>  /usr/lib64/heartbeat/cib
>>>  /usr/lib64/heartbeat/crmd
>>>  /usr/lib64/heartbeat/pengine
>>>  /usr/lib64/heartbeat/stonithd
>>>  /usr/sbin/crm_uuid
>> 
>> It looks like the machine you're building on has heartbeat installed which 
>> is confusing configure.
>> Any reason to not just remove it?
> 
> I just built Pacemaker 1.0.x which supports heartbeat under same
> machine a short time ago
> I succeed in built after removing it.
> Thank you for the advice,
> 
>>> 
>>> RPM build errors:
>>>   Installed (but unpackaged) file(s) found:
>>>  /usr/lib64/heartbeat/attrd
>>>  /usr/lib64/heartbeat/cib
>>>  /usr/lib64/heartbeat/crmd
>>>  /usr/lib64/heartbeat/pengine
>>>  /usr/lib64/heartbeat/stonithd
>>>  /usr/sbin/crm_uuid
>>> make: *** [rpm] Error 1
>>> -
>>> 
>>> Regards,
>>> Takatoshi MATSUO
>>> 
>>> 2013/6/21 Andrew Beekhof :
 
 On 20/06/2013, at 11:22 PM, Andrey Groshev  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 \

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

2013-06-23 Thread Takatoshi MATSUO
Hi Andrew

2013/6/24 Andrew Beekhof :
>
> On 24/06/2013, at 12:46 PM, Takatoshi MATSUO  wrote:
>
>> Hi Andrew
>>
>> I received similar error using 6ea4b7e(HEAD) under RHEL6.
>> -
>> # export WITH='--without cman --without heartbeat'; make rpm-dep
>> (snip)
>> --> Finished Dependency Resolution
>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>>   Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
>> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>>   Requires: libconfdb.so.4()(64bit)
>> You could try using --skip-broken to work around the problem
>> You could try running: rpm -Va --nofiles --nodigest
>> make: *** [rpm-dep] Error 1
>> -
>>
>> So I removed all references to clusterlib-devel from pacemaker.spec.in
>> as follows.
>> 
>> # If you want to build for unofficial installs of corosync-2 on RHEL < 7
>> # or fedora < 17, remove all references to clusterlib-devel below
>>
>> #%if 0%{?fedora} > 0
>> #%if 0%{?fedora} < 17
>> #BuildRequires: clusterlib-devel
>> #%endif
>> #%endif
>> #
>> #%if 0%{?rhel} > 0
>> #%if 0%{?rhel} < 7
>> #BuildRequires: clusterlib-devel
>> #%endif
>> #%endif
>> -
>
> The reason for this is that I'm trying to streamline the spec file.
> It had become an unreadable mess trying to cater to everyone.
>
> Since cman is available for RHEL6, have you thought about installing it from 
> RH or CentOS?

Does cman require High Availability add-on license under RHEL6 ?

>>
>> But I received another error.
>> -
>> # export WITH='--without cman --without heartbeat'; make rpm
>
> The cman and heartbeat conditionals also went in the cleanup, so they'll be 
> having no effect here.

How about not requiring clusterlib-devel when using "--without cman" ?
Is it go against  streamlining the spec file ?

>> (snip)
>> Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
>> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>> /root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
>> error: Installed (but unpackaged) file(s) found:
>>   /usr/lib64/heartbeat/attrd
>>   /usr/lib64/heartbeat/cib
>>   /usr/lib64/heartbeat/crmd
>>   /usr/lib64/heartbeat/pengine
>>   /usr/lib64/heartbeat/stonithd
>>   /usr/sbin/crm_uuid
>
> It looks like the machine you're building on has heartbeat installed which is 
> confusing configure.
> Any reason to not just remove it?

I just built Pacemaker 1.0.x which supports heartbeat under same
machine a short time ago
I succeed in built after removing it.
Thank you for the advice,

>>
>> RPM build errors:
>>Installed (but unpackaged) file(s) found:
>>   /usr/lib64/heartbeat/attrd
>>   /usr/lib64/heartbeat/cib
>>   /usr/lib64/heartbeat/crmd
>>   /usr/lib64/heartbeat/pengine
>>   /usr/lib64/heartbeat/stonithd
>>   /usr/sbin/crm_uuid
>> make: *** [rpm] Error 1
>> -
>>
>> Regards,
>> Takatoshi MATSUO
>>
>> 2013/6/21 Andrew Beekhof :
>>>
>>> On 20/06/2013, at 11:22 PM, Andrey Groshev  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   n

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

2013-06-23 Thread Andrew Beekhof

On 24/06/2013, at 12:46 PM, Takatoshi MATSUO  wrote:

> Hi Andrew
> 
> I received similar error using 6ea4b7e(HEAD) under RHEL6.
> -
> # export WITH='--without cman --without heartbeat'; make rpm-dep
> (snip)
> --> Finished Dependency Resolution
> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>   Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
> Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
>   Requires: libconfdb.so.4()(64bit)
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest
> make: *** [rpm-dep] Error 1
> -
> 
> So I removed all references to clusterlib-devel from pacemaker.spec.in
> as follows.
> 
> # If you want to build for unofficial installs of corosync-2 on RHEL < 7
> # or fedora < 17, remove all references to clusterlib-devel below
> 
> #%if 0%{?fedora} > 0
> #%if 0%{?fedora} < 17
> #BuildRequires: clusterlib-devel
> #%endif
> #%endif
> #
> #%if 0%{?rhel} > 0
> #%if 0%{?rhel} < 7
> #BuildRequires: clusterlib-devel
> #%endif
> #%endif
> -

The reason for this is that I'm trying to streamline the spec file.
It had become an unreadable mess trying to cater to everyone.

Since cman is available for RHEL6, have you thought about installing it from RH 
or CentOS?

> 
> 
> But I received another error.
> -
> # export WITH='--without cman --without heartbeat'; make rpm

The cman and heartbeat conditionals also went in the cleanup, so they'll be 
having no effect here.

> (snip)
> Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
> error: Installed (but unpackaged) file(s) found:
>   /usr/lib64/heartbeat/attrd
>   /usr/lib64/heartbeat/cib
>   /usr/lib64/heartbeat/crmd
>   /usr/lib64/heartbeat/pengine
>   /usr/lib64/heartbeat/stonithd
>   /usr/sbin/crm_uuid

It looks like the machine you're building on has heartbeat installed which is 
confusing configure.
Any reason to not just remove it?

> 
> 
> RPM build errors:
>Installed (but unpackaged) file(s) found:
>   /usr/lib64/heartbeat/attrd
>   /usr/lib64/heartbeat/cib
>   /usr/lib64/heartbeat/crmd
>   /usr/lib64/heartbeat/pengine
>   /usr/lib64/heartbeat/stonithd
>   /usr/sbin/crm_uuid
> make: *** [rpm] Error 1
> -
> 
> Regards,
> Takatoshi MATSUO
> 
> 2013/6/21 Andrew Beekhof :
>> 
>> On 20/06/2013, at 11:22 PM, Andrey Groshev  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 pytho

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

2013-06-23 Thread Takatoshi MATSUO
Hi Andrew

I received similar error using 6ea4b7e(HEAD) under RHEL6.
-
# export WITH='--without cman --without heartbeat'; make rpm-dep
(snip)
--> Finished Dependency Resolution
Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
   Requires: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit)
Error: Package: clusterlib-3.0.12.1-32.el6.x86_64 (sl)
   Requires: libconfdb.so.4()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
make: *** [rpm-dep] Error 1
-

So I removed all references to clusterlib-devel from pacemaker.spec.in
as follows.

# If you want to build for unofficial installs of corosync-2 on RHEL < 7
# or fedora < 17, remove all references to clusterlib-devel below

#%if 0%{?fedora} > 0
#%if 0%{?fedora} < 17
#BuildRequires: clusterlib-devel
#%endif
#%endif
#
#%if 0%{?rhel} > 0
#%if 0%{?rhel} < 7
#BuildRequires: clusterlib-devel
#%endif
#%endif
-


But I received another error.
-
# export WITH='--without cman --without heartbeat'; make rpm
(snip)
Processing files: pacemaker-debuginfo-1.1.10-1.el6.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/root/rpmbuild/BUILDROOT/pacemaker-1.1.10-1.fedora.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/lib64/heartbeat/attrd
   /usr/lib64/heartbeat/cib
   /usr/lib64/heartbeat/crmd
   /usr/lib64/heartbeat/pengine
   /usr/lib64/heartbeat/stonithd
   /usr/sbin/crm_uuid


RPM build errors:
Installed (but unpackaged) file(s) found:
   /usr/lib64/heartbeat/attrd
   /usr/lib64/heartbeat/cib
   /usr/lib64/heartbeat/crmd
   /usr/lib64/heartbeat/pengine
   /usr/lib64/heartbeat/stonithd
   /usr/sbin/crm_uuid
make: *** [rpm] Error 1
-

Regards,
Takatoshi MATSUO

2013/6/21 Andrew Beekhof :
>
> On 20/06/2013, at 11:22 PM, Andrey Groshev  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-a

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

2013-06-20 Thread Andrew Beekhof

On 20/06/2013, at 11:22 PM, Andrey Groshev  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.

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

2013-06-20 Thread Andrey Groshev
Hi, again.
Still one week ago package normaly rebuilding.
Today, I resive error:

# 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_