php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59636 Error during install
Submitted: 2011-02-23 18:37 UTC Modified: 2017-10-24 23:24 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: technohandi at gmail dot com Assigned:
Status: Suspended Package: gupnp (PECL)
PHP Version: 5.3.3 OS: Ubuntu 10.10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: technohandi at gmail dot com
New email:
PHP Version: OS:

 

 [2011-02-23 18:37 UTC] technohandi at gmail dot com
Description:
------------
I simply wanted to install the gupnp package, I ran
'pecl install gupnp'
at first it wont let me due to it being beta,
then I changed preferred_state to beta then ran the command 
again.. resulted in (last few lines)


/tmp/pear/temp/gupnp/gupnp.c: In function 
?zif_gupnp_root_device_new?:
/tmp/pear/temp/gupnp/gupnp.c:1047: error: too few arguments 
to function ?gupnp_root_device_new?
make: *** [gupnp.lo] Error 1
ERROR: `make' failed


Reproduce code:
---------------
config-set preferred_state beta
sudo pecl install gupnp

Expected result:
----------------
gupnp to be installed.

Actual result:
--------------
/tmp/pear/temp/gupnp/gupnp.c: In function 
?zif_gupnp_root_device_new?:
/tmp/pear/temp/gupnp/gupnp.c:1047: error: too few arguments 
to function ?gupnp_root_device_new?
make: *** [gupnp.lo] Error 1
ERROR: `make' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-25 11:02 UTC] santiago739 at gmail dot com
What is the version number of libgupnp you have installed?
 [2011-03-03 01:13 UTC] technohandi at gmail dot com
I used the Ubuntu 10.10 repos. It says libgupnp-1.0-3, 
0.13.4-1build1.
 [2011-03-07 02:39 UTC] arthuradmin at sky dot com
I am having the same problem, also on Ubuntu 10.10 with 
ibgupnp-1.0-3.


/tmp/pear/temp/gupnp/gupnp.c: In function 
?zif_gupnp_root_device_new?:
/tmp/pear/temp/gupnp/gupnp.c:1047: error: too few arguments 
to function ?gupnp_root_device_new?
make: *** [gupnp.lo] Error 1
ERROR: `make' failed
 [2011-03-16 10:46 UTC] santiago739 at gmail dot com
The error occurred after changing API in libgupnp.
It was fixed in SVN and I decided to issue first stable 
release 1.0.0. So it should fix this bug.
 [2012-04-27 09:17 UTC] flanker_forever at hotmail dot com
gupnp.c still isn't fixed in the svn apparently

anyway if you want to compile/install the extension change every occurence of zend_list_insert like @line 334 in gupnp.c
sproxy->rsrc_id = zend_list_insert(sproxy, le_service_proxy);

to

sproxy->rsrc_id = zend_list_insert(sproxy, le_service_proxy TSRMLS_CC);

 TSRMLS_CC is a macro that basically insert another argument
 [2017-10-24 23:24 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 23:24 UTC] kalle@php.net
The gupnp package have not had a release since 2011 and no development since, its safe to say that this package is no longer maintained, if development picks back up then this report should be re-opened
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC