Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112734 - Can't compile courier-authlib on AMD64 with vpopmail
Summary: Can't compile courier-authlib on AMD64 with vpopmail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Jory A. Pratt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 11:58 UTC by Nicolai Marck Ødum
Modified: 2005-12-31 14:10 UTC (History)
0 users

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 Nicolai Marck Ødum 2005-11-16 11:58:10 UTC
courier-authlib is broken on AMD64 witch means I can't build courier-imap.

Reproducible: Always
Steps to Reproduce:
1. emerge --sync
2. emerge courier-authlib


Actual Results:  
courier-authlib is broken on AMD 64

CONFIG_FILES=authlib.3 CONFIG_HEADERS= /bin/sh ./config.status
Linking libcourierauth.la
config.status: creating authlib.3
config.status: executing depfiles commands
Linking courierauthconfig
Linking authmksock
copying selected object files to avoid basename conflicts...
Linking libcourierauthsasl.la
Linking libcourierauthsaslclient.la
Linking libcourierauthcommon.la
Linking authtest
Linking authenumerate
Linking libauthuserdb.la
Linking libauthpam.la
Linking libauthshadow.la
Linking libauthcustom.la
Linking libauthvchkpw.la
Linking libauthpipe.la
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-
gnu/bin/ld: /                                                                  
           var/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S 
against `a 
l                                                                             
ocal symbol' can not be used when making a shared object; recompile with -fPIC
/var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.57-
r1/work/courie                                                                 
            r-authlib-0.57'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/courier-authlib-0.57-
r1/work/courie                                                                 
            r-authlib-0.57'
make: *** [all] Error 2


Expected Results:  
a working courier-imap server hehe 8-D

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -
fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X
11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var
/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -
fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="da_DK"
LC_ALL="da_DK"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 audiofile authdaemond avi berkdb bitmap-fonts bzip2 
cdr crypt cups curl dvd dvdr eds emboss encode esd exif expat fam firefox 
foomaticdb fortran gd gif glut gmp gnome gpm gstreamer gtk gtk2 hal howl idn 
imap imlib ipv6 java jce jpeg lcms libwww lzw lzw-tiff maildir mhash mng 
mozilla mp3 mpeg mysql ncurses nls oav opengl pam pdflib perl png python 
quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-
fonts udev usb userlocales valias vhosts xml2 xmms xpm xv zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jory A. Pratt 2005-11-16 12:01:59 UTC
what verson of vpopmail do you currently have installed?
Comment 2 Nicolai Marck Ødum 2005-11-16 12:10:39 UTC
emerge -vp vpopmail

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-mail/vpopmail-5.4.6-r1  -clearpasswd -ipalias +mysql 0 kB
Comment 3 Jory A. Pratt 2005-11-16 12:19:56 UTC
please update vpopmail this will solve your problems I am working to stabalize a
next release in tree. this can be accomplished with 'echo "net-mail/vpopmail
~amd64" >> /etc/portage/package.keywords'
Comment 4 Nicolai Marck Ødum 2005-11-16 13:07:26 UTC
ok - I will try to update within the next hour and report back if that helped or
not. Thx so much for the fast respond, I work for a firm that pays a
multinational  company BIG cash for support for their "
Comment 5 Nicolai Marck Ødum 2005-11-16 13:07:26 UTC
ok - I will try to update within the next hour and report back if that helped or
not. Thx so much for the fast respond, I work for a firm that pays a
multinational  company BIG cash for support for their "¤"##¤ server software.
And their support is NO WAY near as fast and good as Gentoo's.
Comment 6 Nicolai Marck Ødum 2005-11-16 13:35:28 UTC
Did as you said.

Have now got net-mail/vpopmail-5.4.13 - and everything worked like a charm 8-)
Thx again for the super help.
Comment 7 Nicolai Marck Ødum 2005-11-16 14:41:20 UTC
Have compiled courier-imap witch was my goal. Everything work so I will close 
this bug
Comment 8 Jory A. Pratt 2005-11-16 15:43:06 UTC
please do not close as I need to get 5.4.10 moved to stable.
Comment 9 Stonki 2005-12-06 08:47:23 UTC
works for me as well. Great job ! Thanks ! 
Comment 10 Jory A. Pratt 2005-12-31 14:10:14 UTC
5.4.13 has been marked stable on amd64!