Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708752 - x11-misc/gcolor2-0.4-r4 : fails to build with -fno-common or gcc-10
Summary: x11-misc/gcolor2-0.4-r4 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-08 20:54 UTC by Toralf Förster
Modified: 2020-11-22 17:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.88 KB, text/plain)
2020-02-08 20:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,228.08 KB, text/plain)
2020-02-08 20:55 UTC, Toralf Förster
Details
environment (environment,118.56 KB, text/plain)
2020-02-08 20:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.34 KB, application/x-bzip)
2020-02-08 20:55 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.51 KB, application/x-bzip)
2020-02-08 20:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.25 KB, application/x-bzip)
2020-02-08 20:55 UTC, Toralf Förster
Details
x11-misc:gcolor2-0.4-r4:20200208-201946.log (x11-misc:gcolor2-0.4-r4:20200208-201946.log,17.11 KB, text/plain)
2020-02-08 20:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-08 20:54:58 UTC
  322 |    fread (old, sizeof (old), 1, fp);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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 gcolor2 main.o support.o interface.o callbacks.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype   
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -o gcolor2 main.o support.o interface.o callbacks.o  -Wl,--as-needed -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: interface.o:(.bss+0x0): multiple definition of `colorvalue'; main.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: interface.o:(.bss+0x10): multiple definition of `menu'; main.o:(.bss+0x30): first defined here

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

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

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.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 <==
Sat, 08 Feb 2020 19:47:11 +0000

emerge -qpvO x11-misc/gcolor2
[ebuild  N    ] x11-misc/gcolor2-0.4-r4
Comment 1 Toralf Förster gentoo-dev 2020-02-08 20:55:01 UTC
Created attachment 612848 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-08 20:55:04 UTC
Created attachment 612850 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-08 20:55:06 UTC
Created attachment 612852 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-08 20:55:09 UTC
Created attachment 612854 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-08 20:55:12 UTC
Created attachment 612856 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-08 20:55:14 UTC
Created attachment 612858 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-08 20:55:17 UTC
Created attachment 612860 [details]
x11-misc:gcolor2-0.4-r4:20200208-201946.log
Comment 8 Larry the Git Cow gentoo-dev 2020-11-22 17:32:19 UTC
The bug has been closed via the following commit(s):

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

commit c462eca3f71a06c416cda3c805ac1f89af4a3441
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 17:32:04 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 17:32:04 +0000

    x11-misc/gcolor2: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/708752
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../gcolor2/files/gcolor2-0.4-fno-common.patch     | 27 ++++++++++++++++++
 .../files/gcolor2-0.4-pkg-config-macro.patch       |  4 +--
 x11-misc/gcolor2/files/modular-rgb.patch           |  8 +++---
 x11-misc/gcolor2/gcolor2-0.4-r4.ebuild             | 33 ++++++++++++----------
 4 files changed, 51 insertions(+), 21 deletions(-)