Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709396 - media-sound/gtick-0.5.4 : fails to build with -fno-common or gcc-10
Summary: media-sound/gtick-0.5.4 : 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: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-12 17:34 UTC by Toralf Förster
Modified: 2020-03-21 19:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.48 KB, text/plain)
2020-02-12 17:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,113.60 KB, text/plain)
2020-02-12 17:34 UTC, Toralf Förster
Details
environment (environment,30.10 KB, text/plain)
2020-02-12 17:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.22 KB, application/x-bzip)
2020-02-12 17:34 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,22.68 KB, application/x-bzip)
2020-02-12 17:34 UTC, Toralf Förster
Details
media-sound:gtick-0.5.4:20200212-045359.log (media-sound:gtick-0.5.4:20200212-045359.log,24.71 KB, text/plain)
2020-02-12 17:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.30 KB, application/x-bzip)
2020-02-12 17:34 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-12 17:34:04 UTC
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../intl -I../intl -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -D_REENTRANT -D_REENTRANT    -DVERSION='"0.5.4"' -DPACKAGE='"gtick"' -O2 -pipe -march=native -fno-common -D_U_="__attribute__((unused))" -Wall -W -D_GNU_SOURCE -c -o profiles.o profiles.c
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../intl -I../intl -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -D_REENTRANT -D_REENTRANT    -DVERSION='"0.5.4"' -DPACKAGE='"gtick"' -O2 -pipe -march=native -fno-common -D_U_="__attribute__((unused))" -Wall -W -D_GNU_SOURCE -c -o threadtalk.o threadtalk.c
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../intl -I../intl -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -D_REENTRANT -D_REENTRANT    -DVERSION='"0.5.4"' -DPACKAGE='"gtick"' -O2 -pipe -march=native -fno-common -D_U_="__attribute__((unused))" -Wall -W -D_GNU_SOURCE -c -o visualtick.o visualtick.c
x86_64-pc-linux-gnu-gcc -DVERSION='"0.5.4"' -DPACKAGE='"gtick"' -O2 -pipe -march=native -fno-common -D_U_="__attribute__((unused))" -Wall -W -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -o gtick gtick.o metro.o dsp.o help.o g711.o gtkutil.o util.o option.o options.o gtkoptions.o optionlexer.o optionparser.o profiles.o threadtalk.o visualtick.o -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 -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lpulse-simple -lpulse   -lsndfile -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: optionparser.o:(.data+0x0): multiple definition of `option_lloc'; optionlexer.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20200208-201054

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

  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) *

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 <==
Wed, 12 Feb 2020 02:07:16 +0000

emerge -qpvO media-sound/gtick
[ebuild  N    ] media-sound/gtick-0.5.4  USE="nls -sndfile"
Comment 1 Toralf Förster gentoo-dev 2020-02-12 17:34:07 UTC
Created attachment 613464 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-12 17:34:10 UTC
Created attachment 613466 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-12 17:34:13 UTC
Created attachment 613468 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-12 17:34:16 UTC
Created attachment 613470 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-12 17:34:19 UTC
Created attachment 613472 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-12 17:34:21 UTC
Created attachment 613474 [details]
media-sound:gtick-0.5.4:20200212-045359.log
Comment 7 Toralf Förster gentoo-dev 2020-02-12 17:34:24 UTC
Created attachment 613476 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-21 19:40:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebc693196f45c5fe3fb3eda2aa61123ca6f66b6

commit 7ebc693196f45c5fe3fb3eda2aa61123ca6f66b6
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2020-03-19 18:13:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-03-21 19:39:59 +0000

    media-sound/gtick: Various fixes
    
    * Fix build with -fno-common
    * Don't install duplicate desktop entry
    * Fix .desktop file
    * Install additional icons and update icons cache
    * Move AppStream metadata into /usr/share/metainfo
    * Change license to GPL3+
    
    Closes: https://bugs.gentoo.org/683436
    Closes: https://bugs.gentoo.org/709396
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/14921
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/gtick/files/gtick-0.5.4-desktop.patch  | 32 +++++++++++
 .../gtick/files/gtick-0.5.4-fno-common.patch       | 27 +++++++++
 media-sound/gtick/gtick-0.5.4-r1.ebuild            | 65 ++++++++++++++++++++++
 3 files changed, 124 insertions(+)