too long lines were shrinked: libtool: compile: clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port/libgphoto2_port -I.. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/wor libtool: compile: clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port/libgphoto2_port -I.. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/wor /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port/libgphoto2_port -I.. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port -I/var/tmp/portage/media-l libtool: compile: clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port/libgphoto2_port -I.. -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgphoto2-2.5.31/libgphoto2_port -I/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/wor /bin/sh ../libtool --tag=CC --mode=link clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wmissing-declarations -Wmissing-prototypes -no-undefined -Wl,--version-script=/var/tmp/portage/media-libs/libgphoto2-2.5.31-r1/work/libgp libtool: link: clang -shared -fPIC -DPIC .libs/libgphoto2_port_la-gphoto2-port-info-list.o .libs/libgphoto2_port_la-gphoto2-port-locking.o .libs/libgphoto2_port_la-gphoto2-port-log.o .libs/libgphoto2_port_la-gphoto2-port-version.o .libs/libgphoto2_port_la-gphoto2-port.o .libs/libgphoto2_port_la-gp ld.lld: error: version script assignment of 'LIBGPHOTO2_INTERNAL' to symbol 'gpi_gphoto_port_type_map' failed: symbol not defined clang-17: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [Makefile:543: libgphoto2_port.la] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd_clang-20231210-041514 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6+libcxx Python 3.11.7 Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit bf58b1b3727133b310e98bc35ef7813221a15775 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Dec 13 08:18:56 2023 +0000 2023-12-13 08:18:55 UTC emerge -qpvO media-libs/libgphoto2 [ebuild N ] media-libs/libgphoto2-2.5.31-r1 USE="jpeg nls serial -doc -examples -exif -gd" ABI_X86="(64) -32 (-x32)" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11 tp6801"
Created attachment 879162 [details] emerge-info.txt
Created attachment 879163 [details] emerge-history.txt
Created attachment 879164 [details] environment
Created attachment 879165 [details] etc.clang.tar.xz
Created attachment 879166 [details] etc.portage.tar.xz
Created attachment 879167 [details] logs.tar.xz
Created attachment 879168 [details] media-libs:libgphoto2-2.5.31-r1:20231213-090652.log
Created attachment 879169 [details] qlist-info.txt.xz
Created attachment 879170 [details] temp.tar.xz
Created attachment 879171 [details] var.tmp.clang.tar.xz
*** Bug 919848 has been marked as a duplicate of this bug. ***
Upstream bug report: https://github.com/gphoto/libgphoto2/issues/970
Fixed in commits https://github.com/gphoto/libgphoto2/commit/3cf7a1d04dcffa52907026c4c2d35ee8273f3147 https://github.com/gphoto/libgphoto2/commit/8ddcae4ed2bd052318b0849617e22bf92a98dd17
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663bb096f946951a7f5f1c39fac2d27a6f2ef6ab commit 663bb096f946951a7f5f1c39fac2d27a6f2ef6ab Author: Matt Jolly <kangie@gentoo.org> AuthorDate: 2024-11-25 05:55:53 +0000 Commit: Matt Jolly <kangie@gentoo.org> CommitDate: 2024-11-25 05:58:32 +0000 media-libs/libgphoto2: finish removing `gpi_gphoto_port_type_map` `gpi_gphoto_port_type_map` was removed upstream however it was still in use in several locations within the codebase. This caused build failures with Clang, or GCC with `-Wl,--no-undefined-version`. Closes: https://bugs.gentoo.org/919838 Signed-off-by: Matt Jolly <kangie@gentoo.org> ...o2-2.5.31-remove-gpi_gphoto_port_type_map.patch | 31 ++++++++++++++++++++++ media-libs/libgphoto2/libgphoto2-2.5.31-r2.ebuild | 3 ++- 2 files changed, 33 insertions(+), 1 deletion(-)