Debian Bug report logs - #766972
php5-gd: Incorrect display libjpeg version

version graph

Package: php5-gd; Maintainer for php5-gd is (unknown);

Reported by: Roman Vasilev <vasilev@fastvps.ru>

Date: Mon, 27 Oct 2014 10:21:06 UTC

Severity: minor

Tags: patch, wheezy

Found in version php5/5.4.4-14+deb7u14

Fixed in versions php5/5.6.2+dfsg-1, php5/5.5.0+dfsg-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#766972; Package php5-gd. (Mon, 27 Oct 2014 10:21:11 GMT) (full text, mbox, link).


Acknowledgement sent to Roman Vasilev <vasilev@fastvps.ru>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 27 Oct 2014 10:21:11 GMT) (full text, mbox, link).


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

From: Roman Vasilev <vasilev@fastvps.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-gd: Incorrect display libjpeg version
Date: Mon, 27 Oct 2014 12:56:34 +0400
Package: php5-gd
Version: 5.4.4-14+deb7u14
Severity: important
Tags: patch

Dear Maintainer,

    Problem with phpinfo() display libjpeg version:

    Actual result:

    root@eurosmed ~ # php -i | grep libJPEG
    libJPEG Version => unknown

    After path result:

    root@eurosmed ~ # php -i | grep libJPEG
    libJPEG Version => 8

    Patch:
 
    Need replace it:
    const char * gdJpegGetVersionString()
    {
        switch(JPEG_LIB_VERSION) {
                case 62:
                        return "6b";
                        break;

                default:
                        return "unknown";
    }

    At this:
    const char * gdJpegGetVersionString()
    {
        switch(JPEG_LIB_VERSION) {
                case 62:
                        return "6b";
                        break;

                case 70:
                        return "7";
                        break;

                case 80:
                        return "8";
                        break;

                default:
                        return "unknown";
    }

    On file:
    php5-5.4.4/ext/gd/libgd/gd_compat.c


-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-gd depends on:
ii  dpkg                                   1.16.15
ii  libapache2-mod-php5 [phpapi-20100525]  5.4.4-14+deb7u14
ii  libc6                                  2.13-38+deb7u6
ii  libfreetype6                           2.4.9-1.1
ii  libgd2-xpm                             2.0.36~rc1~dfsg-6.1
pn  libjpeg8                               <none>
ii  libpng12-0                             1.2.49-1
ii  libx11-6                               2:1.5.0-1+deb7u1
ii  libxpm4                                1:3.5.10-1
ii  php5-cgi [phpapi-20100525]             5.4.4-14+deb7u14
ii  php5-cli [phpapi-20100525]             5.4.4-14+deb7u14
ii  php5-common                            5.4.4-14+deb7u14
ii  ucf                                    3.0025+nmu3
ii  zlib1g                                 1:1.2.7.dfsg-13

php5-gd recommends no packages.

php5-gd suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#766972; Package php5-gd. (Mon, 27 Oct 2014 11:06:23 GMT) (full text, mbox, link).


Acknowledgement sent to "Thijs Kinkhorst" <thijs@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 27 Oct 2014 11:06:23 GMT) (full text, mbox, link).


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

From: "Thijs Kinkhorst" <thijs@debian.org>
To: "Roman Vasilev" <vasilev@fastvps.ru>, 766972@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [php-maint] Bug#766972: php5-gd: Incorrect display libjpeg version
Date: Mon, 27 Oct 2014 12:05:26 +0100
severity 766972 minor
fixed 766972 5.5.0+dfsg-1
thanks

Hi Roman,

On Mon, October 27, 2014 09:56, Roman Vasilev wrote:
>     Problem with phpinfo() display libjpeg version:
>
>     Actual result:
>
>     root@eurosmed ~ # php -i | grep libJPEG
>     libJPEG Version => unknown
>
>     After path result:
>
>     root@eurosmed ~ # php -i | grep libJPEG
>     libJPEG Version => 8

Thanks. This issue has been fixed in PHP upstream 5.5 and up, so will be
correct in Debian Jessie.

Since this seems to be only a display issue on phpinfo()-like pages, I
don't think it's something suitable to backport to wheezy.


Cheers,
Thijs



Severity set to 'minor' from 'important' Request was from "Thijs Kinkhorst" <thijs@debian.org> to control@bugs.debian.org. (Mon, 27 Oct 2014 11:06:38 GMT) (full text, mbox, link).


Marked as fixed in versions php5/5.5.0+dfsg-1. Request was from "Thijs Kinkhorst" <thijs@debian.org> to control@bugs.debian.org. (Mon, 27 Oct 2014 11:06:38 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#766972; Package php5-gd. (Mon, 27 Oct 2014 11:30:29 GMT) (full text, mbox, link).


Acknowledgement sent to Roman Vasilev <vasilev@fastvps.ru>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 27 Oct 2014 11:30:29 GMT) (full text, mbox, link).


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

From: Roman Vasilev <vasilev@fastvps.ru>
To: Thijs Kinkhorst <thijs@debian.org>
Cc: 766972@bugs.debian.org, control@bugs.debian.org
Subject: Re: [php-maint] Bug#766972: php5-gd: Incorrect display libjpeg version
Date: Mon, 27 Oct 2014 15:29:44 +0400
[Message part 1 (text/plain, inline)]
We use Wheezy on our extensive infrastructure and customers complain that
because of this, the scripts are not processed correctly.
Correct, please.

Thank you!

2014-10-27 14:05 GMT+03:00 Thijs Kinkhorst <thijs@debian.org>:

> severity 766972 minor
> fixed 766972 5.5.0+dfsg-1
> thanks
>
> Hi Roman,
>
> On Mon, October 27, 2014 09:56, Roman Vasilev wrote:
> >     Problem with phpinfo() display libjpeg version:
> >
> >     Actual result:
> >
> >     root@eurosmed ~ # php -i | grep libJPEG
> >     libJPEG Version => unknown
> >
> >     After path result:
> >
> >     root@eurosmed ~ # php -i | grep libJPEG
> >     libJPEG Version => 8
>
> Thanks. This issue has been fixed in PHP upstream 5.5 and up, so will be
> correct in Debian Jessie.
>
> Since this seems to be only a display issue on phpinfo()-like pages, I
> don't think it's something suitable to backport to wheezy.
>
>
> Cheers,
> Thijs
>
[Message part 2 (text/html, inline)]

Added tag(s) wheezy. Request was from Thijs Kinkhorst <thijs@debian.org> to control@bugs.debian.org. (Mon, 27 Oct 2014 14:21:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#766972; Package php5-gd. (Wed, 29 Oct 2014 13:21:14 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>. (Wed, 29 Oct 2014 13:21:14 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: 766972@bugs.debian.org
Subject: Re: [php-maint] Bug#766972: php5-gd: Incorrect display libjpeg version
Date: Wed, 29 Oct 2014 14:20:08 +0100
Control: severity -1 minor
Control: fixed -1 php5/5.6.2+dfsg-1

I don't see how is this "important" bug. The patch is minor though, so I
might include it in proposed-updates, but it will take a while.

Cheers,
Ondrej

On Mon, Oct 27, 2014, at 09:56, Roman Vasilev wrote:
> Package: php5-gd
> Version: 5.4.4-14+deb7u14
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
>     Problem with phpinfo() display libjpeg version:
> 
>     Actual result:
> 
>     root@eurosmed ~ # php -i | grep libJPEG
>     libJPEG Version => unknown
> 
>     After path result:
> 
>     root@eurosmed ~ # php -i | grep libJPEG
>     libJPEG Version => 8
> 
>     Patch:
>  
>     Need replace it:
>     const char * gdJpegGetVersionString()
>     {
>         switch(JPEG_LIB_VERSION) {
>                 case 62:
>                         return "6b";
>                         break;
> 
>                 default:
>                         return "unknown";
>     }
> 
>     At this:
>     const char * gdJpegGetVersionString()
>     {
>         switch(JPEG_LIB_VERSION) {
>                 case 62:
>                         return "6b";
>                         break;
> 
>                 case 70:
>                         return "7";
>                         break;
> 
>                 case 80:
>                         return "8";
>                         break;
> 
>                 default:
>                         return "unknown";
>     }
> 
>     On file:
>     php5-5.4.4/ext/gd/libgd/gd_compat.c
> 
> 
> -- System Information:
> Debian Release: 7.7
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages php5-gd depends on:
> ii  dpkg                                   1.16.15
> ii  libapache2-mod-php5 [phpapi-20100525]  5.4.4-14+deb7u14
> ii  libc6                                  2.13-38+deb7u6
> ii  libfreetype6                           2.4.9-1.1
> ii  libgd2-xpm                             2.0.36~rc1~dfsg-6.1
> pn  libjpeg8                               <none>
> ii  libpng12-0                             1.2.49-1
> ii  libx11-6                               2:1.5.0-1+deb7u1
> ii  libxpm4                                1:3.5.10-1
> ii  php5-cgi [phpapi-20100525]             5.4.4-14+deb7u14
> ii  php5-cli [phpapi-20100525]             5.4.4-14+deb7u14
> ii  php5-common                            5.4.4-14+deb7u14
> ii  ucf                                    3.0025+nmu3
> ii  zlib1g                                 1:1.2.7.dfsg-13
> 
> php5-gd recommends no packages.
> 
> php5-gd suggests no packages.
> 
> -- 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


-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Marked as fixed in versions php5/5.6.2+dfsg-1. Request was from Ondřej Surý <ondrej@sury.org> to 766972-submit@bugs.debian.org. (Wed, 29 Oct 2014 13:21:15 GMT) (full text, mbox, link).


Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Wed, 27 Jan 2016 11:45:27 GMT) (full text, mbox, link).


Notification sent to Roman Vasilev <vasilev@fastvps.ru>:
Bug acknowledged by developer. (Wed, 27 Jan 2016 11:45:27 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: 730094-done@bugs.debian.org, 737688-done@bugs.debian.org, 759698-done@bugs.debian.org, 766972-done@bugs.debian.org
Subject: Closing the non-security bugs against PHP in Debian wheezy (old-stable)
Date: Wed, 27 Jan 2016 12:42:34 +0100
Version: php5/5.6.0+dfsg-1

Feel free to reopen the bugs, if you can reproduce those against current
Debian stable PHP version (5.6.17+).

Cheers,
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Dec 2016 09:15:28 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 00:47:02 2023; Machine Name: buxtehude

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.