Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708370

Summary: xfce-extra/xfce4-sensors-plugin-1.3.92-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED FIXED    
Severity: normal CC: fjo-gentoo, jstein, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/commit/108ffac9eac23a5d87f142e36d162d62be0619e2
See Also: https://bugs.gentoo.org/show_bug.cgi?id=764002
https://bugs.gentoo.org/show_bug.cgi?id=777540
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
xfce-extra:xfce4-sensors-plugin-1.3.92-r1:20200204-230622.log

Description Toralf Förster gentoo-dev 2020-02-05 18:09:43 UTC
libtool: link: echo "{ global:" > .libs/libxfce4sensors.ver
libtool: link:  cat .libs/libxfce4sensors.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libxfce4sensors.ver
libtool: link:  echo "local: *; };" >> .libs/libxfce4sensors.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/libxfce4sensors_la-middlelayer.o .libs/libxfce4sensors_la-configuration.o .libs/libxfce4sensors_la-sensors-interface-common.o .libs/libxfce4sensors_la-sensors-interface.o .libs/libxfce4sensors_la-tacho.o .libs/libxfce4sensors_la-acpi.o   -lxfce4ui-2 -lxfce4panel-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgmodule-2.0 -lxfce4util -lm -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -pthread -pthread -pthread -pthread -O2 -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--export-dynamic -pthread   -pthread -Wl,-soname -Wl,libxfce4sensors.so.5 -Wl,-version-script -Wl,.libs/libxfce4sensors.ver -o .libs/libxfce4sensors.so.5.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libxfce4sensors_la-configuration.o:(.bss+0x0): multiple definition of `temperature_unit_change'; .libs/libxfce4sensors_la-middlelayer.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libxfce4sensors_la-configuration.o:(.bss+0x8): multiple definition of `maximum_changed'; .libs/libxfce4sensors_la-middlelayer.o:(.bss+0x8): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20200202-211607

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 04 Feb 2020 21:27:02 +0000

emerge -qpvO xfce-extra/xfce4-sensors-plugin
[ebuild  N    ] xfce-extra/xfce4-sensors-plugin-1.3.92-r1  USE="acpi libnotify -hddtemp -lm-sensors" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2020-02-05 18:09:46 UTC
Created attachment 611816 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 18:09:49 UTC
Created attachment 611818 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 18:09:52 UTC
Created attachment 611820 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 18:09:54 UTC
Created attachment 611822 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 18:09:57 UTC
Created attachment 611824 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-05 18:10:00 UTC
Created attachment 611826 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-05 18:10:03 UTC
Created attachment 611828 [details]
xfce-extra:xfce4-sensors-plugin-1.3.92-r1:20200204-230622.log
Comment 8 Jonas Stein gentoo-dev 2020-05-02 22:58:41 UTC
Patch in upstream bugtracker
https://bugzilla.xfce.org/show_bug.cgi?id=16436
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-30 12:31:57 UTC
*** Bug 733968 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2020-11-20 09:54:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72712a95e3335004d904a06f10bb2c2547de5fa

commit c72712a95e3335004d904a06f10bb2c2547de5fa
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-11-20 09:47:07 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-11-20 09:54:39 +0000

    xfce-extra/xfce4-sensors-plugin: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/708370
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../files/xfce4-sensors-plugin-1.3.92-gcc-10.patch | 115 +++++++++++++++++++++
 .../xfce4-sensors-plugin-1.3.92-r1.ebuild          |   4 +
 2 files changed, 119 insertions(+)