#20321 [Com]: pear package problem

From: Date: Sat, 09 Nov 2002 09:28:17 +0000
Subject: #20321 [Com]: pear package problem
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10647@lists.php.net to get a copy of this message
ID: 20321 Comment by: arnaud.limbourg@club-internet.fr Reported By: nicos@php.net Status: Open Bug Type: PEAR related Operating System: Linux 2.4.19 PHP Version: 4CVS-2002-11-08 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#10647) next »