Bug 868208 - perl-Template-Toolkit has X-org dependecies
Summary: perl-Template-Toolkit has X-org dependecies
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Template-Toolkit
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-19 09:32 UTC by Harald Reindl
Modified: 2012-10-22 12:39 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-19 15:17:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harald Reindl 2012-10-19 09:32:33 UTC
can you explain me waht is correct in dpenedencies pulling XORG-deps on a tiny server as cross-dependency because "perl-Net-DRI" needs perl-Template-Toolkit but no one needs X11 at all here?

WHY fedora becomes fater and fater by permanently introducing new dependencies which oftne introduce their own additional?
____________________________

* Thu Aug 23 2012 Tom Callaway <spot> - 2.24-1 - update to 2.24 
* Tue Aug 21 2012 Petr Pisar <ppisar> - 2.22-14 - Correct dependencies
____________________________

================================================================================
 Package                   Arch       Version            Repository       Größe
================================================================================
Aktualisieren:
 perl-Template-Toolkit     x86_64     2.24-1.fc17        lounge-cache     1.4 M
Als Abhängigkeiten installiert:
 libXmu                    x86_64     1.1.0-3.fc17       lounge-cache      63 k
 libXxf86misc              x86_64     1.0.3-3.fc17       lounge-cache      18 k
 libXxf86vm                x86_64     1.1.2-1.fc17       lounge-cache      22 k
 libmcpp                   x86_64     2.7.2-7.fc17       lounge-cache      69 k
 mcpp                      x86_64     2.7.2-7.fc17       lounge-cache      23 k
 perl-AppConfig            noarch     1.66-15.fc17       lounge-cache      87 k
 perl-Image-Base           noarch     1.07-18.fc17       lounge-cache      13 k
 perl-Image-Info           noarch     1.28-12.fc17       lounge-cache      63 k
 perl-Image-Xbm            noarch     1.08-17.fc17       lounge-cache      17 k
 perl-Image-Xpm            noarch     1.09-17.fc17       lounge-cache      18 k
 perl-XML-Simple           noarch     2.18-11.fc17       lounge-cache      73 k
 xorg-x11-server-utils     x86_64     7.5-12.fc17        lounge-cache     161 k

Vorgangsübersicht
================================================================================

Comment 1 Emmanuel Seyman 2012-10-19 12:45:08 UTC
From a two-minute analysis, it appears that perl-Template-Toolkit supplies perl(Template::Plugin::Image). This pulls in perl-Image-Info which, in turn, pulls in a load of x11 related pages.

Comment 2 Tom "spot" Callaway 2012-10-19 15:17:37 UTC
Template::Toolkit has always been a bit of a kitchen sink of a perl module. I'm not sure why you attribute upstream changes into some Fedora evil conspiracy. 

Disk space, we're talking about 63 + 18 + 22 + 69 kB in already minimal X libraries. We're not dragging in the entire X11 stack.

I just can't justify subpackaging the Template::Toolkit modules just to prevent this, I suspect (but have not confirmed) that other things inside TT use Template::Plugin::Image, so all it means is more dependencies and people who are unhappy when yum install "perl(Template::Toolkit)" doesn't drag in everything from TT provided by upstream.

Comment 3 Harald Reindl 2012-10-19 15:24:08 UTC
> already minimal X libraries

which are not useful at all on servers and after remove these minimal dependencies "package-cleanup --leaves --all" shows you each time you can uninstall additional packages and after them the next bunch - the summary is finally much larger as someone sees it from the point of a single package

the summary of htousnds of packages pulling 2-3 additional deps and often each of them is pulling another ones too makes the large picture

because "2.24-1.fc17" came today with a regular update while other fedora "features" like "colord" pull GTK and so with imagemagick

Comment 4 Petr Pisar 2012-10-22 07:21:53 UTC
(In reply to comment #2)
> people who are unhappy when yum install "perl(Template::Toolkit)" doesn't drag
> in everything from TT provided by upstream.

This is misunderstanding what `perl(Template::Toolkit)" means. `perl(Template::Toolkit)' means to install Template::Toolkit Perl module. Nothing else, nothing more. I say module, not Template-Toolkit CPAN package. If an application needs Template::Plugin::Image module, then it has to run-require `perl(Template::Plugin::Image)' symbol explicitly.

This way it's possible to split upstream packages into distribution subpackages while it's still possible to handle dependencies.

Comment 5 Emmanuel Seyman 2012-10-22 11:21:59 UTC
(In reply to comment #0)
>
> "perl-Net-DRI" needs perl-Template-Toolkit

FWIW, I'm not seeing this.

Comment 6 Harald Reindl 2012-10-22 11:28:35 UTC
because "perl-Net-DRI" is not in the fedora-repos
this is the perl-library for EPP (domain-registrar)

but it does not change the fact that it is the reason having "perl-Template-Toolkit" installed at all and only with the last update of "perl-Template-Toolkit" the first time are pulled a lot of additional dependencies

Comment 7 Emmanuel Seyman 2012-10-22 12:21:10 UTC
(In reply to comment #6)
> because "perl-Net-DRI" is not in the fedora-repos
> this is the perl-library for EPP (domain-registrar)

Regardless of whether Net-DRI is in the fedora repos or not, I do not see it depending on Template-Toolit.

The distribution's Meta.yml does not list Template-Toolkit and a grep for Template in the source code gives no output.

> but it does not change the fact that it is the reason having
> "perl-Template-Toolkit" installed at all and only with the last update of
> "perl-Template-Toolkit" the first time are pulled a lot of additional
> dependencies

Updates often bring improvements and, in this case, these improvements add or remove dependencies. This isn't a bug.

Comment 8 Harald Reindl 2012-10-22 12:39:36 UTC
look here, i know exactly why any package is installed because here are meta-packages installed which defines active installed packages and pulling their dependencies - anything else is hitting "package-cleanup --leaves --all" and removed - only the 2 machines with net-dri have perl-Template-Toolkit

it is pulled by perl-SOAP-WSDL and NOTHING needs any X11-crap on a headless server with no screen at all

Summary:           SOAP with WSDL support
Name:              perl-SOAP-WSDL
Version:           2.00.10
Release:           11%{?dist}
License:           Artistic/GPL
Group:             Applications/CPAN
URL:               http://search.cpan.org/dist/SOAP-WSDL/
Source:            http://www.cpan.org/modules/by-module/SOAP/SOAP-WSDL-%{version}.tar.gz
BuildRoot:         %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:         noarch
BuildRequires:     perl
BuildRequires:     perl >= 2:5.8.0
BuildRequires:     perl(Class::Std::Fast) >= 0.0.5
BuildRequires:     perl(Cwd)
BuildRequires:     perl(Date::Format)
BuildRequires:     perl(Date::Parse)
BuildRequires:     perl(ExtUtils::MakeMaker)
BuildRequires:     perl(File::Basename)
BuildRequires:     perl(File::Path)
BuildRequires:     perl(File::Spec)
BuildRequires:     perl(Getopt::Long)
BuildRequires:     perl(LWP::UserAgent)
BuildRequires:     perl(List::Util)
BuildRequires:     perl(Module::Build)
BuildRequires:     perl(Storable)
BuildRequires:     perl(Template)
BuildRequires:     perl(Test::More)
BuildRequires:     perl(XML::Parser::Expat)

[root@arrakis:~]$ LANG=en; yum remove perl-Template-Toolkit-2.24-1.fc17.x86_64
Failed to set locale, defaulting to C
Loaded plugins: downloadonly, protectbase
Resolving Dependencies
--> Running transaction check
---> Package perl-Template-Toolkit.x86_64 0:2.24-1.fc17 will be erased
--> Processing Dependency: perl(Template) >= 2.18 for package: perl-SOAP-WSDL-2.00.10-11.fc17.20121016.rh.noarch
--> Running transaction check
---> Package perl-SOAP-WSDL.noarch 0:2.00.10-11.fc17.20121016.rh will be erased
--> Processing Dependency: perl(SOAP::WSDL) for package: perl-Net-DRI-0.96_02-3.fc17.20121016.rh.noarch
--> Processing Dependency: perl-SOAP-WSDL for package: perl-Net-DRI-0.96_02-3.fc17.20121016.rh.noarch


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