Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276462 - media-fonts/unfonts and media/fonts/unfonts-extra have wrong SRC_URI
Summary: media-fonts/unfonts and media/fonts/unfonts-extra have wrong SRC_URI
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 13:06 UTC by Jeongsu Kim
Modified: 2009-09-25 02:28 UTC (History)
1 user (show)

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 Jeongsu Kim 2009-07-04 13:06:05 UTC
media-fonts/unfonts/unfonts-1.0.2_pre080608.ebuild
  and
media-fonts/unfonts-extra/unfonts-extra-1.0.2_pre080608

they have wrong SRC_URI.

1) media-fonts/unfonts/unfonts-1.0.2_pre080608.ebuild
currently SRC_URI is
SRC_URI="http://kldp.net/frs/download.php/4696/un-fonts-core-${MY_PV}.tar.gz" 

but real uri is
http://kldp.net/frs/download.php/4695/un-fonts-core-1.0.2-080608.tar.gz

2) media-fonts/unfonts-extra/unfonts-extra-1.0.2_pre080608
currerntly SRC_URI is
SRC_URI="http://kldp.net/frs/download.php/4695/un-fonts-extra-${MY_PN}.tar.gz"

but real uri is
http://kldp.net/frs/download.php/4696/un-fonts-extra-1.0.2-080608.tar.gz

Problem is the number 4695 and 4696.  They have each other's number.

Please check this.

Thanks.

Reproducible: Always

Steps to Reproduce:
1. emerge unfonts
2. emerge unfonts-extra
3.

Actual Results:  
emerge unfonts will install unfonts-extra
emereg unfonts-extra will install unfonts

Expected Results:  
emerge unfonts will install unfonts
emerge unfonts-extra will install unfonts-extra
Comment 1 Jeongsu Kim 2009-07-05 19:01:48 UTC
you can find original download links from here. http://kldp.net/frs/?group_id=300
Comment 2 Wormo (RETIRED) gentoo-dev 2009-07-09 21:40:22 UTC
Thanks for pointing this out! Assigning report to maintainers.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-09-06 09:09:40 UTC
Fixed, thanks.
Comment 4 Jeongsu Kim 2009-09-23 06:03:38 UTC
(In reply to comment #3)
> Fixed, thanks.
> 

Thanks for your effort.

But there is a problem

You have change SRC_URI from http://kldp.net/blahblah~ to mirror://gentoo/un-fonts-blahblah~.

So if no mirrors had source file, then nobody can download source file.

I think my suggestion is better. Just fix wrong URL.

Please consider my suggestion.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2009-09-24 06:58:27 UTC
The files we already have on our mirrors are named incorrectly.  un-fonts-core-1.0.2-080608.tar.gz is really un-fonts-extra-1.0.2-080608.tar.gz and vice versa.  Simply changing the SRC_URI to point to the right upstream URL doesn't work because the package manager will try to download from Gentoo mirrors before trying the upstream URI and will find the incorrectly named file which does not match the checksum in the Manifest.  We need to either rename the source files or add a mirror restriction to make the ebuild always download from the upstream URI.  In the latter case we're screwed if upstream removes the file, disappears, etc.  By mirroring it ourselves we ensure it's always available.
Comment 6 Jeongsu Kim 2009-09-25 02:26:36 UTC
(In reply to comment #5)
> The files we already have on our mirrors are named incorrectly. 
> un-fonts-core-1.0.2-080608.tar.gz is really un-fonts-extra-1.0.2-080608.tar.gz
> and vice versa.  Simply changing the SRC_URI to point to the right upstream URL
> doesn't work because the package manager will try to download from Gentoo
> mirrors before trying the upstream URI and will find the incorrectly named file
> which does not match the checksum in the Manifest.  We need to either rename
> the source files or add a mirror restriction to make the ebuild always download
> from the upstream URI.  In the latter case we're screwed if upstream removes
> the file, disappears, etc.  By mirroring it ourselves we ensure it's always
> available.
> 

Now I totally understand. Thank you very much.