From david@catwhisker.org  Sun Jul 25 20:16:31 2004
Return-Path: <david@catwhisker.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1A1DA16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jul 2004 20:16:31 +0000 (GMT)
Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C671743D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jul 2004 20:16:30 +0000 (GMT)
	(envelope-from david@catwhisker.org)
Received: from bunrab.catwhisker.org (localhost [127.0.0.1])
	by bunrab.catwhisker.org (8.12.11/8.12.11) with ESMTP id i6PKGU3T054236
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jul 2004 13:16:30 -0700 (PDT)
	(envelope-from david@bunrab.catwhisker.org)
Received: (from david@localhost)
	by bunrab.catwhisker.org (8.12.11/8.12.11/Submit) id i6PKGUEE054235;
	Sun, 25 Jul 2004 13:16:30 -0700 (PDT)
	(envelope-from david)
Message-Id: <200407252016.i6PKGUEE054235@bunrab.catwhisker.org>
Date: Sun, 25 Jul 2004 13:16:30 -0700 (PDT)
From: David Wolfskill <david@catwhisker.org>
Reply-To: David Wolfskill <david@catwhisker.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: www/gallery broken by new PHP structure
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69592
>Category:       ports
>Synopsis:       www/gallery broken by new PHP structure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 25 20:20:25 GMT 2004
>Closed-Date:    Fri Jul 30 21:48:14 GMT 2004
>Last-Modified:  Fri Jul 30 21:48:14 GMT 2004
>Originator:     David Wolfskill
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Wolfskill & Dowling Residence
>Environment:
System: FreeBSD bunrab.catwhisker.org 4.10-STABLE FreeBSD 4.10-STABLE #72: Sun Jul 25 06:47:57 PDT 2004 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/BUNRAB i386


>Description:

/usr/ports/UPDATING's entry for 20040719 correctly notes some issues
with respect to PHP.

However, there are ports (such as www/gallery) where the current PHP
port structure does not let the installer of the port know which PHP
extensions are required.

Indeed, the www/gallery port does not indicate that any such extensions
are required, with the result that it is easy to do a do an install of
www/gallery with no errors indicated until it's time to actually try to
use it, at which point messages such as

	Fatal error: Call to undefined function: session_id() in /usr/local/www/data-dist/gallery/session.php on line 47 

will be displayed instead of the desired information.

>How-To-Repeat:
Start with a machine running FreeBSD-STABLE, with /usr/ports
populated, but no ports installed.  Then

	cd /usr/ports/www/gallery && make install

After some time,the process should finish; if you point a Web browser
at http://localhost/gallery, you should see something similar to the
above "Fatal error".

>Fix:

It looks as if installing the "right" PHP extensions ought to fix this.
Apparently gallery depends on devel/php4-pcre and  lang/php4-extensions;
it may depend on other ports, as well.

I think the dependencies for www/gallery need to be re-worked to avoid
the problems

Peace, 
david
-- 
David H. Wolfskill				david@catwhisker.org
I do not "unsubscribe" from email "services" to which I have not explicitly
subscribed.  Rather, I block spammers' access to SMTP servers I control,
and encourage others who are in a position to do so to do likewise.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Jul 30 21:48:00 GMT 2004 
State-Changed-Why:  
This have been fixed in update to 1.4.4. Thank you for reporting. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69592 
>Unformatted:
