Created attachment 505586 [details, diff]
patch to include sysmacros where those are still needed
Build fails for sys-fs/multipath (0.5* trough 0.7*) with newer glibc with error message:
discovery.c: In function ‘path_discover’:
discovery.c:130:5: error: implicit declaration of function ‘major’ [-Werror=implicit-function-declaration]
multipath-tools-0.7.4 builds fine on my system with sys-libs/glibc-2.26-r5
Can you please verify and report back?
works fine now, great, thanks.
Please either backport the fix or stabilize newer multipath-tools!
(In reply to Andreas K. Hüttel from comment #3)
> Please either backport the fix or stabilize newer multipath-tools!
This is already fixed in latest stable 0.6.4-r1.
Author: Anthony Ryan <email@example.com>
AuthorDate: Wed Jan 4 16:51:16 2017 -0500
Commit: Robin H. Johnson <firstname.lastname@example.org>
CommitDate: Sat Jan 7 13:49:28 2017 -0800
sys-fs/multipath-tools: Version bump 0.6.4
* Include patch for sysmacros
* Remove patch for makefile (building still performs a few unnecessary
operations, but the cost is negligible compared to the cost of
carrying yet another patch.
* Remove COMMIT_ID
* Remove some unnecessary definitions
* Include a way to disable ceph when building
* Add linux-info to check for CONFIG_DM_MULTIPATH
Package-Manager: Portage-2.3.3, Repoman-2.3.1
(cherry picked from commit ef97e67d7cb4b009af471dd2fafdf463960a909d)
Signed-off-by: Robin H. Johnson <email@example.com>
sys-fs/multipath-tools/Manifest | 1 +
sys-fs/multipath-tools/files/multipath-tools-0.6.4-sysmacros.patch | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sys-fs/multipath-tools/metadata.xml | 11 ++++++----
sys-fs/multipath-tools/multipath-tools-0.6.4.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 160 insertions(+), 4 deletions(-)