Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779406 - x11-themes/gtk-engines-aurora-1.5.1 - aurora_style.c:(.text+<snip>): undefined reference to sqrt
Summary: x11-themes/gtk-engines-aurora-1.5.1 - aurora_style.c:(.text+<snip>): undefine...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-30 17:37 UTC by Toralf Förster
Modified: 2021-03-30 21:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.26 KB, text/plain)
2021-03-30 17:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,379.54 KB, text/plain)
2021-03-30 17:37 UTC, Toralf Förster
Details
environment (environment,23.41 KB, text/plain)
2021-03-30 17:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,88.12 KB, application/x-bzip)
2021-03-30 17:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.25 KB, application/x-bzip)
2021-03-30 17:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,11.66 KB, application/x-bzip)
2021-03-30 17:37 UTC, Toralf Förster
Details
x11-themes:gtk-engines-aurora-1.5.1:20210330-170707.log (x11-themes:gtk-engines-aurora-1.5.1:20210330-170707.log,44.12 KB, text/plain)
2021-03-30 17:37 UTC, Toralf Förster
Details
Patch to fixed undefined references for libm. (gtk-engine-aurora-libm.patch,868 bytes, patch)
2021-03-30 18:58 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-30 17:37:17 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/aurora_style.o: in function `aurora_style_draw_check':
aurora_style.c:(.text+0x1d4c): undefined reference to `sqrt'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: aurora_style.c:(.text+0x1d61): undefined reference to `sqrt'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/aurora_style.o: in function `aurora_style_draw_option':
aurora_style.c:(.text+0x213c): undefined reference to `sqrt'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210318-090503

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

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-bin-1.50.0
  [2]   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	Tue Mar 30 16:35:56 UTC 2021

emerge -qpvO x11-themes/gtk-engines-aurora
[ebuild  N    ] x11-themes/gtk-engines-aurora-1.5.1
Comment 1 Toralf Förster gentoo-dev 2021-03-30 17:37:18 UTC
Created attachment 696258 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-30 17:37:20 UTC
Created attachment 696261 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-30 17:37:21 UTC
Created attachment 696264 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-30 17:37:22 UTC
Created attachment 696267 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-30 17:37:24 UTC
Created attachment 696270 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-30 17:37:25 UTC
Created attachment 696273 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-03-30 17:37:26 UTC
Created attachment 696276 [details]
x11-themes:gtk-engines-aurora-1.5.1:20210330-170707.log
Comment 8 orbea 2021-03-30 18:58:42 UTC
Created attachment 696288 [details, diff]
Patch to fixed undefined references for libm.

Same build fix for -no-undefined and libm that several of the gtk-engines-* have. Not sure upstream is active or where I would even submit the patch.
Comment 9 Larry the Git Cow gentoo-dev 2021-03-30 21:08:55 UTC
The bug has been closed via the following commit(s):

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

commit 6f82aa02a5e0afdb2fdf7f65e2a72c55a17c5913
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-30 20:49:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-30 21:08:42 +0000

    x11-themes/gtk-engines-aurora: fix build with slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Closes: https://bugs.gentoo.org/779406
    Signed-off-by: Sam James <sam@gentoo.org>

 ...urora-1.5.1-slibtool-undefined-references.patch | 32 ++++++++++++++++++++++
 .../gtk-engines-aurora-1.5.1.ebuild                | 11 ++++----
 2 files changed, 38 insertions(+), 5 deletions(-)