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
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...
(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?
(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.
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.
*** Bug 134433 has been marked as a duplicate of this bug. ***
Created attachment 87574 [details, diff] files/opera-8.54-install.patch patch for install.sh script
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...
(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.
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
Created attachment 87580 [details, diff] files/opera-8.54-install.patch Sigh... I've attached wrong patch...
That did the job. Worked
I get the same error :( Thanks
Worked perfectly for me too (arch: x86)
The patches work fine for me too.
Confirming, with portage 2.1_rc3 the patch is required and works here too. Also looks good to me. Please apply.
*** Bug 134655 has been marked as a duplicate of this bug. ***
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
(In reply to comment #17) You need to recreate digest, man ebuild... axxo, please commit the thing, it's getting annoying.
Commited, thanks
*** Bug 134908 has been marked as a duplicate of this bug. ***
*** Bug 134914 has been marked as a duplicate of this bug. ***
*** Bug 134935 has been marked as a duplicate of this bug. ***