#24166 [NEW]: pear makerpm is broken

From: Date: Fri, 13 Jun 2003 07:11:03 +0000
Subject: #24166 [NEW]: pear makerpm is broken
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17374@lists.php.net to get a copy of this message
From: jmcastagnetto@php.net Operating system: Suse Linux 8.2 PHP version: 4.3.2 PHP Bug Type: PEAR related Bug description: pear makerpm is broken Description: ------------ As a test, I tried to generat a spec file for building an rpm. I used one of my released packages (Math_TrigOp) for this test. When I tried using 'pear makerpm', I got an error: $ pear makerpm ../SOURCES/Math_TrigOp-1.0.tgz no package.xml found in ../SOURCES/Math_TrigOp-1.0.tgz To confirm the existence of a package.xml in the tarball: $ tar ztvf ../SOURCES/Math_TrigOp-1.0.tgz -rw-r--r-- 500/100 1489 2003-06-12 23:35:37 package.xml -rw-r--r-- 500/100 5555 2003-01-04 03:55:40 Math_TrigOp-1.0/TrigOp.php Problem might be in Archive_Tar, as PEAR_Command_Package seems OK on a cursory look of the code. For reference: $ pear list-all | grep Archive Archive_Tar 1.1 1.1 $ pear list-all | grep PEAR | grep -v Info PEAR 1.1 1.1 PEAR_Frontend_Gtk 0.3 0.3 PEAR_Frontend_Web 0.3 0.3 Which are the latest releases of the packages used by the pear package manager for this command. Reproduce code: --------------- If you do not have a checkout of pear locally, then do first: $ cvs co pear/Math_TrigOp Then: $ cd pear/Math_TrigOp $ mkdir SPECS SOURCES $ pear package $ mv Math_TrigOp-1.0.tgz SOURCES $ cd SPECS $ pear makerpm ../SOURCES/Math_TrigOp-1.0.tgz Expected result: ---------------- Obtain a valid spec file, of course ;-) Actual result: -------------- An error message an no spec file. -- Edit bug report at http://bugs.php.net/?id=24166&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24166&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24166&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24166&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24166&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24166&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24166&r=support Expected behavior: http://bugs.php.net/fix.php?id=24166&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24166&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24166&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24166&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24166&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24166&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24166&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24166&r=gnused

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