Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 197095
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeroen Roovers <jer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sterling Christensen <sterlingchristensen@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 197095 depends on: Show dependency tree
Bug 197095 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 02:44 0000
The ebuild tries to fetch a 32 bit build and fails because the URLs it tries
contain an "x86_64" that should be an "i386" (for a 32 bit build).

Example attempted URL:
"ftp://gd.tuwien.ac.at/infosys/browsers/opera/linux/950b/final/en/x86_64/shared/opera-9.50b-20071024.6-shared-qt.i386-en.tar.bz2"
Should be:
"ftp://gd.tuwien.ac.at/infosys/browsers/opera/linux/950b/final/en/i386/shared/opera-9.50b-20071024.6-shared-qt.i386-en.tar.bz2"

However, it would be even better if it installed the 64 bit version.

They don't seems to be following their convention of dividing the builds into a
"shared" dir and a "static" dir with 64 bit builds. There are only shared
builds and they're not in a "shared" dir:
ftp://ftp.opera.com/pub/opera/linux/950b/final/en/x86_64/

Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Ferris McCormick 2007-10-26 12:49:40 0000 -------
Problem seems to be here:
SRC_URI=" ...
 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 )"

You need to change the first ") )" to ")" and add a ")" at the end, I think:

 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 ) )"

Then, for me at least, on
S="${WORKDIR}/${O_S/.tar.bz2/}-${O_SUFF}"
you have to lose the -${O_SUFF}  because the source file is already
opera-9.50-20071024.2-shared-qt.x86_64-1643.tar.bz2
so when you strip the '.tar.bz2' you already have the -${O_SUFF}

That said, we have a suspect plugin:
usr/share/opera/ini/pluginpath.ini: FAILED

Still, with all of that, om amd64 this version of opera seems to work.

------- Comment #2 From Jeroen Roovers 2007-10-26 16:02:22 0000 -------
Could someone print the header of the ebuild they're looking at? I am at 1.3
right now after tomaw alterted me on IRC to a problem for amd64.

(I thought I fixed it some eight hours ago.)

------- Comment #3 From Jeroen Roovers 2007-10-26 16:16:34 0000 -------
*** Bug 197145 has been marked as a duplicate of this bug. ***

------- Comment #4 From Ferris McCormick 2007-10-26 16:24:35 0000 -------
CVS has:
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50_beta1.ebuild,v
1.3 2007/10/26 08:51:25 jer Exp $

It also has the problems I mentioned in Comment #1

------- Comment #5 From Ferris McCormick 2007-10-26 16:31:22 0000 -------
By the way, what I see is not the same as the original report.  Because of the
misplaced closing parenthesis, current ebuild on amd64 fetches two source files
and unpackes them both.  Then, it fails when trying to 'cd' into the directory
to apply the patch, because the cd looks like:
cd D1 D2

------- Comment #6 From Jeroen Roovers 2007-10-26 16:43:49 0000 -------
(In reply to comment #5)
> By the way, what I see is not the same as the original report.

That's right. For reasons unknown to me, before revision 1.3, `ebuild
opera-9.50_beta1.ebuild manifest` did *not* download the amd64 URIs but failed
to fail as well. The URIs were wrong to begin with and 1.3 fixed that.

> Because of the
> misplaced closing parenthesis, current ebuild on amd64 fetches two source files
> and unpackes them both.  Then, it fails when trying to 'cd' into the directory
> to apply the patch, because the cd looks like:
> cd D1 D2

I hope I fixed that now (revision 1.5). Please sync or cvs up and test it.

------- Comment #7 From Ferris McCormick 2007-10-26 17:04:21 0000 -------
On amd64, with
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50_beta1.ebuild,v
1.6 2007/10/26 16
:57:17 jer Exp $

It fetches the correct source file ---
opera-9.50-20071024.2-shared-qt.x86_64-1643.tar.bz2 --- and installs it just
fine.

------- Comment #8 From Jakub Moc (RETIRED) 2007-10-26 18:20:54 0000 -------
*** Bug 197141 has been marked as a duplicate of this bug. ***

------- Comment #9 From Bob Paddock 2007-10-27 13:54:33 0000 -------
I use Opera for some Emails and RSS feed.
I emerged this version of Opera to try it out.

When Opera started up, it asked
me if I wanted to convert to a new email format.
I told it to proceed.  Opera then seemed to work
ok. 

However when I restarted Opera it had an
error about initializing the email system,
and all the email and RSS data was no longer
accessible.

I went back to 9.24 and restored from last nights
backup.

Opera's Changelog for 9.50, mentions several
issues, having good backups is at the top of
this list:

http://snapshot.opera.com/unix/u950b1.html

"This is a beta version of Opera. Use only on properly backed up computers and
do not install over previous Opera versions."

I realize this is not a ebuild issue, but
thought you might want a heads-up.

------- Comment #10 From Jeroen Roovers 2007-10-27 15:31:45 0000 -------
(In reply to comment #9)
> "This is a beta version of Opera. Use only on properly backed up computers and
> do not install over previous Opera versions."

Opera 9.50 beta builds will remain keyworded as ~arch.

------- Comment #11 From Jeroen Roovers 2007-10-31 03:43:02 0000 -------
I think all SRC_URI problems have been fixed now... until Opera introduces a
few more. :)

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