Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26830 - OpenOffice 1.0.3-r1 pulls the wrong help_content file
Summary: OpenOffice 1.0.3-r1 pulls the wrong help_content file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-17 15:59 UTC by Juergen Nagel
Modified: 2011-07-25 12:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Nagel 2003-08-17 15:59:46 UTC
When I emerge OpenOffice with "LANGUAGE=49 emerge openoffice" emerge starts to 
download the help_content file for English instead of German. 
I looked into the ebuild but couldn't see why that wrong behavior occurs. 
 
Here's the output of what happens: 
localhost / # LANGUAGE=49 emerge openoffice 
Calculating dependencies ...done! 
>>> emerge (1 of 1) app-office/openoffice-1.0.3-r1 to / 
>>> Downloading ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/helpcontent_01_unix.tgz 
--00:56:50--  ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/helpcontent_01_unix.tgz 
           => `/usr/portage/distfiles/helpcontent_01_unix.tgz' 
Resolving ftp.tu-clausthal.de... done. 
Connecting to ftp.tu-clausthal.de[139.174.2.36]:21... connected. 
Logging in as anonymous ... Logged in! 
==> SYST ... done.    ==> PWD ... done. 
==> TYPE I ... done.  ==> CWD /pub/linux/gentoo/distfiles ... done. 
==> PASV ... done.    ==> RETR helpcontent_01_unix.tgz ... done.localhost / #  

Reproducible: Always
Steps to Reproduce:
Comment 1 Juergen Nagel 2003-08-17 18:06:12 UTC
I've found the cause for the bug.  
When I manually downloaded helpcontent_49_unix.tgz, I got the following error  
message:  
!!! No message digest entry found for file "helpcontent_49_unix.tgz."  
!!! Most likely a temporary problem. Try 'emerge rsync' again later.  
!!! If you are certain of the authenticity of the file then you may type  
!!! the following to generate a new digest:  
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest  
  
I looked at the corresponding digest file and saw that only the digest for the  
helpcontent_01_unix.tgz was there.  
When I added the MD5 sum to the digest file, emerge used the correct file.  
  
I added the following line to the digest:  
MD5 7e75feae2492399edc40060c652975f5 helpcontent_49_unix.tgz 13640088  
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-18 01:17:09 UTC
The openoffice ebuilds do not provide localized help files yet. As we don't want users to need to download all available help files we need to find a solution for still having a correct dynamic download list. Also help files are not available for all localisations yet, so some kind of smart behaviour is needed. 

But especially not wanting to download all localised help files is a point that might only be helped with portage changes. At least the help method provided in the 1.0.x ebuilds is incorrect. I will be looking into internationalization on a more general level shortly, but for now you have to do things manually.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-25 12:46:31 UTC
Move deprecated ebuild still being marked as LATER to Fixed.