Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197145

Summary: opera-9.50_beta1 opera-9.00-install.patch fails
Product: Gentoo Linux Reporter: Bjoern Olausson <contactme>
Component: New packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: opera-9.50_beta1.ebuild fixed

Description Bjoern Olausson 2007-10-26 15:01:09 UTC
Why is the ebuild trying to unpack and patch BOTH x86 and x86-fbsd packages on an x86 machine?

Reproducible: Always

Steps to Reproduce:
1.emerge opera
2.
3.

Actual Results:  
>>> /usr/portage/www-client/opera/opera-9.50_beta1.ebuild has been updated; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking opera-9.50b-20071024.6-shared-qt.i386-en.tar.bz2 to /var/tmp/portage/www-client/opera-9.50_beta1/work
>>> Unpacking opera-9.50b-20071024.4-shared-qt.i386.freebsd-en.tar.bz2 to /var/tmp/portage/www-client/opera-9.50_beta1/work
/usr/portage/www-client/opera/opera-9.50_beta1.ebuild: line 62: cd: /var/tmp/portage/www-client/opera-9.50_beta1/work/opera-9.50-20071024.6-shared-qt.i386 opera-9.50b-20071024.4-shared-qt.i386.freebsd-en.tar.bz2-1643: Datei oder Verzeichnis nicht gefunden
 * Applying opera-9.00-install.patch ...

 * Failed Patch: opera-9.00-install.patch !
 *  ( /usr/portage/www-client/opera/files/opera-9.00-install.patch )

Expected Results:  
>>> Unpacking source...
>>> Unpacking opera-9.50b-20071024.6-shared-qt.i386-en.tar.bz2 to /var/tmp/portage/www-client/opera-9.50_beta1/work
 * Applying opera-9.00-install.patch ...                                                                           [ ok ]
 * Applying opera-9.50-pluginpath.patch ...                                                                        [ ok ]
>>> Source unpacked.

Attached is the fixed ebuild.

diff -Nrup opera-9.50_beta1.ebuild /home/blub/Desktop/opera-9.50_beta1.ebuild
--- opera-9.50_beta1.ebuild     2007-10-26 16:58:47.000000000 +0200
+++ /home/blub/Desktop/opera-9.50_beta1.ebuild  2007-10-26 16:52:31.000000000 +0200
@@ -24,12 +24,12 @@ O_FTP="/950b/final/${O_LNG}/"
 O_URI="mirror://opera/"

 SRC_URI="amd64? ( ${O_URI}linux${O_FTP}x86_64/${PN}-${O_VER/b/}.2-shared-qt.x86_64-${O_SUFF}.tar.bz2 )
-       x86? ( qt-static? ( ${O_URI}linux${O_FTP}i386/static/${PN}-${O_VER}.9-static-qt.i386-${O_LNG}.tar.bz2 ) )
-       x86? ( !qt-static? ( ${O_URI}linux${O_FTP}i386/shared/${PN}-${O_VER}.6-shared-qt.i386-${O_LNG}.tar.bz2 ) )
-       ppc? ( qtstatic? ( ${O_URI}linux${O_FTP}ppc/static/${PN}-${O_VER}.1-static-qt.ppc-${O_LNG}.tar.bz2 ) )
-       ppc? ( !qt-static? ( ${O_URI}linux${O_FTP}ppc/shared/gcc-2.95/${PN}-${O_VER}.3-shared-qt.ppc-${O_LNG}.tar.bz2 ) )
-       x86-fbsd? ( qt-static? ( ${O_URI}unix/freebsd${O_FTP}static/${PN}-${O_VER}.1-static-qt.i386.freebsd-${O_LNG}.tar.bz2 ) )
-       x86-fbsd? ( !qt-static? ( ${O_URI}unix/freebsd${O_FTP}shared/${PN}-${O_VER}.4-shared-qt.i386.freebsd-${O_LNG}.tar.bz2 ) )"
+       x86? ( qt-static? ( ${O_URI}linux${O_FTP}i386/static/${PN}-${O_VER}.9-static-qt.i386-${O_LNG}.tar.bz2 )
+                  !qt-static? ( ${O_URI}linux${O_FTP}i386/shared/${PN}-${O_VER}.6-shared-qt.i386-${O_LNG}.tar.bz2 ) )
+       ppc? ( qtstatic? ( ${O_URI}linux${O_FTP}ppc/static/${PN}-${O_VER}.1-static-qt.ppc-${O_LNG}.tar.bz2 )
+                  !qt-static? ( ${O_URI}linux${O_FTP}ppc/shared/gcc-2.95/${PN}-${O_VER}.3-shared-qt.ppc-${O_LNG}.tar.bz2 ) )
+       x86-fbsd? (     qt-static? ( ${O_URI}unix/freebsd${O_FTP}static/${PN}-${O_VER}.1-static-qt.i386.freebsd-${O_LNG}.tar.bz2 ) )
+                               !qt-static? ( ${O_URI}unix/freebsd${O_FTP}shared/${PN}-${O_VER}.4-shared-qt.i386.freebsd-${O_LNG}.tar.bz2 )"

 DEPEND=">=sys-apps/sed-4"
Comment 1 Bjoern Olausson 2007-10-26 15:02:18 UTC
Created attachment 134426 [details]
opera-9.50_beta1.ebuild fixed

--- /home/blub/Desktop/opera-9.50_beta1.ebuild  2007-10-26 16:52:31.000000000 +0200
+++ opera-9.50_beta1.ebuild     2007-10-26 16:58:47.000000000 +0200
@@ -24,12 +24,12 @@ O_FTP="/950b/final/${O_LNG}/"
 O_URI="mirror://opera/"

 SRC_URI="amd64? ( ${O_URI}linux${O_FTP}x86_64/${PN}-${O_VER/b/}.2-shared-qt.x86_64-${O_SUFF}.tar.bz2 )
-       x86? ( qt-static? ( ${O_URI}linux${O_FTP}i386/static/${PN}-${O_VER}.9-static-qt.i386-${O_LNG}.tar.bz2 )
-                  !qt-static? ( ${O_URI}linux${O_FTP}i386/shared/${PN}-${O_VER}.6-shared-qt.i386-${O_LNG}.tar.bz2 ) )
-       ppc? ( qtstatic? ( ${O_URI}linux${O_FTP}ppc/static/${PN}-${O_VER}.1-static-qt.ppc-${O_LNG}.tar.bz2 )
-                  !qt-static? ( ${O_URI}linux${O_FTP}ppc/shared/gcc-2.95/${PN}-${O_VER}.3-shared-qt.ppc-${O_LNG}.tar.bz2 ) )
-       x86-fbsd? (     qt-static? ( ${O_URI}unix/freebsd${O_FTP}static/${PN}-${O_VER}.1-static-qt.i386.freebsd-${O_LNG}.tar.bz2 ) )
-                               !qt-static? ( ${O_URI}unix/freebsd${O_FTP}shared/${PN}-${O_VER}.4-shared-qt.i386.freebsd-${O_LNG}.tar.bz2 )"
+       x86? ( qt-static? ( ${O_URI}linux${O_FTP}i386/static/${PN}-${O_VER}.9-static-qt.i386-${O_LNG}.tar.bz2 ) )
+       x86? ( !qt-static? ( ${O_URI}linux${O_FTP}i386/shared/${PN}-${O_VER}.6-shared-qt.i386-${O_LNG}.tar.bz2 ) )
+       ppc? ( qtstatic? ( ${O_URI}linux${O_FTP}ppc/static/${PN}-${O_VER}.1-static-qt.ppc-${O_LNG}.tar.bz2 ) )
+       ppc? ( !qt-static? ( ${O_URI}linux${O_FTP}ppc/shared/gcc-2.95/${PN}-${O_VER}.3-shared-qt.ppc-${O_LNG}.tar.bz2 ) )
+       x86-fbsd? ( qt-static? ( ${O_URI}unix/freebsd${O_FTP}static/${PN}-${O_VER}.1-static-qt.i386.freebsd-${O_LNG}.tar.bz2 ) )
+       x86-fbsd? ( !qt-static? ( ${O_URI}unix/freebsd${O_FTP}shared/${PN}-${O_VER}.4-shared-qt.i386.freebsd-${O_LNG}.tar.bz2 ) )"

 DEPEND=">=sys-apps/sed-4"
Comment 2 Bjoern Olausson 2007-10-26 15:05:01 UTC
usr/share/opera/ini/font.ini: OK
usr/share/opera/ini/pluginpath.ini: FEHLSCHLAG
usr/share/opera/skin/standard_skin.zip: OK

md5sum: Warnung: 1 von 97 berechneten Prüfsumme passten NICHT

one md5sum is wrong!

Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2007-10-26 16:15:34 UTC
(In reply to comment #2)
> usr/share/opera/ini/font.ini: OK
> usr/share/opera/ini/pluginpath.ini: FEHLSCHLAG
> usr/share/opera/skin/standard_skin.zip: OK
> 
> md5sum: Warnung: 1 von 97 berechneten Prüfsumme passten NICHT
> 
> one md5sum is wrong!

That is completely unrelated to this bug, but I have readded the notes that previous versions displayed:

   einfo "It is safe to ignore warnings about failed checksums"
   einfo "and about files that would be ignored ..."
   einfo "Completing the installation where install.sh abandoned us ..."
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2007-10-26 16:16:34 UTC

*** This bug has been marked as a duplicate of bug 197095 ***