Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707800 - x11-plugins/wmweather+-2.17 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmweather+-2.17 : 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-02-01 20:27 UTC by Toralf Förster
Modified: 2020-02-24 21:47 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.11 KB, text/plain)
2020-02-01 20:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,231.71 KB, text/plain)
2020-02-01 20:27 UTC, Toralf Förster
Details
environment (environment,16.96 KB, text/plain)
2020-02-01 20:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.47 KB, application/x-bzip)
2020-02-01 20:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.13 KB, application/x-bzip)
2020-02-01 20:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.52 KB, application/x-bzip)
2020-02-01 20:27 UTC, Toralf Förster
Details
x11-plugins:wmweather+-2.17:20200201-200305.log (x11-plugins:wmweather+-2.17:20200201-200305.log,15.19 KB, text/plain)
2020-02-01 20: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-02-01 20:27:12 UTC
  303 |                 write(pipefd[1], bigbuf, len);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.   -I/usr/include -I/usr/include  -O2 -pipe -march=native -fno-common   -c -o wmweather+.o wmweather+.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common    -Wl,-O1 -Wl,--as-needed -L/usr/lib -L/usr/lib -o wmweather+ animation.o avn.o convert.o die.o diff.o dock.o download.o eta.o font.o forecast.o getLine.o metar.o moon.o mrf.o radar.o subst.o sunzenith.o warnings.o wmweather+.o wmgeneral/libwmgeneral.a wmgeneral/libwmgeneral-x11.a b0rken/libb0rken.a -lSM -lICE  -lXpm -lX11 -lXext  -lwraster -lpcre -lm  -lcurl -lssl -lcrypto -lssl -lcrypto -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dock.o:(.bss+0x18): multiple definition of `display'; animation.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: font.o:(.bss+0x0): multiple definition of `display'; animation.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 18:27:56 +0000

emerge -qpvO x11-plugins/wmweather+
[ebuild  N    ] x11-plugins/wmweather+-2.17
Comment 1 Toralf Förster gentoo-dev 2020-02-01 20:27:15 UTC
Created attachment 610616 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 20:27:18 UTC
Created attachment 610618 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 20:27:21 UTC
Created attachment 610620 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 20:27:24 UTC
Created attachment 610622 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 20:27:27 UTC
Created attachment 610624 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-01 20:27:30 UTC
Created attachment 610626 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-01 20:27:32 UTC
Created attachment 610628 [details]
x11-plugins:wmweather+-2.17:20200201-200305.log
Comment 8 Larry the Git Cow gentoo-dev 2020-02-24 21:47:44 UTC
The bug has been closed via the following commit(s):

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

commit 11f48eed3b67f62b2a1e2e4dd9b6c37e372ebbd7
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-02-24 21:16:38 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-02-24 21:47:31 +0000

    x11-plugins/wmweather+: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/707800
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmweather+/files/wmweather+-2.17-gcc-10.patch  | 23 ++++++++++++++++++++++
 x11-plugins/wmweather+/wmweather+-2.17.ebuild      |  4 +++-
 2 files changed, 26 insertions(+), 1 deletion(-)