#20321 [Fbk->NoF]: pear package problem

From: Date: Thu, 21 Nov 2002 23:13:31 +0000
Subject: #20321 [Fbk->NoF]: pear package problem
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10996@lists.php.net to get a copy of this message
ID: 20321 Updated by: sniper@php.net Reported By: nicos@php.net -Status: Feedback +Status: No Feedback Bug Type: PEAR related Operating System: Linux 2.4.19 PHP Version: 4CVS-2002-11-08 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-11-09 10:11:09] mj@php.net Could you please run lynx -source http://go-pear.org | php in order to install the latest version of the PEAR package manager. I'm unable to reproduce the problem with this version. ------------------------------------------------------------------------ [2002-11-09 06:41:37] nicos@php.net This was on a linux box, redhat I think.Anyway Net_Ping is an old package and is supposed to work... ------------------------------------------------------------------------ [2002-11-09 03:28:17] arnaud.limbourg@club-internet.fr With | PEAR | 1.0b1 | stable | I get the following for Net-Ping pear package package.xml Error: missing description Error: missing license Validation: 2 error(s), 0 warning(s) Fix these errors and try again. pear package package.xml Package /home/arnaud/development/pear/PECL/spplus/spplus-1.0.tgz done Tag the released code with `pear cvstag package.xml' (or set the CVS tag RELEASE_1_0 by hand) The problem is that it creates an archive with just package.xml in it. This problem has been reported. I could not reproduce your bug. What platform are you running ? Arnaud. ------------------------------------------------------------------------ [2002-11-08 19:39:20] nicos@php.net I have been trying to create my own package with my package.xml. I see nothing wrong and I keep get the same error with ANY package of pear/ Example: [Sat Nov 9 - 02:35:49 - root ~/pear/Net_Ping]# pear package package.xml Warning: chdir() [http://www.php.net/function.chdir]: No such file or directory (errno 2) in /usr/local/lib/php/PEAR/Packager.php on line 174 tar: Cowardly refusing to create an empty archive Try `tar --help' for more information. package ok [Sat Nov 9 - 02:35:54 - root ~/pear/Net_Ping]# [Sat Nov 9 - 02:37:18 - root ~/pear/PECL/spplus]# pear package package.xml Warning: chdir() [http://www.php.net/function.chdir]: No such file or directory (errno 2) in /usr/local/lib/php/PEAR/Packager.php on line 174 tar: Cowardly refusing to create an empty archive Try `tar --help' for more information. package ok [Sat Nov 9 - 02:37:19 - root ~/pear/PECL/spplus]# I really think that first, Packager.php should have some verifications before saying its ok and trying to use function without verifying what argument it got. Anyway Packager.php looks totally broken. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20321&edit=1

« previous php.pear.dev (#10996) next »