Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185939

Summary: dev-lang/php-5.2.2-r1 fails to build
Product: Gentoo Linux Reporter: Bryan Jacobs <BryanRJ>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
elibtool.log

Description Bryan Jacobs 2007-07-20 03:14:18 UTC
dev-lang/php's latest stable version just failed to finish running econf.

Reproducible: Always

Steps to Reproduce:
1.  Enable IMAP use flag
2.  Attempt to build PHP

Actual Results:  
PHP fails to build with ...
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... yes
checking for IMAP Kerberos support... /usr
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... old
checking for U8T_CANONICAL... no
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.

Expected Results:  
PHP should be able to finish running its configure script and install properly.

I need PHP5 with IMAP support.  Do I have to move back to php5.1?

Portage 2.1.2.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-suspend2-r5 i686)
=================================================================
System uname: 2.6.21-suspend2-r5 i686 Genuine Intel(R) CPU U2500 @ 1.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 19 Jul 2007 20:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -fomit-frame-pointer -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ "
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/portageoverlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 a52 aac aalib acl acpi afs aiglx aim alsa amarok amazon amd amuled apache2 asf async audiofile auth authdaemond autoipd automount avahi bash-completion battery bcmath berkdb bidi big-tables bindist bittorrent bluetooth bootsplash branding bzip2 c++ cairo calendar cardbus ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cgi chardet chroot cjk cli client cluster colordiff console courier cpufreq cracklib crosscompile crypt css ctype cups curl curlwrappers cvs cxx cyrus daemon dbus dell deprecated devmap dga dillo dio directfb discouraged disk-cache disk-partition divx dlz dmi dmx dnotify doc dom4j domain-aware dovecot-sasl dri dts dv dvd dvdr dvdread dvi eds emboss emerald emf enca encode enscript epiphany escreen esd eselect etwin evo evolution excel exif exscalibar extraengine fam fastcgi fasttrack fat fbcon fbdev fbsplash ffmpeg firefox flac flash flatfile font-server foomaticdb force-oss fortran ftp fuse gaim gd gdbm ggi gif gimp gimpprint ginac gitsendemail glitz glut gmail gmailtimestamps gmedia gnome gnutella gnutls gpm grammar graphicsmagick graphviz gs gsm gssapi gstreamer gtk gtk2 gtkhtml gtkspell gzip hal hddtemp howl howl-compat hpn httpd hybrid i8x0 iconv icq id3 idea idled ieee1394 imagemagick imap imlib inifile innodb insecure-savers iproute2 ipsec ipv6 irc irda ithreads j2ee jabber jai java java5 javamail javascript jboss jce jcs jikes jmx jpeg jpeg2k kcm kde kdrive kerberos keyring kqemu lame largeterminal latex lcms ldap ldap-sasl ldapsam libcaca libg++ libnotify libsamplerate libvisual libwww linux-smp-stats lirc lm_sensors lmtp log4j logrotate lzo mad magic maildir maildrop management math matroska max-idx-128 mbox md5sum mdnsresponder-compat mem-cache menubar mhash midi mikmod mime mimencode ming mmap mmx mmxext mng mod mod_python modperl mouse moznocompose moznoirc moznomail moznoroaming mozsvg mp2 mp3 mp4 mpeg mpeg2 mplayer mpm-worker msdav msdfs msn mtp mudflap multiprocess multitarget multiuser musepack musicbrainz mysql mysqli nas nat ncurses net netboot nethack netinfo network nfs nls no-old-linux nosource nosrc nptl nptlonly nsplugin ntfs ntlm odbc ofx ogg openal openct opengl openmp openssl opensslcrypt oscar oss overlays pam pam_chroot pam_console pam_timestamp passfile passwordsave pcmcia pcre pcsc-lite pda pdf perl pg-intdatetime php player plotutils plugins pmu png pnp pop pop3d posix postfix postgres ppds prediction print pulseaudio pygrub python qemu-fast qt3 qt4 quicktime quotes radius rar rc5 rdesktop readline real realmedia reflection regex reiserfs rtc samba sample sasl screen sdl sensord server servletapi session sftp sharedmem skins slang slp smartcard smarty smbkrb5passwd smime smp smtp sockets socks5 sou spamassassin spell spl sql srp srt sse sse2 ssl startup-notification stream subp subtitles subversion svg svga sylpheed sysfs syslog taglib tagwriting tcpd tetex thesaurus threads threadsafe tidy tiff timidity tk tokenizer toolbar tools transcode truetype truetype-fonts type1-fonts underscores unicode unzip urandom usb user-homedirs userlocales vcd vhosts vim vim-pager vim-syntax visualization vlm vnc vncviewer vorbis vpopmail wavpack webdav widescreen wifi win32codecs winbind wireshark wma wmf wmp wxwindows x11vnc x264 x86 xanim xattr xcomposite xext xface xforms xine xinerama xml xorg xosd xpm xprint xrandr xscreensaver xv xvid xvmc xvnc yahoo zeroconf zip zlib zsh-completion" ALSA_CARDS="hda-intel usb-audio" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


net-libs/c-client-2004g is installed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-20 06:37:36 UTC
<snip>
configure: error: build test failed. Please check the config.log for details.
</snip>

We need the log.
Comment 2 Bryan Jacobs 2007-07-20 20:09:12 UTC
There was nothing interesting in build.log, but I'll attach it.

I believe the source of the problem is that a hunk failed to apply to ltmain.sh in elibtoolize.
Comment 3 Bryan Jacobs 2007-07-20 20:09:56 UTC
Created attachment 125496 [details]
build.log
Comment 4 Bryan Jacobs 2007-07-20 20:11:45 UTC
Created attachment 125497 [details]
elibtool.log

Eh?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-07-20 20:40:50 UTC
Well, no. We need *config*.log, not the above ones.
Comment 6 Bryan Jacobs 2007-07-20 22:01:44 UTC
Sorry, was confused by message saying to include the contents of build.log in bug report.

Reading config.log, the problem was that curl needed to be rebuilt against new shared library version.  Fixed.

Sorry for wasting your time.