Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140398 - emerge gnome-extra/evolution-data-server-1.4.2.1 failed
Summary: emerge gnome-extra/evolution-data-server-1.4.2.1 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 11:54 UTC by Pete Pardoe
Modified: 2007-02-25 15:21 UTC (History)
2 users (show)

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


Attachments
config.log from today (config.log,63.43 KB, text/plain)
2006-07-19 07:11 UTC, Pete Pardoe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pete Pardoe 2006-07-14 11:54:18 UTC
checking for regexec... yes
checking for iconv in -liconv... no
checking for iconv... yes
checking for gnu_get_libc_version... yes
checking if iconv() handles UTF-8... no
configure: error: You need to install a working iconv implementation, such as ftp://ftp.gnu.org/pub/gnu/libiconv

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/evolution-data-server-1.4.2.1/work/evolution-data-server-1.4.2.1/config.log

!!! ERROR: gnome-extra/evolution-data-server-1.4.2.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  evolution-data-server-1.4.2.1.ebuild, line 108:   Called gnome2_src_compile
  gnome2.eclass, line 63:   Called gnome2_src_configure
  gnome2.eclass, line 59:   Called econf '--with-openldap' '--without-krb5' '--enable-nss' '--enable-smime' '--enable-ipv6' '--disable-nntp' '--without-krb4' '--with-nspr-includes=/usr/include/nspr' '--with-nspr-libs=/usr/lib64/nspr' '--with-nss-includes=/usr/include/nss' '--with-nss-libs=/usr/lib64/nss' '--disable-gtk-doc'
  ebuild.sh, line 541:   Called die

***********************************************************************
I suspect that there is something wrong with my system but have no idea what it is or how to rectify it.  Any and all help greatly appreciated As a matter of interest trying to emerge -pv dev-libs/libiconv will get the following:
***********************************************************************
These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] sys-libs/glibc (is blocking dev-libs/libiconv-1.9.2-r3)
[ebuild  N    ] dev-libs/libiconv-1.9.2-r3  USE="-build" 3,828 kB 

Total size of downloads: 3,828 kB
**********************************************************************
below is the output of /var/tmp/portage/evolution-data-server-1.4.2.1/work/evolution-data-server-1.4.2.1/config.log
------------------------------------------------------------------------------
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.4.2.1.ebuild,v 1.13 2006/07/05 08:20:57 vapier Exp $

inherit eutils gnome2

DESCRIPTION="Evolution groupware backend"
HOMEPAGE="http://www.ximian.com/"

LICENSE="LGPL-2 Sleepycat"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="doc ipv6 kerberos krb4 ldap nntp ssl"

RDEPEND=">=dev-libs/glib-2.4
	>=gnome-base/libbonobo-2.4.2
	>=gnome-base/orbit-2.9.8
	>=gnome-base/libgnomeui-2
	>=gnome-base/gnome-vfs-2
	>=gnome-base/libgnome-2
	>=dev-libs/libxml2-2
	>=gnome-base/gconf-2
	>=x11-libs/gtk+-2
	>=gnome-base/libglade-2
	>=net-libs/libsoup-2.2.2
	sys-libs/zlib
	ldap? ( >=net-nds/openldap-2.0 )
	ssl? ( >=dev-libs/nspr-4.4
		>=dev-libs/nss-3.9 )
	kerberos? ( virtual/krb5 )
	krb4? ( virtual/krb5 )"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.9
	>=dev-util/intltool-0.28
	doc? ( >=dev-util/gtk-doc-1.4 )"

MAKEOPTS="${MAKEOPTS} -j1"
USE_DESTDIR="1"
DOCS="ChangeLog MAINTAINERS NEWS TODO"

RESTRICT="confcache"

pkg_setup() {
	G2CONF="$(use_with ldap openldap) \
		$(use_with kerberos krb5 /usr) \
		$(use_enable ssl nss)          \
		$(use_enable ssl smime)        \
		$(use_enable ipv6)             \
		$(use_enable nntp)"

	if use krb4 && ! built_with_use virtual/krb5 krb4; then
		ewarn
		ewarn "In order to add kerberos 4 support, you have to emerge"
		ewarn "virtual/krb5 with the 'krb4' USE flag enabled as well."
		ewarn
		ewarn "Skipping for now."
		ewarn
		G2CONF="${G2CONF} --without-krb4"
	else
		G2CONF="${G2CONF} $(use_with krb4 krb4 /usr)"
	fi
}

src_unpack() {
	unpack "${A}"
	cd "${S}"

	epatch "${FILESDIR}"/${PN}-1.2.0-gentoo_etc_services.patch
	# upstream gcc4 fix
	epatch "${FILESDIR}"/${PN}-1.2.3-gcc4.patch

	# Resolve symbols at execution time for setgid binaries
	epatch "${FILESDIR}"/${PN}-no_lazy_bindings.patch

	# Fix calandar crashing, bug #86174
	epatch "${FILESDIR}"/${PN}-1.4.2.1-calandar-crash-fix.patch

	sed -n -e '/GNOME_COMPILE_WARNINGS/,/dnl IT_PROG_INTLTOOL/p' \
		aclocal.m4 > gnome.m4
	export WANT_AUTOMAKE=1.9
	aclocal -I . || die "aclocal failed"
	automake || die "automake failed"
}

src_compile() {
	# Use NSS/NSPR only if 'ssl' is enabled.
	if use ssl ; then
		NSS_LIB=/usr/$(get_libdir)/nss
		NSS_INC=/usr/include/nss
		NSPR_LIB=/usr/$(get_libdir)/nspr
		NSPR_INC=/usr/include/nspr

		G2CONF="${G2CONF} \
			--with-nspr-includes=${NSPR_INC} \
			--with-nspr-libs=${NSPR_LIB}     \
			--with-nss-includes=${NSS_INC}   \
			--with-nss-libs=${NSS_LIB}"
	else
		G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
			--without-nss-libs --without-nss-includes"
	fi

	cd "${S}/libdb/dist"
	./s_config || die

	cd "${S}"
	gnome2_src_compile
}
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-07-14 12:00:21 UTC
can you post your emerge info?

thanks
Comment 2 Pete Pardoe 2006-07-14 15:38:53 UTC
John

By emerge info do you mean the complete output from the emerge command to the failure? The first 7 lines of my original entry are in fact the lines where the error is - the rest is just the standard stuff, but if that is what you need I will give it to you Monday when I am back at my work computer.

Pete
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-07-14 17:12:44 UTC
Pete:

type 'emerge --info' and paste in / attach the output.
Comment 4 Pete Pardoe 2006-07-15 03:33:26 UTC
Here is the requested output of the emerge --info:
***************************************************
Portage 2.1-r1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.2
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-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="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/"
LANG="C"
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/local/overlays/xgl-coffee"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd dvdread eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde ldap lzw lzw-tiff motif mp3 mpeg ncurses nls nvidia opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-07-16 09:13:31 UTC
iconv is part of glibc.  Since you're using glibc and not one of the other libcs, it should work correctly.  Something must be messed up with your glibc install.  Does re-emerging glibc fix the problem?
Comment 6 Pete Pardoe 2006-07-16 12:45:19 UTC
Daniel

OK I re-emerged glibc, then tried again with the same result. 

Pete
Comment 7 Roger 2006-07-17 00:11:42 UTC
I've seen this iconv bug before.  Right. Emerge the package for iconv and then, sometimes, it doesn't get added correctly to the system wide libs (ldconfig) (/etc/ld.so.conf)?

qpkg -l sys-libs/glibc |grep iconv.h

Should result in:

/usr/include/iconv.h

Using sys-libs/glibc-2.3.6-r4 here.
Comment 8 Pete Pardoe 2006-07-17 04:15:56 UTC
Roger

qpkg is not available anymore so I used

equery f sys-libs/glibc | grep iconv.h
/usr/include/gentoo-multilib/amd64/iconv.h
/usr/include/gentoo-multilib/x86/iconv.h
/usr/include/iconv.h

so, I am not sure why the gnome-extra/evolution-data-server package cannot see it?

Pete
Comment 9 Pete Pardoe 2006-07-19 05:33:51 UTC
This has become a bigger issue as it now stands in the way of my regular updates as it appears it is required now for gedit and few other gnome based programs.  Is there anyone out there with any more thoughts as to what is the source of my problem?

Pete
Comment 10 John N. Laliberte (RETIRED) gentoo-dev 2006-07-19 05:45:54 UTC
could you please attach config.log from the build?
Comment 11 John N. Laliberte (RETIRED) gentoo-dev 2006-07-19 05:46:59 UTC
also please attach output of:

emerge -pv glibc
Comment 12 Pete Pardoe 2006-07-19 06:14:10 UTC
The config.log is in the text above

And below is the requested output from

emerge -pv glibc

Calculating dependencies... done!
[ebuild   R   ] sys-libs/glibc-2.3.6-r4  USE="nls -build -erandom -glibc-compat20 -glibc-omitfp -hardened -nptl -nptlonly -profile" 0 kB 

Thanks, for your assistance.

Pete
Comment 13 John N. Laliberte (RETIRED) gentoo-dev 2006-07-19 06:22:11 UTC
config.log for e-d-s is located in something like:

/var/tmp/portage/evolution-data-server-1.x.x/work/evolution-data-server/config.log

after a failed build.
Comment 14 Pete Pardoe 2006-07-19 06:46:13 UTC
John

It is already included in the bug report above at line 37 and following.

Pete
Comment 15 John N. Laliberte (RETIRED) gentoo-dev 2006-07-19 06:48:14 UTC
thats just the ebuild...thats not what config.log should look like.
Comment 16 Pete Pardoe 2006-07-19 06:53:08 UTC
John

This is line 37 and following from the bug report above which is the contents of the config.log

below is the output of
/var/tmp/portage/evolution-data-server-1.4.2.1/work/evolution-data-server-1.4.2.1/config.log
------------------------------------------------------------------------------
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.4.2.1.ebuild,v
1.13 2006/07/05 08:20:57 vapier Exp $

inherit eutils gnome2

DESCRIPTION="Evolution groupware backend"
HOMEPAGE="http://www.ximian.com/"

LICENSE="LGPL-2 Sleepycat"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="doc ipv6 kerberos krb4 ldap nntp ssl"

RDEPEND=">=dev-libs/glib-2.4
        >=gnome-base/libbonobo-2.4.2
        >=gnome-base/orbit-2.9.8
        >=gnome-base/libgnomeui-2
        >=gnome-base/gnome-vfs-2
        >=gnome-base/libgnome-2
        >=dev-libs/libxml2-2
        >=gnome-base/gconf-2
        >=x11-libs/gtk+-2
        >=gnome-base/libglade-2
        >=net-libs/libsoup-2.2.2
        sys-libs/zlib
        ldap? ( >=net-nds/openldap-2.0 )
        ssl? ( >=dev-libs/nspr-4.4
                >=dev-libs/nss-3.9 )
        kerberos? ( virtual/krb5 )
        krb4? ( virtual/krb5 )"

DEPEND="${RDEPEND}
        >=dev-util/pkgconfig-0.9
        >=dev-util/intltool-0.28
        doc? ( >=dev-util/gtk-doc-1.4 )"

MAKEOPTS="${MAKEOPTS} -j1"
USE_DESTDIR="1"
DOCS="ChangeLog MAINTAINERS NEWS TODO"

RESTRICT="confcache"

pkg_setup() {
        G2CONF="$(use_with ldap openldap) \
                $(use_with kerberos krb5 /usr) \
                $(use_enable ssl nss)          \
                $(use_enable ssl smime)        \
                $(use_enable ipv6)             \
                $(use_enable nntp)"

        if use krb4 && ! built_with_use virtual/krb5 krb4; then
                ewarn
                ewarn "In order to add kerberos 4 support, you have to emerge"
                ewarn "virtual/krb5 with the 'krb4' USE flag enabled as well."
                ewarn
                ewarn "Skipping for now."
                ewarn
                G2CONF="${G2CONF} --without-krb4"
        else
                G2CONF="${G2CONF} $(use_with krb4 krb4 /usr)"
        fi
}

src_unpack() {
        unpack "${A}"
        cd "${S}"

        epatch "${FILESDIR}"/${PN}-1.2.0-gentoo_etc_services.patch
        # upstream gcc4 fix
        epatch "${FILESDIR}"/${PN}-1.2.3-gcc4.patch

        # Resolve symbols at execution time for setgid binaries
        epatch "${FILESDIR}"/${PN}-no_lazy_bindings.patch

        # Fix calandar crashing, bug #86174
        epatch "${FILESDIR}"/${PN}-1.4.2.1-calandar-crash-fix.patch

        sed -n -e '/GNOME_COMPILE_WARNINGS/,/dnl IT_PROG_INTLTOOL/p' \
                aclocal.m4 > gnome.m4
        export WANT_AUTOMAKE=1.9
        aclocal -I . || die "aclocal failed"
        automake || die "automake failed"
}

src_compile() {
        # Use NSS/NSPR only if 'ssl' is enabled.
        if use ssl ; then
                NSS_LIB=/usr/$(get_libdir)/nss
                NSS_INC=/usr/include/nss
                NSPR_LIB=/usr/$(get_libdir)/nspr
                NSPR_INC=/usr/include/nspr

                G2CONF="${G2CONF} \
                        --with-nspr-includes=${NSPR_INC} \
                        --with-nspr-libs=${NSPR_LIB}     \
                        --with-nss-includes=${NSS_INC}   \
                        --with-nss-libs=${NSS_LIB}"
        else
                G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
                        --without-nss-libs --without-nss-includes"
        fi

        cd "${S}/libdb/dist"
        ./s_config || die

        cd "${S}"
        gnome2_src_compile
}
Comment 17 John N. Laliberte (RETIRED) gentoo-dev 2006-07-19 07:04:22 UTC
here is an example config.log:

http://dev.gentoo.org/~allanonjl/temp/config.log
Comment 18 Pete Pardoe 2006-07-19 07:11:12 UTC
Created attachment 92210 [details]
config.log from today

Attached is the config.log from today taken from the following location
/var/tmp/portage/evolution-data-server-1.6.2/work/evolution-data-server-1.6.2/config.log

Hope this is what you were looking for

Pete
Comment 19 Pete Pardoe 2006-07-19 07:15:00 UTC
Sorry for the confusion, I don't know what happened I thought I had opened the correct file before and pasted it into the bug report but it doesn't look like the one I attached this time.

Pete
Comment 20 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-21 14:38:01 UTC
Okay, the problem appears to be that iconv() failed to process a UTF-8 string.  What locale do you have set?  (ie, what's the output of the locale command?)
Comment 21 Pete Pardoe 2006-08-27 04:59:01 UTC
I thought I had responded to this already but something must have gone wrong as it is not here so I will enter the info again.
----------------------------------------------------------
 
>locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
Comment 22 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-28 17:59:59 UTC
Did you by any chance emerge glibc with -nls?
Comment 23 Pete Pardoe 2006-08-29 13:14:46 UTC
Correction - I didn't do -nls I did nls
# emerge -pv glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/glibc- 2.3.6-r4  USE="nls -build -erandom -glibc-compat20 -glibc-omitfp -hardened -nptl -nptlonly -profile" 0 kB

Total size of downloads: 0 kB
Comment 24 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-31 18:33:59 UTC
I'm stumped.  iconv() should be able to handle it utf8.
Comment 25 David Li 2006-09-06 13:52:22 UTC
I confirm this bug. I dunno what triggered it, but I have it now. I was doing a revdep pass for the new openssl 0.9.8 when I encountered this.
Comment 26 Pete Pardoe 2006-09-07 04:48:28 UTC
If Daniel is stumped - what happens to this bug?  Is there someone else working on it? Can it be escalated.  This is blocking a number of packages for me so I could use some help.

Thanks in advance

Pete
Comment 27 Peter Volkov (RETIRED) gentoo-dev 2007-02-25 11:08:33 UTC
Pete, David: Can you reproduce this bug with the currently stable glibc and currently stable evolution-data-server?
Comment 28 David Li 2007-02-25 14:01:30 UTC
I'm not encountering this bug anymore. I don't exactly recall how/when it went away.
Comment 29 Peter Volkov (RETIRED) gentoo-dev 2007-02-25 15:21:15 UTC
Well. Closing then... Reopen in case you'll have this issue again.