[MacPorts] #33356: php5-rrd: new port

MacPorts noreply at macports.org
Fri Mar 23 23:03:03 PDT 2012


#33356: php5-rrd: new port
---------------------------------+------------------------------------------
 Reporter:  opensource@…         |       Owner:  ryandesign@…           
     Type:  update               |      Status:  assigned               
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:                         
 Keywords:  haspatch             |        Port:  php5-rrd               
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * status:  new => assigned


Comment:

 Actually... with both the old php5-rrdtool and the new php5-rrd loaded,
 php crashes:

 {{{
 $ php
 PHP Warning:  Function registration failed - duplicate name - rrd_graph in
 Unknown on line 0

 Warning: Function registration failed - duplicate name - rrd_graph in
 Unknown on line 0
 PHP Warning:  Function registration failed - duplicate name - rrd_fetch in
 Unknown on line 0

 Warning: Function registration failed - duplicate name - rrd_fetch in
 Unknown on line 0
 PHP Warning:  Function registration failed - duplicate name - rrd_error in
 Unknown on line 0

 Warning: Function registration failed - duplicate name - rrd_error in
 Unknown on line 0
 PHP Warning:  Function registration failed - duplicate name - rrd_update
 in Unknown on line 0

 Warning: Function registration failed - duplicate name - rrd_update in
 Unknown on line 0
 PHP Warning:  Function registration failed - duplicate name - rrd_last in
 Unknown on line 0

 Warning: Function registration failed - duplicate name - rrd_last in
 Unknown on line 0
 PHP Warning:  Function registration failed - duplicate name - rrd_create
 in Unknown on line 0

 Warning: Function registration failed - duplicate name - rrd_create in
 Unknown on line 0
 PHP Warning:  rrdtool: Unable to register functions, unable to load in
 Unknown on line 0

 Warning: rrdtool: Unable to register functions, unable to load in Unknown
 on line 0
 Segmentation fault
 }}}

 Those "duplicate name" messages make me think the new php5-rrd is indeed
 an evolution of the old php5-rrdtool after all. The old php5-rrdtool was
 from 2005 and the new php5-rrd is from 2011 so I suppose it's not
 surprising that the extracted directories bear little resemblance to one
 another after 6 years of evolution.

 So my new suggestion is to add a new php5-rrd port (I've attached a
 cleaned-up portfile) while marking php5-rrdtool as replaced_by php5-rrd.
 Mark, does that sound right?

-- 
Ticket URL: <https://trac.macports.org/ticket/33356#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list