iMinorNo = minor(p_iDevice); ^ devperf.c:69:21: error: 'major' redeclared as different kind of symbol unsigned int major, minor, rsect, wsect, ruse, wuse, use; ^ devperf.c:65:32: note: previous implicit declaration of 'major' was here ----------------------------------------------------------------- This is an unstable amd64 chroot image (named desktop-libressl_20170224-103028) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] jython2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.3.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 465764 [details] emerge-info.txt
Created attachment 465766 [details] config.log.tbz2
Created attachment 465768 [details] emerge-history.txt
Created attachment 465770 [details] environment
Created attachment 465772 [details] etc.portage.tbz2
Created attachment 465774 [details] temp.tbz2
Created attachment 465776 [details] xfce-extra:xfce4-diskperf-plugin-2.6.1:20170302-110404.log
Ping - this is now blocking glibc-2.25 stabilization.
I'm going to take a look at it now.
Created attachment 516996 [details] updated ebuild file which applies two patches
Created attachment 516998 [details, diff] patch taken from upstream Git, with small change to patch configure.ac instead of configure.ac.in
Created attachment 517000 [details, diff] patch which avoids variables named ‘major’ or ‘minor’
The attached ebuild and patches allow the package to be emerged. Upstream patch is <https://git.xfce.org/panel-plugins/xfce4-diskperf-plugin/commit/?id=0787a8972be2b95fac26c502a82427299e7e48c0> from Michał Górny, see <https://bugzilla.xfce.org/show_bug.cgi?id=13940#c5>. Whether glibc should export symbols named ‘major’ and ‘minor’ at all, polluting developers’ namespaces, is subject of a different discussion.
*** Bug 639776 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a78bbc4236ed08c205b57be153c900f9f6e7d32c commit a78bbc4236ed08c205b57be153c900f9f6e7d32c Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-05-04 17:57:15 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-05-04 17:57:15 +0000 xfce-extra/xfce4-diskperf-plugin: Add patch to avoid name clash, bug 611418 Patch by Nico R. Closes: https://bugs.gentoo.org/611418 Package-Manager: Portage-2.3.31, Repoman-2.3.9 .../xfce4-diskperf-plugin-2.6.1-majorminor.patch | 58 ++++++++++++++++++++++ .../xfce4-diskperf-plugin-2.6.1.ebuild | 2 + 2 files changed, 60 insertions(+)