It is tried to run phpize from outside the prefix. /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/temp/environment: line 3200: /usr/lib/php5.4/bin/phpize: No such file or directory rm: cannot remove ?aclocal.m4?: No such file or directory Then, emerging stops with message: * ERROR: dev-php/pecl-imagick-3.1.0_rc2::gentoo_prefix failed (prepare phase): * Failed Running aclocal ! Content of /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/temp/aclocal.out * ***** aclocal ***** ***** PWD: /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/work/php5.4 ***** aclocal aclocal-1.12: error: 'configure.ac' is required emerge -pqv '=dev-php/pecl-imagick-3.1.0_rc2::gentoo_prefix' !!! Problem with sandbox binary. Disabling... [ebuild N ] dev-php/pecl-imagick-3.1.0_rc2 USE="-examples" PHP_TARGETS="php5-4 -php5-3 -php5-5" bash-3.2$ emerge --info '=dev-php/pecl-imagick-3.1.0_rc2::gentoo_prefix' !!! Your current profile is deprecated and not supported anymore. !!! Use eselect profile to update your profile. !!! Please upgrade to the following profile if possible: default/linux/amd64/13.0/no-multilib You may use the following command to upgrade: eselect profile set default/linux/amd64/13.0/no-multilib Portage 2.2.01.22288-prefix (prefix/linux/amd64, gcc-4.7.2, unavailable, 2.6.18-274.12.1.2.MI.el5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.18-274.12.1.2.MI.el5-x86_64-Intel-R-_Xeon-R-_CPU_X5570_@_2.93GHz-with-redhat-5.6-Tikanga KiB Mem: 98860000 total, 10861460 free KiB Swap: 209720532 total, 209719988 free Timestamp of tree: Thu, 15 Aug 2013 19:06:02 +0000 ld GNU ld (GNU Binutils) 2.23 app-shells/bash: 4.2_p39-r1 dev-lang/python: 2.7.5, 3.2.3-r2, 3.3.2 dev-util/cmake: 2.8.11.1 dev-util/pkgconfig: 0.28 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.4 sys-devel/binutils: 2.23 sys-devel/gcc: 4.2.4-r01.4, 4.7.2-r1 sys-devel/gcc-config: 1.8-r00.1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) Repositories: gentoo_prefix ACCEPT_KEYWORDS="~amd64-linux" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/opt/gent0001/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" PKGDIR="/opt/gent0001/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gent0001/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/opt/gent0001/var/tmp" PORTDIR="/opt/gent0001/usr/portage" PORTDIR_OVERLAY="" USE="amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap ncurses nls nptl openmp pcre prefix readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON Content of build.log : [32;01m * [39;49;00mPackage: dev-php/pecl-imagick-3.1.0_rc2 [32;01m * [39;49;00mRepository: gentoo_prefix [32;01m * [39;49;00mMaintainer: php-bugs@gentoo.org [32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux php_targets_php5-4 prefix userland_GNU [32;01m * [39;49;00mFEATURES: preserve-libs userpriv usersandbox >>> Unpacking source... >>> Unpacking imagick-3.1.0RC2.tgz to /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/work >>> Source unpacked in /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/work >>> Preparing source in /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/work/imagick-3.1.0RC2 ... [32;01m*[0m Applying remove-header-check.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/temp/environment: line 3201: /usr/lib/php5.4/bin/phpize: No such file or directory rm: cannot remove aclocal.m4 : No such file or directory [32;01m*[0m Running eautoreconf in '/opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/work/php5.4' ... egrep: configure.??: No such file or directory egrep: configure.??: No such file or directory egrep: configure.??: No such file or directory egrep: configure.??: No such file or directory egrep: configure.??: No such file or directory egrep: configure.??: No such file or directory [32;01m*[0m Running aclocal ... [A[72C [34;01m[ [31;01m!![34;01m ][0m [31;01m*[0m Failed Running aclocal ! [31;01m*[0m [31;01m*[0m Include in your bugreport the contents of: [31;01m*[0m [31;01m*[0m /opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/temp/aclocal.out [31;01m*[0m ERROR: dev-php/pecl-imagick-3.1.0_rc2::gentoo_prefix failed (prepare phase): [31;01m*[0m Failed Running aclocal ! [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 93: Called call-ebuildshell 'src_prepare' [31;01m*[0m environment, line 832: Called src_prepare [31;01m*[0m environment, line 3569: Called php-ext-source-r2_src_prepare [31;01m*[0m environment, line 3252: Called php-ext-source-r2_phpize [31;01m*[0m environment, line 3203: Called eautoreconf [31;01m*[0m environment, line 1016: Called eaclocal [31;01m*[0m environment, line 919: Called autotools_run_tool '--at-m4flags' 'aclocal' [31;01m*[0m environment, line 748: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m die "Failed Running $1 !"; [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=dev-php/pecl-imagick-3.1.0_rc2::gentoo_prefix'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-php/pecl-imagick-3.1.0_rc2::gentoo_prefix'`. /opt/gent0001/usr/lib/portage/bin/isolated-functions.sh: line 188: wait: `Failed Running aclocal !': not a pid or valid job spec [31;01m*[0m The complete build log is located at '/opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/temp/environment'. [31;01m*[0m Working directory: '/opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/work/php5.4' [31;01m*[0m S: '/opt/gent0001/var/tmp/portage/dev-php/pecl-imagick-3.1.0_rc2/work/imagick-3.1.0RC2'
This should be fixed in 852a595a2 using =dev-php/pecl-imagick-3.3.0_rc2.