When updating php to 4.4.0-r1 the configure part (system check) fails with ".configure: error: can not run test program while cross compiling" Reproducible: Always Steps to Reproduce: 1. emerge -uDav world 2. starting to update php-4.4.0-r1 3. Actual Results: Configure breaks... /var/tmp/portage/php-4.4.0-r1/work/php-4.4.0/config.log is also attached to this report for examination. checking for __dn_skipname... no checking for dn_skipname in -lresolv... no checking for __dn_skipname in -lresolv... yes checking for dn_skipname in -lbind... no checking for __dn_skipname in -lbind... no checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for inttypes.h... yes checking for stdint.h... yes checking for dirent.h... yes checking for ApplicationServices/ApplicationServices.h... no checking for sys/param.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for netinet/in.h... yes checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for assert.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for monetary.h... yes checking for mach-o/dyld.h... no checking for netdb.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/poll.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/varargs.h... no checking for sys/wait.h... yes checking for unistd.h... yes checking for unix.h... no checking for utime.h... yes checking for sys/utsname.h... yes checking for sys/ipc.h... yes checking for dlfcn.h... yes checking for fopencookie... yes configure: error: can not run test program while cross compiling Expected Results: Finish system check configure without breaking. Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r1 x86_64) ================================================================= System uname: 2.6.13-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.13 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict usersandbox" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LC_ALL="sv_SE.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.se.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa apm avi berkdb bitmap-fonts cdinstall crypt dba dbus disablexmb eds emboss emul-linux-x86 encode esd f77 fam foomaticdb fortran gd gd-external gif gpm gstreamer gtk gtk2 ieee1394 imlib java javascript jikes jpeg jpeg2k libg++ libwww lm_sensors lzw lzw-tiff motif mp3 mpeg ncurses nls nptl nptlonly opengl oss pam pdflib perl php png python qt quicktime readline rss ruby sdl server spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales wxwindows xml2 xpm xv zlib ~amd64 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Created attachment 69087 [details] /var/tmp/portage/php-4.4.0-r1/work/php-4.4.0/config.log
I'm now getting the same error on my other amd64 machine.
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found You neglected to run revdev-rebuild as instructed to when upgrading mysql. *** This bug has been marked as a duplicate of 86107 ***