Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 8366

Summary: pharmacy won't emerge due to access violation
Product: Gentoo Linux Reporter: Dead Schorsch <spamlover>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: VERIFIED FIXED    
Severity: major    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dead Schorsch 2002-09-25 09:17:02 UTC
These are the log lines:

[...]

mkdir /usr/share/gnome/help/pharmacy
ACCESS DENIED  mkdir:     /usr/share/gnome/help/pharmacy
mkdir: kann Verzeichnis 
Comment 1 Dead Schorsch 2002-09-25 09:17:02 UTC
These are the log lines:

[...]

mkdir /usr/share/gnome/help/pharmacy
ACCESS DENIED  mkdir:     /usr/share/gnome/help/pharmacy
mkdir: kann Verzeichnis »»/usr/share/gnome/help/pharmacy«« nicht anlegen: Keine
Berechtigung
mkdir /usr/share/gnome/help/pharmacy/C
ACCESS DENIED  mkdir:     /usr/share/gnome/help/pharmacy/C
mkdir: kann Verzeichnis »»/usr/share/gnome/help/pharmacy/C«« nicht anlegen:
Keine Berechtigung

[...]

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 1, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE = "/tmp/sandbox-pharmacy-0.3-r1-13504.log"

open_wr:   /usr/share/locale/fr/LC_MESSAGES/pharmacy.mo
open_wr:   /usr/share/locale/it/LC_MESSAGES/pharmacy.mo
open_wr:   /usr/share/locale/ja/LC_MESSAGES/pharmacy.mo
open_wr:   /usr/share/locale/ko/LC_MESSAGES/pharmacy.mo
open_wr:   /usr/share/locale/de/LC_MESSAGES/pharmacy.mo
open_wr:   /usr/share/locale/pt_BR/LC_MESSAGES/pharmacy.mo
open_wr:   /usr/share/locale/ru/LC_MESSAGES/pharmacy.mo
mkdir:     /usr/share/gnome/help/pharmacy
mkdir:     /usr/share/gnome/help/pharmacy/C
Comment 2 David Edwards 2002-10-07 11:17:23 UTC
This will fix it:

Change the make install command from this:

make DESTDIR=${D} install || die

to this:
make DESTDIR=${D} install prefix=${D}/usr datadir=${D}/usr/share || die
Comment 3 David Edwards 2002-10-07 13:04:28 UTC
The last fix did indeed fix the sandbox violations, but the install is still
crapped up. Here's what really works.

make install prefix=${D}/usr datadir=${D}/usr/share || die
Comment 4 foser (RETIRED) gentoo-dev 2002-10-15 08:37:32 UTC
Thanks for the fix, committed a fixed revision to portage.
Comment 5 Dead Schorsch 2005-08-30 03:31:51 UTC
Closing.