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

Bug 142496

Summary: gnome-extra/libgda-1.2.x compilation failure with freetds-0.6.4
Product: Gentoo Linux Reporter: Steev Klimaszewski (RETIRED) <steev>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steev Klimaszewski (RETIRED) gentoo-dev 2006-08-01 20:44:27 UTC
I have a similar issue, but its with libgda 1.2.3 and freetds 0.6.4

gda-freetds-provider.c: In function `gda_freetds_provider_open_connection':
gda-freetds-provider.c:256: error: too few arguments to function
`tds_alloc_context'
gda-freetds-provider.c:265: warning: assignment from incompatible pointer type
gda-freetds-provider.c:266: warning: assignment from incompatible pointer type
gda-freetds-provider.c: In function `gda_freetds_provider_tds_handle_message':
gda-freetds-provider.c:1061: error: structure has no member named `msg_number'
gda-freetds-provider.c:1062: error: structure has no member named `msg_level'
gda-freetds-provider.c:1063: error: structure has no member named `msg_state'
gda-freetds-provider.c:1073: error: structure has no member named `msg_number'
make[2]: *** [gda-freetds-provider.lo] Error 1

At first I figured it was --as-needed related (and it may still be) - but I
don't really think it is...

Portage 2.1.1_pre4-r1 (default-linux/x86/2006.0, gcc-3.4.6/vanilla,
glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf
/etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy cvs distlocks metadata-transfer sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/overlays/gentopia /home/steev/repos/sigma6
/var/overlays/sexy-fonts"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa avahi avi bash-completion berkdb bitmap-fonts bzip2
cairo cdr cli crypt cups dbus dmx dvd eds encode esd exif expat flac foomaticdb
freetds gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal isdnlog jpeg ldap
libg++ libwww mad mmx mono mp3 mpeg ncurses nls nptl ogg opengl oss pam
pam_console pango pcmcia pcre perl png ppds python readline ruby samba sse ssl
startup-notification svg theora tiff truetype truetype-fonts type1-fonts udev
unicode usb vorbis xml xorg xscreensaver xv xvid xvmc zlib elibc_glibc
input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_synaptics kernel_linux linguas_en_US userland_GNU video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2006-08-02 15:03:17 UTC
A new patch to correct this is now in the tree.