Summary: | sys-fs/multipath-tools fails to compile any version: mpath_persist.c:175:10: error: called object 'major' is not a function or function pointer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robin Johnson <robbat2> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | infra-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Robin Johnson
![]() ![]() ![]() ![]() I cannot reproduce this. major() and minor() are macros defined in sys/sysmacros.h. mpath_persist.c does not include sys/sysmacros.h directly, but it should get pulled in implicitly via libudev.h. Maybe too old libudev.h? https://github.com/systemd/systemd/commit/27d13af71c3af6b2f9b60556d2c046dbb6e36e23 >=systemd/udev-230 https://github.com/gentoo/eudev/commit/d3aab3bde9ce72ed27405e0f6c9a2fe67d45b43a >=eudev-3.2.1 whissi@woodpecker ~ $ udevadm --version 216 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fff7e7bd17fb3b933a3845e69099c70e037d142 commit 9fff7e7bd17fb3b933a3845e69099c70e037d142 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-11-27 20:55:53 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-11-27 20:57:40 +0000 sys-fs/multipath-tools: rev bump - Fix pkgconfig file install location - Set run dir to /run - Update multipathd runscript - Require >=libudev-232 for sys/sysmacros.h. Closes: https://bugs.gentoo.org/685314 Closes: https://bugs.gentoo.org/698422 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> sys-fs/multipath-tools/files/multipathd-r1.rc | 12 +++ .../multipath-tools-0.8.3-r1.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 103 insertions(+) |