Bug 744841 - Locale::Language is missing from the perl core package
Summary: Locale::Language is missing from the perl core package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bugzilla
Version: 16
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL: http://perldoc.perl.org/Locale/Langua...
Whiteboard:
: 754625 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-10 16:01 UTC by Frédéric Buclin
Modified: 2012-01-19 01:30 UTC (History)
12 users (show)

Fixed In Version: bugzilla-3.6.7-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-19 01:29:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frédéric Buclin 2011-10-10 16:01:35 UTC
Per http://perldoc.perl.org/Locale/Language.html, Locale::Language is part of the core distribution of Perl, but this module is missing from perl-5.14.1-188.fc16.i686. This prevents e.g. checksetup.pl in Bugzilla from running correctly.

Comment 1 Marcela Mašláňová 2011-10-10 16:36:16 UTC
Now is Locale::Language part of sub-package perl-Locale-Codes. Your problem will be fixed by installation of this sub-package. 

I'll reassign this bug to bugzilla, which should require it.

Comment 2 Frédéric Buclin 2011-10-10 16:58:39 UTC
So you make the assumption that all installations with Perl applications depending on this core module will have perl-Locale-Codes installed. This is a pretty bad guess. The goal of having core modules is to have them installed and available by default. Why has this module been extracted from the core package, to start with?

Comment 3 Marcela Mašláňová 2011-10-10 17:36:54 UTC
If you are using perl core modules, you should install perl-core:
A metapackage which requires all of the perl bits and modules in the upstream
tarball from perl.org.

If it was up to me everyone have to use perl and all core modules. But not everyone is interested. For example in buildroot is needed only perl, not all core packages. Another reason why we split perl into sub-packages is, updates of core modules. We already have this discussion even with upstream. We can't make everyone happy with Perl packaging.

Comment 4 Frédéric Buclin 2011-10-10 18:18:53 UTC
I see, thanks for the explanation. In that case, Bugzilla should depend on perl-core, to make sure we don't fail every time a core module is put outside the perl package.

Comment 5 Petr Pisar 2011-10-10 19:41:31 UTC
The recommended way is to depend on `perl(Locale::Language)'. Each perl code exporting a Perl module `Foo' provides `perl(Foo)' in Fedora. This allows to track dependencies even if Perl modules moves between RPM packages. Actually you should get these dependencies into RPM metadata automatically by rpmbuild.

Comment 6 Emmanuel Seyman 2011-10-11 11:36:02 UTC
(In reply to comment #2)
>
> The goal of having core modules is to have them installed and available by
> default.

FWIW, most distributions do not install the full core suite when you install the package containing /usr/bin/perl. 


(In reply to comment #5)
>
> Actually you should get these dependencies into RPM metadata automatically by
> rpmbuild.

Doing a mock rebuild, I realized that rpm's auto-requires mechanism doesn't add perl(Locale::Language) to the package's requires so I'm guessing that rpm doesn't add modules that are require-ed as opposed to use-d.

I'll commit a fix.

Comment 7 Emmanuel Seyman 2011-11-22 08:59:17 UTC
*** Bug 754625 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2012-01-08 15:52:26 UTC
bugzilla-3.6.7-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/bugzilla-3.6.7-1.fc15

Comment 9 Fedora Update System 2012-01-08 15:52:42 UTC
bugzilla-4.0.3-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/bugzilla-4.0.3-1.fc16

Comment 10 Fedora Update System 2012-01-11 06:04:21 UTC
Package bugzilla-4.0.3-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing bugzilla-4.0.3-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0301/bugzilla-4.0.3-1.fc16
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2012-01-19 01:29:59 UTC
bugzilla-4.0.3-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-01-19 01:30:24 UTC
bugzilla-3.6.7-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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