Bug 476405

Summary: extension not registered after install
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: php-pecl-ssh2Assignee: Itamar Reis Peixoto <itamar>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: itamar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-16 23:45:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Remi Collet 2008-12-14 09:23:08 UTC
Description of problem:
extension not registered after install because package.xml is a V1 file

Version-Release number of selected component (if applicable):
0.10-2.fc9


How reproducible:
always

Steps to Reproduce:
1. yum install php-pecl-ssh2
2. pecl list
  
Actual results:
(no packages installed from channel pecl.php.net)

Expected results:
Installed packages, channel pecl.php.net:
=========================================
Package   Version State
ssh2      0.10    beta

Additional info:
Solution is to convert package.xml to V2 using

%{__pear} convert package.xml package2.xml

And use it to register the extensionin %post(un)

Also note than version 0.11.0 is out (patch for libssh2 no more required)

Comment 1 Itamar Reis Peixoto 2008-12-20 17:54:10 UTC
I agree, the xml needs to be converted

also in the version 0.11.0 there are no xml file, :-( , someone forget to include this file ?

Comment 2 Remi Collet 2008-12-20 19:01:52 UTC
> I agree, the xml needs to be converted

And probably a bug filed upstream...

> also in the version 0.11.0 there are no xml file, :-( , someone forget to include this file ?

$ tar tzf /tmp/ssh2-0.11.0.tgz 
package.xml
ssh2-0.11.0/config.m4
ssh2-0.11.0/ssh2.c
ssh2-0.11.0/php_ssh2.h
ssh2-0.11.0/ssh2_fopen_wrappers.c
ssh2-0.11.0/ssh2_sftp.c

No problem for me.

Comment 3 Itamar Reis Peixoto 2008-12-20 23:07:09 UTC
Can you test this version ?

http://koji.fedoraproject.org/koji/taskinfo?taskID=1012609

Comment 4 Remi Collet 2008-12-21 10:41:46 UTC
That's seems ok (can't really test because i'm actually running php 5.3.0-dev).

Comment 5 Fedora Update System 2008-12-21 19:11:39 UTC
php-pecl-ssh2-0.11.0-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/php-pecl-ssh2-0.11.0-1.fc9

Comment 6 Fedora Update System 2008-12-24 18:43:25 UTC
php-pecl-ssh2-0.11.0-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update php-pecl-ssh2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-11790

Comment 7 Fedora Update System 2009-01-16 23:45:47 UTC
php-pecl-ssh2-0.11.0-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.