Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135246

Summary: mdbtools fails with --as-needed
Product: Gentoo Linux Reporter: Patrizio Bassi <patrizio.bassi>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: mdbtools-as-needed.patch

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