Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711692 - x11-plugins/wmcalendar-0.5.2-r2 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmcalendar-0.5.2-r2 : 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-03-06 15:26 UTC by Toralf Förster
Modified: 2020-03-29 11:35 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.89 KB, text/plain)
2020-03-06 15:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,47.26 KB, text/plain)
2020-03-06 15:26 UTC, Toralf Förster
Details
environment (environment,50.69 KB, text/plain)
2020-03-06 15:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.62 KB, application/x-bzip)
2020-03-06 15:26 UTC, Toralf Förster
Details
x11-plugins:wmcalendar-0.5.2-r2:20200306-114649.log (x11-plugins:wmcalendar-0.5.2-r2:20200306-114649.log,17.33 KB, text/plain)
2020-03-06 15:26 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-03-06 15:26:07 UTC
calendar.c:390:44: warning: implicit declaration of function daysLater [-Wimplicit-function-declaration]
  390 |     if((daysEarlierEqual(dt, it->start) && daysLater(dt, it->end))
      |                                            ^~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 `pkg-config --cflags gtk+-2.0` -I.  -DICON_TYPE= -Wl,-O1 -Wl,--as-needed wmCalendar.o settings.o dockapp.o calendarfunc.o calendar.o -lpthread -lm -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 -lXpm -lX11 -lXext -lical -licalss -licalvcal  -o wmCalendar
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x4): multiple definition of `lang'; wmCalendar.o:(.bss+0xb5c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x8): multiple definition of `appicon'; wmCalendar.o:(.bss+0xb60): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200305-031819

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
10.0.0
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) *

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 06 Mar 2020 10:37:29 +0000

emerge -qpvO x11-plugins/wmcalendar
[ebuild  N    ] x11-plugins/wmcalendar-0.5.2-r2
Comment 1 Toralf Förster gentoo-dev 2020-03-06 15:26:10 UTC
Created attachment 617302 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-06 15:26:13 UTC
Created attachment 617304 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-06 15:26:16 UTC
Created attachment 617306 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-06 15:26:18 UTC
Created attachment 617308 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-06 15:26:21 UTC
Created attachment 617310 [details]
x11-plugins:wmcalendar-0.5.2-r2:20200306-114649.log
Comment 6 Larry the Git Cow gentoo-dev 2020-03-29 11:35:53 UTC
The bug has been closed via the following commit(s):

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

commit 9f3ea90ac43ed06b3a5fad8007a9e16f355acc3f
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-03-29 11:27:31 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-03-29 11:35:25 +0000

    x11-plugins/wmcalendar: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/711692
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../files/wmcalendar-0.5.2-fno-common.patch        | 97 ++++++++++++++++++++++
 x11-plugins/wmcalendar/wmcalendar-0.5.2-r2.ebuild  |  7 +-
 2 files changed, 102 insertions(+), 2 deletions(-)