too long lines were shrinked: [23/27] : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -Wno-long-long -std=c99 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic bin/CMakeFiles/listgeo.dir/listgeo.c.o -o bin/listgeo -Wl,-rpath,/var/tmp/portage/sci-libs/li FAILED: bin/listgeo : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -Wno-long-long -std=c99 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic bin/CMakeFiles/listgeo.dir/listgeo.c.o -o bin/listgeo -Wl,-rpath,/var/tmp/portage/sci-libs/libgeotiff /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: bin/CMakeFiles/listgeo.dir/listgeo.c.o: in function `main': listgeo.c:(.text.startup+0x65b): undefined reference to `TIFFGetField' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: listgeo.c:(.text.startup+0x66f): undefined reference to `TIFFGetField' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: lib/libxtiff.a(xtiff.c.o): in function `_XTIFFDefaultDirectory': ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220407-030024 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): clang version 14.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.0 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.59.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 72acfe6bfbc2aaacb39715e11ad0514adde7d52b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Apr 8 01:34:33 2022 +0000 2022-04-08 01:34:32 UTC emerge -qpvO sci-libs/libgeotiff [ebuild N ] sci-libs/libgeotiff-1.7.1-r1 USE="jpeg zlib -doc -tiff"
Created attachment 769436 [details] emerge-info.txt
Created attachment 769439 [details] emerge-history.txt
Created attachment 769442 [details] environment
Created attachment 769445 [details] etc.portage.tar.bz2
Created attachment 769448 [details] logs.tar.bz2
Created attachment 769451 [details] sci-libs:libgeotiff-1.7.1-r1:20220408-031254.log
Created attachment 769454 [details] temp.tar.bz2
I had the same problem and it helped to remove "-tiff" from make.conf.
I have opened an issue upstream for this https://github.com/OSGeo/libgeotiff/issues/125
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6bdb11122fc1798ea012262add3b7a7310f213d commit c6bdb11122fc1798ea012262add3b7a7310f213d Author: Filip Kobierski <fkobi@pm.me> AuthorDate: 2025-01-06 12:13:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-20 01:09:56 +0000 sci-libs/libgeotiff: add 1.7.3 with improvements - hardcode USE=tiff untill upstream fixes it - add src_test - move `use doc && ...` to src_configure - add comments - explicitly declare cmake arguments - add comments to upstream Bug: https://bugs.gentoo.org/837287 Signed-off-by: Filip Kobierski <fkobi@pm.me> Closes: https://github.com/gentoo/gentoo/pull/40006 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/libgeotiff/Manifest | 1 + sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild | 66 +++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+)