swig1.3: ftbfs [sparc] too few arguments to function `zend_rsrc_list_get_rsrc_type'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swig1.3 (Debian) |
Fix Released
|
Unknown
|
|||
swig1.3 (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #294499 http://
In Debian Bug tracker #294499, Kurt Roeckx (kurt-roeckx) wrote : Re: swig1.3: FTBFS: too few arguments to function `zend_rsrc_list_get_rsrc_type' | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Automatically imported from Debian bug report #294499 http://
Debian Bug Importer (debzilla) wrote : | #3 |
Message-Id: <email address hidden>
Date: Wed, 09 Feb 2005 16:24:44 -0800
From: Blars Blarson <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: swig1.3: ftbfs [sparc] too few arguments to function `zend_rsrc_
Package: swig1.3
Version: 1.3.22-6
Severity: normal
swig1.3 fails to build from source on sparc, duplicated on sparc pbuilder.
gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/include/php4 -I/usr/
libphp4.c: In function `SWIG_ZTS_
libphp4.c:535: error: too few arguments to function `zend_rsrc_
make[2]: *** [libswigphp4_
make[2]: Leaving directory `/tmp/buildd/
make[1]: *** [runtime] Error 2
Debian Bug Importer (debzilla) wrote : | #4 |
Message-ID: <email address hidden>
Date: Fri, 11 Feb 2005 21:01:04 +0100
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Re: swig1.3: FTBFS: too few arguments to function `zend_rsrc_
severity 294499 serious
thanks
It's failing with the same error on all arches.
Kurt
In Debian Bug tracker #294499, Torsten Landschoff (torsten) wrote : Re: Bug#294499: swig1.3: ftbfs [sparc] too few arguments to function `zend_rsrc_list_get_rsrc_type' | #5 |
On Wed, Feb 09, 2005 at 04:24:44PM -0800, Blars Blarson wrote:
> swig1.3 fails to build from source on sparc, duplicated on sparc pbuilder.
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/include/php4 -I/usr/
> libphp4.c: In function `SWIG_ZTS_
> libphp4.c:535: error: too few arguments to function `zend_rsrc_
Okay, that was part of the runtime libraries. They are gone (replaced)
in swig 1.3.24 which is already packaged but I am waiting for dependent
packages to repair the no-runtime-anymore breakage.
Should be a non-issue mid of next week.
Greetings
Torsten
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : tagging 294499 | #6 |
tags 294499 pending
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Sat, 12 Feb 2005 19:47:11 +0100
From: Torsten Landschoff <email address hidden>
To: Blars Blarson <email address hidden>, <email address hidden>
Subject: Re: Bug#294499: swig1.3: ftbfs [sparc] too few arguments to function
`zend_
--Y5rl02BVI9TCfPar
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Wed, Feb 09, 2005 at 04:24:44PM -0800, Blars Blarson wrote:
=20
> swig1.3 fails to build from source on sparc, duplicated on sparc pbuilder.
>=20
> gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/include/php4 -I/u=
sr/include/
EENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-
/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_
php4_la-libphp4.lo -MD -MP -MF .deps/libswigph
c -fPIC -DPIC -o .libs/libswigph
> libphp4.c: In function `SWIG_ZTS_
> libphp4.c:535: error: too few arguments to function `zend_rsrc_
src_type'
Okay, that was part of the runtime libraries. They are gone (replaced)
in swig 1.3.24 which is already packaged but I am waiting for dependent=20
packages to repair the no-runtime-anymore breakage.
Should be a non-issue mid of next week.
Greetings
Torsten
--Y5rl02BVI9TCfPar
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCDk8vdQg
glkmgMJUJGMHPRA
=duBn
-----END PGP SIGNATURE-----
--Y5rl02BVI9TCf
Debian Bug Importer (debzilla) wrote : | #8 |
Message-Id: <email address hidden>
Date: Sat, 12 Feb 2005 19:49:10 +0100
From: Torsten Landschoff <email address hidden>
To: <email address hidden>
Subject: tagging 294499
tags 294499 pending
In Debian Bug tracker #294499, Olly Betts (ojwb) wrote : Re: Bug#294499: swig1.3: ftbfs [sparc] too few arguments to function `zend_rsrc_list_get_rsrc_type' | #9 |
On Sat, Feb 12, 2005 at 07:47:11PM +0100, Torsten Landschoff wrote:
> On Wed, Feb 09, 2005 at 04:24:44PM -0800, Blars Blarson wrote:
>
> > swig1.3 fails to build from source on sparc, duplicated on sparc pbuilder.
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/include/php4 -I/usr/
> > libphp4.c: In function `SWIG_ZTS_
> > libphp4.c:535: error: too few arguments to function `zend_rsrc_
>
> Okay, that was part of the runtime libraries. They are gone (replaced)
> in swig 1.3.24 which is already packaged but I am waiting for dependent
> packages to repair the no-runtime-anymore breakage.
>
> Should be a non-issue mid of next week.
Actually, the same problem is still present in PHP wrapper code generated by
SWIG, so I suspect this will move from a FTBFS for SWIG to a FTBFS for any
package which use SWIG to generate PHP bindings. This problem has been there
all along. The reason we're only now seeing it is that the Debian php4 package
recently enabled thread safety in Zend:
php4 (4:4.3.10-3) unstable; urgency=medium
[snip]
* Enable Zend Thread Safety for all SAPIs, meaning that our modules
are now compiled for ZTS APIs as well. (closes: #278212, #264015)
- Make sure caudium-php4 now provides phpapi-$(ver), and modules can
be configured with the caudium SAPI.
- Add 039-reentrant_
libldap and libmysqlclient
[snip]
-- Adam Conrad <adconrad@0c3.net> Sun, 6 Feb 2005 05:32:11 -0700
I've attached a patch which fixes this.
When thread safety is enabled, zend_rsrc_
than one argument, and there's some standard macro magic to deal with this.
It's used throughout the patched file - it's just missing in this one call
(when thread safety is off, TSRMLS_CC is empty, which is why it's worked up
until now).
Cheers,
Olly
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <email address hidden>
Date: Mon, 21 Feb 2005 07:39:53 +0000
From: Olly Betts <email address hidden>
To: Torsten Landschoff <email address hidden>
Cc: Blars Blarson <email address hidden>, <email address hidden>
Subject: Re: Bug#294499: swig1.3: ftbfs [sparc] too few arguments to function
`zend_
--5I6of5zJg18YgZEa
Content-Type: text/plain; charset=us-ascii
Content-
On Sat, Feb 12, 2005 at 07:47:11PM +0100, Torsten Landschoff wrote:
> On Wed, Feb 09, 2005 at 04:24:44PM -0800, Blars Blarson wrote:
>
> > swig1.3 fails to build from source on sparc, duplicated on sparc pbuilder.
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/include/php4 -I/usr/
> > libphp4.c: In function `SWIG_ZTS_
> > libphp4.c:535: error: too few arguments to function `zend_rsrc_
>
> Okay, that was part of the runtime libraries. They are gone (replaced)
> in swig 1.3.24 which is already packaged but I am waiting for dependent
> packages to repair the no-runtime-anymore breakage.
>
> Should be a non-issue mid of next week.
Actually, the same problem is still present in PHP wrapper code generated by
SWIG, so I suspect this will move from a FTBFS for SWIG to a FTBFS for any
package which use SWIG to generate PHP bindings. This problem has been there
all along. The reason we're only now seeing it is that the Debian php4 package
recently enabled thread safety in Zend:
php4 (4:4.3.10-3) unstable; urgency=medium
[snip]
* Enable Zend Thread Safety for all SAPIs, meaning that our modules
are now compiled for ZTS APIs as well. (closes: #278212, #264015)
- Make sure caudium-php4 now provides phpapi-$(ver), and modules can
be configured with the caudium SAPI.
- Add 039-reentrant_
libldap and libmysqlclient
[snip]
-- Adam Conrad <adconrad@0c3.net> Sun, 6 Feb 2005 05:32:11 -0700
I've attached a patch which fixes this.
When thread safety is enabled, zend_rsrc_
than one argument, and there's some standard macro magic to deal with this.
It's used throughout the patched file - it's just missing in this one call
(when thread safety is off, TSRMLS_CC is empty, which is why it's worked up
until now).
Cheers,
Olly
--5I6of5zJg18YgZEa
Content-Type: text/plain; charset=us-ascii
Content-
--- Lib/php4/
+++ Lib/php4/
@@ -195,7 +195,7 @@
p = value->ptr;
if (type==-1) return -1;
- type_name=
+ type_name=
return SWIG_ZTS_
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : tagging 294499 | #11 |
tags 294499 + patch upstream
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : | #12 |
tags 294499 - pending
In Debian Bug tracker #294499, Torsten Landschoff (torsten) wrote : [PATCH] Bug in PHP4 wrapper generation | #13 |
Hi there,
Seems like the wrapper generation for php4 is a big buggy with Zend
thread safety enabled. The following patch courtesy of Olly Betts should
fix this:
--- Lib/php4/
+++ Lib/php4/
@@ -195,7 +195,7 @@
p = value->ptr;
if (type==-1) return -1;
- type_name=
+ type_name=
return SWIG_ZTS_
}
For more information please have a look at
Thanks
Torsten
Debian Bug Importer (debzilla) wrote : | #14 |
Message-Id: <email address hidden>
Date: Mon, 21 Feb 2005 11:52:28 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: tagging 294499
tags 294499 + patch upstream
Debian Bug Importer (debzilla) wrote : | #15 |
Message-Id: <email address hidden>
Date: Mon, 21 Feb 2005 11:52:34 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: tagging 294499
tags 294499 - pending
Debian Bug Importer (debzilla) wrote : | #16 |
Message-ID: <email address hidden>
Date: Mon, 21 Feb 2005 11:56:27 +0100
From: Torsten Landschoff <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: [PATCH] Bug in PHP4 wrapper generation
Hi there,
Seems like the wrapper generation for php4 is a big buggy with Zend
thread safety enabled. The following patch courtesy of Olly Betts should
fix this:
--- Lib/php4/
+++ Lib/php4/
@@ -195,7 +195,7 @@
p = value->ptr;
if (type==-1) return -1;
- type_name=
+ type_name=
return SWIG_ZTS_
}
For more information please have a look at
Thanks
Torsten
In Debian Bug tracker #294499, wsfulton (wsf) wrote : Re: [Swig-dev] [PATCH] Bug in PHP4 wrapper generation | #17 |
Torsten Landschoff wrote:
> Hi there,
>
> Seems like the wrapper generation for php4 is a big buggy with Zend
> thread safety enabled. The following patch courtesy of Olly Betts should
> fix this:
>
> --- Lib/php4/
> +++ Lib/php4/
> @@ -195,7 +195,7 @@
> p = value->ptr;
> if (type==-1) return -1;
>
> - type_name=
> + type_name=
>
> return SWIG_ZTS_
> }
>
> For more information please have a look at
>
> http://
>
> Thanks
>
> Torsten
I've committed this to the cvs repository, but have no way of checking
it, so please try it out.
William
Debian Bug Importer (debzilla) wrote : | #18 |
Message-ID: <email address hidden>
Date: Tue, 22 Feb 2005 05:41:16 +0000
From: William S Fulton <email address hidden>
To: Torsten Landschoff <email address hidden>
CC: <email address hidden>, <email address hidden>
Subject: Re: [Swig-dev] [PATCH] Bug in PHP4 wrapper generation
Torsten Landschoff wrote:
> Hi there,
>
> Seems like the wrapper generation for php4 is a big buggy with Zend
> thread safety enabled. The following patch courtesy of Olly Betts should
> fix this:
>
> --- Lib/php4/
> +++ Lib/php4/
> @@ -195,7 +195,7 @@
> p = value->ptr;
> if (type==-1) return -1;
>
> - type_name=
> + type_name=
>
> return SWIG_ZTS_
> }
>
> For more information please have a look at
>
> http://
>
> Thanks
>
> Torsten
I've committed this to the cvs repository, but have no way of checking
it, so please try it out.
William
In Debian Bug tracker #294499, Torsten Landschoff (torsten) wrote : | #19 |
Hi William,
On Tue, Feb 22, 2005 at 05:41:16AM +0000, William S Fulton wrote:
> >Seems like the wrapper generation for php4 is a big buggy with Zend
> >thread safety enabled. The following patch courtesy of Olly Betts should
> I've committed this to the cvs repository, but have no way of checking
> it, so please try it out.
Just did. Seems like there are a number of additional problems. I tried
wrapping a simple example and it fails with
cdaudio_
function)
reported only once
every time SWIG_ConvertPtr ist called. Which is no wonder since that
macro uses TSRMLS_CC without a definition (which would be TSRMLS_D or
TSRMLS_DC).
No idea how to fix this :(
Greetings
Torsten
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : retitle 294499 to php4 wrappers broken for thread-safe php | #20 |
retitle 294499 php4 wrappers broken for thread-safe php
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : tagging 294499 | #21 |
tags 294499 upstream
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : | #22 |
tags 294499 confirmed
Debian Bug Importer (debzilla) wrote : | #23 |
Message-Id: <email address hidden>
Date: Tue, 22 Feb 2005 10:26:20 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: retitle 294499 to php4 wrappers broken for thread-safe php
retitle 294499 php4 wrappers broken for thread-safe php
Debian Bug Importer (debzilla) wrote : | #24 |
Message-Id: <email address hidden>
Date: Tue, 22 Feb 2005 10:26:27 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: tagging 294499
tags 294499 upstream
Debian Bug Importer (debzilla) wrote : | #25 |
Message-Id: <email address hidden>
Date: Tue, 22 Feb 2005 10:26:51 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: tagging 294499
tags 294499 confirmed
Debian Bug Importer (debzilla) wrote : | #26 |
Message-ID: <email address hidden>
Date: Tue, 22 Feb 2005 10:25:14 +0100
From: Torsten Landschoff <email address hidden>
To: William S Fulton <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: [Swig-dev] [PATCH] Bug in PHP4 wrapper generation
Hi William,
On Tue, Feb 22, 2005 at 05:41:16AM +0000, William S Fulton wrote:
> >Seems like the wrapper generation for php4 is a big buggy with Zend
> >thread safety enabled. The following patch courtesy of Olly Betts should
> I've committed this to the cvs repository, but have no way of checking
> it, so please try it out.
Just did. Seems like there are a number of additional problems. I tried
wrapping a simple example and it fails with
cdaudio_
function)
reported only once
every time SWIG_ConvertPtr ist called. Which is no wonder since that
macro uses TSRMLS_CC without a definition (which would be TSRMLS_D or
TSRMLS_DC).
No idea how to fix this :(
Greetings
Torsten
In Debian Bug tracker #294499, wsfulton (wsf) wrote : Re: [Swig-dev] [PATCH] Bug in PHP4 wrapper generation | #27 |
Torsten Landschoff wrote:
> Hi William,
>
> On Tue, Feb 22, 2005 at 05:41:16AM +0000, William S Fulton wrote:
>>>Seems like the wrapper generation for php4 is a big buggy with Zend
>>>thread safety enabled. The following patch courtesy of Olly Betts should
>
>>I've committed this to the cvs repository, but have no way of checking
>>it, so please try it out.
>
> Just did. Seems like there are a number of additional problems. I tried
> wrapping a simple example and it fails with
>
> cdaudio_
> function)
> reported only once
>
> every time SWIG_ConvertPtr ist called. Which is no wonder since that
> macro uses TSRMLS_CC without a definition (which would be TSRMLS_D or
> TSRMLS_DC).
>
> No idea how to fix this :(
>
I'm afraid that the PHP module is under neglect as the PHP maintainer
isn't around anymore. I'll commit any patches until a new volunteer
comes along though.
William
Debian Bug Importer (debzilla) wrote : | #28 |
Message-ID: <email address hidden>
Date: Tue, 22 Feb 2005 21:00:52 +0000
From: William S Fulton <email address hidden>
To: Torsten Landschoff <email address hidden>
CC: <email address hidden>, <email address hidden>
Subject: Re: [Swig-dev] [PATCH] Bug in PHP4 wrapper generation
Torsten Landschoff wrote:
> Hi William,
>
> On Tue, Feb 22, 2005 at 05:41:16AM +0000, William S Fulton wrote:
>>>Seems like the wrapper generation for php4 is a big buggy with Zend
>>>thread safety enabled. The following patch courtesy of Olly Betts should
>
>>I've committed this to the cvs repository, but have no way of checking
>>it, so please try it out.
>
> Just did. Seems like there are a number of additional problems. I tried
> wrapping a simple example and it fails with
>
> cdaudio_
> function)
> reported only once
>
> every time SWIG_ConvertPtr ist called. Which is no wonder since that
> macro uses TSRMLS_CC without a definition (which would be TSRMLS_D or
> TSRMLS_DC).
>
> No idea how to fix this :(
>
I'm afraid that the PHP module is under neglect as the PHP maintainer
isn't around anymore. I'll commit any patches until a new volunteer
comes along though.
William
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : | #29 |
Hi William,
On Tue, Feb 22, 2005 at 09:00:52PM +0000, William S Fulton wrote:
> >every time SWIG_ConvertPtr ist called. Which is no wonder since that
> >macro uses TSRMLS_CC without a definition (which would be TSRMLS_D or
> >TSRMLS_DC).
> >
> >No idea how to fix this :(
> >
> I'm afraid that the PHP module is under neglect as the PHP maintainer
> isn't around anymore. I'll commit any patches until a new volunteer
> comes along though.
Yep, that was my impression already. That also the reason why I looked
that deep into it and I'll try to get those problems fixed but I had
other things to do when I wrote that email so I thought I'd better get
that information I have out first and care about anything else later.
Greetings
Torsten
Debian Bug Importer (debzilla) wrote : | #30 |
Message-ID: <email address hidden>
Date: Tue, 22 Feb 2005 23:52:23 +0100
From: <email address hidden> (Torsten Landschoff)
To: William S Fulton <email address hidden>
Cc: Torsten Landschoff <email address hidden>,
<email address hidden>, <email address hidden>
Subject: Re: [Swig-dev] [PATCH] Bug in PHP4 wrapper generation
Hi William,
On Tue, Feb 22, 2005 at 09:00:52PM +0000, William S Fulton wrote:
> >every time SWIG_ConvertPtr ist called. Which is no wonder since that
> >macro uses TSRMLS_CC without a definition (which would be TSRMLS_D or
> >TSRMLS_DC).
> >
> >No idea how to fix this :(
> >
> I'm afraid that the PHP module is under neglect as the PHP maintainer
> isn't around anymore. I'll commit any patches until a new volunteer
> comes along though.
Yep, that was my impression already. That also the reason why I looked
that deep into it and I'll try to get those problems fixed but I had
other things to do when I wrote that email so I thought I'd better get
that information I have out first and care about anything else later.
Greetings
Torsten
Matt Zimmerman (mdz) wrote : | #31 |
Seems to be triggered by an issue in a version of php4 which entered Debian post-UVF
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : tagging 294499 | #32 |
tags 294499 - patch
Debian Bug Importer (debzilla) wrote : | #33 |
Message-Id: <email address hidden>
Date: Mon, 28 Feb 2005 12:56:42 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: tagging 294499
tags 294499 - patch
In Debian Bug tracker #294499, Steve Langasek (vorlon) wrote : Re: php4 wrappers broken for thread-safe php | #34 |
Hi Torsten,
I'm happy to hack on this bug to get it fixed, but I'm afraid I'm starting
from square-one as far as knowledge of swig is concerned. Could you send me
a copy of your "simple example" that I could start from?
Thanks,
--
Steve Langasek
postmodern programmer
Debian Bug Importer (debzilla) wrote : | #35 |
Message-ID: <email address hidden>
Date: Thu, 3 Mar 2005 20:49:41 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: php4 wrappers broken for thread-safe php
--i7F3eY7HS/tUJxUd
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hi Torsten,
I'm happy to hack on this bug to get it fixed, but I'm afraid I'm starting
=66rom square-one as far as knowledge of swig is concerned. Could you send=
me
a copy of your "simple example" that I could start from?
Thanks,
--=20
Steve Langasek
postmodern programmer
--i7F3eY7HS/tUJxUd
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCJ+
bESLkuXETLJJGjN
=DUu7
-----END PGP SIGNATURE-----
--i7F3eY7HS/
In Debian Bug tracker #294499, Torsten Landschoff (torsten) wrote : Re: Bug#294499: php4 wrappers broken for thread-safe php | #36 |
Hi Steve,
On Thu, Mar 03, 2005 at 08:49:41PM -0800, Steve Langasek wrote:
> I'm happy to hack on this bug to get it fixed, but I'm afraid I'm starting
> from square-one as far as knowledge of swig is concerned. Could you send me
> a copy of your "simple example" that I could start from?
Not sure if a simple example will cut it ;) What I used for testing this
problem was a wrapper for libcdaudio I originally started to grab my
CDs. Real world was in the way so that project did not go anywhere but
I should still build as far as I got.
I attached the sources. If you get that to build for PHP we should be
all set. There is a test.py which worked using the python bindings so
that would be a nice test after converting to PHP also. Guess it should
work if it builds though...
Thanks and Greetings
Torsten
In Debian Bug tracker #294499, Torsten Landschoff (torsten) wrote : | #37 |
Hi again,
On Fri, Mar 04, 2005 at 09:50:25AM +0100, Torsten Landschoff wrote:
> On Thu, Mar 03, 2005 at 08:49:41PM -0800, Steve Langasek wrote:
> > I'm happy to hack on this bug to get it fixed, but I'm afraid I'm starting
> > from square-one as far as knowledge of swig is concerned. Could you send me
> > a copy of your "simple example" that I could start from?
BTW: I digged a bit deeper and it is all but simple. The Zend API looks
a bit awkward to me.
I looked into currenct PHP CVS and found the soap extension to be a good
example a of module providing classes to PHP. It uses some defines new
to the PHP5 header files (PHP_METHOD etc.) which are conditionally
defined for older zend engines as well. I think this is what the wrapper
code should use as well.
This does not help in my example as the tsrm_ls (some lock pointer it
seems) is not passed to the property getters and setters so I wonder how
this can be fixed there.
Greetings
Torsten
Debian Bug Importer (debzilla) wrote : | #38 |
Message-ID: <email address hidden>
Date: Fri, 4 Mar 2005 09:50:25 +0100
From: Torsten Landschoff <email address hidden>
To: Steve Langasek <email address hidden>, <email address hidden>
Subject: Re: Bug#294499: php4 wrappers broken for thread-safe php
--5G06lTa6Jq83wMTw
Content-Type: multipart/mixed; boundary=
Content-
--Bn2rw/3z4jIqBvZU
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hi Steve,=20
On Thu, Mar 03, 2005 at 08:49:41PM -0800, Steve Langasek wrote:
> I'm happy to hack on this bug to get it fixed, but I'm afraid I'm starting
> from square-one as far as knowledge of swig is concerned. Could you send=
me
> a copy of your "simple example" that I could start from?
Not sure if a simple example will cut it ;) What I used for testing this
problem was a wrapper for libcdaudio I originally started to grab my
CDs. Real world was in the way so that project did not go anywhere but
I should still build as far as I got.
I attached the sources. If you get that to build for PHP we should be
all set. There is a test.py which worked using the python bindings so=20
that would be a nice test after converting to PHP also. Guess it should
work if it builds though...
Thanks and Greetings
Torsten
--Bn2rw/3z4jIqBvZU
Content-Type: application/
Content-
Content-
H4sIAB0hKEIAA+
zn/ve7u4DwJSaGf
o/FwPNzbP9wZjvY
43B/v8L+
jhxi/o32xe/
PAnhvyWdAZChTrA
0pHtBNvrCGVJlAv
wB0i5lRba97yIvu
Of3bzS/
kYqKy4vGACpvuM+
ioF1enby9uziWll
My8Cx5SGcD0OEcR
BNRjs6qWEFCTNC/
hjpUH7pjpHszBTh
iuTx31ISMYWYsW2
CRSitrurwiiUJCQ
8Cj3YNcIfFreBGN
MqtUWGiFsdWESUY
uyTdlqCQDj6rIEg
wD30hakbNkz+
Ka7SWEYQBcCcPGX
Z3aQR8w75upzIeA
glviCyQPF2Rp8SV
zxlHxoLcvxVCrzy
Debian Bug Importer (debzilla) wrote : | #39 |
Message-ID: <email address hidden>
Date: Fri, 4 Mar 2005 10:25:56 +0100
From: Torsten Landschoff <email address hidden>
To: Torsten Landschoff <email address hidden>
Cc: Steve Langasek <email address hidden>, <email address hidden>
Subject: Re: Bug#294499: php4 wrappers broken for thread-safe php
--IU5/I01NYhRvwH70
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hi again,=20
On Fri, Mar 04, 2005 at 09:50:25AM +0100, Torsten Landschoff wrote:
> On Thu, Mar 03, 2005 at 08:49:41PM -0800, Steve Langasek wrote:
> > I'm happy to hack on this bug to get it fixed, but I'm afraid I'm start=
ing
> > from square-one as far as knowledge of swig is concerned. Could you se=
nd me
> > a copy of your "simple example" that I could start from?
BTW: I digged a bit deeper and it is all but simple. The Zend API looks
a bit awkward to me.=20
I looked into currenct PHP CVS and found the soap extension to be a good
example a of module providing classes to PHP. It uses some defines new
to the PHP5 header files (PHP_METHOD etc.) which are conditionally
defined for older zend engines as well. I think this is what the wrapper
code should use as well.
This does not help in my example as the tsrm_ls (some lock pointer it
seems) is not passed to the property getters and setters so I wonder how=20
this can be fixed there.=20
Greetings
Torsten
--IU5/I01NYhRvwH70
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCKCmkdQg
ecKRgcNyNUyI8Yt
=L5I1
-----END PGP SIGNATURE-----
--IU5/I01NYhRvw
In Debian Bug tracker #294499, Steve Langasek (vorlon) wrote : Re php4 wrappers broken for thread-safe php | #40 |
Hi Torsten,
It seems that because of this and several other bugs that are not easily
resolvable in the sarge time frame, as well as pressure from upstream, we
are going to be backing out PHP's ZTS support in the next day or so; at
which point this bug will be a non-issue for us.
Cheers,
--
Steve Langasek
postmodern programmer
Debian Bug Importer (debzilla) wrote : | #41 |
Message-ID: <email address hidden>
Date: Wed, 23 Mar 2005 00:47:28 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re php4 wrappers broken for thread-safe php
--wULyF7TL5taEdwHz
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hi Torsten,
It seems that because of this and several other bugs that are not easily
resolvable in the sarge time frame, as well as pressure from upstream, we
are going to be backing out PHP's ZTS support in the next day or so; at
which point this bug will be a non-issue for us.
Cheers,
--=20
Steve Langasek
postmodern programmer
--wULyF7TL5taEdwHz
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCQS0eKN6
E+VRVKmAAOfVsAG
=u4Sp
-----END PGP SIGNATURE-----
--wULyF7TL5taEd
In Debian Bug tracker #294499, Torsten Landschoff (torsten) wrote : Re: Bug#294499: Re php4 wrappers broken for thread-safe php | #42 |
Hi Steve,
On Wed, Mar 23, 2005 at 12:47:28AM -0800, Steve Langasek wrote:
> It seems that because of this and several other bugs that are not easily
> resolvable in the sarge time frame, as well as pressure from upstream, we
> are going to be backing out PHP's ZTS support in the next day or so; at
> which point this bug will be a non-issue for us.
Thanks for the info. The bug remains valid though as swig should be able
to cope with ZTS. But I'll lower the severity to normal.
Greetings
Torsten
In Debian Bug tracker #294499, Torsten Landschoff (t-landschoff) wrote : severity of 294499 is normal | #43 |
severity 294499 normal
Debian Bug Importer (debzilla) wrote : | #44 |
Message-ID: <email address hidden>
Date: Wed, 23 Mar 2005 11:24:40 +0100
From: Torsten Landschoff <email address hidden>
To: Steve Langasek <email address hidden>, <email address hidden>
Subject: Re: Bug#294499: Re php4 wrappers broken for thread-safe php
--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hi Steve,=20
On Wed, Mar 23, 2005 at 12:47:28AM -0800, Steve Langasek wrote:
> It seems that because of this and several other bugs that are not easily
> resolvable in the sarge time frame, as well as pressure from upstream, we
> are going to be backing out PHP's ZTS support in the next day or so; at
> which point this bug will be a non-issue for us.
Thanks for the info. The bug remains valid though as swig should be able
to cope with ZTS. But I'll lower the severity to normal.
Greetings
Torsten
--cWoXeonUoKmBZSoM
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCQUPodQg
p31OYyNI6QHeENU
=VzcX
-----END PGP SIGNATURE-----
--cWoXeonUoKmBZ
Debian Bug Importer (debzilla) wrote : | #45 |
Message-Id: <email address hidden>
Date: Wed, 23 Mar 2005 11:24:50 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: severity of 294499 is normal
severity 294499 normal
In Debian Bug tracker #294499, wsfulton (wsf) wrote : Bug fixed in SWIG-1.3.27 | #46 |
SWIG-1.3.27 contains the swig-fix-
Assumed fixed and closing corresponding swig bugtracker bug
http://
William
Debian Bug Importer (debzilla) wrote : | #47 |
Message-ID: <email address hidden>
Date: Sat, 05 Nov 2005 23:13:02 +0000
From: William S Fulton <email address hidden>
To: <email address hidden>
Subject: Bug fixed in SWIG-1.3.27
SWIG-1.3.27 contains the swig-fix-
Assumed fixed and closing corresponding swig bugtracker bug
http://
William
In Debian Bug tracker #294499, Torsten Landschoff (torsten) wrote : Re: Bug#294499: Bug fixed in SWIG-1.3.27 | #48 |
Hi William,
On Sat, Nov 05, 2005 at 11:13:02PM +0000, William S Fulton wrote:
> SWIG-1.3.27 contains the swig-fix-
> Assumed fixed and closing corresponding swig bugtracker bug
> http://
Thanks, that's great to know. I'll update the Debian package.
Greetings
Torsten
Debian Bug Importer (debzilla) wrote : | #49 |
Message-ID: <email address hidden>
Date: Sun, 6 Nov 2005 15:42:35 +0100
From: Torsten Landschoff <email address hidden>
To: William S Fulton <email address hidden>,
<email address hidden>
Subject: Re: Bug#294499: Bug fixed in SWIG-1.3.27
--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hi William,=20
On Sat, Nov 05, 2005 at 11:13:02PM +0000, William S Fulton wrote:
> SWIG-1.3.27 contains the swig-fix-
> Assumed fixed and closing corresponding swig bugtracker bug
> http://
_id=3D1645&
Thanks, that's great to know. I'll update the Debian package.
Greetings
Torsten
--bp/iNruPH9dso1Pn
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDbhZbdQg
eGHbN0X1DcejZJ6
=k0Em
-----END PGP SIGNATURE-----
--bp/iNruPH9dso
Changed in swig1.3 (Debian): | |
status: | Confirmed → Fix Released |
severity 294499 serious
thanks
It's failing with the same error on all arches.
Kurt