Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27436 - courier-imap fails to compile with ipv6
Summary: courier-imap fails to compile with ipv6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 11:55 UTC by Thomas Capricelli
Modified: 2003-08-28 15:01 UTC (History)
3 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 Thomas Capricelli 2003-08-27 11:55:54 UTC
i cant install courier-imap with ipv6 
when i do, i have the same courier-imap as before. i check by 
* nmap -6 on the machine, after having restarted the daemons 
* string couriertcpd | grep 6  show you if the couriertcpd daemon is ipv6-enabled 

Reproducible: Always
Steps to Reproduce:
1.with +ipv6 in USE, emerge courier-imap 
2. 
3. 
Actual Results:  
the installed stuff doesn't have ipv6 compiled in 

Expected Results:  
ipv6-enabled courier-imap 

i fixed that by changing the line (from ebuild) 
    myconf="${myconf} `use_with ipv6`" 
by 
    myconf="${myconf} --with-ipv6 "
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-08-28 03:25:13 UTC
Changing 
 
	myconf="${myconf} `use_with ipv6`" 
 
to 
 
	myconf="${myconf} --with-ipv6 " 
 
forces courier-imap to be built with ipv6 support irrespective of 
USE flag settings. 
 
I can compile courier-imap-1.7.3-r1 and courier-imap-2.0.0 fine with 
ipv6 support via USE flags. With 
 
	USE="ipv6" emerge courier-imap 
 
the config.log shows 
 
	$ ./configure --prefix=/usr --host=i686-pc-linux-gnu 
	--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
	--sysconfdir=/etc --localstatedir=/var/lib --disable-root-check 
	--bindir=/usr/sbin --mandir=/usr/share/man --sysconfdir=/etc/courier-imap 
	--libexecdir=/usr/lib/courier-imap --localstatedir=/var/lib/courier-imap 
	--enable-workarounds-for-imap-client-bugs 
	--with-authdaemonvar=/var/lib/courier-imap/authdaemon 
	--cache-file=/var/tmp/portage/courier-imap-2.0.0/work/config.cache 
	--with-authpam --with-authldap --with-authmysql --with-authpostgresql 
-->	--with-ipv6 --with-db=db --without-authvchkpw --enable-unicode debug=true 
 
and in the rfc1035 subdirectory (which is where the ipv6 support is built) 
the config.log shows 
 
	$ ./configure --prefix=/usr --prefix=/usr --host=i686-pc-linux-gnu 
	--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
	--localstatedir=/var/lib --disable-root-check --bindir=/usr/sbin 
	--mandir=/usr/share/man --sysconfdir=/etc/courier-imap 
	--libexecdir=/usr/lib/courier-imap --localstatedir=/var/lib/courier-imap 
	--enable-workarounds-for-imap-client-bugs 
	--with-authdaemonvar=/var/lib/courier-imap/authdaemon 
	--cache-file=/var/tmp/portage/courier-imap-2.0.0/work/config.cache 
	--with-authpam --with-authldap --with-authmysql --with-authpostgresql 
-->	--with-ipv6 --with-db=db --without-authvchkpw --enable-unicode debug=true 
	CC=gcc CFLAGS=-march=pentium4 -O3 -pipe -fomit-frame-pointer 
	LDFLAGS=host_alias=i686-pc-linux-gnu 
	--with-authchangepwdir=/usr/lib/courier-imap/authlib --with-userdb=/etc/userdb 
	--with-makedatprog=/usr/lib/courier-imap/makedatprog --with-mailuser=root 
	--without-socks --with-authchangepwdir=/usr/lib/courier-imap/authlib 
	--with-package=courier-imap --with-version=2.0.0 
	--cache-file=/var/tmp/portage/courier-imap-2.0.0/work/config.cache --srcdir=. 
 
Both logs show the inclusion of --with-ipv6. 
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-28 14:39:16 UTC
On my todo list now.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-28 15:01:33 UTC
fixed, will be in the new 2.1.1 ebuild in CVS shortly.