Mailinglist Archive: opensuse-packaging (235 mails)

< Previous Next >
[opensuse-packaging] Re: php5-pear-xinc problem
Am 01.03.2012 10:26, schrieb Marguerite Su:
Hi, Ralf,

It's a weird problem. you can see it from here:

https://build.opensuse.org/package/show?package=php5-pear-xinc&project=home%3AMargueriteSu%3Abranches%3Aserver%3Aphp%3Aapplications

I deleted "xinc" from s:p:a and created a package "php5-pear-xinc".

due to pear.php.net bug #9280 and #10661, I can't just install using:

pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0}

directly. it'll return a unknown channel and Xinc-2.1.tgz no valid
error. so I found a workaround here:

http://yuval.bar-or.org/blog/2009/11/offline-installation-of-pear-packages/

by replacing unofficial channel with pear.php.net using:

sed -i
"s/<channel>pear.elektrischeslicht.de<\/channel>/<channel>pear.php.net<\/channel>/"
package.xml

and later change it back to install xml.

But I got a %post failure while the %post scriptlet is exactly the
same as other packages in s:p:a.

anyone knows how to get out from this?

Marguerite

This workaround sounds wrong. The BuildRequires on the elektischeslicht channel should provide a BuildRoot with the channel already installed. I will need to look deeper into this in the evening.


--
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang@xxxxxxxxxxxxx

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
References