Bug 151696 - dev-db/sqliteodbc-0.64-r1 compile fails
Bug#: 151696 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: arj@gentoo.org Reported By: zeekec@mad.scientist.com
Component: Ebuilds
URL: 
Summary: dev-db/sqliteodbc-0.64-r1 compile fails
Keywords:  
Status Whiteboard: 
Opened: 2006-10-17 06:07 0000
Description:   Opened: 2006-10-17 06:07 0000
I get the following when emerging dev-db/sqliteodbc-0.64-r1. 
(dev-db/sqliteodbc-0.70 emerges fine, #144826.)

emerge -av =dev-db/sqliteodbc-0.64-r1

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild     UD] dev-db/sqliteodbc-0.64-r1 [0.70] USE="sqlite sqlite3" 0 kB

<snip>

gcc -shared  sqlite3odbc.lo  /usr/lib/libsqlite3.so /usr/lib/libodbcinst.so 
-Wl,-soname -Wl,libsqlite3odbc-0.64.so -o .libs/libsqlite3odbc-0.64.so
sqliteodbc.c: In function 'setsqliteopts':
sqliteodbc.c:969: error: invalid storage class for function 'hextobin_func'
sqliteodbc.c:971: error: invalid storage class for function 'bintohex_func'
sqliteodbc.c:974: error: 'hextobin_func' undeclared (first use in this
function)
sqliteodbc.c:974: error: (Each undeclared identifier is reported only once
sqliteodbc.c:974: error: for each function it appears in.)
sqliteodbc.c:977: error: 'bintohex_func' undeclared (first use in this
function)
sqliteodbc.c:984: error: invalid storage class for function 'time_func'
sqliteodbc.c:987: error: 'time_func' undeclared (first use in this function)
(cd .libs && rm -f libsqlite3odbc.so && ln -s libsqlite3odbc-0.64.so
libsqlite3odbc.so)
creating libsqlite3odbc.la
(cd .libs && rm -f libsqlite3odbc.la && ln -s ../libsqlite3odbc.la
libsqlite3odbc.la)
make: *** [sqliteodbc.lo] Error 1

------- Comment #1 From Erik Zeek 2006-10-17 06:10:36 0000 -------
Created an attachment (id=99877) [details]
emerge --info

------- Comment #2 From Mat 2006-10-17 15:17:03 0000 -------
you could try out the 0.70 ebuild, perhaps that helps ... (search in bugzilla)

------- Comment #3 From Erik Zeek 2006-10-19 07:37:03 0000 -------
(In reply to comment #2)
> you could try out the 0.70 ebuild, perhaps that helps ... (search in bugzilla)

Ummm.... Yes it does.  (see original post)

------- Comment #4 From Donnie Berkholz 2006-11-12 19:16:30 0000 -------
Fixed by bump to 0.70.