Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707968 - media-libs/nas-1.9.4-r2 : fails to build with -fno-common or gcc-10
Summary: media-libs/nas-1.9.4-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: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-02 20:54 UTC by Toralf Förster
Modified: 2020-05-15 18:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.79 KB, text/plain)
2020-02-02 20:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,19.03 KB, text/plain)
2020-02-02 20:54 UTC, Toralf Förster
Details
environment (environment,68.65 KB, text/plain)
2020-02-02 20:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.90 KB, application/x-bzip)
2020-02-02 20:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.62 KB, application/x-bzip)
2020-02-02 20:54 UTC, Toralf Förster
Details
media-libs:nas-1.9.4-r2:20200202-192016.log (media-libs:nas-1.9.4-r2:20200202-192016.log,157.48 KB, text/plain)
2020-02-02 20:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.71 KB, application/x-bzip)
2020-02-02 20:54 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-02 20:54:39 UTC
gmake[3]: Entering directory '/var/tmp/portage/media-libs/nas-1.9.4-r2/work/nas-1.9.4-abi_x86_64.amd64/server/dda/voxware'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/var/tmp/portage/media-libs/nas-1.9.4-r2/work/nas-1.9.4-abi_x86_64.amd64/server/dda/voxware'
x86_64-pc-linux-gnu-gcc -o nasd -O2 -pipe -march=native -fno-common   -Wl,-O1 -Wl,--as-needed  -L../lib/audio -L/usr/lib64 -L/usr/lib64    dia/libdia.a dda/voxware/libvoxware.a os/libos.a       -lfl 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dia/libdia.a(lex.o):(.bss+0x2030): multiple definition of `yyin'; dia/libdia.a(main.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_no-multilib_hardened-libressl-20200202-054030

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

  Please see the tracker bug for details.

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



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



ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 02 Feb 2020 18:30:32 +0000

emerge -qpvO media-libs/nas
[ebuild  N    ] media-libs/nas-1.9.4-r2  USE="-doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-02-02 20:54:42 UTC
Created attachment 611130 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-02 20:54:45 UTC
Created attachment 611132 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-02 20:54:48 UTC
Created attachment 611134 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-02 20:54:50 UTC
Created attachment 611136 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-02 20:54:53 UTC
Created attachment 611138 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-02 20:54:56 UTC
Created attachment 611140 [details]
media-libs:nas-1.9.4-r2:20200202-192016.log
Comment 7 Toralf Förster gentoo-dev 2020-02-02 20:54:59 UTC
Created attachment 611142 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-15 18:20:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78368340e8df47f36adcd144c744197eebadfff5

commit 78368340e8df47f36adcd144c744197eebadfff5
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-03-18 12:08:52 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-05-15 18:19:36 +0000

    media-libs/nas: fix compiling on gcc 10 (#707968)
    
    Closes: https://bugs.gentoo.org/707968
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/15001
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 media-libs/nas/files/nas-1.9.4-fno-config.patch | 42 +++++++++++++++++++++++++
 media-libs/nas/nas-1.9.4-r2.ebuild              |  7 +++--
 2 files changed, 46 insertions(+), 3 deletions(-)