Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230896 - stabilise dev-php5/pecl-imagick-2.1.1 [was: dev-php5/pecl-imagick-2.0.1 doesn't recompile]
Summary: stabilise dev-php5/pecl-imagick-2.1.1 [was: dev-php5/pecl-imagick-2.0.1 doesn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-07-05 21:41 UTC by Christophe PEREZ
Modified: 2008-07-06 17:13 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 Christophe PEREZ 2008-07-05 21:41:54 UTC
After updating my server, revep-rebuild make me recompile pecl-imagick, but it doesn't compile anymore :

>>> Unpacking source...
>>> Unpacking imagick-2.0.1.tgz to /var/tmp/portage/dev-php5/pecl-imagick-2.0.1/work
 *
 * Using dev-lang/php-5.2.6_rc4
 *
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
 * Running eautoreconf in '/var/tmp/portage/dev-php5/pecl-imagick-2.0.1/work/imagick-2.0.1' ...
 * Running aclocal ...                                                                                                           [ ok ]
 * Running libtoolize --copy --force ...                                                                                         [ ok ]
 * Running aclocal ...                                                                                                           [ ok ]
 * Running autoconf ...                                                                                                          [ ok ]
 * Running autoheader ...                                                                                                        [ ok ]
 * Running elibtoolize in: imagick-2.0.1
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-php5/pecl-imagick-2.0.1/work/imagick-2.0.1 ...
 *
 * Using dev-lang/php-5.2.6_rc4
 *
 *
 * Using dev-lang/php-5.2.6_rc4
 *
 *
 * Using dev-lang/php-5.2.6_rc4
 *
 * econf: updating imagick-2.0.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating imagick-2.0.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/lib/php5 --with-php-config=/usr/lib/php5/bin/php-config --with-imagick=/usr --build=i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr/lib/php5
checking for PHP includes... -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
checking for PHP extension directory... /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/lib/php5/include/php
checking for re2c... re2c
checking for re2c version... 0.12.0 (ok)
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking for magick-wand.h header file... configure: error: Cannot locate header file magick-wand.h


Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.66GHz
Timestamp of tree: Sat, 05 Jul 2008 11:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/download/Linux/gentoo/portage"
FEATURES="buildsyspkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo  http://cudlug.cudenver.edu/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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://rsync.us.gentoo.org/gentoo-portage"
USE="a52 aac acl acpi alsa apache2 audiofile bash-completion bzip2 caps cdb cdparanoia cdr cli cracklib crypt ctype cups dedicated dvd dvdr dvdread encode exif fam ffmpeg flac foomaticdb ftp gd geoip gif iconv icq idn imagemagick imap imlib innodb iodbc ipv6 isdnlog jabber jbig jpeg lcms ldap lm_sensors mad maildir matroska mbox mcal midi mime mmx mng mp3 mpeg msn mudflap mysql mysqli ncurses nls nptl nptlonly odbc ogg openmp oscar pam pcre perl php png posix postgres ppds pppd prelude python readline reflection samba sasl scanner sdl session sharedext simplexml slang slp snmp speex spell spl sse sse2 ssl tcpd theora tiff truetype unicode usb v4l vhosts vorbis wmf x86 xml xsl xvid yahoo zlib" ALSA_CARDS="snd-intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Voge 2008-07-05 21:53:07 UTC
i did not make a recompile, but merge goes fine.
Comment 2 Christophe PEREZ 2008-07-05 21:57:53 UTC
We surely don't have exactly the same system.
All my system is up to date, except this error on revep-rebuild.

Do you have magick-wand.h ?
Provided by ?
Comment 3 David Voge 2008-07-05 22:50:38 UTC
(In reply to comment #2)
> We surely don't have exactly the same system.
> All my system is up to date, except this error on revep-rebuild.
> 
> Do you have magick-wand.h ?
> Provided by ?
> 

...
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/bin/MagickWand-config
checking for MagickWand.h header file... found in /usr/include/ImageMagick/wand/MagickWand.h
...
Comment 4 Christophe PEREZ 2008-07-05 22:54:09 UTC
(In reply to comment #3)
> checking for MagickWand.h header file... found in
> /usr/include/ImageMagick/wand/MagickWand.h
> ...
> 


which version of imagemagick ?

# equery l imagemagick
[ Searching for package 'imagemagick' in all categories among: ]
 * installed packages
[I--] [  ] media-gfx/imagemagick-6.4.0.6 (0)
Comment 5 Christophe PEREZ 2008-07-05 22:56:40 UTC
because this last version causes a lot of problems with others softs like transcode (in stable tree)...
Comment 6 Christophe PEREZ 2008-07-05 23:01:33 UTC
http://bugs.gentoo.org/show_bug.cgi?id=229953#c10
Comment 7 David Voge 2008-07-05 23:03:47 UTC
(In reply to comment #2)
> We surely don't have exactly the same system.

i had use 2.1.1 and not 2.0.1 like you. with 2.0.1 it dont work by me too, with same problem with the magick-wand.h.

> All my system is up to date, except this error on revep-rebuild.
> 

why you dont use dev-php5/pecl-imagick-2.1.1?

> Do you have magick-wand.h ?
> Provided by ?
> 

Comment 8 Christophe PEREZ 2008-07-05 23:09:28 UTC
(In reply to comment #7)
> i had use 2.1.1 and not 2.0.1 like you. with 2.0.1 it dont work by me too, with
> same problem with the magick-wand.h.

:-D
But I only speak about 2.0.1 like the subject tells !

> why you dont use dev-php5/pecl-imagick-2.1.1?

Because it's not in the stable tree ?

# equery l -p pecl-imagick
[ Searching for package 'pecl-imagick' in all categories among: ]
 * installed packages
[I--] [  ] dev-php5/pecl-imagick-2.0.1 (0)
 * Portage tree (/usr/portage)
[-P-] [M~] dev-php4/pecl-imagick-0.9.13 (0)
[-P-] [M~] dev-php5/pecl-imagick-2.1.1 (0)

;-)
Comment 9 Wormo (RETIRED) gentoo-dev 2008-07-06 00:11:32 UTC
Looks like it may be time for php team to stabilize pecl-imagick-2.1.1
Comment 10 GM 2008-07-06 01:25:05 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > checking for MagickWand.h header file... found in
> > /usr/include/ImageMagick/wand/MagickWand.h
> > ...
> > 
> 
> 
> which version of imagemagick ?
> 
> # equery l imagemagick
> [ Searching for package 'imagemagick' in all categories among: ]
>  * installed packages
> [I--] [  ] media-gfx/imagemagick-6.4.0.6 (0)
> 


With media-gfx/imagemagick-6.3.8.3-r1 
i can compile pecl-imagick-2.0.1 without any problems


Comment 11 Christophe PEREZ 2008-07-06 02:17:32 UTC
> With media-gfx/imagemagick-6.3.8.3-r1 
> i can compile pecl-imagick-2.0.1 without any problems

Possible... but that's not the last version in portage.
Comment 12 Christian Hoffmann (RETIRED) gentoo-dev 2008-07-06 10:23:55 UTC
Thanks for the report.
Arches, please test and stabilize:
=dev-php5/pecl-imagick-2.1.1
Target keywords: x86 amd64
Already done: amd64
Comment 13 Markus Meier gentoo-dev 2008-07-06 17:13:07 UTC
x86 stable, all arches done.