Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
evolution-data-server fails [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
je_fro
Retired Dev
Retired Dev


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Wed Dec 29, 2004 9:56 pm    Post subject: evolution-data-server fails [SOLVED] Reply with quote

Hi folks, I found this post related to my problem, but it lives in the barren wasteland of Desktop Environments, ( https://forums.gentoo.org/viewtopic.php?t=238639 ) and is likely to go unresolved. (Unlike _this_ thread)
Anyway, I noticed evolution-2.0.3 and a few others were unmasked in portage today, but the install chokes on evolution-data-server like so:
Code:
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/evolution-data-server-1.0.3/work/evolution-data-server-1.0.3'
Making all in libdb
make[2]: Entering directory `/var/tmp/portage/evolution-data-server-1.0.3/work/evolution-data-server-1.0.3/libdb'
Making all in dist
make[3]: Entering directory `/var/tmp/portage/evolution-data-server-1.0.3/work/evolution-data-server-1.0.3/libdb/dist'
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. -I./.. -I./../dbinc  -D_GNU_SOURCE -D_REENTRANT -march=opteron -O2 -pipe ../m             utex/mut_tas.c
mkdir .libs
x86_64-pc-linux-gnu-gcc -c -I. -I./.. -I./../dbinc -D_GNU_SOURCE -D_REENTRANT -march=opteron -O2 -pipe ../mutex/mut_tas.c  -fPIC -DPIC -o .li             bs/mut_tas.lo
In file included from ./db_int.h:465,
                 from ../mutex/mut_tas.c:38:
./../dbinc/mutex.h:819: error: parse error before "tsl_t"
./../dbinc/mutex.h:819: warning: no semicolon at end of struct or union
./../dbinc/mutex.h:836: error: parse error before '}' token
In file included from ./db_int.h:466,
                 from ../mutex/mut_tas.c:38:
./../dbinc/region.h:145: error: field `mutex' has incomplete type
./../dbinc/region.h:190: error: field `mutex' has incomplete type
../mutex/mut_tas.c: In function `__db_tas_mutex_init_eds':
../mutex/mut_tas.c:64: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:65: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:66: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:78: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:84: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:87: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:91: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c: In function `__db_tas_mutex_lock_eds':
../mutex/mut_tas.c:110: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:116: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:120: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:153: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:155: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c: In function `__db_tas_mutex_unlock_eds':
../mutex/mut_tas.c:178: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c:190: error: dereferencing pointer to incomplete type
../mutex/mut_tas.c: In function `__db_tas_mutex_destroy_eds':
../mutex/mut_tas.c:205: error: dereferencing pointer to incomplete type
make[3]: *** [mut_tas.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-data-server-1.0.3/work/evolution-data-server-1.0.3/libdb/dist'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-data-server-1.0.3/work/evolution-data-server-1.0.3/libdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-data-server-1.0.3/work/evolution-data-server-1.0.3'
make: *** [all] Error 2

!!! ERROR: gnome-extra/evolution-data-server-1.0.3 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure

Here's my emerge --info


Code:
# emerge --info
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9 x86_64)
=================================================================
System uname: 2.6.9 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 3xnowex X acpi alsa apache2 avi berkdb bitmap-fonts bonobo cdr crypt cups directfb divx4linux dvd dvdr dvdread encode esd evo f77 fam fbcon flac foomaticdb fortran gb gd gd-external gdbm gif gnome gnutls gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 ithreads java jp2 jpeg jpg junit ldap libgda libwww live lzw lzw-tiff mad maildir motif mpeg multilib mysql ncurses network nls no_wxgtk1 nptl oggvorbis opengl oss pam pda perl plotutils png ppds python readline rtc sasl sdl spell ssl tcltk tcpd tiff truetype usb userlocales xml xml2 xmms xpm xprint xrandr xv xvid zlib"


Anybody else having this trouble? Anybody got a fix?
Thanks,
je_fro
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
je_fro
Retired Dev
Retired Dev


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Wed Dec 29, 2004 11:45 pm    Post subject: heh... Reply with quote

It appears that this was in bugzilla already, but I didn't check there first...
apparently the fix is to edit the ebuild to comment out the epatch line:
Code:
src_unpack() {
        unpack ${A}
        cd ${S}
#       epatch ${FILESDIR}/${PN}-1.0.2-amd64_mutex.patch
}


It compiles now.
Props to gustavoz who helped out on this one.
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum