Debian Bug report logs - #659478
php5: PHP 5.4 preg_match does not support Unicode

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

Reported by: Roland Gruber <post@rolandgruber.de>

Date: Sat, 11 Feb 2012 12:48:02 UTC

Severity: normal

Done: Roland Gruber <post@rolandgruber.de>

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#659478; Package php5. (Sat, 11 Feb 2012 12:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Gruber <post@rolandgruber.de>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 11 Feb 2012 12:48:05 GMT) (full text, mbox, link).


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

From: Roland Gruber <post@rolandgruber.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5: PHP 5.4 preg_match does not support Unicode
Date: Sat, 11 Feb 2012 13:45:42 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: php5
Version: 5.4.0~rc7-2
Severity: normal


The experimental version seems to have problems with Unicode checks in preg_match():

PHP Warning:  preg_match(): Compilation failed: unknown option bit(s) set at offset 0

Test patterns: /^\p{L}+$/u      /^([\/]([[:alnum:]@\\$\\.\\ \\_-])+)+(\/)?$/u



- -- System Information:
Debian Release: 6.0.4
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5 depends on:
ii  libapache2-mod-php5          5.4.0~rc7-2 server-side, HTML-embedded scripti
ii  php5-common                  5.4.0~rc7-2 Common files for packages built fr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk82YvEACgkQq/ywNCsrGZ5HKQCfYLXAiVRrGsqYh7DoMbWXxAu4
0uwAn2e0vSdzvmGPsWDceWWH1sY15I9W
=XD+B
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#659478; Package php5. (Sat, 11 Feb 2012 15:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Lior Kaplan <kaplan@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 11 Feb 2012 15:24:03 GMT) (full text, mbox, link).


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

From: Lior Kaplan <kaplan@debian.org>
To: Roland Gruber <post@rolandgruber.de>, 659478@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: [php-maint] Bug#659478: php5: PHP 5.4 preg_match does not support Unicode
Date: Sat, 11 Feb 2012 17:20:30 +0200
[Message part 1 (text/plain, inline)]
On Sat, Feb 11, 2012 at 2:45 PM, Roland Gruber <post@rolandgruber.de> wrote:

>
> - -- System Information:
> Debian Release: 6.0.4
>  APT prefers unstable
>  APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>

Hi Roland,

It seems you're mixing stable, unstable and experimental.

Which version of libpcre3 do you have installed ?

Kaplan
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#659478; Package php5. (Sat, 11 Feb 2012 16:27:07 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Gruber <post@rolandgruber.de>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 11 Feb 2012 16:27:07 GMT) (full text, mbox, link).


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

From: Roland Gruber <post@rolandgruber.de>
To: Lior Kaplan <kaplan@debian.org>
Cc: 659478@bugs.debian.org
Subject: Re: [php-maint] Bug#659478: php5: PHP 5.4 preg_match does not support Unicode
Date: Sat, 11 Feb 2012 17:25:31 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Kaplan,

Am 11.02.2012 16:20, schrieb Lior Kaplan:
> It seems you're mixing stable, unstable and experimental.

yes, I only updated the packages that were required for the PHP 5.4
installation. This was because Ondrej asked for a PHP 5.4 compatibility
check.

> Which version of libpcre3 do you have installed ?

It is 8.12-4.
Should I upgrade all packages to Unstable? This would be no problem for
me since I use a virtual machine anyway.


- -- 

Best regards

Roland
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk82lnYACgkQq/ywNCsrGZ4DqACfRddtCxENE9ybOQ1On62FGAra
N0QAn2JeY781HxP5Zt9tDYYy7c/CtPf+
=Kkp2
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#659478; Package php5. (Sat, 11 Feb 2012 20:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 11 Feb 2012 20:06:03 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@debian.org>
To: Roland Gruber <post@rolandgruber.de>, 659478@bugs.debian.org
Cc: Lior Kaplan <kaplan@debian.org>
Subject: Re: [php-maint] Bug#659478: Bug#659478: php5: PHP 5.4 preg_match does not support Unicode
Date: Sat, 11 Feb 2012 21:02:44 +0100
Hi Roland,

there were some changes in PCRE code in SVN:
http://svn.php.net/viewvc?view=revision&revision=323096
http://svn.php.net/viewvc?view=revision&revision=323097

I will try to merge it into next upload, maybe it will fix the issue,
if not I report it as upstream bug.

O.

On Sat, Feb 11, 2012 at 17:25, Roland Gruber <post@rolandgruber.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Kaplan,
>
> Am 11.02.2012 16:20, schrieb Lior Kaplan:
>> It seems you're mixing stable, unstable and experimental.
>
> yes, I only updated the packages that were required for the PHP 5.4
> installation. This was because Ondrej asked for a PHP 5.4 compatibility
> check.
>
>> Which version of libpcre3 do you have installed ?
>
> It is 8.12-4.
> Should I upgrade all packages to Unstable? This would be no problem for
> me since I use a virtual machine anyway.
>
>
> - --
>
> Best regards
>
> Roland
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk82lnYACgkQq/ywNCsrGZ4DqACfRddtCxENE9ybOQ1On62FGAra
> N0QAn2JeY781HxP5Zt9tDYYy7c/CtPf+
> =Kkp2
> -----END PGP SIGNATURE-----
>
>
>
> _______________________________________________
> 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>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#659478; Package php5. (Sat, 11 Feb 2012 20:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 11 Feb 2012 20:21:05 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@debian.org>
To: Roland Gruber <post@rolandgruber.de>, 659478@bugs.debian.org
Subject: Re: [php-maint] Bug#659478: php5: PHP 5.4 preg_match does not support Unicode
Date: Sat, 11 Feb 2012 21:18:19 +0100
Roland,

can you please provide full test script?

O.

On Sat, Feb 11, 2012 at 13:45, Roland Gruber <post@rolandgruber.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Package: php5
> Version: 5.4.0~rc7-2
> Severity: normal
>
>
> The experimental version seems to have problems with Unicode checks in preg_match():
>
> PHP Warning:  preg_match(): Compilation failed: unknown option bit(s) set at offset 0
>
> Test patterns: /^\p{L}+$/u      /^([\/]([[:alnum:]@\\$\\.\\ \\_-])+)+(\/)?$/u
>
>
>
> - -- System Information:
> Debian Release: 6.0.4
>  APT prefers unstable
>  APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5          5.4.0~rc7-2 server-side, HTML-embedded scripti
> ii  php5-common                  5.4.0~rc7-2 Common files for packages built fr
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk82YvEACgkQq/ywNCsrGZ5HKQCfYLXAiVRrGsqYh7DoMbWXxAu4
> 0uwAn2e0vSdzvmGPsWDceWWH1sY15I9W
> =XD+B
> -----END PGP SIGNATURE-----
>
>
>
> _______________________________________________
> 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>




Reply sent to Roland Gruber <post@rolandgruber.de>:
You have taken responsibility. (Sun, 12 Feb 2012 14:39:08 GMT) (full text, mbox, link).


Notification sent to Roland Gruber <post@rolandgruber.de>:
Bug acknowledged by developer. (Sun, 12 Feb 2012 14:39:08 GMT) (full text, mbox, link).


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

From: Roland Gruber <post@rolandgruber.de>
To: Ondřej Surý <ondrej@debian.org>
Cc: 659478-done@bugs.debian.org
Subject: Re: [php-maint] Bug#659478: php5: PHP 5.4 preg_match does not support Unicode
Date: Sun, 12 Feb 2012 15:38:19 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ondřej,

sorry, the problem no longer appears. Seems like the last server restart
somehow fixed it. This is a bit strange because I restarted Apache
before without success.

Anyway, looks like there is no bug. :)
Sorry for the noise.


Best regards

Roland


Am 11.02.2012 21:18, schrieb Ondřej Surý:
> Roland,
> 
> can you please provide full test script?
> 
> O.
> 
> On Sat, Feb 11, 2012 at 13:45, Roland Gruber <post@rolandgruber.de> wrote:
> Package: php5
> Version: 5.4.0~rc7-2
> Severity: normal
> 
> 
> The experimental version seems to have problems with Unicode checks in preg_match():
> 
> PHP Warning:  preg_match(): Compilation failed: unknown option bit(s) set at offset 0
> 
> Test patterns: /^\p{L}+$/u      /^([\/]([[:alnum:]@\\$\\.\\ \\_-])+)+(\/)?$/u
> 
> 
> 
> -- System Information:
> Debian Release: 6.0.4
>  APT prefers unstable
>  APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5          5.4.0~rc7-2 server-side, HTML-embedded scripti
> ii  php5-common                  5.4.0~rc7-2 Common files for packages built fr
>>
>>
>>
_______________________________________________
pkg-php-maint mailing list
pkg-php-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint

- -- 

Mit freundlichen Grüßen

Roland Gruber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk83zsUACgkQq/ywNCsrGZ5LYwCcDJ1oD2vQfhRcOco+3bMCpz6K
DBwAn1NgTHkfbct8MvbIKiMU0WTiF+8O
=eHZh
-----END PGP SIGNATURE-----




Bug No longer marked as found in versions php5/5.4.0~rc7-2. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 13 Feb 2012 14:21:14 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 13 Mar 2012 07:35:36 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:30:00 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.