php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65748 Build failure: imagick_class.c: ‘tsrm_ls’ undeclared
Submitted: 2013-09-24 06:41 UTC Modified: 2013-09-24 07:40 UTC
From: niko dot sams at gmail dot com Assigned:
Status: Duplicate Package: imagick (PECL)
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: niko dot sams at gmail dot com
New email:
PHP Version: OS:

 

 [2013-09-24 06:41 UTC] niko dot sams at gmail dot com
Description:
------------
installing imagick 3.1.1 on travis ci fails:
https://travis-ci.org/vivid-planet/koala-framework#L23

pecl install imagick
downloading imagick-3.1.1.tgz ...
Starting to download imagick-3.1.1.tgz (93,080 bytes)
.....................done: 93,080 bytes
15 source files, building
WARNING: php_bin /home/travis/.phpenv/versions/5.3.26/bin/php appears to have a 
prefix ., but config variable php_prefix does not match
WARNING: php_bin /home/travis/.phpenv/versions/5.3.26/bin/php appears to have a 
suffix env/versions/5.3.26/bin/php, but config variable php_suffix does not 
match
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
Please provide the prefix of Imagemagick installation [autodetect] : building in 
/tmp/pear/temp/pear-build-travisGFFXGY/imagick-3.1.1
running: /tmp/pear/temp/imagick/configure --with-imagick
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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /home/travis/.phpenv/versions/5.3.26
checking for PHP includes... -I/home/travis/.phpenv/versions/5.3.26/include/php 
-I/home/travis/.phpenv/versions/5.3.26/include/php/main -
I/home/travis/.phpenv/versions/5.3.26/include/php/TSRM -
I/home/travis/.phpenv/versions/5.3.26/include/php/Zend -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext/date/lib
checking for PHP extension directory... 
/home/travis/.phpenv/versions/5.3.26/lib/php/extensions/no-debug-zts-20090626
checking for PHP installed headers prefix... 
/home/travis/.phpenv/versions/5.3.26/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking Imagagick MagickWand API configuration program... found in 
/usr/bin/MagickWand-config
checking if Imagagick version is at least 6.2.4... found version 6.6.9 Q16
checking for MagickWand.h header file... found in 
/usr/include/Imagagick/wand/MagickWand.h
checking PHP version is at least 5.1.3... yes. found 5.3.26
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-travisGFFXGY/imagick-3.1.1/libtool --
mode=compile cc -I/usr/include/Imagagick -fopenmp -I/usr/include -I. -
I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/include -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/main -I/tmp/pear/temp/imagick -
I/home/travis/.phpenv/versions/5.3.26/include/php -
I/home/travis/.phpenv/versions/5.3.26/include/php/main -
I/home/travis/.phpenv/versions/5.3.26/include/php/TSRM -
I/home/travis/.phpenv/versions/5.3.26/include/php/Zend -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext/date/lib -
I/usr/include/Imagagick  -DHAVE_CONFIG_H  -g -O2   -c 
/tmp/pear/temp/imagick/imagick_file.c -o imagick_file.lo
mkdir .libs
 cc -I/usr/include/Imagagick -fopenmp -I/usr/include -I. -
I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/include -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/main -I/tmp/pear/temp/imagick -
I/home/travis/.phpenv/versions/5.3.26/include/php -
I/home/travis/.phpenv/versions/5.3.26/include/php/main -
I/home/travis/.phpenv/versions/5.3.26/include/php/TSRM -
I/home/travis/.phpenv/versions/5.3.26/include/php/Zend -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext/date/lib -
I/usr/include/Imagagick -DHAVE_CONFIG_H -g -O2 -c 
/tmp/pear/temp/imagick/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
/bin/bash /tmp/pear/temp/pear-build-travisGFFXGY/imagick-3.1.1/libtool --
mode=compile cc -I/usr/include/Imagagick -fopenmp -I/usr/include -I. -
I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/include -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/main -I/tmp/pear/temp/imagick -
I/home/travis/.phpenv/versions/5.3.26/include/php -
I/home/travis/.phpenv/versions/5.3.26/include/php/main -
I/home/travis/.phpenv/versions/5.3.26/include/php/TSRM -
I/home/travis/.phpenv/versions/5.3.26/include/php/Zend -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext/date/lib -
I/usr/include/Imagagick  -DHAVE_CONFIG_H  -g -O2   -c 
/tmp/pear/temp/imagick/imagick_class.c -o imagick_class.lo
 cc -I/usr/include/Imagagick -fopenmp -I/usr/include -I. -
I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/include -I/tmp/pear/temp/pear-build-
travisGFFXGY/imagick-3.1.1/main -I/tmp/pear/temp/imagick -
I/home/travis/.phpenv/versions/5.3.26/include/php -
I/home/travis/.phpenv/versions/5.3.26/include/php/main -
I/home/travis/.phpenv/versions/5.3.26/include/php/TSRM -
I/home/travis/.phpenv/versions/5.3.26/include/php/Zend -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext -
I/home/travis/.phpenv/versions/5.3.26/include/php/ext/date/lib -
I/usr/include/Imagagick -DHAVE_CONFIG_H -g -O2 -c 
/tmp/pear/temp/imagick/imagick_class.c  -fPIC -DPIC -o .libs/imagick_class.o
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_getimagematte’:
/tmp/pear/temp/imagick/imagick_class.c:276:2: warning: ‘MagickGetImagatte’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:82) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_paintfloodfillimage’:
/tmp/pear/temp/imagick/imagick_class.c:1034:3: warning: 
‘MagickPaintFloodfillImage’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:99) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c:1037:3: warning: 
‘MagickPaintFloodfillImage’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:99) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_recolorimage’:
/tmp/pear/temp/imagick/imagick_class.c:1420:2: warning: ‘MagickRecolorImage’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:109) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_colorfloodfillimage’:
/tmp/pear/temp/imagick/imagick_class.c:3423:2: warning: 
‘MagickColorFloodfillImage’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:75) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_mapimage’:
/tmp/pear/temp/imagick/imagick_class.c:3763:2: warning: ‘MagickMapImage’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:86) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_mattefloodfillimage’:
/tmp/pear/temp/imagick/imagick_class.c:3796:2: warning: 
‘MagickMatteFloodfillImage’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:88) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_medianfilterimage’:
/tmp/pear/temp/imagick/imagick_class.c:3823:2: warning: 
‘MagickMedianFilterImage’ is deprecated (declared at 
/usr/include/Imagagick/wand/magick-image.h:212) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_paintopaqueimage’:
/tmp/pear/temp/imagick/imagick_class.c:3886:2: warning: 
‘MagickPaintOpaqueImageChannel’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:104) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_painttransparentimage’:
/tmp/pear/temp/imagick/imagick_class.c:3949:2: warning: 
‘MagickPaintTransparentImage’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:107) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_reducenoiseimage’:
/tmp/pear/temp/imagick/imagick_class.c:4092:2: warning: ‘MagickReduceNoiseImage’ 
is deprecated (declared at /usr/include/Imagagick/wand/magick-image.h:260) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_getimageattribute’:
/tmp/pear/temp/imagick/imagick_class.c:5101:2: warning: 
‘MagickGetImageAttribute’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:59) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_getimagechannelextrema’:
/tmp/pear/temp/imagick/imagick_class.c:5288:2: warning: 
‘MagickGetImageChannelExtrema’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:78) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_getimageextrema’:
/tmp/pear/temp/imagick/imagick_class.c:5542:2: warning: ‘MagickGetImageExtrema’ 
is deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:80) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_getimageindex’:
/tmp/pear/temp/imagick/imagick_class.c:6383:2: warning: ‘MagickGetImageIndex’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:65) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_setimageindex’:
/tmp/pear/temp/imagick/imagick_class.c:6408:2: warning: ‘MagickSetImageIndex’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:113) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_getimagesize’:
/tmp/pear/temp/imagick/imagick_class.c:6486:2: warning: ‘MagickGetImageSize’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:140) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘s_add_assoc_str’:
/tmp/pear/temp/imagick/imagick_class.c:6636:5: warning: passing argument 4 of 
‘add_assoc_string_ex’ discards ‘const’ qualifier from pointer target type 
[enabled by default]
/home/travis/.phpenv/versions/5.3.26/include/php/Zend/zend_API.h:367:14: note: 
expected ‘char *’ but argument is of type ‘const char *’
/tmp/pear/temp/imagick/imagick_class.c: In function ‘s_add_named_strings’:
/tmp/pear/temp/imagick/imagick_class.c:6672:63: error: ‘tsrm_ls’ undeclared 
(first use in this function)
/tmp/pear/temp/imagick/imagick_class.c:6672:63: note: each undeclared identifier 
is reported only once for each function it appears in
/tmp/pear/temp/imagick/imagick_class.c: In function 
‘zim_imagick_setimageattribute’:
/tmp/pear/temp/imagick/imagick_class.c:6844:2: warning: 
‘MagickSetImageAttribute’ is deprecated (declared at 
/usr/include/Imagagick/wand/deprecate.h:111) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_flattenimages’:
/tmp/pear/temp/imagick/imagick_class.c:7091:2: warning: ‘MagickFlattenImages’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:132) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_averageimages’:
/tmp/pear/temp/imagick/imagick_class.c:8137:2: warning: ‘MagickAverageImages’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:131) [-
Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function ‘zim_imagick_mosaicimages’:
/tmp/pear/temp/imagick/imagick_class.c:8576:2: warning: ‘MagickMosaicImages’ is 
deprecated (declared at /usr/include/Imagagick/wand/deprecate.h:135) [-
Wdeprecated-declarations]
make: *** [imagick_class.lo] Error 1
ERROR: `make' failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-09-24 07:40 UTC] mkoppanen@php.net
-Status: Open +Status: Duplicate
 [2013-09-24 07:40 UTC] mkoppanen@php.net
There is already an issue open regarding this. Will try to get new release today
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC