redhat - Zookeeper 3.4.9 : ant rpm target failing -


i trying create zookeeper 3.4.9 rpm.

i have downloaded 3.4.9 release git , trying run ant build. ant build failing below error:

      ..       ..       ..       [rpm] -rwxr-xr-x 0/0            3817 2016-11-10 15:45 zookeeper-3.4.9/src/packages/update-zookeeper-env.sh       [rpm] -rwxr-xr-x 0/0            1771 2016-11-10 15:45 zookeeper-3.4.9/src/recipes/lock/src/c/tests/zkserver.sh       [rpm] -rwxr-xr-x 0/0            1771 2016-11-10 15:45 zookeeper-3.4.9/src/recipes/queue/src/c/tests/zkserver.sh       [rpm] executing(%build): /bin/bash -e /var/tmp/rpm-tmp.dnyc6m       [rpm] executing(%install): /bin/bash -e /var/tmp/rpm-tmp.h96flj       [rpm] + status=0       [rpm] + '[' 0 -ne 0 ']'       [rpm] + /usr/bin/chmod -rf a+rx,u+w,g-w,o-w .       [rpm] + exit 0       [rpm] + umask 022       [rpm] + cd /tmp/zookeeper_package_build_root/build       [rpm] + cd zookeeper-3.4.9       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/bin       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/include       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/lib       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/lib64       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/libexec       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/var/log/zookeeper       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/etc/zookeeper       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/man       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/var/run/zookeeper       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/sbin       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/usr/share/zookeeper       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/var/lib/zookeeper       [rpm] + mkdir -p /tmp/zookeeper_package_build_root/build/etc/init.d       [rpm] + cp /tmp/zookeeper_package_build_root/build/zookeeper-3.4.9/src/packages/rpm/init.d/zookeeper /tmp/zookeeper_package_build_root/build/etc/init.d/zookeep       [rpm] + cp /tmp/zookeeper_package_build_root/build/zookeeper-3.4.9/src/packages/update-zookeeper-env.sh /tmp/zookeeper_package_build_root/build/zookeeper-3.4.9       [rpm] + chmod 0755 /tmp/zookeeper_package_build_root/build/zookeeper-3.4.9/sbin/update-zookeeper-env.sh /tmp/zookeeper_package_build_root/build/zookeeper-3.4.9build_root/build/zookeeper-3.4.9/sbin/zkserver.sh       [rpm] + chmod 0755 /tmp/zookeeper_package_build_root/build/etc/init.d/zookeeper       [rpm] + exit 0       [rpm] + umask 022       [rpm] + cd /tmp/zookeeper_package_build_root/build       [rpm] + '[' /tmp/zookeeper_package_build_root/build '!=' / ']'       [rpm] + rm -rf /tmp/zookeeper_package_build_root/build       [rpm]       [rpm]       [rpm] rpm build errors:       [rpm] ++ dirname /tmp/zookeeper_package_build_root/build       [rpm] + mkdir -p /tmp/zookeeper_package_build_root       [rpm] + mkdir /tmp/zookeeper_package_build_root/build       [rpm] + cd zookeeper-3.4.9       [rpm] /var/tmp/rpm-tmp.h96flj: line 32: cd: zookeeper-3.4.9: no such file or directory       [rpm] error: bad exit status /var/tmp/rpm-tmp.h96flj (%install)       [rpm]     bad exit status /var/tmp/rpm-tmp.h96flj (%install) 

i tried :

1) ant rpm -dskip.contrib=1

2) ant rpm

but both failing same error.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -