Sunday, March 29, 2015

zookeeper build error: compile-native: [exec] configure.ac:57: error: possibly undefined macro: AC_PROG_LIBTOOL

Found this error in bigtop trunk: >./gradlew rpm

How to fix this: unzip the zookeeper tar.gz and run ant. Add an echo task to the build file to echo the directory where the ant is running ./configure.

Like this:

     
                  failonerror="yes">
       
       
     



When you run ant you can see the failing directory is src/c

Just to make sure cd into this directory and run ./configure...

the output shows the problem:

checking whether ln -s works... yes
./configure: line 6509: AC_PROG_LIBTOOL: command not found
checking for pthread_mutex_lock in -lpthread... yes


There is an error when running ./configure and ant is configured to stop on error. How to fix this? libtool isn't found, install libtool: 

> sudo yum install libtool.. 

rerun ./gradlew rpm or retest the ./configure. Both should work. 

Output of ./gradlew rpm command:
     [copy] Copying 1 file to /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5/dist-maven
     [copy] Copying 2 files to /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5/dist-maven
     [copy] Copying 1 file to /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5/dist-maven
     [copy] Copying 6 files to /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5/bin
     [copy] Copying 152 files to /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5/docs
     [copy] Copying 1 file to /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5/src

tar:
      [tar] Building tar: /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5.tar.gz

BUILD SUCCESSFUL
Total time: 1 minute 10 seconds
+ mvn install:install-file -DcreateChecksum=true -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.4.5 -Dpackaging=jar -Dfile=build/zookeeper-3.4.5.jar
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5.jar to /home/dc/.m2/repository/org/apache/zookeeper/zookeeper/3.4.5/zookeeper-3.4.5.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.048 s
[INFO] Finished at: 2015-03-29T05:51:44-07:00
[INFO] Final Memory: 6M/152M
[INFO] ------------------------------------------------------------------------
+ mvn install:install-file -DcreateChecksum=true -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.4.5 -Dclassifier=tests -Dpackaging=jar -Dfile=build/zookeeper-3.4.5-test.jar
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/dc/bigtop/build/zookeeper/rpm/BUILD/zookeeper-3.4.5/build/zookeeper-3.4.5-test.jar to /home/dc/.m2/repository/org/apache/zookeeper/zookeeper/3.4.5/zookeeper-3.4.5-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.632 s
[INFO] Finished at: 2015-03-29T05:51:47-07:00
[INFO] Final Memory: 6M/152M
[INFO] ------------------------------------------------------------------------
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LMKf7J
+ umask 022
+ cd /home/dc/bigtop/build/zookeeper/rpm//BUILD
+ '[' /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64 '!=' / ']'
+ rm -rf /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
++ dirname /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
+ mkdir -p /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT
+ mkdir /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
+ cd zookeeper-3.4.5
+ LANG=C
+ export LANG
+ unset DISPLAY
+ /bin/rm -rf /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
+ cp /home/dc/bigtop/build/zookeeper/rpm//SOURCES/zookeeper.1 /home/dc/bigtop/build/zookeeper/rpm//SOURCES/zoo.cfg /home/dc/bigtop/build/zookeeper/rpm//SOURCES/zookeeper.default .
+ bash /home/dc/bigtop/build/zookeeper/rpm/SOURCES/install_zookeeper.sh --build-dir=build/zookeeper-3.4.5 --doc-dir=/usr/share/doc/zookeeper-3.4.5 --prefix=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64 --system-include-dir=/usr/include --system-lib-dir=/usr/lib64
++ getopt -n /home/dc/bigtop/build/zookeeper/rpm/SOURCES/install_zookeeper.sh -o '' -l prefix: -l doc-dir: -l lib-dir: -l bin-dir: -l examples-dir: -l system-include-dir: -l system-lib-dir: -l build-dir: -- --build-dir=build/zookeeper-3.4.5 --doc-dir=/usr/share/doc/zookeeper-3.4.5 --prefix=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64 --system-include-dir=/usr/include --system-lib-dir=/usr/lib64
+ OPTS=' --build-dir '\''build/zookeeper-3.4.5'\'' --doc-dir '\''/usr/share/doc/zookeeper-3.4.5'\'' --prefix '\''/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64'\'' --system-include-dir '\''/usr/include'\'' --system-lib-dir '\''/usr/lib64'\'' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' --build-dir '\''build/zookeeper-3.4.5'\'' --doc-dir '\''/usr/share/doc/zookeeper-3.4.5'\'' --prefix '\''/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64'\'' --system-include-dir '\''/usr/include'\'' --system-lib-dir '\''/usr/lib64'\'' --'
++ set -- --build-dir build/zookeeper-3.4.5 --doc-dir /usr/share/doc/zookeeper-3.4.5 --prefix /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64 --system-include-dir /usr/include --system-lib-dir /usr/lib64 --
+ true
+ case "$1" in
+ BUILD_DIR=build/zookeeper-3.4.5
+ shift 2
+ true
+ case "$1" in
+ DOC_DIR=/usr/share/doc/zookeeper-3.4.5
+ shift 2
+ true
+ case "$1" in
+ PREFIX=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
+ shift 2
+ true
+ case "$1" in
+ SYSTEM_INCLUDE_DIR=/usr/include
+ shift 2
+ true
+ case "$1" in
+ SYSTEM_LIB_DIR=/usr/lib64
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ for var in PREFIX BUILD_DIR
++ eval 'echo $PREFIX'
+++ echo /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
+ '[' -z /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64 ']'
+ for var in PREFIX BUILD_DIR
++ eval 'echo $BUILD_DIR'
+++ echo build/zookeeper-3.4.5
+ '[' -z build/zookeeper-3.4.5 ']'
+ MAN_DIR=/usr/share/man/man1
+ DOC_DIR=/usr/share/doc/zookeeper-3.4.5
+ LIB_DIR=/usr/lib/zookeeper
+ BIN_DIR=/usr/bin
+ CONF_DIR=/etc/zookeeper/conf
+ CONF_DIST_DIR=/etc/zookeeper/conf.dist/
+ SYSTEM_INCLUDE_DIR=/usr/include
+ SYSTEM_LIB_DIR=/usr/lib64
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/
+ rm -f 'build/zookeeper-3.4.5/zookeeper-*-javadoc.jar' 'build/zookeeper-3.4.5/zookeeper-*-bin.jar' 'build/zookeeper-3.4.5/zookeeper-*-sources.jar' 'build/zookeeper-3.4.5/zookeeper-*-test.jar'
+ cp build/zookeeper-3.4.5/zookeeper-3.4.5.jar /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/contrib
+ for module in rest
+ cp -r build/zookeeper-3.4.5/contrib/rest /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/contrib/
+ for x in '$PREFIX/$LIB_DIR/zookeeper*jar'
++ basename /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/zookeeper-3.4.5.jar
+ x=zookeeper-3.4.5.jar
+ ln -s zookeeper-3.4.5.jar /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/zookeeper.jar
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/lib
+ cp build/zookeeper-3.4.5/lib/jline-0.9.94.jar build/zookeeper-3.4.5/lib/log4j-1.2.15.jar build/zookeeper-3.4.5/lib/netty-3.2.2.Final.jar build/zookeeper-3.4.5/lib/slf4j-api-1.6.1.jar build/zookeeper-3.4.5/lib/slf4j-log4j12-1.6.1.jar /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/lib
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/zookeeper/conf.dist/
+ cp zoo.cfg build/zookeeper-3.4.5/conf/configuration.xsl build/zookeeper-3.4.5/conf/log4j.properties build/zookeeper-3.4.5/conf/zoo_sample.cfg /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/zookeeper/conf.dist//
+ ln -s /etc/zookeeper/conf /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/conf
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/contrib
+ for module in rest
+ cp -r build/zookeeper-3.4.5/contrib/rest /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/contrib/
+ mv /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/contrib/rest/conf /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/zookeeper/conf.dist//rest
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin
+ echo '#!/bin/bash'
+ for i in zkServer.sh zkEnv.sh zkCli.sh zkCleanup.sh zkServer-initialize.sh
+ cp build/zookeeper-3.4.5/bin/zkServer.sh /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin/zkServer.sh
+ for i in zkServer.sh zkEnv.sh zkCli.sh zkCleanup.sh zkServer-initialize.sh
+ cp build/zookeeper-3.4.5/bin/zkEnv.sh /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin/zkEnv.sh
+ for i in zkServer.sh zkEnv.sh zkCli.sh zkCleanup.sh zkServer-initialize.sh
+ cp build/zookeeper-3.4.5/bin/zkCli.sh /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin/zkCli.sh
+ for i in zkServer.sh zkEnv.sh zkCli.sh zkCleanup.sh zkServer-initialize.sh
+ cp build/zookeeper-3.4.5/bin/zkCleanup.sh /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin/zkCleanup.sh
+ for i in zkServer.sh zkEnv.sh zkCli.sh zkCleanup.sh zkServer-initialize.sh
+ cp build/zookeeper-3.4.5/bin/zkServer-initialize.sh /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper/bin/zkServer-initialize.sh
+ wrapper=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-client
++ dirname /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-client
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin
+ cat
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-client
+ for pairs in zkServer.sh/zookeeper-server zkServer-initialize.sh/zookeeper-server-initialize zkCleanup.sh/zookeeper-server-cleanup
++ basename zkServer.sh/zookeeper-server
+ wrapper=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-server
++ dirname zkServer.sh/zookeeper-server
+ upstream_script=zkServer.sh
+ cat
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-server
+ for pairs in zkServer.sh/zookeeper-server zkServer-initialize.sh/zookeeper-server-initialize zkCleanup.sh/zookeeper-server-cleanup
++ basename zkServer-initialize.sh/zookeeper-server-initialize
+ wrapper=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-server-initialize
++ dirname zkServer-initialize.sh/zookeeper-server-initialize
+ upstream_script=zkServer-initialize.sh
+ cat
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-server-initialize
+ for pairs in zkServer.sh/zookeeper-server zkServer-initialize.sh/zookeeper-server-initialize zkCleanup.sh/zookeeper-server-cleanup
++ basename zkCleanup.sh/zookeeper-server-cleanup
+ wrapper=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-server-cleanup
++ dirname zkCleanup.sh/zookeeper-server-cleanup
+ upstream_script=zkCleanup.sh
+ cat
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/bin/zookeeper-server-cleanup
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/share/doc/zookeeper-3.4.5
+ cp -a build/zookeeper-3.4.5/docs/api build/zookeeper-3.4.5/docs/bookkeeperConfig.html build/zookeeper-3.4.5/docs/bookkeeperConfig.pdf build/zookeeper-3.4.5/docs/bookkeeperOverview.html build/zookeeper-3.4.5/docs/bookkeeperOverview.pdf build/zookeeper-3.4.5/docs/bookkeeperProgrammer.html build/zookeeper-3.4.5/docs/bookkeeperProgrammer.pdf build/zookeeper-3.4.5/docs/bookkeeperStarted.html build/zookeeper-3.4.5/docs/bookkeeperStarted.pdf build/zookeeper-3.4.5/docs/bookkeeperStream.html build/zookeeper-3.4.5/docs/bookkeeperStream.pdf build/zookeeper-3.4.5/docs/broken-links.xml build/zookeeper-3.4.5/docs/images build/zookeeper-3.4.5/docs/index.html build/zookeeper-3.4.5/docs/index.pdf build/zookeeper-3.4.5/docs/javaExample.html build/zookeeper-3.4.5/docs/javaExample.pdf build/zookeeper-3.4.5/docs/jdiff build/zookeeper-3.4.5/docs/linkmap.html build/zookeeper-3.4.5/docs/linkmap.pdf build/zookeeper-3.4.5/docs/recipes.html build/zookeeper-3.4.5/docs/recipes.pdf build/zookeeper-3.4.5/docs/releasenotes.html build/zookeeper-3.4.5/docs/releasenotes.pdf build/zookeeper-3.4.5/docs/skin build/zookeeper-3.4.5/docs/zookeeperAdmin.html build/zookeeper-3.4.5/docs/zookeeperAdmin.pdf build/zookeeper-3.4.5/docs/zookeeperHierarchicalQuorums.html build/zookeeper-3.4.5/docs/zookeeperHierarchicalQuorums.pdf build/zookeeper-3.4.5/docs/zookeeperInternals.html build/zookeeper-3.4.5/docs/zookeeperInternals.pdf build/zookeeper-3.4.5/docs/zookeeperJMX.html build/zookeeper-3.4.5/docs/zookeeperJMX.pdf build/zookeeper-3.4.5/docs/zookeeperObservers.html build/zookeeper-3.4.5/docs/zookeeperObservers.pdf build/zookeeper-3.4.5/docs/zookeeperOtherInfo.html build/zookeeper-3.4.5/docs/zookeeperOtherInfo.pdf build/zookeeper-3.4.5/docs/zookeeperOver.html build/zookeeper-3.4.5/docs/zookeeperOver.pdf build/zookeeper-3.4.5/docs/zookeeperProgrammers.html build/zookeeper-3.4.5/docs/zookeeperProgrammers.pdf build/zookeeper-3.4.5/docs/zookeeperQuotas.html build/zookeeper-3.4.5/docs/zookeeperQuotas.pdf build/zookeeper-3.4.5/docs/zookeeperStarted.html build/zookee                               per-3.4.5/docs/zookeeperStarted.pdf build/zookeeper-3.4.5/docs/zookeeperTutorial.html build/zookeeper-3.4.5/docs/zookeeperTutorial.pdf /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/share/doc/zookeeper-3.4.5
+ cp build/zookeeper-3.4.5/CHANGES.txt build/zookeeper-3.4.5/LICENSE.txt build/zookeeper-3.4.5/NOTICE.txt build/zookeeper-3.4.5/README.txt build/zookeeper-3.4.5/README_packaging.txt /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/share/doc/zookeeper-3.4.5/
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/etc/default
+ cp zookeeper.default /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/etc/default/zookeeper
+ install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/share/man/man1
+ gzip -c zookeeper.1
+ install -d -m 1766 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/var/log/zookeeper
+ install -d -m 1766 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/var/log/zookeeper/txlog
+ install -d /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/include
+ install -d /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib64
+ install -d /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native
+ cd build/zookeeper-3.4.5/..
+ tar xzf zookeeper-3.4.5-lib.tar.gz
+ cp -R build/zookeeper-3.4.5/../usr/include/zookeeper /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/include/
+ cp -R build/zookeeper-3.4.5/../usr/lib/libzookeeper_mt.a build/zookeeper-3.4.5/../usr/lib/libzookeeper_mt.la build/zookeeper-3.4.5/../usr/lib/libzookeeper_mt.so build/zookeeper-3.4.5/../usr/lib/libzookeeper_mt.so.2 build/zookeeper-3.4.5/../usr/lib/libzookeeper_mt.so.2.0.0 build/zookeeper-3.4.5/../usr/lib/libzookeeper_st.a build/zookeeper-3.4.5/../usr/lib/libzookeeper_st.la build/zookeeper-3.4.5/../usr/lib/libzookeeper_st.so build/zookeeper-3.4.5/../usr/lib/libzookeeper_st.so.2 build/zookeeper-3.4.5/../usr/lib/libzookeeper_st.so.2.0.0 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib64/
+ cp -R build/zookeeper-3.4.5/../usr/bin/cli_mt build/zookeeper-3.4.5/../usr/bin/cli_st build/zookeeper-3.4.5/../usr/bin/load_gen /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/
+ for binary in '${PREFIX}/${LIB_DIR}-native/*'
+ cat
++ basename /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/cli_mt
++ basename /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/cli_mt
+ for binary in '${PREFIX}/${LIB_DIR}-native/*'
+ cat
++ basename /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/cli_st
++ basename /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/cli_st
+ for binary in '${PREFIX}/${LIB_DIR}-native/*'
+ cat
++ basename /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/load_gen
++ basename /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/load_gen
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/bin/cli_mt /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/bin/cli_st /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/bin/load_gen /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/bin/zookeeper-client /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/bin/zookeeper-server /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/bin/zookeeper-server-cleanup /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/bin/zookeeper-server-initialize /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/cli_mt /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/cli_st /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//usr/lib/zookeeper-native/load_gen
+ orig_init_file=/home/dc/bigtop/build/zookeeper/rpm/SOURCES/zookeeper-server.sh
+ /usr/bin/install -d -m 0755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/rc.d/init.d/
+ init_file=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/rc.d/init.d/zookeeper-server
+ /bin/cp /home/dc/bigtop/build/zookeeper/rpm/SOURCES/zookeeper-server.sh /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/rc.d/init.d/zookeeper-server
+ chmod 755 /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/rc.d/init.d/zookeeper-server
+ init_file=/home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/rc.d/init.d/zookeeper-rest
+ bash /home/dc/bigtop/build/zookeeper/rpm//SOURCES/init.d.tmpl /home/dc/bigtop/build/zookeeper/rpm//SOURCES/zookeeper-rest.svc rpm /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64//etc/rc.d/init.d/zookeeper-rest
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/dc/bigtop/build/zookeeper/rpm//BUILD/zookeeper-3.4.5
extracting debug info from /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/lib64/libzookeeper_st.so.2.0.0
extracting debug info from /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/lib64/libzookeeper_mt.so.2.0.0
extracting debug info from /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/lib/zookeeper-native/cli_st
extracting debug info from /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/lib/zookeeper-native/cli_mt
extracting debug info from /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64/usr/lib/zookeeper-native/load_gen
symlinked /usr/lib/debug/usr/lib64/libzookeeper_mt.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libzookeeper_mt.so.debug
symlinked /usr/lib/debug/usr/lib64/libzookeeper_st.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libzookeeper_st.so.2.debug
symlinked /usr/lib/debug/usr/lib64/libzookeeper_st.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libzookeeper_st.so.debug
symlinked /usr/lib/debug/usr/lib64/libzookeeper_mt.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libzookeeper_mt.so.2.debug
0 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: zookeeper-3.4.5-1.el6.x86_64
Provides: config(zookeeper) = 3.4.5-1.el6
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh /usr/sbin/groupadd /usr/sbin/useradd coreutils
Requires(post): /bin/sh chkconfig
Requires(preun): /bin/sh chkconfig
Requires: /bin/bash /bin/sh /usr/bin/env
Processing files: zookeeper-server-3.4.5-1.el6.x86_64
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): zookeeper = 3.4.5-1.el6
Requires(post): /bin/sh chkconfig
Requires(preun): /bin/sh chkconfig initscripts
Requires(postun): /bin/sh
Requires: /bin/bash
Processing files: zookeeper-rest-3.4.5-1.el6.x86_64
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): zookeeper = 3.4.5-1.el6
Requires(post): /bin/sh chkconfig
Requires(preun): /bin/sh chkconfig initscripts
Requires(postun): /bin/sh
Requires: /bin/bash
Processing files: zookeeper-native-3.4.5-1.el6.x86_64
Provides: libtool(/usr/lib64/libzookeeper_mt.la) libtool(/usr/lib64/libzookeeper_st.la) libzookeeper_mt.so.2()(64bit) libzookeeper_st.so.2()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libzookeeper_mt.so.2()(64bit) libzookeeper_st.so.2()(64bit) rtld(GNU_HASH)
Processing files: zookeeper-debuginfo-3.4.5-1.el6.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
Wrote: /home/dc/bigtop/build/zookeeper/rpm/RPMS/x86_64/zookeeper-3.4.5-1.el6.x86_64.rpm
Wrote: /home/dc/bigtop/build/zookeeper/rpm/RPMS/x86_64/zookeeper-server-3.4.5-1.el6.x86_64.rpm
Wrote: /home/dc/bigtop/build/zookeeper/rpm/RPMS/x86_64/zookeeper-rest-3.4.5-1.el6.x86_64.rpm
Wrote: /home/dc/bigtop/build/zookeeper/rpm/RPMS/x86_64/zookeeper-native-3.4.5-1.el6.x86_64.rpm
Wrote: /home/dc/bigtop/build/zookeeper/rpm/RPMS/x86_64/zookeeper-debuginfo-3.4.5-1.el6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Xq5Xxq
+ umask 022
+ cd /home/dc/bigtop/build/zookeeper/rpm//BUILD
+ cd zookeeper-3.4.5
+ /bin/rm -rf /home/dc/bigtop/build/zookeeper/rpm/BUILDROOT/zookeeper-3.4.5-1.el6.x86_64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.aVTeke
+ umask 022
+ cd /home/dc/bigtop/build/zookeeper/rpm//BUILD
+ rm -rf zookeeper-3.4.5
+ exit 0
:hadoop_vardefines
:hadoop-download
File /home/dc/bigtop/dl/hadoop-2.6.0-src.tar.gz appears to be already downloaded. Exiting...
:hadoop-tar
Nothing to do. Exiting...
:hadoop-srpm
Nothing to do. Exiting...
:hadoop-rpm
Nothing to do. Exiting...
:bigtop-groovy_vardefines
:bigtop-groovy-download
File /home/dc/bigtop/dl/groovy-binary-2.3.8.zip appears to be already downloaded. Exiting...
:bigtop-groovy-tar
Nothing to do. Exiting...
:bigtop-groovy-srpm
Nothing to do. Exiting...
:bigtop-groovy-rpm
Nothing to do. Exiting...
:bigtop-utils_vardefines
:bigtop-utils-download
:bigtop-utils-tar
Nothing to do. Exiting...
:bigtop-utils-srpm
Nothing to do. Exiting...
:bigtop-utils-rpm
Nothing to do. Exiting...
:bigtop-jsvc_vardefines
:bigtop-jsvc-download
File /home/dc/bigtop/dl/commons-daemon-1.0.15-native-src.tar.gz appears to be already downloaded. Exiting...
:bigtop-jsvc-tar
Nothing to do. Exiting...
:bigtop-jsvc-srpm
Nothing to do. Exiting...
:bigtop-jsvc-rpm
Nothing to do. Exiting...
:bigtop-tomcat_vardefines
:bigtop-tomcat-download
File /home/dc/bigtop/dl/apache-tomcat-6.0.36-src.tar.gz appears to be already downloaded. Exiting...
:bigtop-tomcat-tar
Nothing to do. Exiting...
:bigtop-tomcat-srpm
Nothing to do. Exiting...
:bigtop-tomcat-rpm
Nothing to do. Exiting...
:rpm

BUILD SUCCESSFUL

Total time: 2 mins 15.361 secs
[dc@localhost bigtop]$ 




No comments:

Post a Comment