ports/53015: devel/pear-PEAR: version bump of www/mod_php4 breaks installation of pear-* ports

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Jun 7 13:10:17 UTC 2003


>Number:         53015
>Category:       ports
>Synopsis:       devel/pear-PEAR: version bump of www/mod_php4 breaks installation of pear-* ports
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 07 06:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.8-STABLE FreeBSD 4.8-STABLE #9: Fri May 23 20:32:54 BST 2003 root at happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386

arbitrary:/usr/ports:% pkg_info -I '*php*'
mod_php4-4.3.2,1    PHP Apache Module
phpMyAdmin-2.3.2    A set of PHP-scripts to adminstrate MySQL over the web

>Description:

The recent update to php version 4.3.2 (www/mod_php4, lang/php, etc.)
means that much of the standard PEAR library formerly included in the
base PHP port now is no longer there. Consequently my PHP application
which relies on being able to include DB.php suddently ceased to work:

    % GET http://arbitrary.infracaninophile.co.uk/
    <br />
    <b>Warning</b>:  main(DB.php): failed to open stream: No such file or directory in <b>/usr/local/www/data/include/session_store.inc</b> on line <b>8</b><br />
    <br />
    <b>Fatal error</b>:  main(): Failed opening required 'DB.php' (include_path='.:/usr/local/share/pear') in <b>/usr/local/www/data/include/session_store.inc</b> on line <b>8</b><br />

That's a whole bunch of PHP functionality that's disappeared from the
main port, without even a warning in pkg-message.  After grepping
through a lot of pkg-plist files, it seems I need to install the
security/pear-Auth port.  That's all fine and dandy, but unfortunately
it seems that most of the pear-* ports aren't installable right now,
because devel/pear-PEAR fails to install.

>How-To-Repeat:

This is the result of:

    % sudo portinstall security/pear-Auth

--- portupgrade.out begins here ---
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 128 packages found (-0 +1) . done]
--->  Installing 'pear-Auth-1.2.0' from a port (security/pear-Auth)
--->  Building '/usr/ports/security/pear-Auth'
===>  Cleaning for libiconv-1.8_2
===>  Cleaning for bison-1.75
===>  Cleaning for gettext-0.11.5_1
===>  Cleaning for libtool-1.3.4_4
===>  Cleaning for m4-1.4_1
===>  Cleaning for mm-1.2.1
===>  Cleaning for pear-PEAR-1.0.1_2
===>  Cleaning for pear-install-4.3.2
===>  Cleaning for perl-5.6.1_13
===>  Cleaning for expat-1.95.6_1
===>  Cleaning for apache+mod_ssl-1.3.27+2.8.14
===>  Cleaning for mod_php4-4.3.2,1
===>  Cleaning for pear-Auth-1.2.0
===>  Extracting for pear-Auth-1.2.0
>Fix:

Not known.



>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for PEAR/Auth-1.2.0.tgz.
 ===>  Patching for pear-Auth-1.2.0
 ===>   pear-Auth-1.2.0 depends on file: /usr/local/lib/php/PEAR.php.dist - not found
 ===>    Verifying install for /usr/local/lib/php/PEAR.php.dist in /usr/ports/devel/pear-PEAR
 ===>  Extracting for pear-PEAR-1.0.1_2
 >> Checksum OK for PEAR/PEAR-1.0.1.tgz.
 ===>  Patching for pear-PEAR-1.0.1_2
 ===>   pear-PEAR-1.0.1_2 depends on file: /usr/local/lib/php.DIST_PHP - found
 ===>  Configuring for pear-PEAR-1.0.1_2
 ===>  Installing for pear-PEAR-1.0.1_2
 ===>   pear-PEAR-1.0.1_2 depends on file: /usr/local/lib/php.DIST_PHP - found
 mv: rename /usr/local/lib/php/OS to /usr/local/lib/php/OS.dist: No such file or directory
 *** Error code 1
 
 Stop in /usr/ports/devel/pear-PEAR.
 *** Error code 1
 
 Stop in /usr/ports/security/pear-Auth.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall48912.0 make
 ** Fix the problem and try again.
 ** The following packages were not installed or upgraded (*:skipped / !:failed)
 	! security/pear-Auth	(unknown build error)
 --- portupgrade.out ends here ---
 
 



More information about the freebsd-ports-bugs mailing list