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

Bug 708514

Summary: app-laptop/pommed-1.39-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Naohiro Aota <naota>
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
app-laptop:pommed-1.39-r1:20200206-023216.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2020-02-06 22:21:11 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE         -c -o mactel/kbd_backlight.o mactel/kbd_backlight.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE         -c -o mactel/ambient.o mactel/ambient.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE         -c -o mactel/acpi.o mactel/acpi.c
x86_64-pc-linux-gnu-gcc -o pommed pommed.o cd_eject.o evdev.o conffile.o audio.o evloop.o dbus.o power.o beep.o video.o sysfs_backlight.o mactel/x1600_backlight.o mactel/gma950_backlight.o mactel/nv8600mgt_backlight.o mactel/kbd_backlight.o mactel/ambient.o mactel/acpi.o -pthread -lrt -ldbus-1  -lasound  -laudiofile  -lconfuse  -lpci   -Wl,-O1 -Wl,--as-needed
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mactel/x1600_backlight.o:(.bss+0x0): multiple definition of `lcd_bck_info'; sysfs_backlight.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mactel/nv8600mgt_backlight.o:(.bss+0x0): multiple definition of `lcd_bck_info'; sysfs_backlight.o:(.bss+0x0): first defined here

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

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

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

  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 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 06 Feb 2020 01:53:05 +0000

emerge -qpvO app-laptop/pommed
[ebuild  N    ] app-laptop/pommed-1.39-r1  USE="-X -gtk"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:21:14 UTC
Created attachment 612158 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:21:17 UTC
Created attachment 612160 [details]
app-laptop:pommed-1.39-r1:20200206-023216.log
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:21:20 UTC
Created attachment 612162 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:21:23 UTC
Created attachment 612164 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:21:26 UTC
Created attachment 612166 [details]
etc.portage.tbz2
Comment 6 Larry the Git Cow gentoo-dev 2020-12-28 14:48:18 UTC
The bug has been closed via the following commit(s):

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

commit 82d9607922cc4d6c00dfa2a83060828a00b99599
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 14:47:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 14:47:50 +0000

    app-laptop/pommed: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/708514
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../pommed/files/pommed-1.39-fno-common.patch      | 22 +++++++++++
 app-laptop/pommed/pommed-1.39-r1.ebuild            | 44 ++++++++++++----------
 2 files changed, 46 insertions(+), 20 deletions(-)