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

Bug 707616

Summary: mate-base/mate-applets-1.22.1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo MATE Desktop <mate>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
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
mate-base:mate-applets-1.22.1:20200131-035343.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-31 17:38:35 UTC
   76 | GType    gtk_image_menu_item_get_type          (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o mate-drivemount-applet drivemount.o drive-list.o drive-button.o -lmate-panel-applet-4 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0   
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o mate-drivemount-applet drivemount.o drive-list.o drive-button.o  -lmate-panel-applet-4 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: drive-list.o:(.bss+0x0): multiple definition of `settings'; drivemount.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: drive-button.o:(.bss+0x0): multiple definition of `settings'; drivemount.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200126-092715

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

  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) *
Available Rust versions:
  [1]   rust-1.40.0 *
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 <==
Fri, 31 Jan 2020 01:26:20 +0000

emerge -qpvO mate-base/mate-applets
[ebuild  N    ] mate-base/mate-applets-1.22.1  USE="X ipv6 (policykit) upower"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:38:38 UTC
Created attachment 609690 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:38:40 UTC
Created attachment 609692 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:38:44 UTC
Created attachment 609694 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:38:47 UTC
Created attachment 609696 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:38:50 UTC
Created attachment 609698 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:38:52 UTC
Created attachment 609700 [details]
mate-base:mate-applets-1.22.1:20200131-035343.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:38:55 UTC
Created attachment 609702 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-04-06 22:15:10 UTC
The bug has been closed via the following commit(s):

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

commit 75e98f8f74bffdaffea7b488313c4a6299d059d2
Author:     Adam Feldman <NP-Hardass@gentoo.org>
AuthorDate: 2020-04-06 20:29:36 +0000
Commit:     Adam Feldman <NP-Hardass@gentoo.org>
CommitDate: 2020-04-06 22:14:36 +0000

    mate-base/mate-applets: Fix #707616
    
    Closes: https://bugs.gentoo.org/707616
    Package-Manager: Portage-2.3.96, Repoman-2.3.21
    Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>

 .../mate-applets-1.22.2-gcc-10-fno-common.patch    | 45 ++++++++++++++++++++++
 ...1.22.2.ebuild => mate-applets-1.22.2-r1.ebuild} |  4 ++
 2 files changed, 49 insertions(+)