Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 787842

Summary: media-video/mjpg-streamer-0_pre20120621-r2 - /.../ld: v4l2uvc.lo:/.../v4l2uvc.h:122: multiple definition of cams; /.../v4l2uvc.h:1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: ChaosEngine <andrzej.pauli>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
media-video:mjpg-streamer-0_pre20120621-r2:20210503-015446.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-03 07:19:59 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: dynctrl.lo:/var/tmp/portage/media-video/mjpg-streamer-0_pre20120621-r2/work/mjpg-streamer-0_pre20120621/plugins/input_uvc/v4l2uvc.h:122: multiple definition of `cams'; /var/tmp/portage/media-video/mjpg-streamer-0_pre20120621-r2/temp/ccZv636I.o:/var/tmp/portage/media-video/mjpg-streamer-0_pre20120621-r2/work/mjpg-streamer-0_pre20120621/plugins/input_uvc/v4l2uvc.h:122: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:33: input_uvc.so] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3 *
  [2]   php7.4
  [3]   php8.0

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May  3 00:50:21 UTC 2021

emerge -qpvO media-video/mjpg-streamer
[ebuild  N    ] media-video/mjpg-streamer-0_pre20120621-r2  USE="input-file input-uvc output-file output-http -input-control -input-testpicture -output-autofocus -output-rtsp -output-udp -www"
Comment 1 Toralf Förster gentoo-dev 2021-05-03 07:20:00 UTC
Created attachment 705528 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-03 07:20:02 UTC
Created attachment 705531 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-03 07:20:03 UTC
Created attachment 705534 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-03 07:20:04 UTC
Created attachment 705537 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-03 07:20:05 UTC
Created attachment 705540 [details]
media-video:mjpg-streamer-0_pre20120621-r2:20210503-015446.log
Comment 6 Toralf Förster gentoo-dev 2021-05-03 07:20:07 UTC
Created attachment 705543 [details]
temp.tar.bz2
Comment 7 ChaosEngine 2021-05-10 20:20:43 UTC
There is an everlasting PR for newer version of mjpg-streamer with ebuild and multiarch.

https://github.com/gentoo/gentoo/pull/16015

This bug is not existing there. Consider merging?