rpm-build pulls perl

Elan Ruusamäe glen at pld-linux.org
Sun Mar 29 08:17:44 CEST 2020


On 3/29/20 9:07 AM, Elan Ruusamäe wrote:
> On 3/24/20 11:16 PM, Jan Rękorajski wrote:
>
>> On a side note, this is exactly why we should not have all those weird
>> hacks in deps generators and just run them always. To chatch stuff like
>> this.
>
>
> this enabled pear dependencies breaks packages that does not want them 
> (bundles everything, handles in package deps).
>
> i think the pear dependency generator should be disabled by default, 
> pear is considered dead in php world.
>
> it was controlled earlier with include pear.req, i guess now we need a 
> define no_pear_dependencies?
>
>
> ```
> error: eventum-sphinx-3.8.9-1.noarch: req 
> pear(/usr/share/eventum/init.php) not found
> error: eventum-3.8.9-1.noarch: req pear(../../init.php) not found
> error: eventum-3.8.9-1.noarch: req 
> pear(../library/HTMLPurifier.auto.php) not found
> error: eventum-3.8.9-1.noarch: req 
> pear(../library/HTMLPurifier/Bootstrap.php) not found
> error: eventum-3.8.9-1.noarch: req pear(../tests/path2class.func.php) 
> not found
> error: eventum-3.8.9-1.noarch: req 
> pear(Exception/InvalidArgumentException.php) not found
> error: eventum-3.8.9-1.noarch: req pear(HTMLPurifier.autoload.php) not 
> found
> error: eventum-3.8.9-1.noarch: req pear(HTMLPurifier.includes.php) not 
> found
>
> ...
>
> ```
>
with current macros,

every package that was *not* removed %include pearprov should have now:

%define     _noautoprov_pear .*




More information about the pld-devel-en mailing list