Summary: | media-libs/codec2-0.8.1 : fails to build with -fno-common or gcc-10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer |
Priority: | Normal | Keywords: | EBUILD, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/drowe67/codec2/ | ||
See Also: |
https://github.com/gentoo/gentoo/pull/16551 https://bugs.gentoo.org/show_bug.cgi?id=763399 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 media-libs:codec2-0.8.1:20200131-201809.log temp.tbz2 codec2-0.9.2.ebuild |
Description
Toralf Förster
2020-01-31 20:38:30 UTC
Created attachment 610006 [details]
emerge-info.txt
Created attachment 610008 [details]
emerge-history.txt
Created attachment 610010 [details]
environment
Created attachment 610012 [details]
etc.portage.tbz2
Created attachment 610014 [details]
logs.tbz2
Created attachment 610016 [details]
media-libs:codec2-0.8.1:20200131-201809.log
Created attachment 610018 [details]
temp.tbz2
.../ld: src/CMakeFiles/codec2.dir/freedv_api.c.o:/var/tmp/portage/media-libs/codec2-0.8.1/work/codec2-0.8.1/src/codec2_ofdm.h:54: multiple definition of `OFDM_CONFIG_700D'; src/CMakeFiles/codec2.dir/ofdm.c.o:/var/tmp/portage/media-libs/codec2-0.8.1/work/codec2-0.8.1/src/codec2_ofdm.h:54: first defined here This is already fixed upstream through the removal of the OFDM_CONFIG_700D variable in subsequent releases. The latest release is 0.9.2. HOMEPAGE refers to the [URL] these days. Created attachment 634042 [details]
codec2-0.9.2.ebuild
src_install() can be entirely removed, they made -DINSTALL_EXAMPLES= option in CMake. See my PR for other improvements https://github.com/gentoo/gentoo/pull/16551 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9843a298647c9fd076a4fb54320cdf8a47466ae commit c9843a298647c9fd076a4fb54320cdf8a47466ae Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-08-08 16:54:17 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-08-08 16:54:17 +0000 media-libs/codec2: Fix building under -fno-common Closes: https://bugs.gentoo.org/707668 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org> media-libs/codec2/codec2-0.8.1.ebuild | 5 ++++- media-libs/codec2/files/codec2-0.8.1-fno-common.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1cb52a4622f1a2696a551149972bf786f9fb67 commit ed1cb52a4622f1a2696a551149972bf786f9fb67 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2020-07-02 21:09:11 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-08-23 14:43:51 +0000 media-libs/codec2: update to 0.9.2 Updated and simplified ebuild. Closes: https://bugs.gentoo.org/707668 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16551 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-libs/codec2/Manifest | 1 + media-libs/codec2/codec2-0.9.2.ebuild | 24 ++++++++++++++++++++++++ media-libs/codec2/metadata.xml | 3 +++ 3 files changed, 28 insertions(+) |