Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240536 - www-client/opera-9.60: typos in ebuild -> failed AMD64 fetch
Summary: www-client/opera-9.60: typos in ebuild -> failed AMD64 fetch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-10-08 15:31 UTC by Dmitry Ivankov
Modified: 2008-11-06 19:50 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 Dmitry Ivankov 2008-10-08 15:31:23 UTC
opera-9.60.ebuild v1.1 contains ${O} instead of ${P} in lines with urls, like this:
!ia32? ( ${O_URI}linux${O_FTP}x86_64/${O}.gcc4-shared-qt3.x86_64.tar.bz2 )

Reproducible: Always

Steps to Reproduce:
1.unmask opera-9.60
2.emerge opera
3.

Actual Results:  
!!! Couldn't download '.gcc4-shared-qt3.x86_64.tar.bz2'. Aborting.
 * Fetch failed for 'www-client/opera-9.60'
!!! can't process invalid log file: merge.ERROR


Expected Results:  
Opera emerged

Looks like ${O} is a copypasted leftover of O_P from opera-9.60_preXXXX.ebuild.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-08 15:51:16 UTC
Thanks for the report.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-08 15:53:13 UTC
Index: opera-9.60.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.60.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 opera-9.60.ebuild
--- opera-9.60.ebuild   8 Oct 2008 12:26:14 -0000       1.1
+++ opera-9.60.ebuild   8 Oct 2008 15:51:37 -0000
@@ -40,7 +40,7 @@
                !qt3-static? (
                        amd64? (
                                ia32? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 )
-                               !ia32? ( ${O_URI}linux${O_FTP}x86_64/${O}.gcc4-shared-qt3.x86_64.tar.bz2 )
+                               !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 )
                        )
                        x86? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 )
                )
@@ -49,14 +49,14 @@
                qt3-static? (
                        amd64? (
                                ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 )
-                               !ia32? ( ${O_URI}linux${O_FTP}x86_64/${O}.gcc4-shared-qt3.x86_64.tar.bz2 )
+                               !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 )
                        )
                        x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 )
                )
                !qt3-static? (
                        amd64? (
                                ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 )
-                               !ia32? ( ${O_URI}linux${O_FTP}x86_64/${O}.gcc4-shared-qt3.x86_64.tar.bz2 )
+                               !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 )
                        )
                        x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 )
                )
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-08 15:55:28 UTC
(In reply to comment #0)
> Looks like ${O} is a copypasted leftover of O_P from 
> opera-9.60_preXXXX.ebuild.

Almost true. I copied the pre_2444.ebuild, then edited it. :)
Comment 4 Dmitry Ivankov 2008-10-08 20:28:06 UTC
Now it's digest error:
!!! Digest verification failed:
!!! /usr/portage/distfiles/opera-9.60.gcc4-shared-qt3.x86_64.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 7825070
!!! Expected: 7189818

If I'm not mistaken then
7825070 is pre2444, and it is now offered as 9.60 final (heh, this means upgrade is just cosmetical for me :)
and
7189818 is 9.60 beta1 released on 9-10sep, don't know how did it get to the digest, maybe there were error on their side for some time.
Comment 5 Dmitry Ivankov 2008-10-08 21:21:13 UTC
Let's close this one, there is separate bug for fetching.

*** This bug has been marked as a duplicate of bug 240578 ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-09 14:26:13 UTC
Actually that wasn't a duplicate. :)