Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135246 - mdbtools fails with --as-needed
Summary: mdbtools fails with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-06-02 03:14 UTC by Patrizio Bassi
Modified: 2006-12-04 13:32 UTC (History)
1 user (show)

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


Attachments
mdbtools-as-needed.patch (mdbtools-as-needed.patch,482 bytes, patch)
2006-07-26 05:14 UTC, Gergan Penkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-06-02 03:14:52 UTC
i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -DSQL -DUNIXODBC -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -o .libs/unittest unittest.o  ./.libs/libmdbodbc -L/usr/lib ../libmdb/.libs/libmdb -lm ../sql/.libs/libmdbsql -lfl /usr/lib/libglib-2.0.so /usr/lib/libodbcinst.so -ldl -lpthread
./.libs/libmdbodbc: undefined reference to `ceil'
./.libs/libmdbodbc: undefined reference to `log10'
collect2: ld returned 1 exit status
make[2]: *** [unittest] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/mdbtools-0.6_pre1/work/mdbtools-0.6pre1/src/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/mdbtools-0.6_pre1/work/mdbtools-0.6pre1/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-office/mdbtools-0.6_pre1 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  mdbtools-0.6_pre1.ebuild, line 42:   Called die
Comment 1 Gergan Penkov 2006-07-26 05:14:48 UTC
Created attachment 92774 [details, diff]
mdbtools-as-needed.patch

this should fix it run eautoreconf after applying the patch
Comment 2 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-04 13:32:35 UTC
Thanks, fixed in CVS