Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Emerging app-text/spellutils-0.7 fails
Date: Fri, 30 Oct 2009 10:35:35
Message-Id: 200910301234.28507.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Emerging app-text/spellutils-0.7 fails by dhk
1 On Friday 30 October 2009 12:23:45 dhk wrote:
2 > Below is the output from the failed emerge of app-text/spellutils-0.7 .
3 > The error is an access violation, but I don't know why. It seems to be
4 > the /usr/share/locale/da/LC_MESSAGES/spellutils.mo file but that file
5 > doesn't exist.
6
7 It's failing on the install step, not the merge step. So it doesn't help
8 looking in /usr/share/ because the build is not working there yet.
9
10 The problem will lie in /var/tmp/portage/$STUFF/usr/share
11 You must look there
12
13 > `/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/intl'
14 > Making install in po
15 > make[1]: Entering directory
16 > `/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/po'
17 > if test -r ".././mkinstalldirs"; then \
18 > .././mkinstalldirs /usr/share; \
19 > else \
20 > /bin/sh ../mkinstalldirs /usr/share; \
21 > fi
22 > ACCESS DENIED open_wr: /usr/share/locale/da/LC_MESSAGES/spellutils.mo
23 > /usr/bin/install: cannot create regular file
24 > `/usr/share/locale/da/LC_MESSAGES/spellutils.mo': Permission denied
25 > installing da.gmo as /usr/share/locale/da/LC_MESSAGES/spellutils.mo
26 > if test "spellutils" = "gettext"; then \
27 > if test -r ".././mkinstalldirs"; then \
28 > .././mkinstalldirs /usr/share/gettext/po; \
29 > else \
30 > /bin/sh ../mkinstalldirs /usr/share/gettext/po; \
31 > fi; \
32 > /usr/bin/install -c -m 644 ./Makefile.in.in \
33 > /usr/share/gettext/po/Makefile.in.in; \
34 > else \
35 >
36 > : ; \
37 >
38 > fi
39
40 You have an permission denied error here at this point. Run the emerge again
41 and when it fails navigate through /var/tmp/portage/ to find the directory or
42 file in question. See what the problem is - I'll bet money that a regular user
43 is trying to write to a directory owned by root with perms 755.
44
45 When you have all the info, file a bug at b.g.o. because this should not
46 happen (it's a bug in the build scripts)
47
48
49
50
51 --
52 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Emerging app-text/spellutils-0.7 fails Neil Bothwick <neil@××××××××××.uk>