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. Should have #define _FILE_OFFSET_BITS 64
Does it also need these two BuildRequires or not? libtermcap-devel, ncurses-devel
Added BuildRequires: libsepol-devel, readline-devel
The <linux/unistd.h> requirement has been removed in device-mapper-multipath-0.4.5-17.0 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.