php-5.0.5-r1 fails to build with error: * Applying php5.0.5-obj-serialize.patch ... [ ok ] sed: can't read configure: No such file or directory sed: can't read configure: No such file or directory * Applying php5_soap_persistence_session.diff ... * Failed Patch: php5_soap_persistence_session.diff ! * ( /usr/portage/dev-lang/php/files/5.1.0/php5_soap_persistence_session.diff ) * * Include in your bugreport the contents of: * * /var/portage/tmp/portage/php-5.0.5-r1/temp/php5_soap_persistence_session. diff-26447.out my emerge info: Portage 1.589-cvs (default-linux/x86/2004.2/gcc34/2.6, gcc-4.0.1, glibc-2.3.5- r1, 2.6.13-VBE_3.0-MPPE_1.3-PINK i686) ================================================================= System uname: 2.6.13-VBE_3.0-MPPE_1.3-PINK i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.13 Python: dev-lang/python-2.3.5,dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun 20 2005, 02:22:35)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache: No such file or directory [disabled] dev-lang/python: 2.3.5, 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.7.9-r1, 1.5, 1.9.6, 1.6.3, 1.8.5-r3 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -pipe -ffast-math -DNDEBUG - DG_DISABLE_ASSERT -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/ share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb / usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -pipe -ffast-math -DNDEBUG - DG_DISABLE_ASSERT" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig collision-protect cvs digest distlocks fixpackages parallel-fetch sandbox sfperms spinner strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl/ #http://gentoo.prz.rzeszow.pl http: //src.gentoo.pl/distfiles http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni- erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/ gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.easynet.nl/mirror/ gentoo/ #http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.inode.at/ ftp://ftp.rhnet.is/pub/gentoo/ http://www.ibiblio.org/gentoo/" LANG="en_US" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local /home/mkay/gentoo-cvs/gentoo-x86" SYNC="rsync://rsync.gentoo.pl/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa amarok apache2 arts avi bash-completion bitmap-fonts cdr cpudetection crypt cups divx4linux dvd dvdr eds emboss encode extraicons extramodules fam fbcon fla flac font-server fortran gd gif glut gpgme gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib imlib2 java javascript jikes jpeg jpeg2k junit kdeenablefinal lcms ldap libwww lm_sensors mad mailwrapper mbox memlimit mikmod mmx mmxext motif mp3 mpeg mysql ncurses nls nocardbus nptl nvidia ogg oggvorbis opengl oss pam pda perl png ppds python qt quicktime readline real samba sasl scanner sdl serial slang speex sqlite sse ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 videos vim-with-x vorbis win32codecs wmf xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS Config files: /etc/make.conf, /etc/portage/package.mask, /etc/portage/package. unmask, /etc/portage/package.keywords, /etc/portage/package.env, /etc/portage/ profile/virtuals
Created attachment 69119 [details] /var/portage/tmp/portage/php-5.0.5-r1/temp/php5_soap_persistence_session.diff-26447.out
Use the latest stable Portage, the PHP team cannot and will not support CVS versions of Portage. This is not the first bug in wich CVS versions don't (correctly) define variables in the Portage environment and thus the build of PHP fails. Best regards, CHTEKK.
i've got the same problem with portage 2.0.52-r1
A failed patch being applied is hard to pawn off on portage-2.1 guys :)
Hmm I can't reproduce this with Portage 2.0.52-r1 and Sandbox 1.2.13... Are you sure your Portage tree is correct and not corrupted somewhere? Did you try to emerge sync again? If yes, try to apply the attached patch to /usr/portage/eclass/php5_0-sapi.eclass, this will not fix the problem but help us debug it. If it fails again, post please as an attachment (text file is good) all the emerge output till the point where the patching fails, thanks. Best regards, CHTEKK.
Created attachment 69125 [details] Patch to help debug the error.
Re-assign.
ok, this one is invalid. i had cvs tree set as overlay for a while, and some older (i suppose) version of php5_0-sapi.eclass was sourced instead of correct one from the tree. sorry bothering you...