public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Emerging app-text/spellutils-0.7 fails
Date: Fri, 30 Oct 2009 12:34:28 +0200	[thread overview]
Message-ID: <200910301234.28507.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <4AEABEB1.4020101@optonline.net>

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	other threads:[~2009-10-30 10:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30 10:23 [gentoo-user] Emerging app-text/spellutils-0.7 fails dhk
2009-10-30 10:34 ` Alan McKinnon [this message]
2009-10-30 11:04   ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200910301234.28507.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox