Description of problem: rpmbuild fails Version-Release number of selected component (if applicable): 0.7-1.staging How reproducible: Always Steps to Reproduce: 1. run rpmbuild on docker-io spec file on EL6 Actual results: # github.com/dotcloud/docker/devmapper devmapper.go: In function 'attach_loop_device': devmapper.go:29: error: 'LOOP_CTL_GET_FREE' undeclared (first use in this function) devmapper.go:29: error: (Each undeclared identifier is reported only once devmapper.go:29: error: for each function it appears in.) error: Bad exit status from /var/tmp/rpm-tmp.iYm5vM (%build) Additional info: linux/loop.h in el6 doesn't seem to define LOOP_CTL_GET_FREE.
It looks like it's not only the definition missing, but on demand loop device allocation. upstream: 770fe30a46a12b6fb6b63fbe1737654d28e84844
(In reply to Aristeu Rozanski from comment #1) > It looks like it's not only the definition missing, but on demand loop device > allocation. > upstream: 770fe30a46a12b6fb6b63fbe1737654d28e84844 I was told if the feature isn't available, docker will fall back to another method. Please ignore my last comment.
(In reply to Aristeu Rozanski from comment #2) > I was told if the feature isn't available, docker will fall back to another > method. Please ignore my last comment. Thanks Aris. https://github.com/alexlarsson/docker/commit/323f3c2bc1566c5c66e4ba49f760030f2c5adae0 via Alex. Should be merged upstream soon.
Merged in v0.7-rc2 upstream ... closing!