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

Bug 706972

Summary: x11-plugins/fsviewer-0.2.6-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
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
temp.tbz2
x11-plugins:fsviewer-0.2.6-r2:20200128-151000.log

Description Toralf Förster gentoo-dev 2020-01-28 18:52:02 UTC
 1808 |                 FSUpdateFileViewPath(
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 FSUpdateFileView
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common   -Wl,-O1 -Wl,--as-needed  -o FSViewer FSViewer.o files.o FSFileBrowser.o list.o misc.o prop.o timestampWidget.o attribsInspector.o editInspector.o exeInspector.o extnInspector.o iconInspector.o viewInspector.o FSBrowser.o FSPanel.o FSUtils.o FSMenu.o FSFileView.o FSInspector.o magic.o DnD.o FSPathView.o xmodifier.o FSFinder.o FSFileButton.o FSMCList.o FSPrefs.o -Lregexp -lregx -lnsl -lWUtil -lWINGs -lWMaker -lXft -lXmu  -lm -lX11 -lXpm -lwraster 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: files.o:(.bss+0x0): multiple definition of `filesDB'; FSViewer.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: files.o:(.bss+0x8): multiple definition of `defaultsDB'; FSViewer.o:(.bss+0x8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 13:26:22 +0000

emerge -qpvO x11-plugins/fsviewer
[ebuild  N    ] x11-plugins/fsviewer-0.2.6-r2  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:52:05 UTC
Created attachment 606928 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:52:08 UTC
Created attachment 606930 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:52:11 UTC
Created attachment 606932 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:52:14 UTC
Created attachment 606934 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:52:16 UTC
Created attachment 606936 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:52:19 UTC
Created attachment 606938 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:52:22 UTC
Created attachment 606940 [details]
x11-plugins:fsviewer-0.2.6-r2:20200128-151000.log
Comment 8 Larry the Git Cow gentoo-dev 2020-02-02 23:23:44 UTC
The bug has been closed via the following commit(s):

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

commit 4f43ddf429a1b442a48890b348583330ad99936b
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-02-02 23:23:18 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-02-02 23:23:30 +0000

    x11-plugins/fsviewer: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/706972
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../fsviewer/files/fsviewer-0.2.6-gcc-10.patch     | 26 ++++++++++++++++++++++
 x11-plugins/fsviewer/fsviewer-0.2.6-r2.ebuild      |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)