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.

# ls -l /usr/share/locale/da/LC_MESSAGES/spellutils.mo
ls: cannot access /usr/share/locale/da/LC_MESSAGES/spellutils.mo: No
such file or directory

I've tried creating the file with touch and giving it the same
permissions as all the other files in the directory, but that fails too.

Does anyone know why?

Thanks

# emerge -uDN world
!!! CONFIG_PROTECT is emptyCalculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-text/spellutils-0.7
 * spellutils-0.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
 [ ok ]
 * checking ebuild checksums ;-) ...
 [ ok ]
 * checking auxfile checksums ;-) ...
 [ ok ]
 * checking miscfile checksums ;-) ...
 [ ok ]
>>> Unpacking source...
>>> Unpacking spellutils-0.7.tar.bz2 to
/var/tmp/portage/app-text/spellutils-0.7/work
>>> Source unpacked in /var/tmp/portage/app-text/spellutils-0.7/work
>>> Compiling source in
/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7 ...
 * econf: updating spellutils-0.7/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating spellutils-0.7/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=k8 -O2 -pipe -Wl,-O1)
works... yes
checking whether the C compiler (gcc -march=k8 -O2 -pipe -Wl,-O1) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
checking for working const... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for size_t... yes
checking for pid_t... yes
checking for ranlib... ranlib
checking for inline... inline
checking for off_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  da
checking for strerror... yes
checking for strsignal... yes
checking for getopt... yes
checking for strncasecmp... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating config.h
make -j2 CC=x86_64-pc-linux-gnu-gcc
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
Making all in intl
make[2]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/intl'
Making all in po
make[2]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/po'
make[2]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c pospell.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c pospell_write.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c pospell_read.c
pospell.c: In function 'usage':
pospell.c:199: warning: string length '985' is greater than the length
'509' ISO C89 compilers are required to support
pospell.c: In function 'check_child':
pospell.c:277: warning: implicit declaration of function 'strsignal'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c lib.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c exec.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c newsbody.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c newsbody_write.c
newsbody.c: In function 'usage':
newsbody.c:205: warning: string length '1270' is greater than the length
'509' ISO C89 compilers are required to support
newsbody.c: In function 'check_child':
newsbody.c:288: warning: implicit declaration of function 'strsignal'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c newsbody_read.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -pedantic
-march=k8 -O2 -pipe -c header.c
x86_64-pc-linux-gnu-gcc  -Wall -pedantic -march=k8 -O2 -pipe -Wl,-O1 -o
pospell  pospell.o pospell_write.o pospell_read.o lib.o exec.o
lib.o: In function `nb_tmpnam':
lib.c:(.text+0x4cf): warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
x86_64-pc-linux-gnu-gcc  -Wall -pedantic -march=k8 -O2 -pipe -Wl,-O1 -o
newsbody  newsbody.o newsbody_write.o newsbody_read.o header.o lib.o
exec.o
lib.o: In function `nb_tmpnam':
lib.c:(.text+0x4cf): warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
make[2]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
make[1]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
>>> Source compiled.
>>> Test phase [not enabled]: app-text/spellutils-0.7

>>> Install spellutils-0.7 into
/var/tmp/portage/app-text/spellutils-0.7/image/ category app-text
make -j2 DESTDIR=/var/tmp/portage/app-text/spellutils-0.7/image/ install
Making install in intl
make[1]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/intl'
if test "spellutils" = "gettext" \
           && test '' = 'intl-compat.o'; then \
          if test -r ./mkinstalldirs; then \
            ./mkinstalldirs /usr/lib /usr/include; \
          else \
            ../mkinstalldirs /usr/lib /usr/include; \
          fi; \
          /usr/bin/install -c -m 644 intlh.inst /usr/include/libintl.h; \
          /usr/bin/install -c -m 644 libintl.a /usr/lib/libintl.a; \
        else \
          : ; \
        fi
if test "spellutils" = "gettext"; then \
          if test -r ./mkinstalldirs; then \
            ./mkinstalldirs /usr/share/gettext/intl; \
          else \
            ../mkinstalldirs /usr/share/gettext/intl; \
          fi; \
          /usr/bin/install -c -m 644 VERSION /usr/share/gettext/intl/VERSION; \
          dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in
xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h
bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c
localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c
cat-compat.c"; \
          for file in $dists; do \
            /usr/bin/install -c -m 644 ./$file /usr/share/gettext/intl/$file; \
          done; \
        else \
          : ; \
        fi
make[1]: Leaving directory
`/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
make[1]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7/po'
make[1]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
make[2]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
make  install-man1
make[3]: Entering directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
/bin/sh ./mkinstalldirs
/var/tmp/portage/app-text/spellutils-0.7/image//usr/share/man/man1
mkdir /var/tmp/portage/app-text/spellutils-0.7/image/usr
mkdir /var/tmp/portage/app-text/spellutils-0.7/image/usr/share
mkdir /var/tmp/portage/app-text/spellutils-0.7/image/usr/share/man
mkdir /var/tmp/portage/app-text/spellutils-0.7/image/usr/share/man/man1
 /usr/bin/install -c -m 644 ./pospell.1
/var/tmp/portage/app-text/spellutils-0.7/image//usr/share/man/man1/pospell.1
 /usr/bin/install -c -m 644 ./newsbody.1
/var/tmp/portage/app-text/spellutils-0.7/image//usr/share/man/man1/newsbody.1
make[3]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
/bin/sh ./mkinstalldirs
/var/tmp/portage/app-text/spellutils-0.7/image//usr/bin
mkdir /var/tmp/portage/app-text/spellutils-0.7/image/usr/bin
  /usr/bin/install -c  pospell
/var/tmp/portage/app-text/spellutils-0.7/image//usr/bin/pospell
  /usr/bin/install -c  newsbody
/var/tmp/portage/app-text/spellutils-0.7/image//usr/bin/newsbody
make[2]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
make[1]: Leaving directory
`/var/tmp/portage/app-text/spellutils-0.7/work/spellutils-0.7'
>>> Completed installing spellutils-0.7 into
/var/tmp/portage/app-text/spellutils-0.7/image/

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE "/var/log/sandbox/sandbox-27255.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/share/locale/da/LC_MESSAGES/spellutils.mo
A: /usr/share/locale/da/LC_MESSAGES/spellutils.mo
R: /usr/share/locale/da/LC_MESSAGES/spellutils.mo
C: /usr/bin/install -c -m 644 da.gmo
/usr/share/locale/da/LC_MESSAGES/spellutils.mo
--------------------------------------------------------------------------------

>>> Failed to emerge app-text/spellutils-0.7, Log file:

>>>  '/var/tmp/portage/app-text/spellutils-0.7/temp/build.log'
#

Reply via email to