FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 10-30-2009, 09:23 AM
dhk
 
Default Emerging app-text/spellutils-0.7 fails

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'
#
 
Old 10-30-2009, 09:34 AM
Alan McKinnon
 
Default Emerging app-text/spellutils-0.7 fails

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
 
Old 10-30-2009, 10:04 AM
Neil Bothwick
 
Default Emerging app-text/spellutils-0.7 fails

On Fri, 30 Oct 2009 12:34:28 +0200, Alan McKinnon wrote:

> 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 trouble is that it is trying to work there

ACCESS DENIED open_wr: /usr/share/locale/da/LC_MESSAGES/spellutils.mo

This is a sandox violation error and needs a bug filing against it,
unless someone has already done it.


--
Neil Bothwick

Q: How many builders does it take to change a light bulb?
A: "If only it was just the light bulb......we'll have to replace the
ceiling and..........."
 

Thread Tools




All times are GMT. The time now is 09:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org