On Friday 30 October 2009 12:23:45 dhk wrote:
> Below is the output from the failed emerge of app-text/spellutils-0.7 .
>  The error is an access violation, but I don't know why.  It seems to be
> the /usr/share/locale/da/LC_MESSAGES/spellutils.mo file but that file
> doesn't exist.

It's failing on the install step, not the merge step. So it doesn't help 
looking in /usr/share/ because the build is not working there yet.

The problem will lie in /var/tmp/portage/$STUFF/usr/share
You must look there

> `/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/intl'
> Making install in po
> make[1]: Entering directory
> `/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/po'
> if test -r ".././mkinstalldirs"; then \
>         .././mkinstalldirs /usr/share; \
>       else \
>         /bin/sh ../mkinstalldirs /usr/share; \
>       fi
> ACCESS DENIED  open_wr:      /usr/share/locale/da/LC_MESSAGES/spellutils.mo
> /usr/bin/install: cannot create regular file
> `/usr/share/locale/da/LC_MESSAGES/spellutils.mo': Permission denied
> installing da.gmo as /usr/share/locale/da/LC_MESSAGES/spellutils.mo
> if test "spellutils" = "gettext"; then \
>         if test -r ".././mkinstalldirs"; then \
>           .././mkinstalldirs /usr/share/gettext/po; \
>         else \
>           /bin/sh ../mkinstalldirs /usr/share/gettext/po; \
>         fi; \
>         /usr/bin/install -c -m 644 ./Makefile.in.in \
>                         /usr/share/gettext/po/Makefile.in.in; \
>       else \
> 
>         : ; \
> 
>       fi

You have an permission denied error here at this point. Run the emerge again 
and when it fails navigate through /var/tmp/portage/ to find the directory or 
file in question. See what the problem is - I'll bet money that a regular user 
is trying to write to a directory owned by root with perms 755.

When you have all the info, file a bug at b.g.o. because this should not 
happen (it's a bug in the build scripts)




-- 
alan dot mckinnon at gmail dot com

Reply via email to