Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55851 - libgda-1.0.3 compile fails on freetds provider
Summary: libgda-1.0.3 compile fails on freetds provider
Status: RESOLVED DUPLICATE of bug 48611
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-01 22:06 UTC by Mark
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2004-07-01 22:06:49 UTC
When trying to emerge mergeant the libgda build fails when building support for the freetds provider

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWRODS="~x86" emerge -uaD mergeant
2.
3.

Actual Results:  
gda-freetds-provider.c: In function `gda_freetds_provider_open_connection':
gda-freetds-provider.c:250: warning: implicit declaration of function
`tds_set_charset'
gda-freetds-provider.c: In function `gda_freetds_provider_supports':
gda-freetds-provider.c:615: warning: enumeration value
`GDA_CONNECTION_FEATURE_NAMESPACES' not handled in switch
gda-freetds-provider.c:615: warning: enumeration value
`GDA_CONNECTION_FEATURE_BLOBS' not handled in switch
gda-freetds-provider.c: In function `gda_freetds_provider_get_types':
gda-freetds-provider.c:684: warning: assignment discards qualifiers from pointer
target type
gda-freetds-provider.c:691: warning: assignment discards qualifiers from pointer
target type
gda-freetds-provider.c:709: warning: assignment discards qualifiers from pointer
target type
gda-freetds-provider.c: In function `gda_freetds_provider_get_schema':
gda-freetds-provider.c:724: warning: unused variable `query'
gda-freetds-provider.c:775: warning: enumeration value
`GDA_CONNECTION_SCHEMA_LANGUAGES' not handled in switch
gda-freetds-provider.c:775: warning: enumeration value
`GDA_CONNECTION_SCHEMA_NAMESPACES' not handled in switch
gda-freetds-provider.c: In function `gda_freetds_execute_cmd':
gda-freetds-provider.c:806: error: too few arguments to function
`tds_process_result_tokens'
gda-freetds-provider.c:786: warning: unused variable `result_type'
gda-freetds-provider.c: In function `gda_freetds_provider_tds_handle_message':
gda-freetds-provider.c:1048: warning: unused variable `tds_cnc'
make[2]: *** [gda-freetds-provider.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libgda-1.0.3/work/libgda-1.0.3/providers/freetds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgda-1.0.3/work/libgda-1.0.3/providers'
make: *** [all-recursive] Error 1
 
!!! ERROR: gnome-extra/libgda-1.0.3 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Expected Results:  
Should compile successfully

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi aim alsa apache2 apm arts audiofile avi berkdb bonobo cdr
crypt cups curl dga directfb doc dvd encode esd ethereal evo fam fbcon fdftk
flash foomaticdb freetds gb gd gdbm gif ginac gnome gphoto2 gpm gstreamer gtk
gtk2 gtkhtml icq imagemagick imap imlib innodb jabber java jikes jpeg junit lcms
libg++ libgda libwww mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi
msn mssql mysql ncurses nls oci8 odbc oggvorbis opengl oscar oss pam pcmcia pcre
pda pdflib perl plotutils png pnp postgres ppds prelude python quicktime
readline samba scanner sdl slang slp spell sse ssl svg svga szip tcpd tiff
truetype trusted unicode usb vhosts wmf wxwindows x86 xinerama xml xml2 xmms
xosd xv xvid yahoo zeo zlib"
Comment 1 Igor Golubev 2004-07-04 15:36:02 UTC
I have exact the same problem. Unfortunately, I haven't found some working solution other than to disable freetds usage by libgda in /etc/portage/package.use.
Comment 2 Robert Davis 2004-07-15 12:03:36 UTC
Bug #48611 has gnome-db 1.0.4 and a fix for it to work with freetds.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-08-05 06:31:38 UTC

*** This bug has been marked as a duplicate of 48611 ***