Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229067 - net-mail/dovecot-1.1_rc10 USE="managesieve" - sieve.c:(.text+0x9c7): undefined reference to `sieve_script_path'
Summary: net-mail/dovecot-1.1_rc10 USE="managesieve" - sieve.c:(.text+0x9c7): undefine...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 15:57 UTC by Knut Masanetz
Modified: 2008-07-08 17:18 UTC (History)
3 users (show)

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


Attachments
My build.log (build.log,422.24 KB, text/plain)
2008-06-23 15:58 UTC, Knut Masanetz
Details
My build environment (environment,121.50 KB, text/plain)
2008-06-23 15:58 UTC, Knut Masanetz
Details
Build.log of 1.1.1 (build.log,419.17 KB, text/plain)
2008-06-24 20:15 UTC, Knut Masanetz
Details
Build environment of 1.1.1 (environment,121.44 KB, text/plain)
2008-06-24 20:15 UTC, Knut Masanetz
Details
dovecot-1.1.1.ebuild.diff (dovecot-1.1.1.ebuild.diff,168 bytes, text/plain)
2008-07-07 07:09 UTC, Knut Masanetz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Masanetz 2008-06-23 15:57:33 UTC
net-mail/dovecot-1.1_rc10 does not compile with USE="managesieve" on ~amd64

Reproducible: Always

Steps to Reproduce:
1. USE="managesieve" emerge dovecot
2. compile errors within managesieve part

Actual Results:  
Does not compile even with MAKEOPTS="-j1" and with FEATURES="-distcc"

Compile Errors:

/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -std=gnu99 -march=athlon64 -O2 -pipe -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2    -o managesieve -export-dynamic cmd-capability.o cmd-logout.o cmd-putscript.o cmd-getscript.o cmd-setactive.o cmd-deletescript.o cmd-listscripts.o cmd-havespace.o client.o commands.o main.o ../lib-managesieve/libmanagesieve.a ../lib-sievestorage/libsievestorage.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1-managesieve-0.10.2/src/lib-cmusieve/libsieve_cmu.la /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-storage/libstorage.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-imap/libimap.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-index/libindex.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-mail/libmail.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-charset/libcharset.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-dict/libdict.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-charset/libcharset.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib/liblib.a   -export-dynamic -ldl
mkdir .libs
x86_64-pc-linux-gnu-gcc -std=gnu99 -march=athlon64 -O2 -pipe -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -o managesieve cmd-capability.o cmd-logout.o cmd-putscript.o cmd-getscript.o cmd-setactive.o cmd-deletescript.o cmd-listscripts.o cmd-havespace.o client.o commands.o main.o -Wl,--export-dynamic  ../lib-managesieve/libmanagesieve.a ../lib-sievestorage/libsievestorage.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1-managesieve-0.10.2/src/lib-cmusieve/.libs/libsieve_cmu.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-storage/libstorage.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-imap/libimap.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-index/libindex.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-mail/libmail.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-dict/libdict.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib-charset/libcharset.a /var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1.rc10/src/lib/liblib.a -ldl
cmd-getscript.o: In function `cmd_getscript_continue':
cmd-getscript.c:(.text+0x141): undefined reference to `sieve_script_name'
/var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1-managesieve-0.10.2/src/lib-cmusieve/.libs/libsieve_cmu.a(sieve.o): In function `sieve_compile_script':
sieve.c:(.text+0x9c7): undefined reference to `sieve_script_path'
collect2: ld returned 1 exit status
distcc[5331] ERROR: compile (null) on localhost failed
make[3]: *** [managesieve] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1-managesieve-0.10.2/src/managesieve'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1-managesieve-0.10.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/net-mail/dovecot-1.1_rc10/work/dovecot-1.1-managesieve-0.10.2'
make: *** [all] Fehler 2
 *
 * ERROR: net-mail/dovecot-1.1_rc10 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3081:  Called die
 * The specific snippet of code:
 *           emake || die "make failed (managesieve)";
 *  The die message:
 *   make failed (managesieve)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-mail/dovecot-1.1_rc10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/dovecot-1.1_rc10/temp/environment'.
 *


Expected Results:  
Should compile

My emerge --info:

Portage 2.2_rc1 (default/linux/amd64/2008.0/server, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_265-with-glibc2.2.5
Timestamp of tree: Mon, 23 Jun 2008 00:45:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.uni-kl.de/pub/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS=""
LINGUAS="de en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage/layman/webapps-experimental /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl acpi ada admin amd64 apache2 avahi bacula-console bacula-split-init bash-completion berkdb big-tables bzip2 caps clamav cli courier cracklib crypt ctype cups curl dbus deprecated diskio dkim dri emul-linux-x86 encode fam faxonly fbcon fbcondecor fortran gd gdbm geoip gif gimpprint gmp gnutls gpm hybrid-auth iconv idn imap isdnlog java java5 javamail jbig jikes jpeg jpeg2k kdgraphics ldap lm_sensors logrotate logwatch lzo mailwrapper mdnsresponder-compat midi mmx mp3 mudflap multilib multiuser mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly oav odbc ogg oggvorbis openmp pam pcre pdf pear perl php png postfix ppds pppd python quotas readline reflection samba sasl sdl search session sieve simplexml slang slp snmp sockets sox spell spl sse sse2 ssl swat symlink tcpd tiff tools trace404 truetype unicode usb utf8 vim-pager vim-syntax virus-scan vorbis xattr xml xml2 xmlreader xorg xpm xsl xtended zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Knut Masanetz 2008-06-23 15:58:10 UTC
Created attachment 158123 [details]
My build.log
Comment 2 Knut Masanetz 2008-06-23 15:58:44 UTC
Created attachment 158125 [details]
My build environment
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2008-06-23 19:22:48 UTC
I just committed 1.1.1, please retry with that version and reopen as needed.
Comment 4 Knut Masanetz 2008-06-24 20:14:12 UTC
The bug remains with 1.1.1 as it even was before with 1.1_rc8...
Comment 5 Knut Masanetz 2008-06-24 20:15:06 UTC
Created attachment 158307 [details]
Build.log of 1.1.1
Comment 6 Knut Masanetz 2008-06-24 20:15:50 UTC
Created attachment 158311 [details]
Build environment of 1.1.1
Comment 7 Andrew Roberts 2008-07-03 03:06:55 UTC
managesieve-0.10.3 has been released to correct compile errors with >=gcc-4.2

See http://dovecot.org/list/dovecot/2008-July/031806.html.
Comment 8 Andrew Roberts 2008-07-03 03:06:55 UTC
managesieve-0.10.3 has been released to correct compile errors with >=gcc-4.2

See http://dovecot.org/list/dovecot/2008-July/031806.html.
Comment 9 Knut Masanetz 2008-07-07 07:07:59 UTC
Just changed the MANAGESIEVE and MANAGESIEVE_PATCH version in the ebuild from 0.10.2 to 0.10.3 (see diff) and it compiled and works (for me)...

Needed to link /etc/pam.d/managesieve to /etc/pam.d/imap as described in bug #230375 as well...
Comment 10 Knut Masanetz 2008-07-07 07:09:52 UTC
Created attachment 159774 [details]
dovecot-1.1.1.ebuild.diff
Comment 11 Wolfram Schlich (RETIRED) gentoo-dev 2008-07-08 17:18:45 UTC
Thanks, in CVS (1.1.1-r1).