Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837287 - sci-libs/libgeotiff-1.7.1-r1 - listgeo.c:(<snip>) undefined reference to TIFFGetField
Summary: sci-libs/libgeotiff-1.7.1-r1 - listgeo.c:(<snip>) undefined reference to TIFF...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL: https://github.com/OSGeo/libgeotiff/i...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-04-08 14:11 UTC by Toralf Förster
Modified: 2025-02-20 01:12 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.49 KB, text/plain)
2022-04-08 14:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,100.83 KB, text/plain)
2022-04-08 14:11 UTC, Toralf Förster
Details
environment (environment,90.00 KB, text/plain)
2022-04-08 14:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.08 KB, application/x-bzip)
2022-04-08 14:11 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.74 KB, application/x-bzip)
2022-04-08 14:11 UTC, Toralf Förster
Details
sci-libs:libgeotiff-1.7.1-r1:20220408-031254.log (sci-libs:libgeotiff-1.7.1-r1:20220408-031254.log,29.86 KB, text/plain)
2022-04-08 14:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.26 KB, application/x-bzip)
2022-04-08 14:11 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 2022-04-08 14:11:30 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2022-04-08 14:11:31 UTC
Created attachment 769436 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-08 14:11:35 UTC
Created attachment 769439 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-08 14:11:36 UTC
Created attachment 769442 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-08 14:11:37 UTC
Created attachment 769445 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-08 14:11:38 UTC
Created attachment 769448 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-08 14:11:39 UTC
Created attachment 769451 [details]
sci-libs:libgeotiff-1.7.1-r1:20220408-031254.log
Comment 7 Toralf Förster gentoo-dev 2022-04-08 14:11:45 UTC
Created attachment 769454 [details]
temp.tar.bz2
Comment 8 SergeiMinaev 2024-06-12 07:43:08 UTC
I had the same problem and it helped to remove "-tiff" from make.conf.
Comment 9 Filip Kobierski 2025-01-06 12:06:23 UTC
I have opened an issue upstream for this
https://github.com/OSGeo/libgeotiff/issues/125
Comment 10 Larry the Git Cow gentoo-dev 2025-02-20 01:12:47 UTC
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(+)