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

Bug 35333

Summary: libgda-1.0.2 fails to compile
Product: Gentoo Linux Reporter: Michael Crawford (ali3nx) <mcrawford>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full sources in failed state with emerge logs and configure summary
emerge log... thx to ciaranm for the howto =]
emerge info for ali3nx's p3
USE="-odbc" emerge libgda log

Description Michael Crawford (ali3nx) 2003-12-08 05:55:53 UTC
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\"
-DVERSION=\"1.0.2\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_ODBC=1 -DHAVE_MYSQL=1 -DHAVE_POSTGRES=1
-DHAVE_FREETDS_VER0_6X=1 -DHAVE_FREETDS=1 -DHAVE_SQLITE=1 -DHAVE_MDB=1
-DHAVE_LDAP=1 -DHAVE_POPT_H=1 -DHAVE_READLINE_READLINE_H=1
-DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. -I../.. -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-I/usr/include -march=pentium3 -O3 -pipe -Wall -Wunused -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -c gda-odbc-provider.c  -fPIC -DPIC -o .libs/gda-odbc-provider.o
In file included from gda-odbc.h:32,
                 from gda-odbc-provider.c:28:
/usr/include/sql.h:565: error: syntax error before "SQLAllocConnect"
/usr/include/sql.h:565: error: syntax error before "EnvironmentHandle"
/usr/include/sql.h:568: error: syntax error before "SQLAllocEnv"
/usr/include/sql.h:568: error: syntax error before '*' token
/usr/include/sql.h:571: error: syntax error before "SQLAllocHandle"
/usr/include/sql.h:571: error: syntax error before "HandleType"
/usr/include/sql.h:575: error: syntax error before "SQLAllocStmt"
/usr/include/sql.h:575: error: syntax error before "ConnectionHandle"
/usr/include/sql.h:578: error: syntax error before "SQLBindCol"
/usr/include/sql.h:578: error: syntax error before "StatementHandle"
/usr/include/sql.h:584: error: syntax error before "SQLBindParam"
/usr/include/sql.h:584: error: syntax error before "StatementHandle"
/usr/include/sql.h:591: error: syntax error before "SQLCancel"
/usr/include/sql.h:591: error: syntax error before "StatementHandle"
/usr/include/sql.h:594: error: syntax error before "SQLCloseCursor"
/usr/include/sql.h:594: error: syntax error before "StatementHandle"
/usr/include/sql.h:596: error: syntax error before "SQLColAttribute"
/usr/include/sql.h:596: error: syntax error before "StatementHandle"
/usr/include/sql.h:603: error: syntax error before "SQLColumns"
/usr/include/sql.h:603: error: syntax error before "StatementHandle"
/usr/include/sql.h:610: error: syntax error before "SQLConnect"
/usr/include/sql.h:610: error: syntax error before "ConnectionHandle"
/usr/include/sql.h:616: error: syntax error before "SQLCopyDesc"
/usr/include/sql.h:616: error: syntax error before "SourceDescHandle"
/usr/include/sql.h:620: error: syntax error before "SQLDataSources"
/usr/include/sql.h:620: error: syntax error before "EnvironmentHandle"
/usr/include/sql.h:626: error: syntax error before "SQLDescribeCol"
/usr/include/sql.h:626: error: syntax error before "StatementHandle"
/usr/include/sql.h:632: error: syntax error before "SQLDisconnect"
.............................................................................
In file included from gda-odbc.h:33,
                 from gda-odbc-provider.c:28:
/usr/include/sqlext.h:1703: error: syntax error before "SQLDriverConnect"
/usr/include/sqlext.h:1704: error: syntax error before "hdbc"
/usr/include/sqlext.h:1811: error: syntax error before "SQLBrowseConnect"
/usr/include/sqlext.h:1812: error: syntax error before "hdbc"
/usr/include/sqlext.h:1820: error: syntax error before "SQLBulkOperations"
/usr/include/sqlext.h:1821: error: syntax error before "StatementHandle"
/usr/include/sqlext.h:1825: error: syntax error before "SQLColAttributes"
/usr/include/sqlext.h:1826: error: syntax error before "hstmt"
/usr/include/sqlext.h:1834: error: syntax error before "SQLColumnPrivileges"
/usr/include/sqlext.h:1835: error: syntax error before "hstmt"
/usr/include/sqlext.h:1845: error: syntax error before "SQLDescribeParam"
/usr/include/sqlext.h:1846: error: syntax error before "hstmt"
/usr/include/sqlext.h:1853: error: syntax error before "SQLExtendedFetch"
/usr/include/sqlext.h:1854: error: syntax error before "hstmt"
/usr/include/sqlext.h:1860: error: syntax error before "SQLForeignKeys"
/usr/include/sqlext.h:1861: error: syntax error before "hstmt"
/usr/include/sqlext.h:1875: error: syntax error before "SQLMoreResults"
/usr/include/sqlext.h:1876: error: syntax error before "hstmt"
/usr/include/sqlext.h:1878: error: syntax error before "SQLNativeSql"
.........................................................................
In file included from gda-odbc.h:35,
                 from gda-odbc-provider.c:28:
gda-odbc-provider.h:59: error: syntax error before "SQLHANDLE"
gda-odbc-provider.h:59: warning: no semicolon at end of struct or union
gda-odbc-provider.h:60: warning: type defaults to `int' in declaration of `hdbc'
gda-odbc-provider.h:60: warning: data definition has no type or storage class
gda-odbc-provider.h:61: error: syntax error before "hstmt"
gda-odbc-provider.h:61: warning: type defaults to `int' in declaration of `hstmt'
gda-odbc-provider.h:61: warning: data definition has no type or storage class
gda-odbc-provider.h:62: error: syntax error before "version"
gda-odbc-provider.h:62: warning: type defaults to `int' in declaration of `version'
gda-odbc-provider.h:62: warning: data definition has no type or storage class
gda-odbc-provider.h:63: error: syntax error before "db"
gda-odbc-provider.h:63: warning: type defaults to `int' in declaration of `db'
gda-odbc-provider.h:63: warning: data definition has no type or storage class
gda-odbc-provider.h:64: error: syntax error before '}' token
gda-odbc-provider.h:64: warning: type defaults to `int' in declaration of
`GdaOdbcConnectionData'
...........................................................................
In file included from gda-odbc-provider.c:28:
gda-odbc.h:41: error: syntax error before "SQLHANDLE"
gda-odbc-provider.c: In function `gda_odbc_provider_open_connection':
gda-odbc-provider.c:165: error: `priv_data' undeclared (first use in this function)
gda-odbc-provider.c:165: error: (Each undeclared identifier is reported only once
gda-odbc-provider.c:165: error: for each function it appears in.)
gda-odbc-provider.c:167: error: `SQLRETURN' undeclared (first use in this function)
gda-odbc-provider.c:167: error: syntax error before "rc"
gda-odbc-provider.c:179: error: syntax error before ')' token
gda-odbc-provider.c:180: error: `rc' undeclared (first use in this function)
gda-odbc-provider.c:199: error: `SQLCHAR' undeclared (first use in this function)
gda-odbc-provider.c:199: error: syntax error before ')' token
............................................................................
gda-odbc-provider.c: In function `get_odbc_views':
gda-odbc-provider.c:1287: error: `priv_data' undeclared (first use in this function)
gda-odbc-provider.c:1289: error: `SQLRETURN' undeclared (first use in this function)
gda-odbc-provider.c:1289: error: syntax error before "rc"
gda-odbc-provider.c:1313: error: `rc' undeclared (first use in this function)
gda-odbc-provider.c:1315: error: `SQLCHAR' undeclared (first use in this function)
gda-odbc-provider.c:1315: error: syntax error before ')' token
gda-odbc-provider.c: In function `get_odbc_sequence':
gda-odbc-provider.c:1342: error: `priv_data' undeclared (first use in this function)
make[2]: *** [gda-odbc-provider.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libgda-1.0.2/work/libgda-1.0.2/providers/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgda-1.0.2/work/libgda-1.0.2/providers'
make: *** [all-recursive] Error 1

!!! ERROR: gnome-extra/libgda-1.0.2 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure

Reproducible: Always
Steps to Reproduce:
emerge libgda

Actual Results:  
compile failed with continued consistancy

Expected Results:  
compiled without failure

using ACCEPT_KEYWORLDS="~x86" for the entire system with little or no problems.
system is a dual p3 coppermine with ecc reg. sdram. Mysql and postgresql are
installed
Comment 1 foser (RETIRED) gentoo-dev 2003-12-08 05:59:48 UTC
can you attach the full build log and provide your 'emerge info' ?
Comment 2 Michael Crawford (ali3nx) 2003-12-11 20:53:51 UTC
i will bzip the sources asap and include my emerge logfile and the stdout from configure aswell...  I should mention that to date the ebuild still fails.
Comment 3 Michael Crawford (ali3nx) 2003-12-11 22:55:34 UTC
Created attachment 22072 [details]
full sources in failed state with emerge logs and configure summary

i bzip'd the sources from /var/tmp/portage/libgda-1.0.2 and included all the
logs from /var/log/portage related to libgda-1.0.2 and a copy of the configure
summary from stdout
Comment 4 foser (RETIRED) gentoo-dev 2003-12-12 09:42:44 UTC
thats a bit overdone, please provide what we ask for and dont put it all in one big 1.7MB pack.

we only want the output of the full build -not only the errors you posted in your initial report- (attach) and your emerge info (paste) for now.
Comment 5 Michael Crawford (ali3nx) 2003-12-12 20:12:59 UTC
Created attachment 22116 [details]
emerge log... thx to ciaranm for the howto =]
Comment 6 Michael Crawford (ali3nx) 2003-12-12 20:15:46 UTC
Created attachment 22117 [details]
emerge info for ali3nx's p3

My apologies for posting this bug incorrectly... Should i find any more i'll do
them properly in the future =]
Comment 7 Michael Crawford (ali3nx) 2003-12-15 16:01:00 UTC
Created attachment 22267 [details]
USE="-odbc" emerge libgda log

i wanted to provide this for objective comparison... Compile works without odbc
support so the odbc layer is having the problem i'm guessing... Hope it helps.
Comment 8 foser (RETIRED) gentoo-dev 2003-12-16 15:28:09 UTC
some gnome dev with gda & odbc setup to check this out ?
Comment 9 Mike Gardiner (RETIRED) gentoo-dev 2003-12-29 19:02:22 UTC
I don't have ODBC, but what's providing /usr/include/sql.h ? and what version of ODBC do you have installed ? also it looks like everything is defined =1 (-D) in the gcc string, are you compiling with support for everything ?
Comment 10 Mike Gardiner (RETIRED) gentoo-dev 2004-01-25 05:51:26 UTC
Reporter ping please. Try version 1.0.3. Almost closed Invalid.
Comment 11 Michael Crawford (ali3nx) 2004-03-03 20:05:06 UTC
The system that i discovered the bug with has been reloaded and i'm unsure if this bug is still valid. marked invalid as libgda-1.0.3 has been released