Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913642 - media-video/vlc-3.0.20-r3 - [slibtool] strnstr.c:(.text+<snip>): multiple definition of strnstr; ../.../libcompat.a(strnstr.o):strnstr.c:(.te
Summary: media-video/vlc-3.0.20-r3 - [slibtool] strnstr.c:(.text+<snip>): multiple def...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2023-09-04 17:53 UTC by Toralf Förster
Modified: 2024-03-15 19:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.81 KB, text/plain)
2023-09-04 17:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,33.88 KB, text/plain)
2023-09-04 17:53 UTC, Toralf Förster
Details
environment (environment,125.91 KB, text/plain)
2023-09-04 17:53 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,792 bytes, application/x-xz)
2023-09-04 17:53 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.27 KB, application/x-xz)
2023-09-04 17:53 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,28.93 KB, application/x-xz)
2023-09-04 17:53 UTC, Toralf Förster
Details
media-video:vlc-3.0.18-r3:20230904-034651.log.xz (media-video:vlc-3.0.18-r3:20230904-034651.log.xz,99.81 KB, application/x-xz)
2023-09-04 17:53 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,129.09 KB, application/x-xz)
2023-09-04 17:53 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 2023-09-04 17:53:30 UTC
too long lines were shrinked:

rdlibtool: link: x86_64-pc-linux-gnu-gcc -Wl,--whole-archive ../compat/.libs/libcompat.a -Wl,--no-whole-archive video_output/xcb/.libs/libxcb_xv_plugin_la-pictures.o video_output/xcb/.libs/libxcb_xv_plugin_la-xvideo.o -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -Wsign-compare -Wunde
rdlibtool: link: ln -s /dev/null .libs/libgl_plugin.so.def
rdlibtool: link: ln -s ../libgl_plugin.la .libs/libgl_plugin.la
rdlibtool: link: ln -s ../libgl_plugin.la .libs/libgl_plugin.lai
rdlibtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc   -O2 -pipe -march=native -fno-diagnostics-color  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-decla
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libvlc_http.a(strnstr.o): in function `strnstr':
strnstr.c:(.text+0x0): multiple definition of `strnstr'; ../compat/.libs/libcompat.a(strnstr.o):strnstr.c:(.text+0x0): first defined here



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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20230903-194504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit cce1db9c2421ba59c7415262fa4226b1ab9c26fe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 4 01:01:58 2023 +0000

    2023-09-04 01:01:58 UTC

emerge -qpvO media-video/vlc
[ebuild  N    ] media-video/vlc-3.0.18-r3  USE="X a52 alsa dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gui jack jpeg libass libnotify libsamplerate lirc mad mp3 mpeg ncurses ogg png ssl svg truetype udev x264 xml -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -faad -fdk -fluidsynth -fontconfig -gme -gstreamer -ieee1394 -kate -keyring -libcaca -libtar -libtiger -linsys -live -lua -macosx-notifications -matroska -modplug -mtp -musepack -nfs -omxil -optimisememory -opus -projectm -pulseaudio -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test -theora -tremor -twolame -upnp -v4l -vaapi -vdpau -vnc -vpx -wayland -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1"
Comment 1 Toralf Förster gentoo-dev 2023-09-04 17:53:31 UTC
Created attachment 869662 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-04 17:53:32 UTC
Created attachment 869663 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-04 17:53:33 UTC
Created attachment 869664 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-04 17:53:34 UTC
Created attachment 869665 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-04 17:53:35 UTC
Created attachment 869666 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-04 17:53:36 UTC
Created attachment 869667 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-04 17:53:37 UTC
Created attachment 869668 [details]
media-video:vlc-3.0.18-r3:20230904-034651.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-04 17:53:38 UTC
Created attachment 869669 [details]
temp.tar.xz
Comment 9 orbea 2024-02-15 05:16:03 UTC
Fixed in slibtool-9999.
Comment 10 Agostino Sarubbo gentoo-dev 2024-02-19 08:28:04 UTC
slibtool_tinderbox has reproduced this issue with version 3.0.20-r3 - Updating summary.
Comment 11 orbea 2024-02-19 13:20:56 UTC
This has nothing to do with -fno-common.

This was because of how slibtool passed --whole-archive for all static libraries  and not only convenience libraries like GNU libtool, but this is now fixed in the git version.
Comment 12 Larry the Git Cow gentoo-dev 2024-03-15 19:30:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341f85a7caa16a7d986a4b428521562bf9120b08

commit 341f85a7caa16a7d986a4b428521562bf9120b08
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-15 13:51:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-15 19:29:22 +0000

    dev-build/slibtool: add 0.5.36
    
    Many bugs are fixed with this release, it is recommended for slibtool
    users to rebuild their entire system after this release. The addition of
    -export-symbols and -export-symbols-regex will allow exporting only the
    desired public symbols globally in any package that uses them.
    
    Closes: https://bugs.gentoo.org/925555
    Closes: https://bugs.gentoo.org/913670
    Closes: https://bugs.gentoo.org/916128
    Closes: https://bugs.gentoo.org/775596
    Closes: https://bugs.gentoo.org/792072
    Closes: https://bugs.gentoo.org/924407
    Closes: https://bugs.gentoo.org/924291
    Closes: https://bugs.gentoo.org/782013
    Closes: https://bugs.gentoo.org/914569
    Closes: https://bugs.gentoo.org/791880
    Closes: https://bugs.gentoo.org/913551
    Closes: https://bugs.gentoo.org/913688
    Closes: https://bugs.gentoo.org/914097
    Closes: https://bugs.gentoo.org/915966
    Closes: https://bugs.gentoo.org/924408
    Closes: https://bugs.gentoo.org/915121
    Closes: https://bugs.gentoo.org/913642
    Closes: https://bugs.gentoo.org/917639
    Closes: https://bugs.gentoo.org/917640
    Closes: https://bugs.gentoo.org/913530
    Closes: https://bugs.gentoo.org/913638
    Closes: https://bugs.gentoo.org/778515
    Closes: https://bugs.gentoo.org/920190
    Closes: https://bugs.gentoo.org/924404
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-build/slibtool/Manifest               |  2 ++
 dev-build/slibtool/slibtool-0.5.36.ebuild | 41 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)