Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 08:07:52 GMT
From:      Andrew Kochetkov <kochetkov.andrew@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168002: pecl-http : can't build due to API change
Message-ID:  <201205170807.q4H87qLV076001@red.freebsd.org>
Resent-Message-ID: <201205170810.q4H8A2ge023685@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168002
>Category:       ports
>Synopsis:       pecl-http : can't build due to API change
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 17 08:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Kochetkov
>Release:        8.2-RELEASE
>Organization:
Quickpay
>Environment:
>Description:
can't build pecl-http 1.7.1 from ports:

/var/ports/basejail/usr/ports/www/pecl-http/work/pecl_http-1.7.1/http_message_object.c: In function '_http_message_object_new_ex':
/var/ports/basejail/usr/ports/www/pecl-http/work/pecl_http-1.7.1/http_message_object.c:517: error: 'zend_class_entry' has no member named 'default_properties'
/var/ports/basejail/usr/ports/www/pecl-http/work/pecl_http-1.7.1/http_message_object.c:518: error: 'zend_class_entry' has no member named 'default_properties'

but 1.7.4 works with php5.4
>How-To-Repeat:
try to build pecl-http with php 5.4 installed
>Fix:
change version to 1.7.4 (patch is appached)

Patch attached with submission follows:

diff -nru pecl-http.orig/Makefile pecl-http/Makefile
--- pecl-http.orig/Makefile	2011-06-25 12:52:38.000000000 +0400
+++ pecl-http/Makefile	2012-05-17 11:58:08.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	http
-PORTVERSION=	1.7.1
+PORTVERSION=	1.7.4
 CATEGORIES=	www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
diff -nru pecl-http.orig/distinfo pecl-http/distinfo
--- pecl-http.orig/distinfo	2011-06-25 12:52:38.000000000 +0400
+++ pecl-http/distinfo	2012-05-17 12:02:11.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (pecl_http-1.7.1.tgz) = e6f6ee2e1d724486fbc6e9c8f54fe1751309422c704e6f727af342ee499458f2
-SIZE (pecl_http-1.7.1.tgz) = 174098
+SHA256 (pecl_http-1.7.4.tgz) = 9006122f45a96754a417fd5afb00a7b6ad1aa125dd2158e56ca1b2d334421e03
+SIZE (pecl_http-1.7.4.tgz) = 174503


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205170807.q4H87qLV076001>