Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629008 - sci-libs/libctl-3.3 - version bump
Summary: sci-libs/libctl-3.3 - version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-27 02:21 UTC by eroen
Modified: 2019-09-01 19:10 UTC (History)
1 user (show)

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


Attachments
patch to include -lm library during configure (libctl-3.2.ebuild.patch,345 bytes, patch)
2018-01-28 03:45 UTC, ptyalin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2017-08-27 02:21:54 UTC
sci-libs/libctl-3.2 fails to build on my system due to missing -lm:

/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=corei7-avx -pipe -Og -g -gdwarf-4  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o geomtst geomtst.o libctlgeom.la ../src/libctl.la -lguile-2.0 -lgc
libtool: link: x86_64-pc-linux-gnu-gcc -march=corei7-avx -pipe -Og -g -gdwarf-4 -Wl,-O1 -Wl,--hash-style=gnu -o .libs/geomtst geomtst.o  -Wl,--as-needed ./.libs/libctlgeom.so /var/tmp/portage/sci-libs/libctl-3.2/work/libctl-3.2_build/src/.libs/libctl.so ../src/.libs/libctl.so -lguile-2.0 -lgc
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: geomtst.o: undefined reference to symbol 'cos@@GLIBC_2.2.5'
/lib64/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

This is fixed upstream[0] in the 3.3 release.

0: https://github.com/stevengj/libctl/issues/1
Comment 1 ptyalin 2018-01-28 03:45:44 UTC
Created attachment 516942 [details, diff]
patch to include -lm library during configure
Comment 2 ptyalin 2018-01-28 03:55:42 UTC
(In reply to amyascwk from comment #1)
> Created attachment 516942 [details, diff] [details, diff]
> patch to include -lm library during configure

I also encounter the same build error for sci-libs/libctl-3.2. The attached patch includes the -lm library during configure, as suggested by upstream in https://github.com/stevengj/libctl/issues/1. With this change it manages to build successfully.
Comment 3 Matt Turner gentoo-dev 2019-09-01 19:10:08 UTC
Package removed.