Bug 299044

Summary: conflict between yast2-CASA and yast2-trans-en_US
Product: [openSUSE] openSUSE 10.3 Reporter: Christian Boltz <suse-beta>
Component: YaST2Assignee: Soo Choi <soo.choi>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: coolo, ke, soo.choi
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christian Boltz 2007-08-09 21:25:09 UTC
I just created a package in the buildservice to do some QA tests on YaST2, namely the infamous missing help option.

The package is quite simple - it BuildRequires: all yast2-* packages available in the FTP tree. Build target is the current Factory tree.

The somewhat unexpected result:

    file /usr/share/YaST2/locale/en_US/LC_MESSAGES/CASA.mo from install of 
    yast2-CASA-1.7.1271-48 conflicts with file from package  
    yast2-trans-en_US-2.15.1-8

(Yes, I wanted to do some QA. But not regarding package conflicts...)

Please fix this conflict.
Comment 1 Karl Eichwalder 2007-08-10 13:26:31 UTC
Please, remove the .po and .mo files from the yast2-CASA package.  YaST translations are provided by yast2-trans-* packages.  If you need the translation for a stand-alone product, consider to package locale/*/LC_MESSAGES/CASA.mo as a sub-package.
Comment 2 Christian Boltz 2007-09-06 19:15:46 UTC
*ping*

This problem still exists in beta2.

Shouldn't be too hard to remove a file from a package?!
Comment 3 Karl Eichwalder 2007-09-10 08:21:15 UTC
Cameron, please fix your package.  Because CASA.pot translations are part of the yast2-trans-*, you must not ship any .po or .mo files with yast2-CASA.  It is kind of urgent now.
Comment 4 Cameron Mashayekhi 2007-09-10 20:46:47 UTC
Soo,

What do we need to fix this?

Thanks,
Cameron
Comment 5 Christian Boltz 2007-09-10 21:22:47 UTC
(In reply to comment #4 from Cameron Mashayekhi)
> What do we need to fix this?

(In reply to comment #3 from Karl Eichwalder)
> Because CASA.pot translations are part of the yast2-trans-*, you must not
> ship any .po or .mo files with yast2-CASA. 

in short: "rm /usr/share/YaST2/locale/en_US/LC_MESSAGES/CASA.mo" in the yast2-CASA spec. Also remove the locale directory from %files.
Comment 6 Soo Choi 2007-09-10 22:05:33 UTC
(In reply to comment #5 from Christian Boltz)
> (In reply to comment #4 from Cameron Mashayekhi)
> > What do we need to fix this?
> 
> (In reply to comment #3 from Karl Eichwalder)
> > Because CASA.pot translations are part of the yast2-trans-*, you must not
> > ship any .po or .mo files with yast2-CASA. 
> 
> in short: "rm /usr/share/YaST2/locale/en_US/LC_MESSAGES/CASA.mo" in the
> yast2-CASA spec. Also remove the locale directory from %files.
> 
I removed mo and po files from package(source tar file) and remove them from %files in spec. However, I am little bit confused with "rm usr/share/YaST2/locale/en_US/LC_MESSAGES/CASA.mo"  This line is necessary?  

thanks!
Comment 7 Soo Choi 2007-09-10 22:58:19 UTC
I submitted yast2-CASA-1.7.1461 to STABLE branch.  please let me know if more changes are needed or need to submit other distro.

Thanks
Comment 8 Cameron Mashayekhi 2007-09-11 15:44:08 UTC
Thanks, Soo. I have reassigned this to you so you can keep track of it.

-- Cameron
Comment 9 Christian Boltz 2007-09-11 19:58:47 UTC
(In reply to comment #6 from Soo Choi)
> (In reply to comment #5 from Christian Boltz)
[...]
> I removed mo and po files from package(source tar file) and remove them from
> %files in spec. 

OK. Without having seen the fixed package, this sounds like the bug is fixed.

> However, I am little bit confused with "rm
> usr/share/YaST2/locale/en_US/LC_MESSAGES/CASA.mo"  This line is necessary?  

It was meant as hint that you have to remove this file from the package. Since you removed CASA.mo from the tarball, you don't need to delete it later ;-)
Comment 10 Soo Choi 2007-11-28 16:57:50 UTC
This has been fixed in yast2-CASA-1.7.1461 in STABLE branch.