[sheepdog-users] is make rpm currently supported?

YAMADA Hideki yamada.hideki at lab.ntt.co.jp
Tue Mar 29 10:34:12 CEST 2016


Hi Dmitry,

I built a rpm of v1.0_rc0 successfully on CentOS 7.
There might be some missing package in your environment.

This is my procedure:
----------
sudo yum update -y
sudo yum groupinstall -y "Base" "Development Tools"

# Corosync
sudo yum install -y corosync corosynclib corosynclib-devel

# Sheepdog build dependencies
sudo rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo yum install -y userspace-rcu userspace-rcu-devel
sudo yum install -y yasm yasm-devel
sudo yum install -y fuse fuse-devel

# ZooKeeper
sudo wget -O /etc/yum.repos.d/bigtop.repo http://www.apache.org/dist/bigtop/bigtop-1.0.0/repos/centos7/bigtop.repo
sudo yum install -y zookeeper-native

./autogen.sh
./configure --enable-zookeeper
LANG=C make rpm
----------

Thanks,
Hideki

On 2016/03/28 16:05, Dmitry Melekhov wrote:
> Hello!
>
> I want to play with sheepdog :-) ,  so I want to builtd rpm of 1.0rc0 on Centos7,  but I get an error:
>
> rpmbuild --define "_sourcedir /root/sheepdog-1.0_rc0" --define "_specdir /root/sheepdog-1.0_rc0" --define "_builddir /root/sheepdog-1.0_rc0" --define "_srcrpmdir /root/sheepdog-1.0_rc0" --define "_rpmdir /root/sheepdog-1.0_rc0"  --define "_configopts  " --define "_requires " --define "_buildrequires  " -ba sheepdog.spec
> error: Macro %_configopts has empty body
> error: Macro %_configopts has empty body
> error: Macro %_requires has empty body
> error: Macro %_requires has empty body
> error: Macro %_buildrequires has empty body
> error: Macro %_buildrequires has empty body
> error: line 11: Dependency tokens must begin with alpha-numeric, '_' or '/': Requires: corosync %{_requires}
> make: *** [rpm] Error 1
>
>
> Could you tell me is it currently supported?
>
> Thank you!
>




More information about the sheepdog-users mailing list