Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723168 - x11-plugins/wmacpi-2.3-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmacpi-2.3-r1 : 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: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-05-15 07:26 UTC by Toralf Förster
Modified: 2020-05-29 20:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.77 KB, text/plain)
2020-05-15 07:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,95.69 KB, text/plain)
2020-05-15 07:26 UTC, Toralf Förster
Details
environment (environment,50.14 KB, text/plain)
2020-05-15 07:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.46 KB, application/x-bzip)
2020-05-15 07:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.30 KB, application/x-bzip)
2020-05-15 07:27 UTC, Toralf Förster
Details
x11-plugins:wmacpi-2.3-r1:20200514-173929.log (x11-plugins:wmacpi-2.3-r1:20200514-173929.log,2.67 KB, text/plain)
2020-05-15 07:27 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-05-15 07:26:46 UTC
x86_64-pc-linux-gnu-gcc -MM -Wall -W -g -ansi wmacpi.c > wmacpi.d
x86_64-pc-linux-gnu-gcc -Wall -W -g -ansi   -c -o wmacpi.o wmacpi.c
x86_64-pc-linux-gnu-gcc -Wall -W -g -ansi   -c -o libacpi.o libacpi.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o wmacpi wmacpi.o libacpi.o -lX11 -ldockapp
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: libacpi.o:/var/tmp/portage/x11-plugins/wmacpi-2.3-r1/work/dockapps/libacpi.h:131: multiple definition of `batteries'; wmacpi.o:/var/tmp/portage/x11-plugins/wmacpi-2.3-r1/work/dockapps/libacpi.h:131: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: libacpi.o:/var/tmp/portage/x11-plugins/wmacpi-2.3-r1/work/dockapps/libacpi.h:132: multiple definition of `verbosity'; wmacpi.o:/var/tmp/portage/x11-plugins/wmacpi-2.3-r1/work/dockapps/libacpi.h:132: first defined here

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 14 May 2020 05:06:08 PM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO x11-plugins/wmacpi
[ebuild  N    ] x11-plugins/wmacpi-2.3-r1
Comment 1 Toralf Förster gentoo-dev 2020-05-15 07:26:49 UTC
Created attachment 639152 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-15 07:26:52 UTC
Created attachment 639154 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-15 07:26:55 UTC
Created attachment 639156 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-15 07:26:58 UTC
Created attachment 639158 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-15 07:27:01 UTC
Created attachment 639160 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-15 07:27:04 UTC
Created attachment 639162 [details]
x11-plugins:wmacpi-2.3-r1:20200514-173929.log
Comment 7 Larry the Git Cow gentoo-dev 2020-05-29 20:48:07 UTC
The bug has been closed via the following commit(s):

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

commit 08bd26cc0c8e46eb41df8e6ddb2b0b6070c6c25f
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-05-29 20:35:54 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-05-29 20:45:51 +0000

    x11-plugins/wmacpi: fix build with -fno-common
    
    Application needed a specific fix in addition to libdockapp one
    
    Closes: https://bugs.gentoo.org/723168
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmacpi/files/wmacpi-2.3-fno-common.patch       | 27 ++++++++++++++++++++++
 x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild            |  8 +++++--
 2 files changed, 33 insertions(+), 2 deletions(-)