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

Bug 109544

Summary: dev-lang/php-5.1.0_rc2 fails with: Can't open the template file "lempar.c".
Product: Gentoo Linux Reporter: Markus Tacker <m>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Tacker 2005-10-17 02:28:43 UTC
This happens on two machines with an identical setup.

...
/bin/sh /var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/sqlite/libsqlite/src  -Iext/sqlite/
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/sqlite/ -DPHP_ATOM_INC
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/include
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/main
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2 -I/usr/include/libxml2
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/date/lib
-I/usr/include/freetype2 -I/usr/include/imap
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/mbstring/oniguruma
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/mbstring/libmbfl
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/TSRM
-I/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/Zend    -march=athlon-xp -O3
-pipe -fomit-frame-pointer  -c
/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/sqlite/libsqlite/src/opcodes.c
-o ext/sqlite/libsqlite/src/opcodes.lo
lemon
/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/sqlite/libsqlite/src/parse.y 
Can't open the template file "lempar.c".
make: ***
[/var/tmp/portage/php-5.1.0_rc2/work/php-5.1.0RC2/ext/sqlite/libsqlite/src/parse.c]
Error 1
make: *** Waiting for unfinished jobs....

# cat /etc/portage/package.use
dev-lang/php -* apache2 cli curl gd mysql vhosts mmx sse ldap dba ftp mime
session soap sockets tidy wddx xmlrpc mpm-worker ctype calendar inifile pcntl
simplexml xsl pic bcmath tokenizer spl sqlite pear png zlib imap jpeg ssl zip
truetype nls pcre xml2

# emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Duron(tm)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-php-overlay/for-portage
/usr/local/gentoo-php-overlay/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext apache2 apm avi berkdb bitmap-fonts crypt curl eds
emboss encode foomaticdb fortran gd gdbm gif gpm gstreamer imagemagick imap
imlib jpeg ldap libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg mysql ncurses
nls ogg oggvorbis pam pdflib perl png python quicktime readline samba sasl slang
spell sqlite sse ssl tcpd tiff truetype truetype-fonts type1-fonts vhosts vorbis
xml2 xmms zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-10-18 07:38:11 UTC
The problem is known and will be fixed upstream.
See http://svn.gnqs.org/projects/gentoo-php-overlay/ticket/65 and
http://svn.gnqs.org/projects/gentoo-php-overlay/ticket/66 for more infos.
We won't update the RC3 ebuild to fix this but wait for the next RC release, and
please don't submit bugs for ebuilds _only_ available in the PHP overlay to the
Gentoo bugzilla, but use the Ticket-System on
http://svn.gnqs.org/projects/gentoo-php-overlay/, thanks.
Best regards, CHTEKK.
Comment 2 Markus Tacker 2005-10-18 10:27:16 UTC
Ok, thanks.