public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Corrupt files in OOo build?
@ 2007-10-28  9:56 Mick
       [not found] ` <20071028101736.4689d8a6@pascal.spore.ath.cx>
  0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2007-10-28  9:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2199 bytes --]

Hi All,

After a mammoth session on an old machine, which crashed, I ended up with 
these files that refuse to be deleted:
===============================================================
# 
ls -la /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/
ls: cannot 
access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen.libhyphen680li_1.cmd: 
Permission denied
ls: cannot 
access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen_dflt_version.c: 
Permission denied
ls: cannot 
access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/guesslang_dflt_version.c: 
Permission denied
ls: cannot 
access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen680li.def: 
Permission denied
ls: cannot 
access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/libmythes.cmd: 
Permission denied
ls: cannot 
access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen_hyphen680li.map: 
Permission denied
total 0
drwxr-xr-- 2 portage portage 280 Oct 28 09:38 .
drwxr-xr-- 4 portage portage  96 Oct 28 09:38 ..
?????????? ? ?       ?         ?            ? guesslang_dflt_version.c
?????????? ? ?       ?         ?            ? hyphen.libhyphen680li_1.cmd
?????????? ? ?       ?         ?            ? hyphen680li.def
?????????? ? ?       ?         ?            ? hyphen_dflt_version.c
?????????? ? ?       ?         ?            ? hyphen_hyphen680li.map
?????????? ? ?       ?         ?            ? libmythes.cmd
===============================================================

(the "?" symbols are shown like this on my terminal too).

I am about to start a new emerge of OOo, but would think that I should first 
remove this mess just to be sure.  How do I do that?  Tried chmod and chown.  
The files are owned by portage:portage, but chmod-ing them fails.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Corrupt files in OOo build?
       [not found] ` <20071028101736.4689d8a6@pascal.spore.ath.cx>
@ 2007-10-28 17:22   ` Florian Philipp
  2007-10-28 18:17     ` Mick
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Philipp @ 2007-10-28 17:22 UTC (permalink / raw
  To: gentoo-user

Dan Farrell schrieb:
> On Sun, 28 Oct 2007 09:56:50 +0000
> Mick <michaelkintzios@gmail.com> wrote:
> 
>> Hi All,
>>
>> After a mammoth session on an old machine, which crashed, I ended up
>> with these files that refuse to be deleted:
>> ===============================================================
>> # 
>> ls
>> -la /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/
>> ls: cannot
>> access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen.libhyphen680li_1.cmd:
>> Permission denied ls: cannot 
>> access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen_dflt_version.c: 
>> Permission denied
>> ls: cannot 
>> access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/guesslang_dflt_version.c: 
>> Permission denied
>> ls: cannot 
>> access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen680li.def: 
>> Permission denied
>> ls: cannot 
>> access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/libmythes.cmd: 
>> Permission denied
>> ls: cannot 
>> access /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/lingucomponent/unxlngi6.pro/misc/hyphen_hyphen680li.map: 
>> Permission denied
>> total 0
>> drwxr-xr-- 2 portage portage 280 Oct 28 09:38 .
>> drwxr-xr-- 4 portage portage  96 Oct 28 09:38 ..
>> ?????????? ? ?       ?         ?            ? guesslang_dflt_version.c
>> ?????????? ? ?       ?         ?            ?
>> hyphen.libhyphen680li_1.cmd ?????????? ? ?       ?         ?            ?
>> hyphen680li.def ?????????? ? ?       ?         ?            ?
>> hyphen_dflt_version.c ?????????? ? ?       ?         ?            ?
>> hyphen_hyphen680li.map ?????????? ? ?       ?         ?            ?
>> libmythes.cmd
>> ===============================================================
>>
>> (the "?" symbols are shown like this on my terminal too).
>>
>> I am about to start a new emerge of OOo, but would think that I
>> should first remove this mess just to be sure.  How do I do that?
>> Tried chmod and chown. The files are owned by portage:portage, but
>> chmod-ing them fails.
> 
> I wonder if you could clear out all of /var/tmp?  I'm not sure if
> that's unsafe or not...

ccache uses /var/tmp/ccache
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Corrupt files in OOo build?
  2007-10-28 17:22   ` Florian Philipp
@ 2007-10-28 18:17     ` Mick
  2007-10-28 18:34       ` Florian Philipp
  0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2007-10-28 18:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2914 bytes --]

On Sunday 28 October 2007, Florian Philipp wrote:
> Dan Farrell schrieb:
> > On Sun, 28 Oct 2007 09:56:50 +0000
> >
> > Mick <michaelkintzios@gmail.com> wrote:
> >> Hi All,
> >>
> >> After a mammoth session on an old machine, which crashed, I ended up
> >> with these files that refuse to be deleted:
> >> ===============================================================
> >> #
> >> ls
> >> -la
> >> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
> >>ngucomponent/unxlngi6.pro/misc/ ls: cannot
> >> access
> >> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
> >>ngucomponent/unxlngi6.pro/misc/hyphen.libhyphen680li_1.cmd: Permission
> >> denied ls: cannot
> >> access
> >> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
> >>ngucomponent/unxlngi6.pro/misc/hyphen_dflt_version.c: Permission denied
> >> ls: cannot
> >> access
> >> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
> >>ngucomponent/unxlngi6.pro/misc/guesslang_dflt_version.c: Permission
> >> denied
> >> ls: cannot
> >> access
> >> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
> >>ngucomponent/unxlngi6.pro/misc/hyphen680li.def: Permission denied
> >> ls: cannot
> >> access
> >> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
> >>ngucomponent/unxlngi6.pro/misc/libmythes.cmd: Permission denied
> >> ls: cannot
> >> access
> >> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
> >>ngucomponent/unxlngi6.pro/misc/hyphen_hyphen680li.map: Permission denied
> >> total 0
> >> drwxr-xr-- 2 portage portage 280 Oct 28 09:38 .
> >> drwxr-xr-- 4 portage portage  96 Oct 28 09:38 ..
> >> ?????????? ? ?       ?         ?            ? guesslang_dflt_version.c
> >> ?????????? ? ?       ?         ?            ?
> >> hyphen.libhyphen680li_1.cmd ?????????? ? ?       ?         ?           
> >> ? hyphen680li.def ?????????? ? ?       ?         ?            ?
> >> hyphen_dflt_version.c ?????????? ? ?       ?         ?            ?
> >> hyphen_hyphen680li.map ?????????? ? ?       ?         ?            ?
> >> libmythes.cmd
> >> ===============================================================
> >>
> >> (the "?" symbols are shown like this on my terminal too).
> >>
> >> I am about to start a new emerge of OOo, but would think that I
> >> should first remove this mess just to be sure.  How do I do that?
> >> Tried chmod and chown. The files are owned by portage:portage, but
> >> chmod-ing them fails.
> >
> > I wonder if you could clear out all of /var/tmp?  I'm not sure if
> > that's unsafe or not...
>
> ccache uses /var/tmp/ccache

I think my problem is that I cannot delete these files, either individually or 
by deleting the parent directory.  Is there a way I could force-delete them?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Corrupt files in OOo build?
  2007-10-28 18:17     ` Mick
@ 2007-10-28 18:34       ` Florian Philipp
  2007-10-28 22:28         ` Mick
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Philipp @ 2007-10-28 18:34 UTC (permalink / raw
  To: gentoo-user

Mick schrieb:
> On Sunday 28 October 2007, Florian Philipp wrote:
>> Dan Farrell schrieb:
>>> On Sun, 28 Oct 2007 09:56:50 +0000
>>>
>>> Mick <michaelkintzios@gmail.com> wrote:
>>>> Hi All,
>>>>
>>>> After a mammoth session on an old machine, which crashed, I ended up
>>>> with these files that refuse to be deleted:
>>>> ===============================================================
>>>> #
>>>> ls
>>>> -la
>>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
>>>> ngucomponent/unxlngi6.pro/misc/ ls: cannot
>>>> access
>>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
>>>> ngucomponent/unxlngi6.pro/misc/hyphen.libhyphen680li_1.cmd: Permission
>>>> denied ls: cannot
>>>> access
>>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
>>>> ngucomponent/unxlngi6.pro/misc/hyphen_dflt_version.c: Permission denied
>>>> ls: cannot
>>>> access
>>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
>>>> ngucomponent/unxlngi6.pro/misc/guesslang_dflt_version.c: Permission
>>>> denied
>>>> ls: cannot
>>>> access
>>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
>>>> ngucomponent/unxlngi6.pro/misc/hyphen680li.def: Permission denied
>>>> ls: cannot
>>>> access
>>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
>>>> ngucomponent/unxlngi6.pro/misc/libmythes.cmd: Permission denied
>>>> ls: cannot
>>>> access
>>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/li
>>>> ngucomponent/unxlngi6.pro/misc/hyphen_hyphen680li.map: Permission denied
>>>> total 0
>>>> drwxr-xr-- 2 portage portage 280 Oct 28 09:38 .
>>>> drwxr-xr-- 4 portage portage  96 Oct 28 09:38 ..
>>>> ?????????? ? ?       ?         ?            ? guesslang_dflt_version.c
>>>> ?????????? ? ?       ?         ?            ?
>>>> hyphen.libhyphen680li_1.cmd ?????????? ? ?       ?         ?           
>>>> ? hyphen680li.def ?????????? ? ?       ?         ?            ?
>>>> hyphen_dflt_version.c ?????????? ? ?       ?         ?            ?
>>>> hyphen_hyphen680li.map ?????????? ? ?       ?         ?            ?
>>>> libmythes.cmd
>>>> ===============================================================
>>>>
>>>> (the "?" symbols are shown like this on my terminal too).
>>>>
>>>> I am about to start a new emerge of OOo, but would think that I
>>>> should first remove this mess just to be sure.  How do I do that?
>>>> Tried chmod and chown. The files are owned by portage:portage, but
>>>> chmod-ing them fails.
>>> I wonder if you could clear out all of /var/tmp?  I'm not sure if
>>> that's unsafe or not...
>> ccache uses /var/tmp/ccache
> 
> I think my problem is that I cannot delete these files, either individually or 
> by deleting the parent directory.  Is there a way I could force-delete them?

That sounds like file system corruption.
Try to boot from a live cd and run fsck. Don't forget that the partition 
needs to be unmounted and you might need to apply -f to your fsck command.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Corrupt files in OOo build?
  2007-10-28 18:34       ` Florian Philipp
@ 2007-10-28 22:28         ` Mick
  0 siblings, 0 replies; 5+ messages in thread
From: Mick @ 2007-10-28 22:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3662 bytes --]

On Sunday 28 October 2007, Florian Philipp wrote:
> Mick schrieb:
> > On Sunday 28 October 2007, Florian Philipp wrote:
> >> Dan Farrell schrieb:
> >>> On Sun, 28 Oct 2007 09:56:50 +0000
> >>>
> >>> Mick <michaelkintzios@gmail.com> wrote:
> >>>> Hi All,
> >>>>
> >>>> After a mammoth session on an old machine, which crashed, I ended up
> >>>> with these files that refuse to be deleted:
> >>>> ===============================================================
> >>>> #
> >>>> ls
> >>>> -la
> >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
> >>>>li ngucomponent/unxlngi6.pro/misc/ ls: cannot
> >>>> access
> >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
> >>>>li ngucomponent/unxlngi6.pro/misc/hyphen.libhyphen680li_1.cmd:
> >>>> Permission denied ls: cannot
> >>>> access
> >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
> >>>>li ngucomponent/unxlngi6.pro/misc/hyphen_dflt_version.c: Permission
> >>>> denied ls: cannot
> >>>> access
> >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
> >>>>li ngucomponent/unxlngi6.pro/misc/guesslang_dflt_version.c: Permission
> >>>> denied
> >>>> ls: cannot
> >>>> access
> >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
> >>>>li ngucomponent/unxlngi6.pro/misc/hyphen680li.def: Permission denied
> >>>> ls: cannot
> >>>> access
> >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
> >>>>li ngucomponent/unxlngi6.pro/misc/libmythes.cmd: Permission denied ls:
> >>>> cannot
> >>>> access
> >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
> >>>>li ngucomponent/unxlngi6.pro/misc/hyphen_hyphen680li.map: Permission
> >>>> denied total 0
> >>>> drwxr-xr-- 2 portage portage 280 Oct 28 09:38 .
> >>>> drwxr-xr-- 4 portage portage  96 Oct 28 09:38 ..
> >>>> ?????????? ? ?       ?         ?            ? guesslang_dflt_version.c
> >>>> ?????????? ? ?       ?         ?            ?
> >>>> hyphen.libhyphen680li_1.cmd ?????????? ? ?       ?         ?
> >>>> ? hyphen680li.def ?????????? ? ?       ?         ?            ?
> >>>> hyphen_dflt_version.c ?????????? ? ?       ?         ?            ?
> >>>> hyphen_hyphen680li.map ?????????? ? ?       ?         ?            ?
> >>>> libmythes.cmd
> >>>> ===============================================================
> >>>>
> >>>> (the "?" symbols are shown like this on my terminal too).
> >>>>
> >>>> I am about to start a new emerge of OOo, but would think that I
> >>>> should first remove this mess just to be sure.  How do I do that?
> >>>> Tried chmod and chown. The files are owned by portage:portage, but
> >>>> chmod-ing them fails.
> >>>
> >>> I wonder if you could clear out all of /var/tmp?  I'm not sure if
> >>> that's unsafe or not...
> >>
> >> ccache uses /var/tmp/ccache
> >
> > I think my problem is that I cannot delete these files, either
> > individually or by deleting the parent directory.  Is there a way I could
> > force-delete them?
>
> That sounds like file system corruption.
> Try to boot from a live cd and run fsck. Don't forget that the partition
> needs to be unmounted and you might need to apply -f to your fsck command.

Thanks, I'll have a go with an old LiveCD, but I am bit concerned that this 
the third time in as many months that this old box is suffering fs corruption 
(I think it has been different partition each time).  It's either excessive 
fragmentation, or I should install smartmontools to check if one of the 
drives is on its way out.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-28 22:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-28  9:56 [gentoo-user] Corrupt files in OOo build? Mick
     [not found] ` <20071028101736.4689d8a6@pascal.spore.ath.cx>
2007-10-28 17:22   ` Florian Philipp
2007-10-28 18:17     ` Mick
2007-10-28 18:34       ` Florian Philipp
2007-10-28 22:28         ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox