[Bug 1327073] [NEW] regression gzopen64 problem on trusty-i386 build

2014-06-06 Thread bellbind
Public bug reported:

On i386 version trusty, gzopen64 problem occurred again.

The php function gzopen renamed to gzopen64 by bad side effect of 
preprocessor macros.
It occurred only build php5 on i386, not on amd64.

I posted the problem when karmic age, then fixed after long time.
Today, I upgraded to current from saucy to trusty, then I found the same 
phenomenon.

- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/432291



$ LANG=C wajig show php5
Package: php5
State: installed
Automatically installed: no
Version: 5.5.9+dfsg-1ubuntu4
Priority: optional
Section: php
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: all
Uncompressed Size: 29.7 k
Depends: libapache2-mod-php5 (= 5.5.9+dfsg-1ubuntu4) | 
libapache2-mod-php5filter (= 5.5.9+dfsg-1ubuntu4) | php5-cgi (=
 5.5.9+dfsg-1ubuntu4) | php5-fpm (= 5.5.9+dfsg-1ubuntu4), php5-common 
(= 5.5.9+dfsg-1ubuntu4)
Description: server-side, HTML-embedded scripting language (metapackage)
 This package is a metapackage that, when installed, guarantees that you have 
at least one of the four server-side versions
 of the PHP5 interpreter installed. Removing this package won't remove PHP5 
from your system, however it may remove other
 packages that depend on this one.

 PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open 
source general-purpose scripting language
 that is especially suited for web development and can be embedded into HTML.
Homepage: http://www.php.net/

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1327073

Title:
  regression gzopen64 problem on trusty-i386 build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1327073/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1327073] Re: regression gzopen64 problem on trusty-i386 build

2014-06-06 Thread bellbind
** Description changed:

  On i386 version trusty, gzopen64 problem occurred again.
  
  The php function gzopen renamed to gzopen64 by bad side effect of 
preprocessor macros.
- It occurred only build on i386, not on amd64.
+ It occurred only build php5 on i386, not on amd64.
  
- I posted the problem when kermic age.
+ I posted the problem when karmic age.
  I upgraded to current from saucy to trusty, then I found the same phenomenon.
  
  - https://bugs.launchpad.net/ubuntu/+source/php5/+bug/432291
  
  
  
  $ LANG=C wajig show php5
- Package: php5
+ Package: php5
  State: installed
  Automatically installed: no
  Version: 5.5.9+dfsg-1ubuntu4
  Priority: optional
  Section: php
  Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
  Architecture: all
  Uncompressed Size: 29.7 k
  Depends: libapache2-mod-php5 (= 5.5.9+dfsg-1ubuntu4) | 
libapache2-mod-php5filter (= 5.5.9+dfsg-1ubuntu4) | php5-cgi (=
-  5.5.9+dfsg-1ubuntu4) | php5-fpm (= 5.5.9+dfsg-1ubuntu4), 
php5-common (= 5.5.9+dfsg-1ubuntu4)
+  5.5.9+dfsg-1ubuntu4) | php5-fpm (= 5.5.9+dfsg-1ubuntu4), 
php5-common (= 5.5.9+dfsg-1ubuntu4)
  Description: server-side, HTML-embedded scripting language (metapackage)
-  This package is a metapackage that, when installed, guarantees that you have 
at least one of the four server-side versions
-  of the PHP5 interpreter installed. Removing this package won't remove PHP5 
from your system, however it may remove other
-  packages that depend on this one. 
-  
-  PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used 
open source general-purpose scripting language
-  that is especially suited for web development and can be embedded into HTML.
+  This package is a metapackage that, when installed, guarantees that you have 
at least one of the four server-side versions
+  of the PHP5 interpreter installed. Removing this package won't remove PHP5 
from your system, however it may remove other
+  packages that depend on this one.
+ 
+  PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used 
open source general-purpose scripting language
+  that is especially suited for web development and can be embedded into HTML.
  Homepage: http://www.php.net/

** Description changed:

  On i386 version trusty, gzopen64 problem occurred again.
  
  The php function gzopen renamed to gzopen64 by bad side effect of 
preprocessor macros.
  It occurred only build php5 on i386, not on amd64.
  
- I posted the problem when karmic age.
- I upgraded to current from saucy to trusty, then I found the same phenomenon.
+ I posted the problem when karmic age, then fixed after long discussion.
+ Today, I upgraded to current from saucy to trusty, then I found the same 
phenomenon.
  
  - https://bugs.launchpad.net/ubuntu/+source/php5/+bug/432291
  
  
  
  $ LANG=C wajig show php5
  Package: php5
  State: installed
  Automatically installed: no
  Version: 5.5.9+dfsg-1ubuntu4
  Priority: optional
  Section: php
  Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
  Architecture: all
  Uncompressed Size: 29.7 k
  Depends: libapache2-mod-php5 (= 5.5.9+dfsg-1ubuntu4) | 
libapache2-mod-php5filter (= 5.5.9+dfsg-1ubuntu4) | php5-cgi (=
   5.5.9+dfsg-1ubuntu4) | php5-fpm (= 5.5.9+dfsg-1ubuntu4), 
php5-common (= 5.5.9+dfsg-1ubuntu4)
  Description: server-side, HTML-embedded scripting language (metapackage)
   This package is a metapackage that, when installed, guarantees that you have 
at least one of the four server-side versions
   of the PHP5 interpreter installed. Removing this package won't remove PHP5 
from your system, however it may remove other
   packages that depend on this one.
  
   PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used 
open source general-purpose scripting language
   that is especially suited for web development and can be embedded into HTML.
  Homepage: http://www.php.net/

** Description changed:

  On i386 version trusty, gzopen64 problem occurred again.
  
  The php function gzopen renamed to gzopen64 by bad side effect of 
preprocessor macros.
  It occurred only build php5 on i386, not on amd64.
  
- I posted the problem when karmic age, then fixed after long discussion.
+ I posted the problem when karmic age, then fixed after long time.
  Today, I upgraded to current from saucy to trusty, then I found the same 
phenomenon.
  
  - https://bugs.launchpad.net/ubuntu/+source/php5/+bug/432291
  
  
  
  $ LANG=C wajig show php5
  Package: php5
  State: installed
  Automatically installed: no
  Version: 5.5.9+dfsg-1ubuntu4
  Priority: optional
  Section: php
  Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
  Architecture: all
  Uncompressed Size: 29.7 k
  Depends: libapache2-mod-php5 (= 5.5.9+dfsg-1ubuntu4) | 
libapache2-mod-php5filter (= 5.5.9+dfsg-1ubuntu4) | php5-cgi (=
   5.5.9+dfsg-1ubuntu4) | php5-fpm (= 5.5.9+dfsg-1ubuntu4), 
php5-common 

[Bug 451405] Re: zlib extension missing in php5 karmic

2009-10-30 Thread bellbind
The problem is that the PHP standard function gzopen is renamed as 
gzopen64. 
It may be just a bug at build system.

I think it is caused by macro #define gzopen gzopen64 in
/usr/include/zlib.h (zlib1g-dev :1.2.3.3.dfsg-13ubuntu3).

The unapplyed patch 019-z_off_t_as_long.patch generates old version zlib.h 
into ext/zlib.
If the patch is applyed, PHP gzopen function is defined beacuse it does not 
contain the gzopen macro.

-- 
zlib extension missing in php5 karmic 
https://bugs.launchpad.net/bugs/451405
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 451405] Re: zlib extension missing in php5 karmic

2009-10-28 Thread bellbind
I'm aware the problem from more than 1 month ago (and rejected).
Then, I posted my solution to 
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/432291/comments/4

-- 
zlib extension missing in php5 karmic 
https://bugs.launchpad.net/bugs/451405
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 432291] Re: Fatal error: Call to undefined function gzopen() on php5 5.2.10.dfsg.1-2ubuntu3

2009-10-13 Thread bellbind
Same error is occured at 5.2.10.dfsg.1-2ubuntu5 .

-- 
Fatal error: Call to undefined function gzopen() on php5 
5.2.10.dfsg.1-2ubuntu3
https://bugs.launchpad.net/bugs/432291
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 432291] Re: Fatal error: Call to undefined function gzopen() on php5 5.2.10.dfsg.1-2ubuntu3

2009-10-13 Thread bellbind
The bug is NOT zlib link problem because it can open gz files with
fopen for example:

?php
$gzfile = fopen(compress.zlib://hello.txt.gz, w);
fwrite($gzfile, hello world!);
fclose($gzfile);
?

is work well on released binaries. BUT gzopen is not defined in php5
binaries it cannot run:

?php
$data = Hello World!;
$gzfile = gzopen(hello.txt.gz, w9);
gzwrite($gzfile, $data);
gzclose($gzfile);
?

-- 
Fatal error: Call to undefined function gzopen() on php5 
5.2.10.dfsg.1-2ubuntu3
https://bugs.launchpad.net/bugs/432291
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 432291] Re: Fatal error: Call to undefined function gzopen() on php5 5.2.10.dfsg.1-2ubuntu3

2009-10-13 Thread bellbind
The uncomment patch 019-z_off_t_as_long.patch changes the situation in
my environment build.

The patch only adds header files to php5 sources: ext/zlib/zconf.h  and 
ext/zlib/zlib.h
But in my env, it also exists /usr/include/zconf.h and /usr/include/zlib.h 
by standard package zlib1g-dev.

I don't know why the existence of the header files changes the build
condition...

-- 
Fatal error: Call to undefined function gzopen() on php5 
5.2.10.dfsg.1-2ubuntu3
https://bugs.launchpad.net/bugs/432291
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 432291] Re: Fatal error: Call to undefined function gzopen() on php5 5.2.10.dfsg.1-2ubuntu3

2009-09-27 Thread bellbind
The error also occurs when use  package
php5-5.2.10.dfsg.1(5.2.10.dfsg.1-2ubuntu4) rebuilded in my machine.

But, it changes well when uncomment  the line:

#019-z_off_t_as_long.patch

to

019-z_off_t_as_long.patch

in debian/patches/series before dpkg-buildpackage.

-- 
Fatal error: Call to undefined function gzopen() on php5 
5.2.10.dfsg.1-2ubuntu3
https://bugs.launchpad.net/bugs/432291
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 432291] [NEW] Fatal error: Call to undefined function gzopen() on php5 5.2.10.dfsg.1-2ubuntu3

2009-09-18 Thread bellbind
Public bug reported:

Binary package hint: php5

Fatal error: Call to undefined function gzopen() on php5
5.2.10.dfsg.1-2ubuntu3

The error does not occur on php5 5.2.6.dfsg..1-3ubuntu4.2 (jaunty
package)



$ cat sample.php
?php
$data = Hello World!;
$gzfile = gzopen(hello.txt.gz, w9);
gzwrite($gzfile, $data);
gzclose($gzfile);
?
$ php sample.php

Fatal error: Call to undefined function gzopen() in
/home/bellbind/experiment/php/gz/sample.php on line 3

$ lsb_release -rd
Description:Ubuntu karmic (development branch)
Release:9.10

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Fatal error: Call to undefined function gzopen() on php5 
5.2.10.dfsg.1-2ubuntu3
https://bugs.launchpad.net/bugs/432291
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 432291] Re: Fatal error: Call to undefined function gzopen() on php5 5.2.10.dfsg.1-2ubuntu3

2009-09-18 Thread bellbind
1. Is this reproducible? - yes. I use i386 binaries via 
jp.archive.ubuntu.com.
2. I always do dist-upgrade with wajig. I can reproduce the bug with extracted 
php5 command in cached deb files.

 hash for deb ---
$ sha1sum /var/cache/apt/archives/php5-cli_5.2.10.dfsg.1-2ubuntu3_i386.deb
86dfb40d2c31ff9c2763f5f2984550e205a09786  
/var/cache/apt/archives/php5-cli_5.2.10.dfsg.1-2ubuntu3_i386.deb

 script ---
$ emacs sample.php # previous php script
$ mkdir 5.2.6 5.2.10
$ dpkg-deb -x /var/cache/apt/archives/php5-cli_5.2.6.dfsg.1-3ubuntu4.2_i386.deb 
5.2.6/
$ dpkg-deb -x /var/cache/apt/archives/php5-cli_5.2.10.dfsg.1-2ubuntu3_i386.deb 
5.2.10/
$ ./5.2.10/usr/bin/php5 sample.php

Fatal error: Call to undefined function gzopen() in 
/home/bellbind/experiment/php/ubuntu/sample.php on line 3
$ ./5.2.6/usr/bin/php5 sample.php # work well in my env.

-- 
Fatal error: Call to undefined function gzopen() on php5 
5.2.10.dfsg.1-2ubuntu3
https://bugs.launchpad.net/bugs/432291
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs