Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723420 - media-tv/linuxtv-dvb-apps- fails at linking stage (PATCH)
Summary: media-tv/linuxtv-dvb-apps- fails at linking stage (PATCH)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: No maintainer - Look at if you want to take care of it
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: ---

trivial patch to fix the linking issue (linuxtv-dvb-apps-,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- multiple definition of `sid'; alevt-cap.o:/var/tmp/portage/media-tv/linuxtv-dvb-apps-
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- multiple definition of `sid'; alevt-date.o:/var/tmp/portage/media-tv/linuxtv-dvb-apps-
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):

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

    media-tv/linuxtv-dvb-apps: fix gcc 10 build
    Thanks-to: Nico R <>
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <>

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