Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913723 - media-libs/libopenraw-0.3.6 - [slibtool] x86_64-pc-linux-gnu-g++: error: unrecognized command-line option --all-static
Summary: media-libs/libopenraw-0.3.6 - [slibtool] x86_64-pc-linux-gnu-g++: error: unre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL: https://gitlab.freedesktop.org/libope...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2023-09-06 17:24 UTC by Toralf Förster
Modified: 2024-03-21 02:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.05 KB, text/plain)
2023-09-06 17:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,97.60 KB, text/plain)
2023-09-06 17:24 UTC, Toralf Förster
Details
environment (environment,97.82 KB, text/plain)
2023-09-06 17:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,792 bytes, application/x-xz)
2023-09-06 17:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.40 KB, application/x-xz)
2023-09-06 17:24 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.95 KB, application/x-xz)
2023-09-06 17:24 UTC, Toralf Förster
Details
media-libs:libopenraw-0.3.6:20230905-230509.log (media-libs:libopenraw-0.3.6:20230905-230509.log,207.29 KB, text/plain)
2023-09-06 17:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.02 KB, application/x-xz)
2023-09-06 17:24 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-06 17:24:20 UTC
too long lines were shrinked:

rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4.
rdlibtool: lconf: found "/var/tmp/portage/media-libs/libopenraw-0.3.6/work/libopenraw-0.3.6/libtool".
rdlibtool: link: ln -s libopenraw.so.def .libs/libopenraw.so.def.linux
rdlibtool: link: ln -s libopenraw.so.def.linux .libs/libopenraw.so.def.host
rdlibtool: link: ln -s /dev/null .libs/libopenraw.a.disabled
rdlibtool: link: x86_64-pc-linux-gnu-g++ capi/.libs/capi.o capi/.libs/debug.o capi/.libs/rawdata.o capi/.libs/rawfile.o capi/.libs/bitmapdata.o capi/.libs/mosaicinfo.o capi/.libs/metadata.o capi/.libs/ifd.o /var/tmp/portage/media-libs/libopenraw-0.3.6/work/libopenraw-0.3.6/lib/mp4/target/release/lib
x86_64-pc-linux-gnu-g++: error: unrecognized command-line option --all-static; did you mean --dec-static?
rdlibtool: exec error upon slbt_exec_link_create_library(), line 1572: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 2084.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20230904-054527

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

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 Rust versions:
  [1]   rust-bin-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 8f7b70a7913a4f52f012f505be953c930bcf466a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Sep 5 21:46:59 2023 +0000

    2023-09-05 21:46:59 UTC

emerge -qpvO media-libs/libopenraw
[ebuild  N    ] media-libs/libopenraw-0.3.6  USE="gtk -debug -test"
Comment 1 Toralf Förster gentoo-dev 2023-09-06 17:24:21 UTC
Created attachment 869905 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-06 17:24:22 UTC
Created attachment 869906 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-06 17:24:24 UTC
Created attachment 869907 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-06 17:24:24 UTC
Created attachment 869908 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-06 17:24:25 UTC
Created attachment 869909 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-06 17:24:26 UTC
Created attachment 869910 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-06 17:24:27 UTC
Created attachment 869911 [details]
media-libs:libopenraw-0.3.6:20230905-230509.log
Comment 8 Toralf Förster gentoo-dev 2023-09-06 17:24:28 UTC
Created attachment 869912 [details]
temp.tar.xz
Comment 9 orbea 2024-03-06 02:44:29 UTC
They have a typo '--all-static' when the libtool option is '-all-static', GNU libtool silently ignores unknown options while slibtool doesn't.

It appears to be already fixed upstream.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-21 02:24:29 UTC
The bug has been closed via the following commit(s):

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

commit b1449661e505efe64abd07cf7d8fe42ecba1eaf9
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-16 19:09:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-21 02:22:27 +0000

    media-libs/libopenraw: remove typo
    
    The libtool flag is '-all-static' and not '--all-static' which causes
    slibtool to fail while GNU libtool silently ignores the unknown flag.
    Additionally fixing the typo causes the build to fail with undefined
    references so just remove it instead.
    
    Upstream already removed it themselves, but their change is not trivial
    to backport.
    
    Closes: https://bugs.gentoo.org/913723
    Upstream-Commit: https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/35789
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libopenraw/files/libopenraw-0.3.7-slibtool.patch     | 16 ++++++++++++++++
 media-libs/libopenraw/libopenraw-0.3.7.ebuild            | 11 ++++++++++-
 2 files changed, 26 insertions(+), 1 deletion(-)