Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780054 - media-libs/xine-lib-1.2.11 - x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option -weak
Summary: media-libs/xine-lib-1.2.11 - x86_64-pc-linux-gnu-gcc: error: unrecognized com...
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: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-04-04 19:40 UTC by Toralf Förster
Modified: 2023-11-17 12:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.26 KB, text/plain)
2021-04-04 19:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.96 KB, text/plain)
2021-04-04 19:40 UTC, Toralf Förster
Details
environment (environment,75.82 KB, text/plain)
2021-04-04 19:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.11 KB, application/x-bzip)
2021-04-04 19:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,24.68 KB, application/x-bzip)
2021-04-04 19:40 UTC, Toralf Förster
Details
media-libs:xine-lib-1.2.11:20210404-185815.log (media-libs:xine-lib-1.2.11:20210404-185815.log,231.94 KB, text/plain)
2021-04-04 19:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.20 KB, application/x-bzip)
2021-04-04 19:40 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-04-04 19:40:20 UTC
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-weak’; did you mean ‘-fweak’?
rdlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 1868.
make[3]: *** [Makefile:757: libxine.la] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210401-181817

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr  4 18:05:56 UTC 2021

emerge -qpvO media-libs/xine-lib
[ebuild  N    ] media-libs/xine-lib-1.2.11  USE="X alsa css ipv6 mmap nls xv -a52 -aac -aalib (-altivec) -bluray -dts -dvb -dxr3 -fbcon -flac -gtk -imagemagick -jack -jpeg -libcaca -mad -mng -modplug -musepack -nfs -opengl -oss -pulseaudio -samba -sdl -sftp -speex -theora -truetype -v4l -vaapi -vcd -vdpau -vdr (-vidix) (-vis) -vorbis -vpx -wavpack -wayland -xinerama -xvmc"
Comment 1 Toralf Förster gentoo-dev 2021-04-04 19:40:21 UTC
Created attachment 697383 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-04 19:40:23 UTC
Created attachment 697386 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-04 19:40:25 UTC
Created attachment 697389 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-04 19:40:26 UTC
Created attachment 697392 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-04 19:40:27 UTC
Created attachment 697395 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-04 19:40:29 UTC
Created attachment 697398 [details]
media-libs:xine-lib-1.2.11:20210404-185815.log
Comment 7 Toralf Förster gentoo-dev 2021-04-04 19:40:30 UTC
Created attachment 697401 [details]
temp.tar.bz2
Comment 8 orbea 2022-05-06 13:42:24 UTC
GNU libtool provides -weak while slibtool doesn't so this may need to be fixed in slibtool.

From the GNU libtool script:

  -weak LIBNAME     declare that the target provides the LIBNAME interface
Comment 9 orbea 2022-11-05 16:53:03 UTC
This is now fixed with slibtool-9999.

https://dev.midipix.org/cross/slibtool/c/5e02698d061d467abbf21ff857e9862e37060f89?branch=main
Comment 10 Larry the Git Cow gentoo-dev 2023-11-17 12:32:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=504b2006657ab56aae7a79179e3a5a037072da10

commit 504b2006657ab56aae7a79179e3a5a037072da10
Author:     orbea <orbea@riseup.net>
AuthorDate: 2023-11-15 16:28:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-17 12:31:24 +0000

    sys-devel/slibtool: add 0.5.35
    
    Closes: https://bugs.gentoo.org/780054
    Upstream-Commit: https://dev.midipix.org/cross/slibtool/c/5e02698d061d467abbf21ff857e9862e37060f89
    Closes: https://bugs.gentoo.org/789804
    Upstream-Commit: https://dev.midipix.org/cross/slibtool/c/a126a7f68ef374d65d014226195380eb7dceb634
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/33846
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/slibtool/Manifest               |  2 ++
 sys-devel/slibtool/slibtool-0.5.35.ebuild | 37 +++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)