When I try to emerge mod_php-4.3.10, it fails to complete sucessfully. I tried to revert to previous configuration by downgrading uw-imap back to version 2002e-r4 and emerged mod_php-4.3.10 and mod_php finishes the emerge sucessfully. So to me, the problem seems to be related to uw-imap-2004a upgrade Reproducible: Always Steps to Reproduce: 1. Upgrade uw-imap-2002e-r4 to uw-imap-2004a 2. Upgraded from mod-php? to mod_php-4.3.10 Actual Results: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libc-client.a(osdep.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib64/libc-client.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 make: *** Waiting for unfinished jobs.... //usr/lib/libc-client.a(osdep.o)(.text+0xb110): In function `ssl_onceonlyinit': /var/tmp/portage/uw-imap-2004a/work/imap-2004a/c-client/osdep.c:299: warning: the use of `tmpnam' is dangerous, better use `mkstemp' !!! ERROR: dev-php/mod_php-4.3.10 failed. !!! Function php-sapi_src_compile, Line 513, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Sucessfully completed emerge of mod_php-4.3.10 Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-ck1 x86_64) ================================================================= System uname: 2.6.10-ck1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 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.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.du.se/pub/os/gentoo http://gentoo.binarycompass.org http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X apache2 berkdb bitmap-fonts cdr crypt cups dga esd evo f77 fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 irda irmc java jp2 jpeg ldap libwww lzw lzw-tiff mbox mozilla multilib mysql ncurses nls nptl oav offensive oggvorbis opengl oss pam pcre pda pdf pdflib perl png posix ppds python readline samba sdl slang ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xpm xrandr xv zlib"
CORRECTION TO ORIGINAL REPORT: The original version of uw-imap that was installed and working with mod_php was uw-imap-2002e-r1, not r4. Downgrading to uw-imap-2002e-r1 allows mod_php-4.3.10 to emerge sucessfully. Sorry about that!
AMD64: you 'fixed' uw-imap/c-client once before so that the .a was built correctly (bug 35956) and that PHP worked with it on your arch, so what's happening now?
I can confirm this bug neither mod_pph-4.3.10 or php-4.3.10 will compile. I just get "checking if IMAP works - NO" and then the compile fails. It fails with c-client-2002e-r1 and c-client-2002e-r4. I am now trying with c-client-2004a
ok - i took a look at my config.log file. Its complaining about not being able to find the -lgssapi_krb5 file. I do use kerberos but dont know how to fix this. The only reference I found was export LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam" havent tried it yet though
mmm seems i need to install the development libs but cant find them for heimdal :(
Are there any updates to this yet?
Please emerge uw-imap-2004c-r1 (in ~amd64), and then try to compile PHP again. Please let me know if you have any further issues with this.
Emerged net-mail/uw-imap-2004c-r1 (~amd64). After that, both mod_php-4.3.10 and php-4.3.10 emerged sucessfully! Thank You!
That is great to hear - closing this bug.