perl-devel is installed by some package - "filter requires" needed ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I was surprised to have perl-devel installed as a dependency when I was testing a new perl package recently introducted.
The test was made on F8 x86_64, but others packages might be affected.

Unless I'm wrong, and the perl-devel dependency are really needed. Theses packages shouldn't have it as a dependency:

Lastest build of - Still requires:
mod_perl (unsure?) - perl(ExtUtils::MakeMaker)
perl-Tk - perl(ExtUtils::MakeMaker)
perl-Gtk2 - perl(Test::More)
perl-Glib - perl(ExtUtils::MakeMaker)
perl-Curses - perl(ExtUtils::testlib)

I think it would be fine to have them fixed for devel and then in branch , so a new version could eventually provides a fixed package.

Now I just wonder if we can assume that:
Unless the package itself is a perl(Test:: or perl(ExtUtils:: , it shouldn't Requires either perl(Test:: or perl(ExtUtils::

Maybe We could have a warning if such dependencies are detected ?
Either appearing in build.log or as a rpmlint test ?
So we could check why this dependency are extracted at source.

Nicolas (kwizart)
[root@kwizatz ~]# rpm -e perl-devel
error: Failed dependencies:
	perl-devel is needed by (installed) perl-Test-Harness-2.56-39.fc8.x86_64
	perl-devel is needed by (installed) perl-ExtUtils-MakeMaker-6.30-39.fc8.x86_64
	perl-devel is needed by (installed) perl-ExtUtils-Embed-1.26-39.fc8.x86_64
	perl-devel is needed by (installed) perl-Test-Simple-0.62-39.fc8.x86_64
[root@kwizatz ~]# rpm -e perl-Test-Harness
error: Failed dependencies:
	perl(Test::Harness) is needed by (installed) perl-ExtUtils-MakeMaker-6.30-39.fc8.x86_64
[root@kwizatz ~]# rpm -e perl-ExtUtils-MakeMaker
error: Failed dependencies:
	perl(ExtUtils::Installed) is needed by (installed) perl-devel-5.8.8-39.fc8.x86_64
	perl(ExtUtils::MakeMaker) is needed by (installed) mod_perl-2.0.3-14.x86_64
	perl(ExtUtils::MakeMaker) is needed by (installed) perl-Tk-804.028-3.fc8.x86_64
	perl(ExtUtils::MakeMaker) is needed by (installed) perl-devel-5.8.8-39.fc8.x86_64
	perl(ExtUtils::MakeMaker) is needed by (installed) perl-Glib-1.144-1.fc8.2.x86_64
	perl(ExtUtils::testlib) is needed by (installed) perl-Curses-1.16-4.fc8.x86_64
[root@kwizatz ~]# rpm -e perl-ExtUtils-Embed
error: Failed dependencies:
	perl(ExtUtils::Embed) is needed by (installed) perl-devel-5.8.8-39.fc8.x86_64
[root@kwizatz ~]# rpm -e perl-Test-Simple
error: Failed dependencies:
	perl(Test::Builder) is needed by (installed) perl-Test-Pod-Coverage-1.08-3.fc6.noarch
	perl(Test::Builder) is needed by (installed) perl-Test-Pod-1.26-1.fc6.noarch
	perl(Test::More) is needed by (installed) perl-Gtk2-1.144-1.fc7.x86_64

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux