Red Hat Bugzilla – Bug 12101
rpm 3.0.4 portability: statfs test fails on OpenBSD
Last modified: 2008-05-01 11:37:56 EDT
(this bug report will look strange again, as bugzilla is obviously
slanted against portability bugs)
The statfs check fails abysmally on OpenBSD. Thus transaction.c
does not compile.
On OpenBSD, to get struct statfs, one must
-> hence STATSFS_IN_SYS_MOUNT_H is never verified.
sys/mount.h alone is not enough. The configure.in comment is right,
rpm should borrow fileutils test or something better.
There's a FreeBSD patch that has been applied since rpm-3.0.4. Will that
also fix this OpenBSD issue?
You're right about fileutils tests.
AFAIK, rpm-4.0 will build on *BSD systems.
Stealing the tests from fileutils is still a good idea, that's were many of the
were cribbed in the first place. I suspect that the tests should be made
Please reopen with a patch.