Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266729 - dev-php5/pecl-imagick-2.3.0_beta1 fails to emerge
Summary: dev-php5/pecl-imagick-2.3.0_beta1 fails to emerge
Status: VERIFIED NEEDINFO
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: 2009-04-19 07:37 UTC by gentoo
Modified: 2009-04-21 00:38 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 gentoo 2009-04-19 07:37:51 UTC
During a recent system update, dev-php5/pecl-imagick-2.3.0_beta1 fails to emerge:

i686-pc-linux-gnu-gcc -I. -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/include -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/main -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1 -I/usr/lib/php5/include/php -I/usr/lib/php5/include/php/main -I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/php/Zend -I/usr/lib/php5/include/php/ext -I/usr/lib/php5/include/php/ext/date/lib -I/usr/include/ImageMagick -I/usr/lib/php5/include/php -DHAVE_CONFIG_H -march=athlon -O2 -pipe -c /var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c  -fPIC -DPIC -o .libs/imagick_helpers.o
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c: In function 'php_imagick_validate_map':
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c:133: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c: In function 'initialize_imagick_constants':
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c:981: error: 'CosineEvaluateOperator' undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c:981: error: (Each undeclared identifier is reported only once
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c:981: error: for each function it appears in.)
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c:982: error: 'SineEvaluateOperator' undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick_helpers.c:983: error: 'AddModulusEvaluateOperator' undeclared (first use in this function)
make: *** [imagick_helpers.lo] Error 1
make: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -I. -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/include -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/main -I/var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1 -I/usr/lib/php5/include/php -I/usr/lib/php5/include/php/main -I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/php/Zend -I/usr/lib/php5/include/php/ext -I/usr/lib/php5/include/php/ext/date/lib -I/usr/include/ImageMagick -I/usr/lib/php5/include/php -DHAVE_CONFIG_H -march=athlon -O2 -pipe -c /var/tmp/portage/dev-php5/pecl-imagick-2.3.0_beta1/work/imagick-2.3.0b1/imagick.c  -fPIC -DPIC -o .libs/imagick.o
 *
 * ERROR: dev-php5/pecl-imagick-2.3.0_beta1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3692:  Called php-ext-pecl-r1_src_compile
 *             environment, line 2918:  Called php-ext-source-r1_src_compile
 *             environment, line 2950:  Called die
 * The specific snippet of code:
 *       emake || die "Unable to make code";
 *  The die message:
 *   Unable to make code


Reproducible: Always

Steps to Reproduce:
1emerge -uDtavk world





# emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/server, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_MP_1600+-with-glibc2.0
Timestamp of tree: Sat, 18 Apr 2009 10:45:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://eskimo.bway.net/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 cli cracklib crypt dri gdbm iconv ipv6 isdnlog ithreads mailwrapper midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl ssl sysfs tcpd threads truetype unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Hoffmann (RETIRED) gentoo-dev 2009-04-20 21:06:42 UTC
What version of imagemagick are you using? I guess it requires a more recent one and I missed the dep, as it compiled without problems on my system.
Comment 2 gentoo 2009-04-21 00:38:19 UTC
Im using the current stable imagemagick package, but I must have unmasked pecl-imagick a long time and forgotten about it. I removed the entry from my keywords file and all is well.