Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64911 - Bug in gnome-extra/evolution-data-server-1.0.0 breaks "Contacts" area in mail-client/evolution-2.0.0
Summary: Bug in gnome-extra/evolution-data-server-1.0.0 breaks "Contacts" area in mail...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 64135 66864
  Show dependency tree
 
Reported: 2004-09-21 16:05 UTC by Charles Noneman
Modified: 2004-10-19 17:11 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Noneman 2004-09-21 16:05:14 UTC
Going to the "contacts" area of evolution-2.0.0 gives the error:

Error loading addressbook.

We were unable to open this addressbook.  Please check that the path exists and that you have permission to access it.

Creating a new contact list and clicking on it produces the same error. There is a bug report for it on the Ximian Bugzilla http://bugzilla.ximian.com/show_bug.cgi?id=65996 , with a link to a patch http://toshok.org/libdb-pthread-patch.diff .

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51_rc1 (default-amd64-2004.2, gcc-3.4.1, glibc-2.3.4.20040918-r0,
2.6.8-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
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.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d/ /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.noved.org/ http://mirrors.tds.net/gentoo
http://mirror.tucdemonic.org/gentoo/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apache2 apm avi berkdb bitmap-fonts cdr crypt cups
directfb divx4linux dvd dvdr encode esd flac foomaticdb gdbm gif gimpprint gnome
gpm gstreamer gtk gtk2 gtkhtml imlib ipv6 java jpeg libg++ libwww mad mikmod
motif mozilla moznoirc moznomail mpeg multilib mysql ncurses nls nogcj oggvorbis
opengl oss pam pdflib perl png ppds python quicktime readline samba sdl slang
spell ssl tcltk tcpd tiff truetype unicode usb videos x xinerama xml xml2 xmms
xprint xv xvid zlib video_cards_radeon"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-09-22 04:14:30 UTC
no idea why this was assigned to amd64@
Comment 2 foser (RETIRED) gentoo-dev 2004-09-23 02:48:11 UTC
because if you had really looked at the bugreport you wouldve noticed it's an amd64 only issue.
Comment 3 Charles Noneman 2004-10-03 18:14:59 UTC
*grumble* looks like it wasn't fixed in 1.0.1. The Ximian bugzilla has this suggestion: "The configure file doesn't contain any reference to x86_64. Running libdb/dist/s_config fixes the issue." 
I haven't figured out how to do that inside an ebuild, so I haven't tested it.
Comment 4 Herbie Hopkins (RETIRED) gentoo-dev 2004-10-04 03:38:38 UTC
same problem here on upgrading to 1.0.1. I had no problems with 1.0.0. (also on amd64)
Running:
 cd ${S}/libdb/dist
 ./s_config
before compilation does indeed fix the problem.
Comment 5 Charles Noneman 2004-10-09 10:31:42 UTC
I got it working by adding this to the end of the ebuild:

src_compile (){
cd ${S}/libdb/dist
./s_config
cd ${S}
econf || die
emake || die
}

Someone who understands ebuilds better might have a better way of doing this, I noticed that my ebuild didn't seem apply the portage-1.4.1 patch and the like (whatever those are), but people can try this for now.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-10-16 12:13:01 UTC
added to 1.0.2, can you please test?
Comment 7 Andrew D Kirch 2004-10-16 22:32:42 UTC
        evolution-data-server has been configured as follows:
        LDAP support:     no
        Gtk Doc:          no

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/evolution-data-server-1.0.2/work/evolution-data-server-1.0.2'
Making all in libdb
make[2]: Entering directory `/var/tmp/portage/evolution-data-server-1.0.2/work/evolution-data-server-1.0.2/libdb'
Making all in dist
make[3]: Entering directory `/var/tmp/portage/evolution-data-server-1.0.2/work/evolution-data-server-1.0.2/libdb/dist'
/bin/sh ./libtool --mode=compile gcc -c -I. -I./.. -I./../dbinc  -D_GNU_SOURCE -D_REENTRANT -O2 ../mutex/mut_tas.c
mkdir .libs
gcc -c -I. -I./.. -I./../dbinc -D_GNU_SOURCE -D_REENTRANT -O2 ../mutex/mut_tas.c  -fPIC -DPIC -o .libs/mut_tas.lo
In file included from db_int.h:465,
                 from ../mutex/mut_tas.c:38:
../dbinc/mutex.h:766:1: warning: "MUTEX_SET" redefined
../dbinc/mutex.h:741:1: warning: this is the location of the previous definition
In file included from db_int.h:465,
                 from ../mutex/mut_tas.c:38:
../dbinc/mutex.h:760: error: redefinition of `tsl_t'
../dbinc/mutex.h:735: error: `tsl_t' previously declared here
make[3]: *** [mut_tas.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-data-server-1.0.2/work/evolution-data-server-1.0.2/libdb/dist'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-data-server-1.0.2/work/evolution-data-server-1.0.2/libdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-data-server-1.0.2/work/evolution-data-server-1.0.2'
make: *** [all] Error 2

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

gentoo64 evolution-data-server #
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 05:23:50 UTC
that seems like a totally different problem, you should report a different bug about that.
Comment 9 Andrew D Kirch 2004-10-17 12:28:54 UTC
Bug 67921 has been added to the database
Comment 10 Charles Noneman 2004-10-19 17:11:07 UTC
Seems to be working. Closing.