[Pacemaker] UNKNOWN version of resource-agents: 2 questions

Nikita Michalko michalko.system at a-i-p.com
Wed Oct 19 11:56:39 UTC 2011


Hi all,

I've just succesfully compiled the ClusterLabs-resource-agents-v3.9.2-65-
g46c6990(.zip) from: https://github.com/ClusterLabs/resource-agents, configured 
with:
./configure --prefix=$PREFIX --localstatedir=/var --sysconfdir=/etc --enable-
fatal-warnings=no
After "make" I've tried "make rpm" and now I'm facing to the following errors:
... snip ...

gmake[3]: Leaving directory `/opt/HA/sourc/ClusterLabs-resource-
agents-46c6990/ldirectord'
/opt/HA/sourc/ClusterLabs-resource-agents-46c6990/doc
gmake[3]: Entering directory `/opt/HA/sourc/ClusterLabs-resource-
agents-46c6990/doc'
gmake[3]: Leaving directory `/opt/HA/sourc/ClusterLabs-resource-
agents-46c6990/doc'
gmake  \
          top_distdir="resource-agents-UNKNOWN" distdir="resource-agents-
UNKNOWN" \
          dist-hook
gmake[3]: Entering directory `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
if test -d .git; then                                           \
                LC_ALL=C ./make/gitlog-to-changelog             \
                        --since=2000-01-01 > resource-agents-UNKNOWN/cl-t;      
\
                rm -f resource-agents-UNKNOWN/ChangeLog.devel;                  
\
                mv resource-agents-UNKNOWN/cl-t resource-agents-
UNKNOWN/ChangeLog.devel;                \
        fi
echo UNKNOWN > resource-agents-UNKNOWN/.tarball-version
rm -f resource-agents-UNKNOWN/resource-agents.spec && \
                cp ./resource-agents.spec resource-agents-UNKNOWN/resource-
agents.spec
gmake[3]: Leaving directory `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
find resource-agents-UNKNOWN -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
          ! -type d ! -perm -444 -exec /bin/sh /opt/HA/sourc/ClusterLabs-
resource-agents-46c6990/install-sh -c -m a+r {} {} \; \
        || chmod -R a+r resource-agents-UNKNOWN
tardir=resource-agents-UNKNOWN && /bin/sh /opt/HA/sourc/ClusterLabs-resource-
agents-46c6990/missing --run tar chof - "$tardir" | GZIP=--best gzip -c 
>resource-agents-UNKNOWN.tar.gz
tardir=resource-agents-UNKNOWN && /bin/sh /opt/HA/sourc/ClusterLabs-resource-
agents-46c6990/missing --run tar chof - "$tardir" | bzip2 -9 -c >resource-
agents-UNKNOWN.tar.bz2
{ test ! -d resource-agents-UNKNOWN || { find resource-agents-UNKNOWN -type d ! 
-perm -200 -exec chmod u+w {} ';' && rm -fr resource-agents-UNKNOWN; }; }
gmake[2]: Leaving directory `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
gmake[1]: »resource-agents-UNKNOWN.tar.gz« ist bereits aktualisiert.
gmake[1]: Leaving directory `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
rpmbuild --define "_sourcedir /opt/HA/sourc/ClusterLabs-resource-agents-46c6990" 
--define "_specdir /opt/HA/sourc/ClusterLabs-resource-agents-46c6990" --define 
"_builddir /opt/HA/sourc/ClusterLabs-resource-agents-46c6990" --define 
"_srcrpmdir /opt/HA/sourc/ClusterLabs-resource-agents-46c6990" --define "_rpmdir 
/opt/HA/sourc/ClusterLabs-resource-agents-46c6990" -ba resource-agents.spec
error: Failed build dependencies:
        which is needed by resource-agents-UNKNOWN-1.x86_64
make: *** [rpm] Fehler 1

Q.: 1. why is this  version UNKNOWN?
Q.2.: what is  needed yet by resource-agents-UNKNOWN for  succesfull build of an 
RPM?
 
TIA!


Nikita Michalko 






More information about the Pacemaker mailing list