Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710086 - media-sound/jamin-0.95.0-r3 : fails to build with -fno-common or gcc-10
Summary: media-sound/jamin-0.95.0-r3 : 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: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-18 18:53 UTC by Toralf Förster
Modified: 2020-08-07 23:24 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.66 KB, text/plain)
2020-02-18 18:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,231.14 KB, text/plain)
2020-02-18 18:53 UTC, Toralf Förster
Details
environment (environment,60.19 KB, text/plain)
2020-02-18 18:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.39 KB, application/x-bzip)
2020-02-18 18:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.33 KB, application/x-bzip)
2020-02-18 18:54 UTC, Toralf Förster
Details
media-sound:jamin-0.95.0-r3:20200218-025834.log (media-sound:jamin-0.95.0-r3:20200218-025834.log,86.12 KB, text/plain)
2020-02-18 18:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.61 KB, application/x-bzip)
2020-02-18 18:54 UTC, Toralf Förster
Details
jamin-no-common.patch (jamin-no-common.patch,714 bytes, patch)
2020-02-20 23:57 UTC, Samuel Bauer
Details | Diff

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-18 18:53:47 UTC
x86_64-pc-linux-gnu-ar cru libnopt.a libnopt_a-interface.o 
x86_64-pc-linux-gnu-ranlib libnopt.a
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g   -I/usr/include/libxml2   -Wall -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o jamin jamin-callbacks.o jamin-compressor-ui.o jamin-geq.o jamin-gtkmeter.o jamin-gtkmeterscale.o jamin-hdeq.o jamin-intrim.o jamin-io.o jamin-io-menu.o jamin-limiter-ui.o jamin-main.o jamin-plugin.o jamin-process.o jamin-resource.o jamin-ringbuffer.o jamin-spectrum.o jamin-spline.o jamin-state.o jamin-status-ui.o jamin-stereo.o jamin-support.o jamin-transport.o jamin-scenes.o jamin-preferences.o jamin-help.o libnopt.a -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  -lfftw3f  -lxml2  -ljack -lpthread  -llo -lpthread  -lm -lm -lpthread 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -I/usr/include/libxml2 -Wall -O2 -pipe -march=native -fno-common -Wl,-O1 -o jamin jamin-callbacks.o jamin-compressor-ui.o jamin-geq.o jamin-gtkmeter.o jamin-gtkmeterscale.o jamin-hdeq.o jamin-intrim.o jamin-io.o jamin-io-menu.o jamin-limiter-ui.o jamin-main.o jamin-plugin.o jamin-process.o jamin-resource.o jamin-ringbuffer.o jamin-spectrum.o jamin-spline.o jamin-state.o jamin-status-ui.o jamin-stereo.o jamin-support.o jamin-transport.o jamin-scenes.o jamin-preferences.o jamin-help.o  -Wl,--as-needed libnopt.a -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 -lfftw3f -lxml2 /usr/lib64/libjack.so -ldb -ldl -llo -lm -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: jamin-compressor-ui.o:/var/tmp/portage/media-sound/jamin-0.95.0-r3/work/jamin-0.95.0/src/hdeq.h:64: multiple definition of `l_notebook1'; jamin-callbacks.o:/var/tmp/portage/media-sound/jamin-0.95.0-r3/work/jamin-0.95.0/src/hdeq.h:64: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: jamin-geq.o:/var/tmp/portage/media-sound/jamin-0.95.0-r3/work/jamin-0.95.0/src/hdeq.h:64: multiple definition of `l_notebook1'; jamin-callbacks.o:/var/tmp/portage/media-sound/jamin-0.95.0-r3/work/jamin-0.95.0/src/hdeq.h:64: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200212-201606

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

  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) *
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]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 01:07:42 +0000

emerge -qpvO media-sound/jamin
[ebuild  N    ] media-sound/jamin-0.95.0-r3  USE="osc"
Comment 1 Toralf Förster gentoo-dev 2020-02-18 18:53:50 UTC
Created attachment 614276 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 18:53:53 UTC
Created attachment 614278 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-18 18:53:56 UTC
Created attachment 614280 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-18 18:53:59 UTC
Created attachment 614282 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-18 18:54:02 UTC
Created attachment 614284 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-18 18:54:04 UTC
Created attachment 614286 [details]
media-sound:jamin-0.95.0-r3:20200218-025834.log
Comment 7 Toralf Förster gentoo-dev 2020-02-18 18:54:07 UTC
Created attachment 614288 [details]
temp.tbz2
Comment 8 Samuel Bauer 2020-02-20 23:57:29 UTC
Created attachment 614810 [details, diff]
jamin-no-common.patch

Proposed fix
Comment 9 jannis 2020-08-02 20:50:19 UTC
Samuel's patch makes jamin compile with gcc 10 for me. However, jamin crashes on startup. Anyhow, it crashes without the patch and compiled with gcc 9 as well ...

Does jamin work on your machine?
Comment 10 jannis 2020-08-02 20:52:09 UTC
The crash I am experiencing seems to be this one: https://bugzilla.redhat.com/show_bug.cgi?id=1312168
Comment 11 Larry the Git Cow gentoo-dev 2020-08-07 23:24:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468d8f85d3f952a8b03632a468f19405638d8a92

commit 468d8f85d3f952a8b03632a468f19405638d8a92
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-08-07 19:11:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-07 23:23:20 +0000

    media-sound/jamin: 0.98.9_pre20170111 version bump, EAPI-7
    
    Using tarballs from Debian, GCC-10 fix from Fedora, thank you very much.
    
    Closes: https://bugs.gentoo.org/524042
    Closes: https://bugs.gentoo.org/632442
    Closes: https://bugs.gentoo.org/632470
    Closes: https://bugs.gentoo.org/637562
    Closes: https://bugs.gentoo.org/710086
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/jamin/Manifest                         |  2 +
 .../files/jamin-0.98.9_pre20170111-desktop.patch   | 19 +++++++
 .../files/jamin-0.98.9_pre20170111-gcc10.patch     | 24 +++++++++
 media-sound/jamin/jamin-0.98.9_pre20170111.ebuild  | 59 ++++++++++++++++++++++
 4 files changed, 104 insertions(+)