Bug 135246 - mdbtools fails with --as-needed
Bug#: 135246 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: hetfield666@gmail.com
Component: Ebuilds
URL: 
Summary: mdbtools fails with --as-needed
Keywords:  
Status Whiteboard: 
Opened: 2006-06-02 03:14 0000
Description:   Opened: 2006-06-02 03:14 0000
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 From Gergan Penkov 2006-07-26 05:14:48 0000 -------
Created an attachment (id=92774) [details]
mdbtools-as-needed.patch

this should fix it run eautoreconf after applying the patch

------- Comment #2 From Charlie Shepherd (RETIRED) 2006-12-04 13:32:35 0000 -------
Thanks, fixed in CVS