Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370233 - gnome-extra/libgda-4.2.8 failed (compile phase)
Summary: gnome-extra/libgda-4.2.8 failed (compile phase)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2011-06-06 08:00 UTC by k0l0b0k
Modified: 2011-06-07 21:00 UTC (History)
2 users (show)

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


Attachments
Build log (build.log,490.36 KB, text/plain)
2011-06-06 08:02 UTC, k0l0b0k
Details
patch out LDAP source (libgda-ldap.patch,688 bytes, patch)
2011-06-06 12:45 UTC, Christoph Mende (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description k0l0b0k 2011-06-06 08:00:30 UTC
libgda compile fails on upgrade form 4.2.7 to 4.2.8

Reproducible: Always

Steps to Reproduce:
1. emerge -uDNav world

Actual Results:  
Compilation error:

  CC     table-preferences.lo
/bin/sh ../../../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"GNU\ Data\ Access\" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"4.2.8\" -DPACKAGE_STRING=\"GNU\ Data\ Access\ 4.2.8\" -DPACKAGE_BUGREPORT=\"gnome-db-list@gnome.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/libgda/\" -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 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GDU=1 -DGETTEXT_PACKAGE=\"libgda-4.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_UI=1 -DHAVE_GDKPIXBUF=1 -DHAVE_GTKSOURCEVIEW=1 -DHAVE_UNIQUE=1 -DISO_CODES_PREFIX=\"/usr\" -DHAVE_JSON_GLIB=/\*\*/ -DHAVE_LIBCRYPTO=/\*\*/ -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LIBSOUP=1 -DHAVE_GNOME_KEYRING=1 -DHAVE_READLINE=1 -DHAVE_HISTORY=1 -DHAVE_TERMIOS_H=1 -I.  -I../../../tools/browser -I../../.. -I../../.. -I../../../libgda -I../../../libgda/sqlite  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -DLIBGDA_ABI_NAME=\"libgda-4.0\" -Wall -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore      -O2 -march=native -mtune=native -pipe -c -o table-preferences.lo table-preferences.c
table-columns.c: In function 'table_columns_show_all':
table-columns.c:121:23: error: 'TableColumnsPrivate' has no member named 'ldap_props_shown'
table-columns.c:122:35: error: 'TableColumnsPrivate' has no member named 'ldap_header'
table-columns.c:123:35: error: 'TableColumnsPrivate' has no member named 'ldap_text'
make[3]: *** [table-columns.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
table-preferences.c: In function 'set_preview_widget':
table-preferences.c:788:13: warning: 'preview' may be used uninitialized in this function
make[3]: Leaving directory `/var/tmp/portage/gnome-extra/libgda-4.2.8/work/libgda-4.2.8/tools/browser/schema-browser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/libgda-4.2.8/work/libgda-4.2.8/tools/browser'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/libgda-4.2.8/work/libgda-4.2.8/tools'
make: *** [all-recursive] Error 1

Expected Results:  
Must be compiled successfully

Portage 2.1.9.50 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38.5-zen-x64-k20110601-1 x86_64)
=================================================================
System uname: Linux-2.6.38.5-zen-x64-k20110601-1-x86_64-AMD_Phenom-tm-_II_P820_Triple-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Mon, 06 Jun 2011 03:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="rsync://portage.org.ua http://portage.org.ua"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru uk en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/poly-c /var/lib/layman/desktop-effects /var/lib/layman/sunrise /var/lib/layman/bitcoin /usr/local/portage"
SYNC="rsync://portage.org.ua/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aalib acpi activefilter additions agg aio alsa amd64 amr apng archive audio bash-completion bineditor bluetooth bonobo bookmarks branding bzip2 cairo caps cdda cleartype cli client cmake compiz connection-sharing consolekit cracklib crypt css cups curl cxx dbus derby designer devhelp device-mapper dhclient dhcp dhcpcd dirac djbfft djvu drm dts dv dvb dvd eap eap-sim eap-tls edit enca encode exceptions exif extensions faac fam fasteap fat ffmpeg flac fluidsynth fontconfig foomaticdb frei0r fts3 fuse gallium gdu gio git glade glib gme gnome gnome-keyring gnutls gphoto2 gpm graphite grub gsm gstreamer gtk hardcoded-tables health hpcups hpijs hpn http hunspell icons iconv icu id3tag idle imagemagick ios iptables ipv6 jingle jit joystick jpeg jpeg2k json ladspa lame libass libcaca libffi libkms libnotify libproxy libv4l libv4l2 lightning llvm-gcc lm_sensors loop-aes lto lzma lzo matroska mmx mmxext mng modules mozdom mp3 mpeg mtp multilib multitarget musepack mysql natspec nautilus network networkmanager nfs nls nptl ntlm ogg openal opengl openmp openssl optimization optimized-qmake pam pam_ssh pcf pch pcmcia pcre pdf pidgin pixmaps pkcs11 pnat png policykit postproc prediction private-headers projectm psf pvr python qscintilla qt-dbus qt-webkit qt3support qt4 qthelp qtscript radius readline remoteosd rle rss rtmp rtsp samba sha512 shout skins slang smbclient smp sourceview spell sqlite sqlite3 srv sse sse2 ssl startup-notification stream subversion svg theora threads threadsafe tiff truetype twolame udev unicode upnp utils uuid v4l v4l2 vaapi vala vapigen vcd vcdx video vnc vorbis vpx webdav-neon webm webp wifi wma wmf wps x264 xcb xcomposite xface xhtml xml xmp xmpp xorg xpdf-headers xrandr xscreensaver xv xvid zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="ru uk en" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 k0l0b0k 2011-06-06 08:02:13 UTC
Created attachment 275975 [details]
Build log
Comment 2 k0l0b0k 2011-06-06 08:03:10 UTC
klaptop k0l0b0k # emerge -pqv =gnome-extra/libgda-4.2.8
[ebuild     U ] gnome-extra/libgda-4.2.8 [4.2.7] USE="gnome-keyring gtk http json mysql sourceview ssl -berkdb -bindist -canvas -debug -doc (-firebird) -graphviz (-introspection) -java -oci8 -postgres"
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2011-06-06 12:45:49 UTC
Created attachment 275993 [details, diff]
patch out LDAP source

this at least fixes compilation, I didn't really test it though.
either way, you should also add a ldap use flag to contron --with-ldap, seems it's automagic atm.
Comment 4 Pacho Ramos gentoo-dev 2011-06-06 12:53:07 UTC
In upstream report you can see a patch was already applied in upstream git ;)
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-06-06 12:55:43 UTC
Patch already included upstream I guess it's good enough for us.
Comment 6 Christoph Mende (RETIRED) gentoo-dev 2011-06-06 13:50:03 UTC
Well, then please either backport it or force ldap for now. It's broken for everyone not using LDAP currently.
Comment 7 Pacho Ramos gentoo-dev 2011-06-06 14:06:57 UTC
The patch should apply cleanly as-is:
http://git.gnome.org/browse/libgda/commit/?h=LIBGDA_4.2&id=f8042173c2139f65c69502a393fb44e00124ecc6

But I won't have time for applying it today, feel free to apply commit it yourself if you want :-)

Thanks a lot
Comment 8 Christoph Mende (RETIRED) gentoo-dev 2011-06-06 14:40:56 UTC
Thanks, patch and IUSE=ldap added
Comment 9 k0l0b0k 2011-06-07 21:00:57 UTC
I'm upgrade today, and all builds fine. Thanks guys!