Red Hat Bugzilla – Bug 192242
device-mapper-multipath fails to build in mock
Last modified: 2013-01-09 22:43:06 EST
This package fails to build in mock. build.log is attached.
Created attachment 129444 [details]
Failed Mock build log
device-mapper-mulitpath needs BR for libsepol-devel & readline-devel, but it
still fails in mock since it's missing the following header: linux/unistd.h.
What's the best way to satisfy the requirement?
The code needs fixing - shouldn't be necessary to use _syscall5 any more.
lvm2 used to have that (workaround for outdated header files), but was able to
remove it a long time ago.
#define _FILE_OFFSET_BITS 64
Does it also need these two BuildRequires or not?
Added BuildRequires: libsepol-devel, readline-devel
The <linux/unistd.h> requirement has been removed in
let me know if this fixes all the problems.
device-mapper-multipath-0.4.7-1.0.src.rpm builds on i386 and x86_64.