Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141792 - phpize from dev-lang/php-5.1.4-r4 do not work with sys-devel/autoconf-2.59-r7
Summary: phpize from dev-lang/php-5.1.4-r4 do not work with sys-devel/autoconf-2.59-r7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 05:55 UTC by MT
Modified: 2008-10-28 14:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2006-07-26 05:55:59 UTC
after upgrading php to the lastest dev-lang/php-5.1.4-r4, phpize is no more able to use correctly sys-devel/autoconf-2.59-r7:

# pecl install runkit
downloading runkit-0.9.tgz ...
Starting to download runkit-0.9.tgz (49,807 bytes)
.........done: 49,807 bytes
14 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
/usr/bin/phpize: /tmp/pear/cache/runkit-0.9/build/shtool: /bin/sh: bad interpreter: Permission denied
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

ERROR: `phpize' failed


this problem happen only with the hardened gentoo profile, with the normal 2006.0 profile all work perfectly.

my infos:
Portage 2.1-r1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11 i686)
=================================================================
System uname: 2.6.16-hardened-r11 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fno-ident -fomit-frame-pointer -momit-leaf-frame-pointer -fforce-addr -fweb -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fno-ident -fomit-frame-pointer -momit-leaf-frame-pointer -fforce-addr -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks fixpackages metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources http://gentoo.ngi.it/"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage//packages/x86/"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi apache2 attr authdaemond bash-completion berkdb bzip2 chroot crypt dba dlloader dmapi enscript exif fastcgi gd gif hardened imagemagick imap jpeg kerberos maildir mmap mysql nls nptl nptlonly odbc pam pam_chroot perl php pic pie png postgres pwdb python qmail readline ruby samba sensord spamassassin ssl tiff truetype unicode userlocales ut8 valias vhost vhosts x86 xml xml2 xmlrpc xorg zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2007-03-05 17:53:38 UTC
Works perfectly for me on dev-lang/php-5.1.6-r11 and dev-lang/php-5.2.1-r3, which introduce various fixes for modules emerge.
Best regards, CHTEKK.
Comment 2 Stephan Dale 2008-10-28 14:31:55 UTC
Thought I'd add a comment for anyone visiting this page in the future. The permission denied error is likely due to execute restrictions on /tmp. Remount with exec,suid and all should be fine.

mount -o remount,exec,suid /tmp