Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43165 - eog-0.6-r4.ebuild doesn't emerge if sandbox is enabled
Summary: eog-0.6-r4.ebuild doesn't emerge if sandbox is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Highest normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 22:09 UTC by Mamoru KOMACHI (RETIRED)
Modified: 2004-03-03 08:14 UTC (History)
0 users

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


Attachments
eog-0.6-Makefile-gentoo.diff (eog-0.6-Makefile-gentoo.diff,828 bytes, patch)
2004-02-27 22:10 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff
eog-0.6-r4.ebuild.diff (eog-0.6-r4.ebuild.diff,866 bytes, patch)
2004-02-27 22:12 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-27 22:09:54 UTC
The title says all. I'll attach a patch and a diff to the ebuild to fix it.

BTW, eog-0.6-r4.ebuild is SLOT="0" and eog-2* is SLOT="1"
but they don't seem to be SLOTed correctly. Here is the list of
files conflicting between eog-0.6-r4 and eog-2.4.1.

/usr/bin/eog
/etc/gconf/schemas/eog.schemas
/usr/share/idl/Eog.idl
/usr/share/locale/az/LC_MESSAGES/eog.mo
/usr/share/locale/ca/LC_MESSAGES/eog.mo
/usr/share/locale/cs/LC_MESSAGES/eog.mo
/usr/share/locale/da/LC_MESSAGES/eog.mo
/usr/share/locale/de/LC_MESSAGES/eog.mo
/usr/share/locale/el/LC_MESSAGES/eog.mo
/usr/share/locale/es/LC_MESSAGES/eog.mo
/usr/share/locale/et/LC_MESSAGES/eog.mo
/usr/share/locale/fi/LC_MESSAGES/eog.mo
/usr/share/locale/fr/LC_MESSAGES/eog.mo
/usr/share/locale/ga/LC_MESSAGES/eog.mo
/usr/share/locale/gl/LC_MESSAGES/eog.mo
/usr/share/locale/hu/LC_MESSAGES/eog.mo
/usr/share/locale/it/LC_MESSAGES/eog.mo
/usr/share/locale/ja/LC_MESSAGES/eog.mo
/usr/share/locale/ko/LC_MESSAGES/eog.mo
/usr/share/locale/lt/LC_MESSAGES/eog.mo
/usr/share/locale/nl/LC_MESSAGES/eog.mo
/usr/share/locale/no/LC_MESSAGES/eog.mo
/usr/share/locale/pl/LC_MESSAGES/eog.mo
/usr/share/locale/pt_BR/LC_MESSAGES/eog.mo
/usr/share/locale/ro/LC_MESSAGES/eog.mo
/usr/share/locale/ru/LC_MESSAGES/eog.mo
/usr/share/locale/sl/LC_MESSAGES/eog.mo
/usr/share/locale/sv/LC_MESSAGES/eog.mo
/usr/share/locale/tr/LC_MESSAGES/eog.mo
/usr/share/locale/uk/LC_MESSAGES/eog.mo
/usr/share/pixmaps/gnome-eog.png
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-27 22:10:54 UTC
Created attachment 26501 [details, diff]
eog-0.6-Makefile-gentoo.diff
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-27 22:12:40 UTC
Created attachment 26502 [details, diff]
eog-0.6-r4.ebuild.diff
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-29 06:41:06 UTC
err, it does compile but fails with sandbox violation during
src_install() phase.

The actual error message was:

setup
unpack
>>> Unpacking source...
>>> Unpacking eog-0.6.tar.gz to /var/tmp/portage/eog-0.6-r4/work
>>> Source unpacked.

[snip]

make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/eog-0.6-r4/work/eog-0.6/src/cursors'
make[2]: Leaving directory `/var/tmp/portage/eog-0.6-r4/work/eog-0.6/src/cursors'
Making install in stock
make[2]: Entering directory `/var/tmp/portage/eog-0.6-r4/work/eog-0.6/src/stock'
make[3]: Entering directory `/var/tmp/portage/eog-0.6-r4/work/eog-0.6/src/stock'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/share/pixmaps/eog
 /usr/bin/install -c -m 644 ./stock-zoom-1.xpm /usr/share/pixmaps/eog/stock-zoom-1.xpm
[31;01mACCESS DENIED[0m  open_wr:   /usr/share/pixmaps/eog/stock-zoom-1.xpm
/usr/bin/install: cannot create regular file `/usr/share/pixmaps/eog/stock-zoom-1.xpm': Permission denied
 /usr/bin/install -c -m 644 ./stock-zoom-fit.xpm /usr/share/pixmaps/eog/stock-zoom-fit.xpm
[31;01mACCESS DENIED[0m  open_wr:   /usr/share/pixmaps/eog/stock-zoom-fit.xpm
/usr/bin/install: cannot create regular file `/usr/share/pixmaps/eog/stock-zoom-fit.xpm': Permission denied
 /usr/bin/install -c -m 644 ./stock-zoom-in.xpm /usr/share/pixmaps/eog/stock-zoom-in.xpm
[31;01mACCESS DENIED[0m  open_wr:   /usr/share/pixmaps/eog/stock-zoom-in.xpm
/usr/bin/install: cannot create regular file `/usr/share/pixmaps/eog/stock-zoom-in.xpm': Permission denied
 /usr/bin/install -c -m 644 ./stock-zoom-out.xpm /usr/share/pixmaps/eog/stock-zoom-out.xpm
[31;01mACCESS DENIED[0m  open_wr:   /usr/share/pixmaps/eog/stock-zoom-out.xpm
/usr/bin/install: cannot create regular file `/usr/share/pixmaps/eog/stock-zoom-out.xpm': Permission denied
make[3]: *** [install-iconDATA] Error 1
make[3]: Leaving directory `/var/tmp/portage/eog-0.6-r4/work/eog-0.6/src/stock'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/eog-0.6-r4/work/eog-0.6/src/stock'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/eog-0.6-r4/work/eog-0.6/src'
make: *** [install-recursive] Error 1

!!! ERROR: media-gfx/eog-0.6-r4 failed.
!!! Function src_install, Line 48, Exitcode 2
!!! (no error message)
Comment 4 foser (RETIRED) gentoo-dev 2004-03-03 08:14:31 UTC
Fixed the ebuild with your patch. You just have to use DESTDIR to install.

In the process made it use gnome.org for the download (this one didn't work anymore) and fixed the SLOT to be 1 (this is indeed not parallel installable.

Please test.