Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707672 - media-sound/darksnow-0.7.1 : fails to build with -fno-common or gcc-10
Summary: media-sound/darksnow-0.7.1 : 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:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-31 21:08 UTC by Toralf Förster
Modified: 2020-08-08 16:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-01-31 21:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.07 KB, text/plain)
2020-01-31 21:08 UTC, Toralf Förster
Details
environment (environment,96.77 KB, text/plain)
2020-01-31 21:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.17 KB, application/x-bzip)
2020-01-31 21:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.91 KB, application/x-bzip)
2020-01-31 21:08 UTC, Toralf Förster
Details
media-sound:darksnow-0.7.1:20200131-204540.log (media-sound:darksnow-0.7.1:20200131-204540.log,54.84 KB, text/plain)
2020-01-31 21:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.79 KB, application/x-bzip)
2020-01-31 21:08 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-01-31 21:08:20 UTC
  206 |   fscanf(f_darksnow_cfg, "%[^=]=%c\n", foo, &adddate);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DUSE_TOOLTIP  -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  -DINTLPREFIX="\"/usr\"" -DVERSION="\"0.7.1\"" -c tooltips.c -o tooltips.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DUSE_TOOLTIP -Wl,-O1 -Wl,--as-needed -DVERSION="\"0.7.1\"" darksnow.o interface.o config_files.o tooltips.o -o darksnow -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  -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 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config_files.o:(.bss+0x160): multiple definition of `entry_server'; interface.o:(.bss+0x160): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config_files.o:(.bss+0x150): multiple definition of `entry_port'; interface.o:(.bss+0x150): first defined here

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

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

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

  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.40.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 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 19:27:54 +0000

emerge -qpvO media-sound/darksnow
[ebuild  N    ] media-sound/darksnow-0.7.1
Comment 1 Toralf Förster gentoo-dev 2020-01-31 21:08:23 UTC
Created attachment 610024 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 21:08:25 UTC
Created attachment 610026 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 21:08:28 UTC
Created attachment 610028 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 21:08:31 UTC
Created attachment 610030 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 21:08:33 UTC
Created attachment 610032 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 21:08:36 UTC
Created attachment 610034 [details]
media-sound:darksnow-0.7.1:20200131-204540.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 21:08:39 UTC
Created attachment 610036 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-08 16:55:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33cb6f5cadb1e83a86e12d1e4ebcb88295669696

commit 33cb6f5cadb1e83a86e12d1e4ebcb88295669696
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:54:06 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:54:06 +0000

    media-sound/darksnow: Fix building under -fno-common
    
    Closes: https://bugs.gentoo.org/707672
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-sound/darksnow/darksnow-0.7.1.ebuild         |  32 +-
 .../darksnow/files/darksnow-0.7.1-fno-common.patch | 350 +++++++++++++++++++++
 2 files changed, 365 insertions(+), 17 deletions(-)