Debian Bug report logs - #843386
php7.0-gd: wrong libwebp dependency

version graph

Package: php7.0-gd; Maintainer for php7.0-gd is (unknown);

Reported by: Samuele Battarra <battarsa@libero.it>

Date: Sun, 6 Nov 2016 11:12:01 UTC

Severity: normal

Found in version php7.0/7.0.12-1

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#843386; Package php7.0-gd. (Sun, 06 Nov 2016 11:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Samuele Battarra <battarsa@libero.it>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sun, 06 Nov 2016 11:12:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Samuele Battarra <battarsa@libero.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php7.0-gd: wrong libwebp dependency
Date: Sun, 06 Nov 2016 12:09:04 +0100
Package: php7.0-gd
Version: 7.0.12-1
Severity: normal

Dear Maintainer,

every time I run php or sessionclean is run from cron, I get this error:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/gd.so' - libwebp.so.5: cannot open shared object file: No such file or directory in Unknown on line 0

the problem is than php7.0-gd depends only on libwebp6, but uses also libwebp5

$ ldd /usr/lib/php/20151012/gd.so | grep libwebp
libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f3f2c439000)
libwebp.so.5 => not found

installing package libwebp5 solve the problem                

-- Package-specific info:
==== Additional PHP 7.0 information ====

++++ PHP @PHP_VERSION SAPI (php7.0query -S): ++++

++++ PHP 7.0 Extensions (php7.0query -M -v): ++++

++++ Configuration files: ++++
**** /etc/php/7.0/mods-available/gd.ini ****
extension=gd.so


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php7.0-gd depends on:
ii  libc6            2.24-5
ii  libfreetype6     2.6.3-3+b1
ii  libgd3           2.2.3-3+b1
ii  libjpeg62-turbo  1:1.5.1-2
ii  libpng16-16      1.6.25-2
ii  libwebp6         0.5.1-2
ii  libx11-6         2:1.6.3-1
ii  libxpm4          1:3.5.11-1+b1
ii  php-common       1:45
ii  php7.0-common    7.0.12-1
ii  ucf              3.0036
ii  zlib1g           1:1.2.8.dfsg-2+b3

php7.0-gd recommends no packages.

php7.0-gd suggests no packages.

Versions of packages php7.0-common depends on:
ii  libc6        2.24-5
ii  libssl1.0.2  1.0.2j-1
ii  php-common   1:45
ii  ucf          3.0036

Versions of packages php7.0-cli depends on:
ii  libc6            2.24-5
ii  libedit2         3.1-20150325-1+b1
ii  libmagic1        1:5.29-1
ii  libpcre3         2:8.39-2
ii  libssl1.0.2      1.0.2j-1
ii  libxml2          2.9.4+dfsg1-2.1
ii  mime-support     3.60
ii  php7.0-common    7.0.12-1
ii  php7.0-json      7.0.12-1
ii  php7.0-opcache   7.0.12-1
ii  php7.0-readline  7.0.12-1
ii  tzdata           2016h-1
ii  ucf              3.0036
ii  zlib1g           1:1.2.8.dfsg-2+b3

Versions of packages php7.0-cli suggests:
pn  php-pear  <none>

Versions of packages libapache2-mod-php7.0 depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.23-5
ii  libc6                               2.24-5
ii  libmagic1                           1:5.29-1
ii  libpcre3                            2:8.39-2
ii  libssl1.0.2                         1.0.2j-1
ii  libxml2                             2.9.4+dfsg1-2.1
ii  mime-support                        3.60
ii  php7.0-cli                          7.0.12-1
ii  php7.0-common                       7.0.12-1
ii  php7.0-json                         7.0.12-1
ii  php7.0-opcache                      7.0.12-1
ii  tzdata                              2016h-1
ii  ucf                                 3.0036
ii  zlib1g                              1:1.2.8.dfsg-2+b3

Versions of packages libapache2-mod-php7.0 recommends:
ii  apache2  2.4.23-5

Versions of packages libapache2-mod-php7.0 suggests:
pn  php-pear  <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#843386; Package php7.0-gd. (Sun, 06 Nov 2016 15:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sun, 06 Nov 2016 15:15:02 GMT) (full text, mbox, link).


Message #10 received at 843386@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: Samuele Battarra <battarsa@libero.it>, 843386@bugs.debian.org
Subject: Re: [php-maint] Bug#843386: php7.0-gd: wrong libwebp dependency
Date: Sun, 06 Nov 2016 16:13:02 +0100
Strange, it doesn't exhibit on my system:

ondrej@komorebi:~$ ldd /usr/lib/php/20151012/gd.so | grep webp
	libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6
	(0x00007f7a085dd000)
ondrej@komorebi:~$ sha256sum /usr/lib/php/20151012/gd.so
31a113c71efc66abe161f3034cf0c4a89aad3575d8df25c6c17b1186179b952d 
/usr/lib/php/20151012/gd.so

Are you sure the modules comes from the package?
apt-get install debsums
debsums php7.0-gd

?

Cheers,
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Sun, Nov 6, 2016, at 12:09, Samuele Battarra wrote:
> Package: php7.0-gd
> Version: 7.0.12-1
> Severity: normal
> 
> Dear Maintainer,
> 
> every time I run php or sessionclean is run from cron, I get this error:
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/20151012/gd.so' - libwebp.so.5: cannot open shared object
> file: No such file or directory in Unknown on line 0
> 
> the problem is than php7.0-gd depends only on libwebp6, but uses also
> libwebp5
> 
> $ ldd /usr/lib/php/20151012/gd.so | grep libwebp
> libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6
> (0x00007f3f2c439000)
> libwebp.so.5 => not found
> 
> installing package libwebp5 solve the problem                
> 
> -- Package-specific info:
> ==== Additional PHP 7.0 information ====
> 
> ++++ PHP @PHP_VERSION SAPI (php7.0query -S): ++++
> 
> ++++ PHP 7.0 Extensions (php7.0query -M -v): ++++
> 
> ++++ Configuration files: ++++
> **** /etc/php/7.0/mods-available/gd.ini ****
> extension=gd.so
> 
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (900, 'testing'), (500, 'stable-updates'), (500,
>   'unstable'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages php7.0-gd depends on:
> ii  libc6            2.24-5
> ii  libfreetype6     2.6.3-3+b1
> ii  libgd3           2.2.3-3+b1
> ii  libjpeg62-turbo  1:1.5.1-2
> ii  libpng16-16      1.6.25-2
> ii  libwebp6         0.5.1-2
> ii  libx11-6         2:1.6.3-1
> ii  libxpm4          1:3.5.11-1+b1
> ii  php-common       1:45
> ii  php7.0-common    7.0.12-1
> ii  ucf              3.0036
> ii  zlib1g           1:1.2.8.dfsg-2+b3
> 
> php7.0-gd recommends no packages.
> 
> php7.0-gd suggests no packages.
> 
> Versions of packages php7.0-common depends on:
> ii  libc6        2.24-5
> ii  libssl1.0.2  1.0.2j-1
> ii  php-common   1:45
> ii  ucf          3.0036
> 
> Versions of packages php7.0-cli depends on:
> ii  libc6            2.24-5
> ii  libedit2         3.1-20150325-1+b1
> ii  libmagic1        1:5.29-1
> ii  libpcre3         2:8.39-2
> ii  libssl1.0.2      1.0.2j-1
> ii  libxml2          2.9.4+dfsg1-2.1
> ii  mime-support     3.60
> ii  php7.0-common    7.0.12-1
> ii  php7.0-json      7.0.12-1
> ii  php7.0-opcache   7.0.12-1
> ii  php7.0-readline  7.0.12-1
> ii  tzdata           2016h-1
> ii  ucf              3.0036
> ii  zlib1g           1:1.2.8.dfsg-2+b3
> 
> Versions of packages php7.0-cli suggests:
> pn  php-pear  <none>
> 
> Versions of packages libapache2-mod-php7.0 depends on:
> ii  apache2-bin [apache2-api-20120211]  2.4.23-5
> ii  libc6                               2.24-5
> ii  libmagic1                           1:5.29-1
> ii  libpcre3                            2:8.39-2
> ii  libssl1.0.2                         1.0.2j-1
> ii  libxml2                             2.9.4+dfsg1-2.1
> ii  mime-support                        3.60
> ii  php7.0-cli                          7.0.12-1
> ii  php7.0-common                       7.0.12-1
> ii  php7.0-json                         7.0.12-1
> ii  php7.0-opcache                      7.0.12-1
> ii  tzdata                              2016h-1
> ii  ucf                                 3.0036
> ii  zlib1g                              1:1.2.8.dfsg-2+b3
> 
> Versions of packages libapache2-mod-php7.0 recommends:
> ii  apache2  2.4.23-5
> 
> Versions of packages libapache2-mod-php7.0 suggests:
> pn  php-pear  <none>
> 
> -- no debconf information
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#843386; Package php7.0-gd. (Mon, 07 Nov 2016 20:45:06 GMT) (full text, mbox, link).


Acknowledgement sent to "battarsa@libero.it" <battarsa@libero.it>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 07 Nov 2016 20:45:06 GMT) (full text, mbox, link).


Message #15 received at 843386@bugs.debian.org (full text, mbox, reply):

From: "battarsa@libero.it" <battarsa@libero.it>
To: 843386@bugs.debian.org, Ondřej Surý <ondrej@sury.org>
Subject: Re: [php-maint] Bug#843386: php7.0-gd: wrong libwebp dependency
Date: Mon, 7 Nov 2016 21:42:17 +0100 (CET)
[Message part 1 (text/plain, inline)]
> Strange, it doesn't exhibit on my system:
> 
> ondrej@komorebi:~$ ldd /usr/lib/php/20151012/gd.so | grep webp
>	libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6
> 	(0x00007f7a085dd000)
> ondrej@komorebi:~$ sha256sum /usr/lib/php/20151012/gd.so
> 31a113c71efc66abe161f3034cf0c4a89aad3575d8df25c6c17b1186179b952d 
> /usr/lib/php/20151012/gd.so
> 
> Are you sure the modules comes from the package?
> apt-get install debsums
> debsums php7.0-gd
I did some checks, I found the dependecy to be indirect from libgd3.so.3,and the file was corrupted, reinstalling libgd3 solves the problem.
[Message part 2 (text/html, inline)]

Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Tue, 08 Nov 2016 09:09:08 GMT) (full text, mbox, link).


Notification sent to Samuele Battarra <battarsa@libero.it>:
Bug acknowledged by developer. (Tue, 08 Nov 2016 09:09:09 GMT) (full text, mbox, link).


Message #20 received at 843386-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: 843386-done@bugs.debian.org
Subject: Re: [php-maint] Bug#843386: Bug#843386: php7.0-gd: wrong libwebp dependency
Date: Tue, 08 Nov 2016 10:05:35 +0100

-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Mon, Nov 7, 2016, at 21:42, battarsa@libero.it wrote:
> > Strange, it doesn't exhibit on my system:
> > 
> > ondrej@komorebi:~$ ldd /usr/lib/php/20151012/gd.so | grep webp
> >	libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6
> > 	(0x00007f7a085dd000)
> > ondrej@komorebi:~$ sha256sum /usr/lib/php/20151012/gd.so
> > 31a113c71efc66abe161f3034cf0c4a89aad3575d8df25c6c17b1186179b952d 
> > /usr/lib/php/20151012/gd.so
> > 
> > Are you sure the modules comes from the package?
> > apt-get install debsums
> > debsums php7.0-gd
> I did some checks, I found the dependecy to be indirect from
> libgd3.so.3,and the file was corrupted, reinstalling libgd3 solves the
> problem.
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 07 Dec 2016 07:30:16 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 02:16:27 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.