Debian Bug report logs - #494754
Please enable php5 spl module

version graph

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

Reported by: Soenke Ruempler <soenke@jimdo.com>

Date: Mon, 11 Aug 2008 22:21:02 UTC

Severity: wishlist

Found in version php5/5.2.0-8+etch11

Fixed in version php5/5.2.6-2

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#494754; Package php5-dev. (full text, mbox, link).


Acknowledgement sent to Soenke Ruempler <soenke@jimdo.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: Soenke Ruempler <soenke@jimdo.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 00:19:36 +0200
Package: php5-dev
Version: 5.2.0-8+etch11
Severity: normal


Compiling phar with "pecl install phar" fails with the following error
message:

/bin/sh /var/tmp/pear-build-root/phar-1.2.3/libtool --mode=compile gcc
-I. -I/tmp/pear/temp/phar -DPHP_ATOM_INC
-I/var/tmp/pear-build-root/phar-1.2.3/include
-I/var/tmp/pear-build-root/phar-1.2.3/main -I/tmp/pear/temp/phar
-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c
/tmp/pear/temp/phar/phar.c -o phar.lo
mkdir .libs
 gcc -I. -I/tmp/pear/temp/phar -DPHP_ATOM_INC
 -I/var/tmp/pear-build-root/phar-1.2.3/include
 -I/var/tmp/pear-build-root/phar-1.2.3/main -I/tmp/pear/temp/phar
 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
 -I/usr/include/php5/Zend -I/usr/include/php5/ext
 -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
 /tmp/pear/temp/phar/phar.c  -fPIC -DPIC -o .libs/phar.o
 In file included from /tmp/pear/temp/phar/phar.c:23:
 /tmp/pear/temp/phar/phar_internal.h:46:31: error: ext/spl/spl_array.h:
 No such file or directory
 /tmp/pear/temp/phar/phar_internal.h:47:35: error:
 ext/spl/spl_directory.h: No such file or directory
 /tmp/pear/temp/phar/phar_internal.h:48:32: error: ext/spl/spl_engine.h:
 No such file or directory
 /tmp/pear/temp/phar/phar_internal.h:49:36: error:
 ext/spl/spl_exceptions.h: No such file or directory
 /tmp/pear/temp/phar/phar_internal.h:50:35: error:
 ext/spl/spl_iterators.h: No such file or directory
 In file included from /tmp/pear/temp/phar/phar.c:23:
 /tmp/pear/temp/phar/phar_internal.h:212: error: expected
 specifier-qualifier-list before 'spl_filesystem_object'
 /tmp/pear/temp/phar/phar_internal.h:224: error: expected
 specifier-qualifier-list before 'spl_filesystem_object'
 make: *** [phar.lo] Error 1
 ERROR: `make' failed


Is it possible to include those files into the php5-dev package?

Thank you!

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages php5-dev depends on:
ii  autoconf                  2.61-4         automatic configure script builder
ii  automake1.4               1:1.4-p6-12    A tool for generating GNU Standard
ii  libssl-dev                0.9.8g-12      SSL development libraries, header 
ii  libtool                   1.5.22-4       Generic library support script
ii  php5-common               5.2.0-8+etch11 Common files for packages built fr
ii  shtool                    2.0.1-2        portable shell tool from the GNU p

php5-dev recommends no packages.

-- no debconf information




Reply sent to "Ondřej Surý" <ondrej@sury.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Soenke Ruempler <soenke@jimdo.com>:
Bug acknowledged by developer. (full text, mbox, link).


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

From: "Ondřej Surý" <ondrej@sury.org>
To: "Soenke Ruempler" <soenke@jimdo.com>, 494754-done@bugs.debian.org
Subject: Re: [php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 00:30:36 +0200
Looks like you haven't installed all required dependencies as listed
on: http://pecl.php.net/package/phar

Just download and install http://pecl.php.net/package/SPL before trying
to compile phar.

It's not a bug of php5-dev.

Ondrej.

2008/8/12 Soenke Ruempler <soenke@jimdo.com>:
> Package: php5-dev
> Version: 5.2.0-8+etch11
> Severity: normal
>
>
> Compiling phar with "pecl install phar" fails with the following error
> message:
>
> /bin/sh /var/tmp/pear-build-root/phar-1.2.3/libtool --mode=compile gcc
> -I. -I/tmp/pear/temp/phar -DPHP_ATOM_INC
> -I/var/tmp/pear-build-root/phar-1.2.3/include
> -I/var/tmp/pear-build-root/phar-1.2.3/main -I/tmp/pear/temp/phar
> -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
> -I/usr/include/php5/Zend -I/usr/include/php5/ext
> -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c
> /tmp/pear/temp/phar/phar.c -o phar.lo
> mkdir .libs
>  gcc -I. -I/tmp/pear/temp/phar -DPHP_ATOM_INC
>  -I/var/tmp/pear-build-root/phar-1.2.3/include
>  -I/var/tmp/pear-build-root/phar-1.2.3/main -I/tmp/pear/temp/phar
>  -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
>  -I/usr/include/php5/Zend -I/usr/include/php5/ext
>  -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
>  /tmp/pear/temp/phar/phar.c  -fPIC -DPIC -o .libs/phar.o
>  In file included from /tmp/pear/temp/phar/phar.c:23:
>  /tmp/pear/temp/phar/phar_internal.h:46:31: error: ext/spl/spl_array.h:
>  No such file or directory
>  /tmp/pear/temp/phar/phar_internal.h:47:35: error:
>  ext/spl/spl_directory.h: No such file or directory
>  /tmp/pear/temp/phar/phar_internal.h:48:32: error: ext/spl/spl_engine.h:
>  No such file or directory
>  /tmp/pear/temp/phar/phar_internal.h:49:36: error:
>  ext/spl/spl_exceptions.h: No such file or directory
>  /tmp/pear/temp/phar/phar_internal.h:50:35: error:
>  ext/spl/spl_iterators.h: No such file or directory
>  In file included from /tmp/pear/temp/phar/phar.c:23:
>  /tmp/pear/temp/phar/phar_internal.h:212: error: expected
>  specifier-qualifier-list before 'spl_filesystem_object'
>  /tmp/pear/temp/phar/phar_internal.h:224: error: expected
>  specifier-qualifier-list before 'spl_filesystem_object'
>  make: *** [phar.lo] Error 1
>  ERROR: `make' failed
>
>
> Is it possible to include those files into the php5-dev package?
>
> Thank you!
>
> -- System Information:
> Debian Release: 4.0
>  APT prefers stable
>  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-6-amd64
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>
> Versions of packages php5-dev depends on:
> ii  autoconf                  2.61-4         automatic configure script builder
> ii  automake1.4               1:1.4-p6-12    A tool for generating GNU Standard
> ii  libssl-dev                0.9.8g-12      SSL development libraries, header
> ii  libtool                   1.5.22-4       Generic library support script
> ii  php5-common               5.2.0-8+etch11 Common files for packages built fr
> ii  shtool                    2.0.1-2        portable shell tool from the GNU p
>
> php5-dev recommends no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
>



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

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

From: Soenke Ruempler <sr@northclick.de>
To: Ondřej Surý <ondrej@sury.org>
Cc: Soenke Ruempler <soenke@jimdo.com>, 494754-done@bugs.debian.org
Subject: Re: [php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 00:38:05 +0200
[Message part 1 (text/plain, inline)]
Hi,

Ondřej Surý wrote:
> Looks like you haven't installed all required dependencies as listed
> on: http://pecl.php.net/package/phar
> 
> Just download and install http://pecl.php.net/package/SPL before trying
> to compile phar.

SPL is not a PECL extension but a php core extension. Proof:

http://pecl.php.net/package-changelog.php?package=SPL

No releases.

And:

 php -m | grep -i spl
 SPL

Problem is that header files are missing, not the SPL extension itself.

If you check http://packages.debian.org/etch/amd64/php5-dev/filelist
you'll see that lenny i386 (but amd64 doesn't) already has those missing
files:

http://packages.debian.org/lenny/i386/php5-dev/filelist

/usr/include/php5/ext/spl/php_spl.h
/usr/include/php5/ext/spl/spl_array.h
/usr/include/php5/ext/spl/spl_directory.h
/usr/include/php5/ext/spl/spl_engine.h
/usr/include/php5/ext/spl/spl_exceptions.h
/usr/include/php5/ext/spl/spl_functions.h
/usr/include/php5/ext/spl/spl_iterators.h
/usr/include/php5/ext/spl/spl_observer.h
/usr/include/php5/ext/spl/spl_sxe.h





[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#494754; Package php5-dev. (full text, mbox, link).


Acknowledgement sent to Soenke Ruempler <sr@northclick.de>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: Soenke Ruempler <sr@northclick.de>
To: Ondřej Surý <ondrej@sury.org>
Cc: 494754@bugs.debian.org
Subject: Re: [php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 00:41:52 +0200
[Message part 1 (text/plain, inline)]
Soenke Ruempler wrote:

> If you check http://packages.debian.org/etch/amd64/php5-dev/filelist

typo: http://packages.debian.org/lenny/amd64/php5-dev/filelist

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#494754; Package php5-dev. (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>. (full text, mbox, link).


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

From: "Ondřej Surý" <ondrej@sury.org>
To: "Soenke Ruempler" <sr@northclick.de>, 494754@bugs.debian.org, control@bugs.debian.org
Subject: Re: [php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 00:56:22 +0200
reopen 494754
severity 494754 wishlist
retitle 494754 Please enable php5 spl module
fixed 494754 5.2.6-2
thank you

Extracted from amd64 page you sent link:

/usr/include/php5/ext/spl/php_spl.h
/usr/include/php5/ext/spl/spl_array.h
/usr/include/php5/ext/spl/spl_directory.h
/usr/include/php5/ext/spl/spl_engine.h
/usr/include/php5/ext/spl/spl_exceptions.h
/usr/include/php5/ext/spl/spl_functions.h
/usr/include/php5/ext/spl/spl_iterators.h
/usr/include/php5/ext/spl/spl_observer.h
/usr/include/php5/ext/spl/spl_sxe.h

> SPL is not a PECL extension but a php core extension. Proof:

Ok, sorry for confusion.

> Problem is that header files are missing, not the SPL extension itself.

You are trying to compile against etch version - which has php5 5.2.0.
And your filelist comes from lenny version.

Etch's php will not have this fixed and lenny version is already ok.

And it seems to me, that you have a mix of etch and lenny php5 packages
installed in one system.  What is your version of other php5 modules?

Ondrej.
-- 
Ondřej Surý <ondrej@sury.org>

Bug reopened, originator not changed. Request was from "Ondřej Surý" <ondrej@sury.org> to controlbugs.debian.org. (Mon, 11 Aug 2008 22:57:12 GMT) (full text, mbox, link).


Severity set to `wishlist' from `normal' Request was from "Ondřej Surý" <ondrej@sury.org> to controlbugs.debian.org. (Mon, 11 Aug 2008 22:57:13 GMT) (full text, mbox, link).


Changed Bug title to `Please enable php5 spl module' from `php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory'. Request was from "Ondřej Surý" <ondrej@sury.org> to controlbugs.debian.org. (Mon, 11 Aug 2008 22:57:13 GMT) (full text, mbox, link).


Bug marked as fixed in version 5.2.6-2. Request was from "Ondřej Surý" <ondrej@sury.org> to controlbugs.debian.org. (Mon, 11 Aug 2008 22:57:14 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#494754; Package php5-dev. (full text, mbox, link).


Acknowledgement sent to Soenke Ruempler <sr@northclick.de>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: Soenke Ruempler <sr@northclick.de>
To: Ondřej Surý <ondrej@sury.org>
Cc: 494754@bugs.debian.org
Subject: Re: [php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 01:04:47 +0200
[Message part 1 (text/plain, inline)]
Hi,

Ondřej Surý wrote:

> Ok, sorry for confusion.

np :)

> You are trying to compile against etch version - which has php5 5.2.0.
> And your filelist comes from lenny version.

Yeah i know. The lenny filelist was only an example that it's already in
lenny and I thought it could be backported to etch easily.

> Etch's php will not have this fixed and lenny version is already ok.

May I ask a dumb question: Why can't it be fixed? Because of stable
policy or because of other (technical) reasons?

> And it seems to me, that you have a mix of etch and lenny php5 packages
> installed in one system.  What is your version of other php5 modules?

All php core modules are etch.

ii  libapache2-mod-php5               5.2.0-8+etch11
   server-side, HTML-embedded scripting languag
ii  php5                              5.2.0-8+etch11
   server-side, HTML-embedded scripting languag
ii  php5-cgi                          5.2.0-8+etch11
   server-side, HTML-embedded scripting languag
ii  php5-cli                          5.2.0-8+etch11
   command-line interpreter for the php5 script
ii  php5-common                       5.2.0-8+etch11
   Common files for packages built from the php
ii  php5-curl                         5.2.0-8+etch11
   CURL module for php5
ii  php5-dev                          5.2.0-8+etch11
   Files for PHP5 module development
ii  php5-gd                           5.2.0-8+etch11
   GD module for php5
ii  php5-idn                          1.2-1
   PHP api for the IDNA library
ii  php5-imagick                      2.1.0RC1-1
   ImageMagick module for php5
ii  php5-mcrypt                       5.2.0-8+etch11
   MCrypt module for php5
ii  php5-memcache                     3.0.1-1
   memcache extension module for PHP5
ii  php5-mysql                        5.2.0-8+etch11
   MySQL module for php5
ii  php5-sqlite                       5.2.0-8+etch11
   SQLite module for php5
ii  php5-sqlite3                      0.4-4
   SQLite3 module for php5
ii  php5-suhosin                      0.9.12-1etch1
   advanced protection module for php5
ii  php5-tidy                         5.2.0-8+etch11
   tidy module for php5
ii  php5-xcache                       1.2.2-3
   Fast, stable PHP opcode cacher
ii  php5-xdebug                       2.0.3-1
   Xdebug Module for PHP 5
ii  php5-xsl                          5.2.0-8+etch11
   XSL module for php5

Thanks,

soenke

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#494754; Package php5-dev. (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>. (full text, mbox, link).


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

From: "Ondřej Surý" <ondrej@sury.org>
To: "Soenke Ruempler" <sr@northclick.de>
Cc: 494754@bugs.debian.org
Subject: Re: [php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 07:40:53 +0200
>> Etch's php will not have this fixed and lenny version is already ok.
>
> May I ask a dumb question: Why can't it be fixed? Because of stable
> policy or because of other (technical) reasons?

Well, both.  First - we do nothing special to list files to include
in php5-dev, we just include whole usr/include - that means that
those files were not available in upstream php 5.2.0.
Second - yes, because of stable policy.

Ondrej.
-- 
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#494754; Package php5-dev. (full text, mbox, link).


Acknowledgement sent to Soenke - Jimdo <soenke@jimdo.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: Soenke - Jimdo <soenke@jimdo.com>
To: Ondřej Surý <ondrej@sury.org>
Cc: 494754@bugs.debian.org
Subject: Re: [php-maint] Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Tue, 12 Aug 2008 20:02:54 +0200
Hi,

Ondřej Surý wrote:
>>> Etch's php will not have this fixed and lenny version is already ok.
>> May I ask a dumb question: Why can't it be fixed? Because of stable
>> policy or because of other (technical) reasons?
> 
> Well, both.  First - we do nothing special to list files to include
> in php5-dev, we just include whole usr/include - that means that
> those files were not available in upstream php 5.2.0.
> Second - yes, because of stable policy.

Ok, thanks for explanation.

I filed a PECL bug: http://pecl.php.net/bugs/bug.php?id=14495

You can close this bug report. Sorry for wasting your time. :)

-soenke




Reply sent to "Ondřej Surý" <ondrej@sury.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Soenke Ruempler <soenke@jimdo.com>:
Bug acknowledged by developer. (full text, mbox, link).


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

From: "Ondřej Surý" <ondrej@sury.org>
To: 494754-done@bugs.debian.org
Subject: Fwd: [php-maint] Bug#494754: Bug#494754: php5-dev: Compiling pecl/phar fails because of missing include/ext/spl/ directory
Date: Wed, 13 Aug 2008 00:55:33 +0200
---------- Forwarded message ----------
From: Soenke - Jimdo <soenke@jimdo.com>
Date: 2008/8/12
Subject: [php-maint] Bug#494754: Bug#494754: php5-dev: Compiling
pecl/phar fails because of missing include/ext/spl/ directory
To: Ondřej Surý <ondrej@sury.org>
Kopie: 494754@bugs.debian.org


Hi,

Ondřej Surý wrote:
>>> Etch's php will not have this fixed and lenny version is already ok.
>> May I ask a dumb question: Why can't it be fixed? Because of stable
>> policy or because of other (technical) reasons?
>
> Well, both.  First - we do nothing special to list files to include
> in php5-dev, we just include whole usr/include - that means that
> those files were not available in upstream php 5.2.0.
> Second - yes, because of stable policy.

Ok, thanks for explanation.

I filed a PECL bug: http://pecl.php.net/bugs/bug.php?id=14495

You can close this bug report. Sorry for wasting your time. :)

-soenke



_______________________________________________
pkg-php-maint mailing list
pkg-php-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint


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

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 10 Sep 2008 07:31:30 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:57:43 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.