Summary: | xfce-extra/xfce4-diskperf-plugin-2.6.1 fails to run when build with gcc-7.3.0-r3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Petelin <adrianopol> |
Component: | Current packages | Assignee: | XFCE Team <xfce> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, mgorny, pariksheet.nanda |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 646722 | ||
Attachments: |
emerge --info
emerge --info xfce-extra/xfce4-diskperf-plugin build.log |
Description
Andrew Petelin
2018-07-24 17:05:47 UTC
Created attachment 540728 [details]
emerge --info
Though i'm not gentoo dev, i confirm - after last upgrade to gcc-7.3.0/binutils-2.30.1 diskperf plugin loading fails with this error. However, rebuilding it again with gcc-6.4.0 doesn't fix problem. Btw, if you look plugin binary in mcview, 'major' symbol appears there, while in some other plugins (xfce powermanager) it absents. Also "nm" says "no symbols". Hm... i said i confirm... Caption is "fails to build", but actually it builds, while simply refuses to run, but with exactly same error. (In reply to Nikita Zlobin from comment #3) > Caption is "fails to build"... The bug title is correct. Thank you for the report. Please recompile and *attach* the logfiles as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket The logs must be part of the ticket, but not on external websites. Please reopen this ticket (Status:unconfirmed) afterwards. Created attachment 542498 [details]
emerge --info xfce-extra/xfce4-diskperf-plugin
Created attachment 542500 [details]
build.log
(In reply to Nikita Zlobin from comment #2) > Btw, if you look plugin binary in mcview, 'major' symbol appears there, > while in some other plugins (xfce powermanager) it absents. > Also "nm" says "no symbols". It appears, but it is undefined: $ nm -CD /usr/lib64/xfce4/panel/plugins/libdiskperf.so | grep major U major Here is a similar bug: https://github.com/hishamhm/htop/issues/663. Looks like source files lack including sysmacros.h: https://github.com/lattera/glibc/blob/master/sysdeps/unix/sysv/linux/sys/sysmacros.h#L66. The fix from mgorny: https://github.com/xfce-mirror/xfce4-diskperf-plugin/commit/0787a8972be2b95fac26c502a82427299e7e48c0. It was committed to the master branch, but not merged into any stable version (the latest -- 2.6.1 -- doesn't include it). :( Possibly, we may now add a patch (until upstream is fixed in some stable version): https://bugzilla.xfce.org/show_bug.cgi?id=13940#c5. I confirm this bug on my AMD64, having gcc-7.3.0-r4. Compiles, but cannot run. I'm sorry that I've forgotten to deal with this earlier. Upstream apparently isn't going to make a new release, so I'm going to apply the simpler version of my patch (one that doesn't require eautoreconf). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57c85880af3b8d5696dbf5a0067e28d3d70873d commit a57c85880af3b8d5696dbf5a0067e28d3d70873d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-09-24 16:45:24 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-09-24 16:49:38 +0000 xfce-extra/xfce4-diskperf-plugin: Apply proper sysmacros.h fix Closes: https://bugs.gentoo.org/661994 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../xfce4-diskperf-plugin-2.6.1-sysmacros.patch | 24 +++++++++++++ .../xfce4-diskperf-plugin-2.6.1-r1.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) *** Bug 668662 has been marked as a duplicate of this bug. *** |