Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821253 - media-video/mjpg-streamer-0_pre20200524-r1 - /.../ld: .../httpd.c.o:(.bss+<snip>): first defined here
Summary: media-video/mjpg-streamer-0_pre20200524-r1 - /.../ld: .../httpd.c.o:(.bss+<sn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: ChaosEngine
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-01 20:26 UTC by Toralf Förster
Modified: 2021-12-20 13:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.78 KB, text/plain)
2021-11-01 20:26 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,13.20 KB, text/plain)
2021-11-01 20:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.90 KB, text/plain)
2021-11-01 20:26 UTC, Toralf Förster
Details
environment (environment,62.16 KB, text/plain)
2021-11-01 20:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.39 KB, application/x-bzip)
2021-11-01 20:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.34 KB, application/x-bzip)
2021-11-01 20:26 UTC, Toralf Förster
Details
media-video:mjpg-streamer-0_pre20200524-r1:20211101-202412.log (media-video:mjpg-streamer-0_pre20200524-r1:20211101-202412.log,8.50 KB, text/plain)
2021-11-01 20:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-11-01 20:26:01 UTC
[ 70%] Building C object plugins/output_http/CMakeFiles/output_http.dir/output_http.c.o
[ 80%] Linking C shared library output_http.so
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/output_http.dir/output_http.c.o:(.bss+0xa60): multiple definition of `client_infos'; CMakeFiles/output_http.dir/httpd.c.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [plugins/output_http/CMakeFiles/output_http.dir/build.make:113: plugins/output_http/output_http.so] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/mjpg-streamer-0_pre20200524-r1/work/mjpg-streamer-85f89a8c321e799fabb1693c5d133f3fb48ee748/mjpg-streamer-experimental/_build'
make[2]: *** [CMakeFiles/Makefile2:206: plugins/output_http/CMakeFiles/output_http.dir/all] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20211030-093322

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 471b7fa7840cc08fd57405655f0aeba4a4dc1ab3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 1 19:51:30 2021 +0000

    2021-11-01 19:51:29 UTC

emerge -qpvO media-video/mjpg-streamer
[ebuild  N    ] media-video/mjpg-streamer-0_pre20200524-r1  USE="http-management input-file input-testpicture output-http output-rtsp wxp-compat -input-control -input-http -input-ptp2 (-input-raspicam) -input-uvc -output-autofocus -output-file -output-udp -output-viewer -output-zmqserver -www"
Comment 1 Toralf Förster gentoo-dev 2021-11-01 20:26:02 UTC
Created attachment 747936 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-01 20:26:04 UTC
Created attachment 747939 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-01 20:26:06 UTC
Created attachment 747942 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-01 20:26:07 UTC
Created attachment 747945 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-01 20:26:08 UTC
Created attachment 747948 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-01 20:26:10 UTC
Created attachment 747951 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-01 20:26:11 UTC
Created attachment 747954 [details]
media-video:mjpg-streamer-0_pre20200524-r1:20211101-202412.log
Comment 8 ChaosEngine 2021-11-02 14:37:55 UTC
PS submitted some years ago:
https://github.com/jacksonliam/mjpg-streamer/pull/305

Yeaaah, it's a dead project and I guess I will create new ebuild with this patch applied
Comment 9 ChaosEngine 2021-11-29 13:06:58 UTC
Created PR for this:
https://github.com/gentoo/gentoo/pull/23109

Dropps problematic use
Comment 10 Larry the Git Cow gentoo-dev 2021-12-20 13:15:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9234e59dd1e3f7f57848e8685d706c4fcba70e5c

commit 9234e59dd1e3f7f57848e8685d706c4fcba70e5c
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-12-20 13:13:50 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-12-20 13:13:50 +0000

    profiles: package.use.mask media-video/mjpg-streamer[http-management]
    
    Closes: https://github.com/gentoo/gentoo/pull/23109
    Closes: https://bugs.gentoo.org/821253
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/base/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)