Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709840 - media-sound/audacity-2.3.3 CFLAGS=-fno-common - ld: ../lib-src/libnyquist/libnyquist.a(midifns.o):(.bss+0x2c): multiple definition of `IOnochar'; ../lib-src/libnyquist/libnyquist.a(userio.o):(.bss+0xec): first defined here
Summary: media-sound/audacity-2.3.3 CFLAGS=-fno-common - ld: ../lib-src/libnyquist/lib...
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: PullRequest
: 710830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-16 19:07 UTC by Enne Eziarc
Modified: 2020-04-30 23:55 UTC (History)
4 users (show)

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


Attachments
build.log.xz (build.log.xz,32.47 KB, application/x-xz)
2020-02-16 19:07 UTC, Enne Eziarc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2020-02-16 19:07:37 UTC
Created attachment 614066 [details]
build.log.xz

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib-src/libnyquist/libnyquist.a(midifns.o):(.bss+0x2c): multiple definition of `IOnochar'; ../lib-src/libnyquist/libnyquist.a(userio.o):(.bss+0xec): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib-src/libnyquist/libnyquist.a(midifns.o):(.bss+0x30): multiple definition of `IOinputfd'; ../lib-src/libnyquist/libnyquist.a(userio.o):(.bss+0xf0): first defined here
collect2: error: ld returned 1 exit status

Also tested 2.3.2 with the same result.
Comment 1 Toralf Förster gentoo-dev 2020-03-14 09:36:44 UTC
*** Bug 710830 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2020-04-30 23:55:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570aee4e7db0a9182bdca1e5cced4af0b5579e9c

commit 570aee4e7db0a9182bdca1e5cced4af0b5579e9c
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2020-03-14 07:33:45 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-04-30 23:55:18 +0000

    media-sound/audacity: Fix building with -fno-common
    
    Closes: https://bugs.gentoo.org/709840
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/14949
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 media-sound/audacity/audacity-2.3.3.ebuild         |  1 +
 .../audacity/files/audacity-2.3.3-fno-common.patch | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)