Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 192242 - device-mapper-multipath fails to build in mock
device-mapper-multipath fails to build in mock
Product: Fedora
Classification: Fedora
Component: device-mapper-multipath (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Alasdair Kergon
Depends On:
Blocks: BuildReqBlocker
  Show dependency treegraph
Reported: 2006-05-18 11:45 EDT by Brian Pepple
Modified: 2013-01-09 22:43 EST (History)
10 users (show)

See Also:
Fixed In Version: 0.4.7-1.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-06-19 17:46:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Failed Mock build log (7.61 KB, text/plain)
2006-05-18 11:45 EDT, Brian Pepple
no flags Details

  None (edit)
Description Brian Pepple 2006-05-18 11:45:32 EDT
This package fails to build in mock.  build.log is attached.
Comment 1 Brian Pepple 2006-05-18 11:45:32 EDT
Created attachment 129444 [details]
Failed Mock build log
Comment 2 Brian Pepple 2006-05-18 12:11:02 EDT
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?
Comment 3 Alasdair Kergon 2006-05-22 10:22:32 EDT
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
Comment 4 Alasdair Kergon 2006-05-22 10:24:09 EDT
Does it also need these two BuildRequires or not?

  libtermcap-devel, ncurses-devel
Comment 5 Alasdair Kergon 2006-05-22 10:27:16 EDT
Added BuildRequires: libsepol-devel, readline-devel
Comment 6 Ben Marzinski 2006-05-24 16:03:53 EDT
The <linux/unistd.h> requirement has been removed in

let me know if this fixes all the problems.
Comment 7 Matt Domsch 2006-06-19 17:46:10 EDT
device-mapper-multipath-0.4.7-1.0.src.rpm builds on i386 and x86_64.

Note You need to log in before you can comment on or make changes to this bug.