Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723420 - media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1 fails at linking stage (PATCH)
Summary: media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1 fails at linking stage (PATCH)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-05-16 17:50 UTC by Nico R.
Modified: 2020-11-01 03:19 UTC (History)
3 users (show)

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


Attachments
trivial patch to fix the linking issue (linuxtv-dvb-apps-1.1.1.20140321-remove_unneeded_static_symbol.patch,606 bytes, patch)
2020-05-16 17:50 UTC, Nico R.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico R. 2020-05-16 17:50:05 UTC
Created attachment 639692 [details, diff]
trivial patch to fix the linking issue

/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: vbi.o:/var/tmp/portage/media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1/work/linuxtv-dvb-apps-1.1.1.20140321/util/alevt/vbi.c:38: multiple definition of `sid'; alevt-cap.o:/var/tmp/portage/media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1/work/linuxtv-dvb-apps-1.1.1.20140321/uti
l/alevt/alevt-cap.c:18: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: vbi.o:/var/tmp/portage/media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1/work/linuxtv-dvb-apps-1.1.1.20140321/util/alevt/vbi.c:38: multiple definition of `sid'; alevt-date.o:/var/tmp/portage/media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1/work/linuxtv-dvb-apps-1.1.1.20140321/ut
il/alevt/alevt-date.c:20: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:34: alevt-cap] Error 1

This is caused by a duplicate symbol in vdi.c.

Attached patch fixes the issue.
Comment 1 Larry the Git Cow gentoo-dev 2020-11-01 03:19:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147c971aa4733fcbe450ee768a08204603b191f2

commit 147c971aa4733fcbe450ee768a08204603b191f2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-11-01 03:19:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-11-01 03:19:48 +0000

    media-tv/linuxtv-dvb-apps: fix gcc 10 build
    
    Thanks-to: Nico R <n-roeser@gmx.net>
    Closes: https://bugs.gentoo.org/723420
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch         | 11 +++++++++++
 .../linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild                 |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)