Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
collectd don't work with xfsprogs-4.7.0 #1877
Comments
|
Hi @Whissi! That error message makes no sense to me. MS_RDONLY is an enum. The xfs headers must redefine it. In any case, this seems to be a bug in xfsprogs. |
|
Yes, it is re-defininig MS_RDONLY in some way: From
and
but
I am not sure if this is a bug within xfsprogs. You can also argue collectd shouldn't include |
|
Thanks. So the glibc headers and kernel headers are out of sync, and xfsprogs exposes the kernel definitions. I really don't like patching around it, glibc headers should be safe to include. |
|
Reported upstream by @Whissi: http://oss.sgi.com/pipermail/xfs/2016-August/050835.html |
|
Is there anything left to be done on our end? |
|
No, I'm afraid not. |
rubenk
closed this
Sep 2, 2016
|
Wait, I don't see that you have https://gitweb.gentoo.org/repo/gentoo.git/tree/app-admin/collectd/files/collectd-5.5.2-issue-1877.patch merged. So collected.git should still be affected. |
|
@Whissi affected yes, this needs to be fixed either in glibc or in xfsprogs. Did you send a PR for that patch? I forgot. |
|
I did not send a PR. The patch is based on your GIST. xfsprogs upstream isn't sure if xfsprogs is the place to fix the issue, see http://oss.sgi.com/pipermail/xfs/2016-August/050848.html I haven't contacted glibc project. Because the patch only re-orders code in collectd to workaround the issue I would say "fix it in collectd". |
|
I don't mind working around it, but it would nice to have a constructive fix for this in glibc. Can you turn your patch into a PR? |
Whissi commentedAug 11, 2016
When building collectd against xfsprogs-4.7.0 compilation will fail
This is https://bugs.gentoo.org/show_bug.cgi?id=590998