fedora で docker 用に src.rpm から RPM を構築しようとしています。ここから src.rpm パッケージを入手しました: http://koji.fedoraproject.org/koji/buildinfo?buildID=610523
このガイドに従っています: http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch11s03.html
rpmbuild を実行するとすぐに、次のエラーが表示されます。
[peeyush@localhost ~]$ rpmbuild --rebuild docker-io-1.5.0-1.fc21.src.rpm
Installing docker-io-1.5.0-1.fc21.src.rpm
error: Failed build dependencies:
btrfs-progs-devel is needed by docker-io-1.5.0-1.fc21.x86_64
device-mapper-devel is needed by docker-io-1.5.0-1.fc21.x86_64
glibc-static is needed by docker-io-1.5.0-1.fc21.x86_64
go-md2man is needed by docker-io-1.5.0-1.fc21.x86_64
golang(code.google.com/p/go.net/websocket) is needed by docker-io-1.5.0-1.fc21.x86_64
golang(code.google.com/p/gosqlite/sqlite3) is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/Sirupsen/logrus) >= 0.6.0 is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/coreos/go-systemd/activation) >= 2-1 is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/docker/libtrust) >= 0-0.2 is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/docker/libtrust/trustgraph) >= 0-0.2 is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/godbus/dbus) is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/gorilla/mux) >= 0-0.13 is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/kr/pty) >= 0-0.19 is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/syndtr/gocapability/capability) >= 0-0.7 is needed by docker-io-1.5.0-1.fc21.x86_64
golang(github.com/tchap/go-patricia/patricia) is needed by docker-io-1.5.0-1.fc21.x86_64
興味深いのは、私はすでに golang をインストールしていることです。
[peeyush@localhost ~]$ rpm -q golang
golang-1.3.3-1.fc21.x86_64
ここで何が問題なのかを理解するのを手伝ってください。または、Docker RPM をビルドする他の方法があれば教えてください。