Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708542 - x11-plugins/wmmaiload-2.3.0-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmmaiload-2.3.0-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:
: 760756 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-06 22:27 UTC by Toralf Förster
Modified: 2021-01-06 16:16 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.32 KB, text/plain)
2020-02-06 22:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,150.07 KB, text/plain)
2020-02-06 22:27 UTC, Toralf Förster
Details
environment (environment,46.78 KB, text/plain)
2020-02-06 22:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.38 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.68 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details
x11-plugins:wmmaiload-2.3.0-r1:20200206-160805.log (x11-plugins:wmmaiload-2.3.0-r1:20200206-160805.log,28.57 KB, text/plain)
2020-02-06 22:28 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-06 22:27:44 UTC
tools.c:184:17: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  184 |                 fgets(line, MAXSTRLEN, file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -o wmmaiload-config actions.o dialogs.o main.o mainwindow.o popedit.o tools.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  `pkg-config gtk+-2.0 --libs` -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0xa0): multiple definition of `backlight'; actions.o:(.bss+0xa0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x9c): multiple definition of `update_interval'; actions.o:(.bss+0x9c): first defined here

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

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

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

  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.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 <==
Thu, 06 Feb 2020 14:47:08 +0000

emerge -qpvO x11-plugins/wmmaiload
[ebuild  N    ] x11-plugins/wmmaiload-2.3.0-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:27:47 UTC
Created attachment 612342 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:27:51 UTC
Created attachment 612344 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:27:53 UTC
Created attachment 612346 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:27:56 UTC
Created attachment 612348 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:27:59 UTC
Created attachment 612350 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:28:02 UTC
Created attachment 612352 [details]
x11-plugins:wmmaiload-2.3.0-r1:20200206-160805.log
Comment 7 Bernard Cafarelli gentoo-dev 2020-12-20 21:01:47 UTC
*** Bug 760756 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2020-12-20 21:14:19 UTC
The bug has been closed via the following commit(s):

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

commit 842ae0293d658d623527ccdadac7a4d25496a3d3
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-12-20 21:13:58 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-12-20 21:14:16 +0000

    x11-plugins/wmmaiload: multiple build fixes
    
    Fix build with -fno-common
    Set CPP
    Use patch for SSL fix, bump EAPI
    
    Closes: https://bugs.gentoo.org/708542
    Closes: https://bugs.gentoo.org/760588
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../files/wmmaiload-2.3.0-fno-common.patch         | 113 +++++++++++++++++++++
 .../wmmaiload/files/wmmaiload-2.3.0-ssl.patch      |  24 +++++
 x11-plugins/wmmaiload/wmmaiload-2.3.0-r2.ebuild    |  46 +++++++++
 3 files changed, 183 insertions(+)