Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913728 - x11-libs/gtkdatabox-1.0.0-r1 - [slibtool] gtkdatabox.c:(.text+<snip>): undefined reference to log10
Summary: x11-libs/gtkdatabox-1.0.0-r1 - [slibtool] gtkdatabox.c:(.text+<snip>): undefi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL: https://sourceforge.net/p/gtkdatabox/...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2023-09-06 17:26 UTC by Toralf Förster
Modified: 2024-03-20 20:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2023-09-06 17:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,201.21 KB, text/plain)
2023-09-06 17:26 UTC, Toralf Förster
Details
environment (environment,27.35 KB, text/plain)
2023-09-06 17:26 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-09-06 17:26 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.04 KB, application/x-xz)
2023-09-06 17:26 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.74 KB, application/x-xz)
2023-09-06 17:26 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,12.60 KB, application/x-xz)
2023-09-06 17:26 UTC, Toralf Förster
Details
x11-libs:gtkdatabox-1.0.0-r1:20230906-084859.log (x11-libs:gtkdatabox-1.0.0-r1:20230906-084859.log,70.22 KB, text/plain)
2023-09-06 17:26 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:26:15 UTC
too long lines were shrinked:

rdlibtool: lconf: found "/var/tmp/portage/x11-libs/gtkdatabox-1.0.0-r1/work/gtkdatabox-1.0.0/libtool".
rdlibtool: link: ln -s libgtkdatabox.so.def .libs/libgtkdatabox.so.def.linux
rdlibtool: link: ln -s libgtkdatabox.so.def.linux .libs/libgtkdatabox.so.def.host
rdlibtool: link: ln -s /dev/null .libs/libgtkdatabox.a.disabled
rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/gtkdatabox.o .libs/gtkdatabox_marshal.o .libs/gtkdatabox_scale.o .libs/gtkdatabox_graph.o .libs/gtkdatabox_xyc_graph.o .libs/gtkdatabox_xyyc_graph.o .libs/gtkdatabox_points.o .libs/gtkdatabox_lines.o .libs/gtkdatabox_bars.o .libs/gtkdatabox_offset_bars.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/gtkdatabox.o: in function `gtk_databox_calculate_translation_factors':
gtkdatabox.c:(.text+0x5e7): undefined reference to `log10'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: gtkdatabox.c:(.text+0x617): undefined reference to `log10'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: gtkdatabox.c:(.text+0x631): undefined reference to `log2'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20230903-215513

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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 Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0
  [2]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 8956c995e118eaa761cc1d8d7c32d7790d855c7f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 6 08:17:20 2023 +0000

    2023-09-06 08:17:20 UTC

emerge -qpvO x11-libs/gtkdatabox
[ebuild  N    ] x11-libs/gtkdatabox-1.0.0-r1  USE="glade -examples"
Comment 1 Toralf Förster gentoo-dev 2023-09-06 17:26:15 UTC
Created attachment 869945 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-06 17:26:17 UTC
Created attachment 869946 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-06 17:26:18 UTC
Created attachment 869947 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-06 17:26:19 UTC
Created attachment 869948 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-06 17:26:19 UTC
Created attachment 869949 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-06 17:26:20 UTC
Created attachment 869950 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-06 17:26:21 UTC
Created attachment 869951 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-06 17:26:23 UTC
Created attachment 869952 [details]
x11-libs:gtkdatabox-1.0.0-r1:20230906-084859.log
Comment 9 orbea 2024-03-07 22:21:39 UTC
Uses -no-undefined which GNU libtool ignores and has a missing dependency for -lm.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-20 20:34:43 UTC
The bug has been closed via the following commit(s):

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

commit 6ea3c801670938eb023a21c75fa722a64456adc0
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-16 16:06:43 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-03-20 20:31:16 +0000

    x11-libs/gtkdatabox: fix undefined references
    
    Closes: https://bugs.gentoo.org/913728
    Upstream-PR: https://sourceforge.net/p/gtkdatabox/git/merge-requests/5/
    Upstream-Commit: https://sourceforge.net/p/gtkdatabox/git/ci/88d2bd66571e083e3beaf0ea6004c1b739a20713/
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/35782
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../files/gtkdatabox-1.0.0-slibtool.patch          | 48 ++++++++++++++++++++++
 x11-libs/gtkdatabox/gtkdatabox-1.0.0-r1.ebuild     | 15 ++++---
 2 files changed, 57 insertions(+), 6 deletions(-)