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

Bug 93127

Summary: libgda-1.2.1 build errors with libpq-8.0.3, postgresql-8.0.3
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: [OLD] DevelopmentAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: esigra, gnome
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Kowalczyk 2005-05-18 19:04:18 UTC
After emerging libpq-8.0.3, postgresql-8.0.3, libgda and dependents show up in
revdep-rebuild. Dependents may also depend on openldap, but seem to require
successfuly libgda to build.

Error is as follows:

 distcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\"
-DPACKAGE_VERSION=\"1.2.1\" "-DPACKAGE_STRING=\"GNU Data Access 1.2.1\""
-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_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 -O2 -march=athlon-xp -mtune=athlon-xp -pipe
-fomit-frame-pointer -MT libmain.lo -MD -MP -MF .deps/libmain.Tpo -c libmain.c 
-fPIC -DPIC -o .libs/libmain.o
libmain.c: In function `plugin_get_connection_params':
libmain.c:52: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
libmain.c:56: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
libmain.c:60: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
libmain.c:64: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
libmain.c:68: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
libmain.c:72: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
libmain.c:76: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
libmain.c:80: warning: passing arg 2 of `g_list_append' makes pointer from
integer without a cast
if /bin/sh ../../libtool --tag=CC --mode=compile distcc -DPACKAGE_NAME=\"GNU\
Data\ Access\" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"1.2.1\"
-DPACKAGE_STRING=\"GNU\ Data\ Access\ 1.2.1\"
-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_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      -O2 -march=athlon-xp -mtune=athlon-xp -pipe
-fomit-frame-pointer -MT utils.lo -MD -MP -MF ".deps/utils.Tpo" -c -o utils.lo
utils.c; \
then mv -f ".deps/utils.Tpo" ".deps/utils.Plo"; else rm -f ".deps/utils.Tpo";
exit 1; fi
 distcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\"
-DPACKAGE_VERSION=\"1.2.1\" "-DPACKAGE_STRING=\"GNU Data Access 1.2.1\""
-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_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 -O2 -march=athlon-xp -mtune=athlon-xp -pipe
-fomit-frame-pointer -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c  -fPIC
-DPIC -o .libs/utils.o
utils.c:29:28: libpq/libpq-fs.h: No such file or directory
utils.c: In function `gda_postgres_blob_open':
utils.c:201: error: `INV_READ' undeclared (first use in this function)
utils.c:201: error: (Each undeclared identifier is reported only once
utils.c:201: error: for each function it appears in.)
utils.c:204: error: `INV_WRITE' undeclared (first use in this function)
utils.c: In function `gda_postgres_blob_create':
utils.c:383: error: `INV_READ' undeclared (first use in this function)
utils.c:383: error: `INV_WRITE' undeclared (first use in this function)
distcc[19069] ERROR: compile (null) on localhost failed
distcc[19068] ERROR: compile utils.c on localhost failed
make[2]: *** [utils.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libgda-1.2.1/work/libgda-1.2.1/providers/postgres'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgda-1.2.1/work/libgda-1.2.1/providers'
make: *** [all-recursive] Error 1

!!! ERROR: gnome-extra/libgda-1.2.1 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


revdep info is as follows:

Checking dynamic linking consistency...
  broken /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
(requires libldap.so.2 liblber.so.2)
  broken /usr/lib/libgda/providers/libgda-ldap.so (requires libldap.so.2
liblber.so.2)
  broken /usr/lib/gnumeric/1.4.3/plugins/gdaif/gdaif.so (requires libgda-2.so.1)
  broken /usr/lib/evolution/2.2/components/libevolution-addressbook.so (requires
libldap.so.2 liblber.so.2)
  broken /usr/lib/planner/storage-modules/libstorage-sql.so (requires libgda-2.so.1)
  broken /usr/lib/planner/plugins/libsql-plugin.so (requires libgda-2.so.1)
  broken
/usr/X11R6/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
(requires libldap.so.2 liblber.so.2)

gnome-extra/libgda-1.2.1  +berkdb -debug -doc -firebird +freetds +ldap +mdb
+mysql -oci8 +odbc +postgres +sqlite -static -xbase 0 kB
app-office/gnumeric-1.4.3  -debug +gnome +libgda +python 0 kB
app-office/planner-0.12.1  -debug -doc +libgda +python 0 kB
gnome-extra/evolution-data-server-1.2.1  -debug -doc -ipv6 -kerberos +ldap
+mozilla +nntp +ssl 0 kB
mail-client/evolution-2.2.1.1  +crypt -debug -doc +gstreamer -ipv6 -kerberos
+ldap +mono +mozilla +nntp -pda +spell +ssl 0 kB


# cat /root/.revdep-rebuild.5_order
gnome-extra/libgda-1.2.1
app-office/gnumeric-1.4.3
app-office/planner-0.12.1
gnome-extra/evolution-data-server-1.2.1
mail-client/evolution-2.2.1.1

gnome-extra/libgda-1.2.1  +berkdb -debug -doc -firebird +freetds +ldap +mdb
+mysql -oci8 +odbc +postgres +sqlite -static -xbase 0 kB
app-office/gnumeric-1.4.3  -debug +gnome +libgda +python 0 kB
app-office/planner-0.12.1  -debug -doc +libgda +python 0 kB
gnome-extra/evolution-data-server-1.2.1  -debug -doc -ipv6 -kerberos +ldap
+mozilla +nntp +ssl 0 kB
mail-client/evolution-2.2.1.1  +crypt -debug -doc +gstreamer -ipv6 -kerberos
+ldap +mono +mozilla +nntp -pda +spell +ssl 0 kB


# cat /root/.revdep-rebuild.5_order
gnome-extra/libgda-1.2.1
app-office/gnumeric-1.4.3
app-office/planner-0.12.1
gnome-extra/evolution-data-server-1.2.1
mail-client/evolution-2.2.1.1


Emerge info is as follows:

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 mobile AMD Athlon(tm) XP-M 2000+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.4.1
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r9
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo
http://mirrors.tds.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main
/usr/local/overlays/fluidportage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow S3TC X aac aalib acl acpi adns aim alsa apache2 apm arts avi
bash-completion berkdb bitmap-fonts bluetooth bonobo caps cddb cdf cdr chroot
cle266 crypt cups curl dba dbus dga directfb divx4linux dv dvd dvdr eds emacs
emboss encode esd evo expat faad fam fastcgi fbcon fbdev ffmpeg flac flash
fluidsynth fmod foomaticdb fortran freetds freetype fs gcj gd gdbm geoip ggi gif
gimp gimpprint glade glut gnome gnomedb gphoto2 gpm gps graphviz gstreamer gtk
gtk2 gtkhtml guile hal hbci icq ieee1394 imagemagick imap imlib imlib2 innodb
jabber jack jack-tmpfs jpeg lcd lcms ldap libclamav libg++ libgda libwww lirc
lua mad mbox md5sum mdb mikmod mmx mng mono mozdevelop mozilla moznocompose
moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 msn mssql mysql nas ncurses
nls nntp nodrm nomotif nptl odbc ofx ogg oggvorbis openal opengl opie oscar oss
pam pcre pda pdflib perl plotutils png pnp postgis postgres psyco pthreads
python qt quicktime readline rogue ruby samba sasl scanner sdl slang speedo
speex spell sqlite sse ssl stencil-buffer svg svga tcpd tetex theora tiff
transcode truetype truetype-fonts type1 type1-fonts unichrome usb v4l v4l2 vda
vhosts virus-scan vorbis wmf wxwin wxwindows xine xml xml2 xmms xprint xv xvid
yahoo yv12 zeo zlib zvbi video_cards_via userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Thanks!

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-19 00:42:50 UTC
Uhm? And the point of this bug is? Why did not you let revdep-rebuild do its
work and fix it? 
Comment 2 Jeff Kowalczyk 2005-05-19 06:14:29 UTC
(In reply to comment #1)
> Uhm? And the point of this bug is? Why did not you let revdep-rebuild do its
> work and fix it? 

I do, libgda just doesn't build, that's the bug report. Its probably related to
the php build bug.
http://bugs.gentoo.org/show_bug.cgi?id=93103

I see now that I'm the one who's in error, postgresql and libpq 8.03 are masked
at this time. This is something they are apparently working on before unmasking.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-19 07:36:09 UTC
(In reply to comment #2)

Eh, sorry, but was not really apparent what you actually did with
revdep-rebuild, looked more like you just ran it with -pv or whatnot... 
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2005-05-19 08:04:10 UTC

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