Bug 908976

Summary: common files for all languages are gone
Product: [Community] Publican Reporter: Raphaël Hertzog <raphael>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1CC: lnewson, rglasz, rlandman
Target Milestone: 3.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 3.1.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-05 02:16:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raphaël Hertzog 2013-02-07 22:58:36 UTC
Comparing the Debian package of 3.0.0 and 3.1.1 I noticed that many files were gone (like /usr/share/publican/Common_Content/common-db5/ar-SA/Conventions.xml). They were all for languages other than en-US...

I believe this is the result of an unwanted change in Build.PL. This is the patch reverting that change:
--- a/Build.PL
+++ b/Build.PL
@@ -10,9 +10,7 @@ my $class = Module::Build->subclass(
         use File::pushd;
         use Cwd;
         my $dir = cwd() . '/tmp/rpm';
-## BUGBUG when I'm impatient
-        my $common_langs = 'en-US';
-##        my $common_langs = 'all';
+        my $common_langs = 'all';
         sub ACTION_srpm {
             my $self = shift;
             my $os_ver = $self->args('os_ver');

I'm going to test it now.

Comment 1 Raphaël Hertzog 2013-02-07 23:12:37 UTC
Now I'm getting another build failure due to bad XML in PO files of lv-LV translations...

mismatched tag at line 4, column 275, byte 648:
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<para processed="1">सध्याच्या कार्रत डिरेक्ट्रीमध्ये <filename><filename>my_next_bestselling_novel</filename> फाइलची अंतर्भुत माहिती  पाहण्याकरीता, शेल प्रॉम्पट वर <command>cat my_next_bestselling_novel</command> आदेश द्या व आदेश चालविण्याकरीता <keycap>Enter</keycap> दाबा.</para>


I spent my evening on what should have been a 5 minutes update of the Debian package. :(

I think that I'll wait the 3.1.2 release instead. I hope that my investigations helped you anyway, Jeff.

Comment 2 Jeff Fearn 🐞 2013-02-11 02:32:24 UTC
*** Bug 909755 has been marked as a duplicate of this bug. ***

Comment 4 Jeff Fearn 🐞 2013-03-05 02:16:30 UTC
This bug has been fixed in Publican 3.1.3