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

Bug 706842

Summary: media-gfx/argyllcms-2.1.2 : 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
media-gfx:argyllcms-2.1.2:20200128-002223.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:21:02 UTC

	x86_64-pc-linux-gnu-gcc -o rspl/smtnd  rspl/smtnd.o  xicc/libxicc.a gamut/libgamut.a spectro/libinsttypes.a rspl/librspl.a cgats/libcgats.a icc/libicc.a plot/libplot.a plot/libvrml.a numlib/libnum.a numlib/libui.a  -ldl -lrt -ltiff -ljpeg -lpng -lz -lssl -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -lm -lpthread -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg  

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xicc/libxicc.a(xicc.o):(.bss+0x8): multiple definition of `wrl'; rspl/smtnd.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xicc/libxicc.a(xfit.o):(.bss+0x0): multiple definition of `wrl'; rspl/smtnd.o:(.bss+0x0): first defined here

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

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

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

  Please see the tracker bug for details.

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


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:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 23:06:20 +0000

emerge -qpvO media-gfx/argyllcms
[ebuild  N    ] media-gfx/argyllcms-2.1.2  USE="libressl -doc"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:21:05 UTC
Created attachment 606068 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:21:08 UTC
Created attachment 606070 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:21:11 UTC
Created attachment 606072 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:21:13 UTC
Created attachment 606074 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:21:17 UTC
Created attachment 606076 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:21:20 UTC
Created attachment 606078 [details]
media-gfx:argyllcms-2.1.2:20200128-002223.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:21:23 UTC
Created attachment 606080 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-05 22:45:25 UTC
The bug has been closed via the following commit(s):

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

commit 5eaf7f40ff4f9dfd2fb006c9b08d929e04c82703
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-05-05 22:45:05 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-05-05 22:45:05 +0000

    media-gfx/argyllcms: fix build with -fno-common
    
    Patch from openSUSE
    Also set BDEPEND for ftjam/unzip
    
    Closes: https://bugs.gentoo.org/706842
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 media-gfx/argyllcms/argyllcms-2.1.2-r1.ebuild      |  93 ++++++++++++++
 .../files/argyllcms-2.1.2-fno-common.patch         | 134 +++++++++++++++++++++
 2 files changed, 227 insertions(+)