Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 197145
Alias:
Product:
Component:
Status: CLOSED
Resolution: DUPLICATE of bug 197095
Assigned To: Jeroen Roovers <jer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bjoern Olausson <spamsuxx@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
opera-9.50_beta1.ebuild opera-9.50_beta1.ebuild fixed text/plain Bjoern Olausson 2007-10-26 15:02 0000 5.51 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 197145 depends on: Show dependency tree
Bug 197145 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-26 15:01 0000
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 From Bjoern Olausson 2007-10-26 15:02:18 0000 -------
Created an attachment (id=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 From Bjoern Olausson 2007-10-26 15:05:01 0000 -------
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 From Jeroen Roovers 2007-10-26 16:15:34 0000 -------
(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 From Jeroen Roovers 2007-10-26 16:16:34 0000 -------

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug