Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778578 - media-libs/libtiger-0.3.4-r1 - tiger_item.c:(.text+<snip>): undefined reference to atan2
Summary: media-libs/libtiger-0.3.4-r1 - tiger_item.c:(.text+<snip>): undefined referen...
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: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-27 08:47 UTC by Toralf Förster
Modified: 2021-03-27 15:35 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.27 KB, text/plain)
2021-03-27 08:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,393.45 KB, text/plain)
2021-03-27 08:47 UTC, Toralf Förster
Details
environment (environment,68.29 KB, text/plain)
2021-03-27 08:47 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.42 KB, application/x-bzip)
2021-03-27 08:47 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.19 KB, application/x-bzip)
2021-03-27 08:47 UTC, Toralf Förster
Details
media-libs:libtiger-0.3.4-r1:20210327-063258.log (media-libs:libtiger-0.3.4-r1:20210327-063258.log,31.08 KB, text/plain)
2021-03-27 08:47 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.20 KB, application/x-bzip)
2021-03-27 08:47 UTC, Toralf Förster
Details
Patch to fix autoreconf. (0001-Build-Fix-autoreconf.patch,1.28 KB, patch)
2021-03-27 14:52 UTC, orbea
Details | Diff
Patch to fix the undefined references. (0002-build-Add-lm-to-fix-undefined-references.patch,933 bytes, patch)
2021-03-27 14:54 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-27 08:47:38 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/.libs/lib_libtiger_la-tiger_item.o: in function `map_point':
tiger_item.c:(.text+0x37a): undefined reference to `atan2'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tiger_item.c:(.text+0x389): undefined reference to `sincos'
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages).

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210315-143628

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] 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.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.1 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	OpenJDK 8.282_p08 [openjdk-8]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   openjdk-8 
  [4]   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	Sat Mar 27 06:20:45 UTC 2021

emerge -qpvO media-libs/libtiger
[ebuild  N    ] media-libs/libtiger-0.3.4-r1  USE="-doc" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2021-03-27 08:47:39 UTC
Created attachment 694770 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-27 08:47:41 UTC
Created attachment 694773 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-27 08:47:42 UTC
Created attachment 694776 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-27 08:47:43 UTC
Created attachment 694779 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-27 08:47:44 UTC
Created attachment 694782 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-27 08:47:46 UTC
Created attachment 694785 [details]
media-libs:libtiger-0.3.4-r1:20210327-063258.log
Comment 7 Toralf Förster gentoo-dev 2021-03-27 08:47:47 UTC
Created attachment 694788 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-27 14:52:47 UTC
Created attachment 695046 [details, diff]
Patch to fix autoreconf.
Comment 9 orbea 2021-03-27 14:54:16 UTC
Created attachment 695049 [details, diff]
Patch to fix the undefined references.

Upstream seems gone, but these two patches fix autoreconf and the build with -no-undefined.
Comment 10 Larry the Git Cow gentoo-dev 2021-03-27 15:35:00 UTC
The bug has been closed via the following commit(s):

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

commit 4ca6fa2c1d4ae5047c684371df7fd1cc7bf5effa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-27 15:18:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-27 15:34:47 +0000

    media-libs/libtiger: fix build with slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Closes: https://bugs.gentoo.org/778578
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libtiger-0.3.4-fix-autoreconf.patch      | 59 ++++++++++++++++++++++
 ...r-0.3.4-fix-undefined-references-slibtool.patch | 26 ++++++++++
 media-libs/libtiger/libtiger-0.3.4-r1.ebuild       | 10 +++-
 3 files changed, 93 insertions(+), 2 deletions(-)