[Bug 197363] Can't install devel/pear with active open_basedir

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 6 11:17:37 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197363

            Bug ID: 197363
           Summary: Can't install devel/pear with active open_basedir
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: amp at nforced.net

Created attachment 152606
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152606&action=edit
full install log

Can't install devel/pear with active open_basedir in php.ini
If I remove/comment the open_basedir directive devel/pear can be installed.


root at www:~ # uname -a
FreeBSD www 10.1-RELEASE-p5 FreeBSD 10.1-RELEASE-p5 #0: Tue Jan 27 08:55:07 UTC
2015     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

root at www:~ # php -v
PHP 5.6.5 (cli) (built: Jan 24 2015 06:19:07)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

root at www:~ # portmaster devel/pear

===>>> Currently installed version: pear-1.9.4_3
===>>> Port directory: /usr/ports/devel/pear

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for devel/pear in background
===>>> Gathering dependency list for devel/pear from ports
===>>> Initial dependency check complete for devel/pear


===>>> Starting build for devel/pear <<<===

===>>> All dependencies are up to date

===>  Cleaning for pear-1.9.4_3
===>   pear-1.9.4_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pear-1.9.4_3 for building
===>  Extracting for pear-1.9.4_3
=> SHA256 Checksum OK for pear-1.9.4.tar.bz2.
===>  Patching for pear-1.9.4_3
===>  Applying FreeBSD patches for pear-1.9.4_3
===>   pear-1.9.4_3 depends on file: /usr/local/include/php/main/php.h - found
===>   pear-1.9.4_3 depends on file: /usr/local/lib/php/20131226/xml.so - found
===>  Configuring for pear-1.9.4_3
===>  Staging for pear-1.9.4_3
===>   Generating temporary packing list


******************************************************************************
FATAL ERROR! We cannot initialize the temp directory. Please be sure to give
full write access to this directory and the install directory.

'/tmp/pear' was given.sed:
/var/ports/basejail/usr/ports/devel/pear/work/stage/usr/local/share/pear/peclcmd.php:
No such file or directory
*** Error code 1

Stop.
make: stopped in /basejail/usr/ports/devel/pear

===>>> make stage failed for devel/pear
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> devel/pear

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list