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

Bug 141568

Summary: gnome-extra/libgda-1.2.2-r1 compilation failure on AMD64
Product: Gentoo Linux Reporter: Tiago Freire <tiago.freire>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: milton.yates
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tiago Freire 2006-07-24 05:04:00 UTC
x86_64-pc-linux-gnu-gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"1.2.2\" "-DPACKAGE_STRING=\"GNU Data Access 1.2.2\"" -DPACKAGE_BUGREPORT=\"gnome-db-list@gnome.org\" -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_MYSQL=1 -DHAVE_SQLITE=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/lib64/glib-2.0/include -I/usr/include/libxml2 -march=k8 -O2 -pipe -MT gda-bdb-recordset.lo -MD -MP -MF .deps/gda-bdb-recordset.Tpo -c gda-bdb-recordset.c  -fPIC -DPIC -o .libs/gda-bdb-recordset.o
gda-bdb-recordset.c: In function `gda_bdb_recordset_new':
gda-bdb-recordset.c:234: warning: passing arg 2 of pointer to function from incompatible pointer type
gda-bdb-recordset.c:234: error: too few arguments to function
make[2]: *** [gda-bdb-recordset.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libgda-1.2.2-r1/work/libgda-1.2.2/providers/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgda-1.2.2-r1/work/libgda-1.2.2/providers'
make: *** [all-recursive] Error 1



emerge --info:
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.3.6-r3, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc1-r6
dev-lang/python:     2.3.5-r2, 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.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1, 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo"
LINGUAS="pt_BR en"
MAKEOPTS="-j2"
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="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X a52 aac acl acpi aim aimextras alsa apache2 arts artswrappersuid authdaemond automount avi berkdb bidi bitmap-fonts bluetooth bootsplash browserplugin bzip2 cairo calendar canna caps cdparanoia chroot cjki cli cpudetection crypt css cups curl curlwrappers cvs dba dbus dga divx4linux dlloader doc dpms dri dts dv dvb dvd dvdr dvdread eds emboss encode evo fbcon fbsplash ffmpeg firefox foomaticdb fortran ftp gd gif gmail gmailtimestamps gnome gnutls gpm gstreamer gtk gtk2 hal i8x0 iconv imap imlib innodb interbase ipv6 isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos ldap lm_sensors lzw lzw-tiff maildir mailwrapper matroska mime mjpeg mmap mono mozdevelop mozsvg mp3 mpeg mpeg2 mpeg4 mplayer mppe-mppc msn multislot mysql mysqli ncurses nethack nls nptl nsplugin ntfs nvidia oav odbc offensive ogg oggvorbis openal opengl oss pam pcntl pcre pda pdf pdflib perl php pic png posix postgres povray ppds pppd prelude profile python qemu-fast qt qt3 qt4 quicktime rdesktop readline reflection rtc ruby samba sasl screen sdl sensord session shared slp sndfile snmp soap sockets sox speex spell spl sql sqlite ssl subp subversion svg symlink tcpd theora threads tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb utf8 vcd vcdimager vda vhosts vim vim-pager vim-with-x virus-scan visualization vnc vorbis wddx web webdav wifi win32 xft xine xml xmlrpc xorg xpm xprint xscreensaver xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_aiptek kernel_linux linguas_pt_BR linguas_en userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-07-24 08:34:56 UTC
Which versions of sys-libs/db do you have installed?
Comment 2 Tiago Freire 2006-07-25 10:31:13 UTC
(In reply to comment #1)
> Which versions of sys-libs/db do you have installed?
> 

Uh, emerge -s db tells me I have:
      Latest version available: 4.2.52_p2-r1
      Latest version installed: 4.3.29
but emerge -pv sys-devel/db gives me:
[ebuild   R   ] sys-libs/db-4.2.52_p2-r1  USE="doc java -bootstrap -nocxx -tcltk" 0 kB

looks like portage can't make up which sys-libs/db is installed... Can more than one sys-libs/db be installed at once?

Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-07-26 18:42:06 UTC
Actually, yes.  You can have 8 (yes eight) versions of db installed at the same time.

I only have 4.3.29 installed.  Maybe it's 4.2 that's causing problems for you?  Could you try removing the 4.2 version and see if it builds?  If so, I'll try to come up with a way to force 4.3 to be used...

Just:
emerge --unmerge =sys-devel/db-4.2.52_p2-r1
emerge libgda
Comment 4 peter van der male 2006-07-27 21:22:09 UTC
I get the same error on x86

gda-bdb-recordset.c: In function `gda_bdb_recordset_new':
gda-bdb-recordset.c:234: warning: passing arg 2 of pointer to function from incompatible pointer type
gda-bdb-recordset.c:234: error: too few arguments to function
make[2]: *** [gda-bdb-recordset.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libgda-1.2.2-r1/work/libgda-1.2.2/providers/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgda-1.2.2-r1/work/libgda-1.2.2/providers'
make: *** [all-recursive] Error 1

!!! ERROR: gnome-extra/libgda-1.2.2-r1 failed.

>Just:
>emerge --unmerge =sys-devel/db-4.2.52_p2-r1
>emerge libgda

for me thats in sys-libs/db-4.2.52_p2-r1

>$ sudo emerge --unmerge =sys-libs/db-4.2.52_p2-r1
>
>--- Couldn't find '=sys-libs/db-4.2.52_p2-r1' to unmerge.
>
>>> No packages selected for removal by unmerge.

so it doesn't work with either

>mobtek@neopolis:~$ sudo emerge -pv sys-libs/db
>
>These are the packages that would be merged, in order:
>
>Calculating dependencies... done!
>[ebuild   R   ] sys-libs/db-4.3.29-r2  USE="doc -bootstrap -java -nocxx -tcltk" 0 kB
>
>Total size of downloads: 0 kB

Output of emerge --info

Portage 2.1.1_pre3-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.18 i686)
=================================================================
System uname: 2.6.16.18 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j2"
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="/home/mobtek/apps/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac ac3 accessibility alsa apache2 apm arts artswrappersuid asf avi berkdb bitmap-fonts cli crypt cups divx4linux dlloader doc dri dvd dvdr dvdread eds emboss encode esd ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gst gstreamer gtk gtk2 hal imlib ipv6 isdnlog jabber jpeg kde kdexdeltas libg++ libwww mad matroska mikmod motif mp3 mpeg mppe-mppc mysql ncurses nls nptl ogg oggvorbis opengl oss pam pcre pda pdflib perl pic png pppd python qt qt3 quicktime readline real reflection ruby samba sdl session slang spell spl ssl svga tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis wifi win32codecs x86 xcomposite xine xinerama xml xml2 xmms xorg xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2006-07-31 23:59:11 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 6 Leonardo Boshell (RETIRED) gentoo-dev 2006-08-01 18:11:36 UTC
Tiago,
This is a duplicate of bug #110704. Please try libgda-1.2.3, we'll try to bring it into stable status soon, but for the moment you can try it e.g. by editing /etc/portage/package.keywords.

Steev,
Please open a new bug so we can track the problem with the freetds backend.

Thanks.

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