Bug 8072 - Wrong xml file
Summary: Wrong xml file
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-14 10:19 CET by Oden Eriksson
Modified: 2012-11-15 11:20 CET (History)
2 users (show)

See Also:
Source RPM: php-channel-phpunit-1.3-7.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Oden Eriksson 2012-11-14 10:19:56 CET
When you install php-channel-phpunit-1.3-7.mbs2.noarch.rpm you are in fact installing pear.symfony-project.com, which makes install/registering pear packages fail.

Somehow the php-channel-phpunit-1.3-7.mga2.src.rpm and php-channel-phpunit-1.3-7.mbs2.noarch.rpm differs. The source rpm is correct but the binary rpm is wrong:

[root@localhost /]# cat /usr/share/pear/packages/pear.phpunit.de.xml
<?xml version="1.0" encoding="UTF-8" ?>
<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
    <name>pear.symfony-project.com</name>
    <summary>The symfony project PEAR channel</summary>
    <suggestedalias>symfony</suggestedalias>
    <servers>
        <primary>
            <rest>
                <baseurl type="REST1.0">http://pear.symfony-project.com/rest/</baseurl>
                <baseurl type="REST1.1">http://pear.symfony-project.com/rest/</baseurl>
                <baseurl type="REST1.2">http://pear.symfony-project.com/rest/</baseurl>
                <baseurl type="REST1.3">http://pear.symfony-project.com/rest/</baseurl>
            </rest>
        </primary>
    </servers>


After further investigation php-pear-channel-horde-1.0-15.mbs2 and php-pear-channel-components-1.0.0-2.mbs2.noarch.rpm are also affected.

I suspect the mageia build system / file storage is to blame for this as the affected source rpm packages shares the "channel.xml" file name for Source0:. This makes me quite worried what else may be affected in mga2 (and later?), and no one else noticed?
Johnny A. Solbu 2012-11-14 17:41:36 CET

CC: (none) => johnny

Comment 1 Oden Eriksson 2012-11-15 10:44:32 CET
Sorry, my bad. I'm confusing MBS packages with MGA2 ones.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 2 Nicolas Lécureuil 2012-11-15 11:20:49 CET
mbs issue

CC: (none) => nicolas.lecureuil


Note You need to log in before you can comment on or make changes to this bug.