Mailinglist Archive: opensuse-buildservice (110 mails)

< Previous Next >
Re: [opensuse-buildservice] Preference for php5-* and other expansion errors
  • From: Christian Boltz <opensuse@xxxxxxxxx>
  • Date: Tue, 18 Jul 2006 21:24:16 +0200
  • Message-id: <200607182124.17543@xxxxxxxxxxxxxxx>
Hello (especially Adrian),

some of my questions were answered in an IRC session on
opensuse-buildservice yesterday, but others are still open. I'll give a
short summary and hope someone can answer the remaining questions ;-)

Adrian, this mails contains some "ask Adrian" hints I got from darix -
can you please have a look? ;-)

Am Montag, 17. Juli 2006 16:01 schrieb Christian Boltz:
> I'm doing some experiments with a QA package for Fontlinge:
>http://build.opensuse.org/package/show?package=fontlinge-QA&project=home%3Acboltz
>
> Unfortunately, I had to add some php5-* BuildRequires to work around
> "multiple choice" expansion errors in SUSE 9.3 and 10.0 (which
> shipped with PHP4 and PHP5).
>
> The requirements I'd like to use are those from the Fontlinge
> package: mod_php_any php-mysql php-gd (without PHP version
> specified).

Another workaround I tested (idea from darix) is
#!BuildIgnore: php4 apache2-mod_php4 php4-mysql php4-gd

This fails on 10.0 and 9.3 with
mod_php_any is needed by fontlinge-QA-0.0.1-17.1
php-mysql is needed by fontlinge-QA-0.0.1-17.1
php-gd is needed by fontlinge-QA-0.0.1-17.1
but the php5-* packages provide them also :-(

> Can you add a "prefer" for php5-* in the global configuration of
> SUSE 9.3 and 10.0, please?

This seems to be the solution causing the least trouble.

darix: of course you can ask adrian to add a prefer for one of them

-> Adrian, can you add a "prefer php5 (and php5-mysql, php5-gd) to
home:cboltz, please?
Or can I add it myself with osc editmeta ? (If yes: how?)

> Fedora 4/5 doesn't offer
> - mod_php_any, one of the Fontlinge requirements - this probably has
> another name/provide there, but which one?

According to judas_iscariote, it should be mapped to "php" on Fedora
(checked on FC 5).
Adrian, can you add this mapping, please?

> Mandriva misses more packages/provides:
> - perl-PerlMagick, perl-Msql-Mysql-modules, perl-TermReadKey -
> different names?

The best solution for this is
Requires: perl(Image::Magick) perl(DBD::mysql) [...]

Adrian, there should still be mappings for
- perl-PerlMagick -> ImageMagick-perl on FC5
- perl-Msql-Mysl-modules -> perl-DBD-MySQL in FC5
etc. ;-)

> - httpd - probably available with a different name, which one?

Good question, can I remove this because PHP needs it anyway?

> I also have a strange requirement on Mandriva: pear(config.inc.php)
> Where does this requirement come from? [1] Fontlinge don't use any
> pear script - how can I remove this requirement? Is there something
> like NotRequired: I could place in the Specfile? ;-)

> [1] a wild guess: the PHP files include() it, but it is generated at
> user installation (aka "not part of the RPM"). Could this be the
> reason?

Still open - any ideas about this?


Regards,

Christian Boltz

PS: I also was persuaded to use the osc client instead of the web
interface - until now, I don't rue this :-)
BTW: It's quite easy to learn if you already know CVS.

--
By the way, it's a sign of how good the distribution is that we're
arguing about the name and not dealing with problems in the essence of
the thing. Even the overloaded servers are what an old boss of mine
would have called a "success problem." [Randall Schulz in opensuse]

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice-help@xxxxxxxxxxxx

< Previous Next >
References