Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134368 - www-client/opera-8.54 - ACCESS VIOLATION
Summary: www-client/opera-8.54 - ACCESS VIOLATION
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Thomas Matthijs (RETIRED)
URL:
Whiteboard:
Keywords:
: 134433 134655 134908 134914 134935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-25 16:05 UTC by sirpreis
Modified: 2007-05-31 10:55 UTC (History)
24 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/opera-8.54-install.patch (opera-8.54-install.patch,1.82 KB, patch)
2006-05-26 10:41 UTC, Jakub Moc (RETIRED)
Details | Diff
opera-8.54.ebuild.patch (opera-8.54.ebuild.patch,1.93 KB, patch)
2006-05-26 10:44 UTC, Jakub Moc (RETIRED)
Details | Diff
files/opera-8.54-install.patch (opera-8.54-install.patch,1.72 KB, patch)
2006-05-26 11:32 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sirpreis 2006-05-25 16:05:35 UTC
Emerging www-client/opera-8.54 gives the following:

>>> Emerging (1 of 3) www-client/opera-8.54 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking opera-8.54-20060330.5-shared-qt.i386-en.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking opera-8.54-20060330.5-shared-qt.i386-en.tar.bz2 to /var/tmp/portage/opera-8.54/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/opera-8.54/work/opera-8.54-20060330.5-shared-qt.i386-en ...
>>> Source compiled.
>>> Test phase [not enabled]: www-client/opera-8.54

>>> Install opera-8.54 into /var/tmp/portage/opera-8.54/image/ category www-client

System wide configuration files:
  /var/tmp/portage/opera-8.54/image//etc//opera6rc
  /var/tmp/portage/opera-8.54/image//etc//opera6rc.fixed
 would be ignored if installed with the prefix "/var/tmp/portage/opera-8.54/image//opt/opera".
Do you want to install them in /var/tmp/portage/opera-8.54/image//etc/ [ y,n | yes,no ] ?

Shortcut icons will be ignored if installed with the prefix "/var/tmp/portage/opera-8.54/image//opt/opera".
Do you want to (try to) install them in default locations [ y,n | yes,no ] ?
ACCESS DENIED  open_wr:   /usr/share/icons/hicolor/48x48/apps/opera.png
cp: cannot create regular file `/usr/share/icons/hicolor/48x48/apps/opera.png': Permission denied
ACCESS DENIED  open_wr:   /usr/share/icons/hicolor/32x32/apps/opera.png
cp: cannot create regular file `/usr/share/icons/hicolor/32x32/apps/opera.png': Permission denied
ACCESS DENIED  open_wr:   /usr/share/icons/hicolor/22x22/apps/opera.png
cp: cannot create regular file `/usr/share/icons/hicolor/22x22/apps/opera.png': Permission denied
Could not find shortcut installation directory, desktop entry not installed.
>>> Completed installing opera-8.54 into /var/tmp/portage/opera-8.54/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-www-client_-_opera-8.54-19898.log"

open_wr:   /usr/share/icons/hicolor/48x48/apps/opera.png
open_wr:   /usr/share/icons/hicolor/32x32/apps/opera.png
open_wr:   /usr/share/icons/hicolor/22x22/apps/opera.png
--------------------------------------------------------------------------------

My emerge --info:

sirpreis sirpreis # emerge --info
Portage 2.1_rc2-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-suspend2-r5 i686)
=================================================================
System uname: 2.6.16-suspend2-r5 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/xgl-coffee/trunk"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aim alsa apm asf avi berkdb bitmap-fonts cairo cdr cli crypt cups dri dvd eds emacs emboss encode esd firefox foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline real reflection sdl session spell spl ssl svg tcpd tetex truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-25 16:44:06 UTC
Well, this IMO needs nuking the xdg() functions in install.sh, like 9.0_beta (Bug 122036).

http://bugs.gentoo.org/attachment.cgi?id=85096

There's opera.desktop in ${FILESDIR} anyway, so it's redundant...
Comment 2 Keith Kastorff 2006-05-26 05:27:50 UTC
(In reply to comment #0)
I'm getting this error too. I noticed in bug# 129800 the problem couldn't be verified by someone running a testing version of Portage (portage-2.1_rc2). I'm running stable Portage, so I wonder if it's related to Portage version?
Comment 3 Vasilis Lourdas 2006-05-26 08:37:48 UTC
(In reply to comment #2)
> (In reply to comment #0)
> I'm getting this error too. I noticed in bug# 129800 the problem couldn't be
> verified by someone running a testing version of Portage (portage-2.1_rc2). I'm
> running stable Portage, so I wonder if it's related to Portage version?

I'm running portage 2.1_rc2-r3 and I get the same access violation error.
Comment 4 Andrew Dorney 2006-05-26 09:14:34 UTC
I am also getting the sandbox violation error, and I'm running portage-2.1-rc2-r3. It is also not just an x86 thing, since I'm using AMD64.

~~ Andrew D.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 10:11:57 UTC
*** Bug 134433 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 10:41:17 UTC
Created attachment 87574 [details, diff]
files/opera-8.54-install.patch

patch for install.sh script
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 10:44:05 UTC
Created attachment 87575 [details, diff]
opera-8.54.ebuild.patch

- ebuild patch to fix sandbox violation
- also fixes Bug 114302 and Bug 134422

Please, test and report back...
Comment 8 sirpreis 2006-05-26 11:13:16 UTC
(In reply to comment #7)
> Created an attachment (id=87575) [edit]
> opera-8.54.ebuild.patch
> 
> - ebuild patch to fix sandbox violation
> - also fixes Bug 114302 and Bug 134422
> 
> Please, test and report back...
> 

I do not know if I patched the ebuild correctly. I did the following:
move opera-8.54-install.patch to /usr/portage/www-client/opera/files
and then 'patch /usr/portage/www-client/opera/opera-8.54.ebuild opera-8.54.ebuild.patch'.

Emerging opera now gives the following:

sirpreis opera # emerge opera
Calculating dependencies... done!
>>> Emerging (1 of 1) www-client/opera-8.54 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking opera-8.54-20060330.5-shared-qt.i386-en.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking opera-8.54-20060330.5-shared-qt.i386-en.tar.bz2 to /var/tmp/portage/opera-8.54/work
 * Applying opera-8.54-install.patch ...

 * Failed Patch: opera-8.54-install.patch !
 *  ( /usr/portage/www-client/opera/files/opera-8.54-install.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/opera-8.54/temp/opera-8.54-install.patch-28729.out


!!! ERROR: www-client/opera-8.54 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_unpack
  ebuild.sh, line 703:   Called src_unpack
  opera-8.54.ebuild, line 62:   Called epatch '/usr/portage/www-client/opera/files/opera-8.54-install.patch'
  eutils.eclass, line 339:   Called die

!!! Failed Patch: opera-8.54-install.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 9 sirpreis 2006-05-26 11:14:56 UTC
Here is the output of /var/tmp/portage/opera-8.54/temp/opera-8.54-install.patch-28729.out:

***** opera-8.54-install.patch *****

====================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/opera/files/opera-8.54-install.patch

====================================
patching file install.sh
Hunk #1 FAILED at 1834.
1 out of 1 hunk FAILED -- saving rejects to file install.sh.rej
====================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/opera/files/opera-8.54-install.patch

====================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- install.sh.orig	2006-05-26 19:15:38.000000000 +0200
|+++ install.sh	2006-05-26 19:17:50.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
====================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/opera/files/opera-8.54-install.patch

====================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- install.sh.orig	2006-05-26 19:15:38.000000000 +0200
|+++ install.sh	2006-05-26 19:17:50.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
====================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/opera/files/opera-8.54-install.patch

====================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- install.sh.orig	2006-05-26 19:15:38.000000000 +0200
|+++ install.sh	2006-05-26 19:17:50.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
====================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/opera/files/opera-8.54-install.patch

====================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- install.sh.orig	2006-05-26 19:15:38.000000000 +0200
|+++ install.sh	2006-05-26 19:17:50.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 11:32:23 UTC
Created attachment 87580 [details, diff]
files/opera-8.54-install.patch

Sigh... I've attached wrong patch...
Comment 11 sirpreis 2006-05-26 11:58:26 UTC
That did the job. Worked
Comment 12 Pacho Ramos gentoo-dev 2006-05-26 14:14:55 UTC
I get the same error :(

Thanks
Comment 13 Tiziano Müller (RETIRED) gentoo-dev 2006-05-27 02:54:53 UTC
Worked perfectly for me too (arch: x86)
Comment 14 Vasilis Lourdas 2006-05-27 23:52:27 UTC
The patches work fine for me too.
Comment 15 Radoslaw Szkodzinski 2006-05-28 06:17:16 UTC
Confirming, with portage 2.1_rc3 the patch is required and works here too.
Also looks good to me. Please apply.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 09:24:50 UTC
*** Bug 134655 has been marked as a duplicate of this bug. ***
Comment 17 Maxx Twayne 2006-05-28 16:12:00 UTC
got the files/opera-8.54-install.patch file nut got i got 

Calculating dependencies ...done!
>>> emerge (1 of 1) www-client/opera-8.54 to /
!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/opera-8.54-install.patch

when i try to emerge opera
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 16:17:55 UTC
(In reply to comment #17)

You need to recreate digest, man ebuild... axxo, please commit the thing, it's getting annoying.
Comment 19 Thomas Matthijs (RETIRED) gentoo-dev 2006-05-30 04:21:12 UTC
Commited, thanks
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 04:53:59 UTC
*** Bug 134908 has been marked as a duplicate of this bug. ***
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 07:14:28 UTC
*** Bug 134914 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 10:42:22 UTC
*** Bug 134935 has been marked as a duplicate of this bug. ***