---------- Forwarded Message ---------- Subject: Bug#833702: php5-exactimage: Duplicate function names between ExactImage and GD Date: Montag, 8. August 2016, 14:13:43 CEST From: bohwaz <[email protected]> To: Debian Bug Tracking System <[email protected]>
Package: php5-exactimage
Version: 0.8.9-7+deb8u2
Severity: normal
When you try to load both GD and ExactImage with PHP you get:
PHP Warning: Function registration failed - duplicate name - imagerotate in
Command line code on line 1
Warning: Function registration failed - duplicate name - imagerotate in Command
line code on line 1
PHP Warning: Function registration failed - duplicate name - imagecrop in
Command line code on line 1
Warning: Function registration failed - duplicate name - imagecrop in Command
line code on line 1
PHP Warning: Function registration failed - duplicate name - imagescale in
Command line code on line 1
Warning: Function registration failed - duplicate name - imagescale in Command
line code on line 1
PHP Warning: gd: Unable to register functions, unable to load in Unknown on
line 0
Warning: gd: Unable to register functions, unable to load in Unknown on line 0
To test:
$ php -d enable_dl=1 -r 'dl("ExactImage.so"); dl("gd.so");'
ExactImage should use its own namespace or classname (like
ExactImage::imageRotate() etc.) to avoid this.
Not sure if this is something that should be reported upstream too.
-- System Information:
Debian Release: 8.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages php5-exactimage depends on:
ii libc6 2.19-18+deb8u4
ii libexpat1 2.1.0-6+deb8u3
ii libfreetype6 2.5.2-3+deb8u1
ii libgcc1 1:4.9.2-10
ii libgif4 4.1.6-11+deb8u1
ii libgomp1 4.9.2-10
ii libilmbase6 1.0.1-6.1
ii libjasper1 1.900.1-debian1-2.4+deb8u1
ii libjpeg62-turbo 1:1.3.1-12
ii libopenexr6 1.6.1-8
ii libpng12-0 1.2.50-2+deb8u2
ii libstdc++6 4.9.2-10
ii libtiff5 4.0.3-12.3+deb8u1
ii php5-common [phpapi-20131226] 5.6.24+dfsg-0+deb8u1
ii zlib1g 1:1.2.8.dfsg-2+b1
php5-exactimage recommends no packages.
php5-exactimage suggests no packages.
-- no debconf information
-----------------------------------------
signature.asc
Description: This is a digitally signed message part.
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe exact-image
