pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47754: php-pear can not be installed with unprivilegied user



>Number:         47754
>Category:       pkg
>Synopsis:       php-pear can not be installed with unprivilegied user
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 21 12:00:01 +0000 2013
>Originator:     Frédéric Fauberteau
>Release:        netbsd-6
>Organization:
>Environment:
NetBSD trashware 6.0_STABLE NetBSD 6.0_STABLE (TRASHWARE) #0: Fri Feb  8 
09:00:00 CET 2013  root@trashware:/usr/obj/sys/arch/amd64/compile/TRASHWARE 
amd64
>Description:
Pear wants to take a lock in library directory of php. But I have not enough 
pear experience  to know if it is possible to override php lib dir with 
$DESTDIR/usr/pkg/lib/php...

===> Installing in lang/pear
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Installing for php54-pear-1.9.4nb4
=> Generating pre-install file lists
=> Creating installation directories
/usr/bin/env DESTDIR=/usr/pkgsrc/lang/pear/work/.destdir /usr/pkg/bin/php 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear.php local

Bootstrapping Installer...................
Bootstrapping PEAR.php............(local) ok
Bootstrapping Archive/Tar.php............(local) ok
Bootstrapping Console/Getopt.php............(local) ok
PHP Strict Standards:  Non-static method PEAR::setErrorHandling() should not be 
called statically in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear.php 
on line 532

Extracting installer..................
Using local package: PEAR.............ok
Using local package: Structures_Graph....ok
Using local package: XML_Util.........ok

Preparing installer..................
PHP Strict Standards:  Non-static method System::tmpdir() should not be called 
statically in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Config.php on line 
167
PHP Strict Standards:  Non-static method PEAR_Config::singleton() should not be 
called statically in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear.php 
on line 585
PHP Strict Standards:  Non-static method 
PEAR_Installer_Role::initializeConfig() should not be called statically, 
assuming $this from incompatible context in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Config.php on line 599
PHP Strict Standards:  Non-static method PEAR_Installer_Role::registerRoles() 
should not be called statically, assuming $this from incompatible context in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Installer/Role.php on line 45
PHP Strict Standards:  Non-static method 
PEAR_Installer_Role::getBaseinstallRoles() should not be called statically, 
assuming $this from incompatible context in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Installer/Role.php on line 270
PHP Strict Standards:  Non-static method 
PEAR_Installer_Role::getInstallableRoles() should not be called statically, 
assuming $this from incompatible context in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Installer/Role.php on line 271
PHP Strict Standards:  Non-static method PEAR_Installer_Role::getPhpRoles() 
should not be called statically, assuming $this from incompatible context in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Installer/Role.php on line 272
PHP Strict Standards:  Non-static method PEAR_Installer_Role::getValidRoles() 
should not be called statically, assuming $this from incompatible context in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Installer/Role.php on line 273
PHP Strict Standards:  Non-static method PEAR_DependencyDB::singleton() should 
not be called statically, assuming $this from incompatible context in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Registry.php on line 328
PHP Warning:  touch(): Unable to create file /usr/pkg/lib/php/.lock because 
Permission denied in 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Registry.php on line 835

could not create lock file: fopen(/usr/pkg/lib/php/.lock): failed to open 
stream: No such file or directory
/usr/bin/install -c -o triaxx -g users -m 644 
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/pear.conf  
/usr/pkgsrc/lang/pear/work/.destdir/usr/pkg/share/examples/pear/pear.conf
install: /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/pear.conf: stat: No such file or 
directory
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pear
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pear
*** Error code 1
>How-To-Repeat:
By installing pear with unprivilegied user.
>Fix:
Install pear as root.



Home | Main Index | Thread Index | Old Index