public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] sys-libs/e2fsprogs-libs causing sandbox violation in /root/.ccache?
@ 2018-03-29  4:33 P Levine
  2018-03-29 12:46 ` J García
  2018-03-29 15:04 ` Jack
  0 siblings, 2 replies; 4+ messages in thread
From: P Levine @ 2018-03-29  4:33 UTC (permalink / raw
  To: gentoo-user

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

Th
​is has been going on for the last few months.  It only seems to happen for
sys-libs/e2fsprogs-libs.  I haven't filed a bug yet as I'm unsure if there
is something I'm overlooking on my end.  I can delete /root/.ccache and
remerge and it seems to be fine after that, but while updating the world a
few weeks later it sporadically returns.

The relevant part of the build:

make[1]: 'compile_et' is up to date.
> make[1]: Leaving directory
> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-ab
> i_x86_64.amd64/lib/et'
> making all in lib/et
> * ACCESS DENIED:  utimes:       /root/.ccache
> * ACCESS DENIED:  mkdir:        /root/.ccache/3
> make[1]: Entering directory
> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-a
> bi_x86_64.amd64/lib/et'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory
> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-ab
> i_x86_64.amd64/lib/et'


​And the sandbox report:​

* --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------
> * LOG FILE: "/var/log/sandbox/sandbox-28430.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: utimes
> S: deny
> P: /root/.ccache
> A: /root/.ccache
> R: /root/.ccache
> C: x86_64-pc-linux-gnu-gcc -x c -v -c /dev/null -o /dev/null
> F: mkdir
> S: deny
> P: /root/.ccache/3
> A: /root/.ccache/3
> R: /root/.ccache/3
> C: x86_64-pc-linux-gnu-gcc -x c -v -c /dev/null -o /dev/null
> *
> --------------------------------------------------------------------------------


Has anyone else run into sporadic build failures like this?

[-- Attachment #2: Type: text/html, Size: 7065 bytes --]

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

* Re: [gentoo-user] sys-libs/e2fsprogs-libs causing sandbox violation in /root/.ccache?
  2018-03-29  4:33 [gentoo-user] sys-libs/e2fsprogs-libs causing sandbox violation in /root/.ccache? P Levine
@ 2018-03-29 12:46 ` J García
  2018-03-29 12:59   ` Rich Freeman
  2018-03-29 15:04 ` Jack
  1 sibling, 1 reply; 4+ messages in thread
From: J García @ 2018-03-29 12:46 UTC (permalink / raw
  To: gentoo-user

2018-03-28 22:33 GMT-06:00 P Levine <plevine457@gmail.com>:

> The relevant part of the build:
>
>> make[1]: 'compile_et' is up to date.
>> make[1]: Leaving directory
>> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-ab
>> i_x86_64.amd64/lib/et'
>> making all in lib/et
>> * ACCESS DENIED:  utimes:       /root/.ccache
>> * ACCESS DENIED:  mkdir:        /root/.ccache/3

The ebuild is working fine on my end, it was built yesterday with no
issues according to my logs. Is FEATURES=ccache part of your
make.conf?
If it is, try to build it with without that feature.


PD: HTML is not welcome in the messages for this list, not everyone is
reading this list with an HTML capable mail reader, those people are
only able to see a bunch of garbage if you send it this way.
Many will ignore your message because of that. Next time just send plain text.


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

* Re: [gentoo-user] sys-libs/e2fsprogs-libs causing sandbox violation in /root/.ccache?
  2018-03-29 12:46 ` J García
@ 2018-03-29 12:59   ` Rich Freeman
  0 siblings, 0 replies; 4+ messages in thread
From: Rich Freeman @ 2018-03-29 12:59 UTC (permalink / raw
  To: gentoo-user

On Thu, Mar 29, 2018 at 8:46 AM, J García <jyo.garcia@gmail.com> wrote:
> 2018-03-28 22:33 GMT-06:00 P Levine <plevine457@gmail.com>:
>
>> The relevant part of the build:
>>
>>> make[1]: 'compile_et' is up to date.
>>> make[1]: Leaving directory
>>> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-ab
>>> i_x86_64.amd64/lib/et'
>>> making all in lib/et
>>> * ACCESS DENIED:  utimes:       /root/.ccache
>>> * ACCESS DENIED:  mkdir:        /root/.ccache/3
>
> The ebuild is working fine on my end, it was built yesterday with no
> issues according to my logs. Is FEATURES=ccache part of your
> make.conf?
> If it is, try to build it with without that feature.

That would almost certainly make the problem go away.

I don't have this issue with e2fsprogs-libs-1.43.6 with ccache, so the
issue is either specific to the newer version or something wrong with
the local config.

-- 
Rich


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

* Re: [gentoo-user] sys-libs/e2fsprogs-libs causing sandbox violation in /root/.ccache?
  2018-03-29  4:33 [gentoo-user] sys-libs/e2fsprogs-libs causing sandbox violation in /root/.ccache? P Levine
  2018-03-29 12:46 ` J García
@ 2018-03-29 15:04 ` Jack
  1 sibling, 0 replies; 4+ messages in thread
From: Jack @ 2018-03-29 15:04 UTC (permalink / raw
  To: gentoo-user

On 2018.03.29 00:33, P Levine wrote:
> Th
> ​is has been going on for the last few months.  It only seems to  
> happen for
> sys-libs/e2fsprogs-libs.  I haven't filed a bug yet as I'm unsure if  
> there
> is something I'm overlooking on my end.  I can delete /root/.ccache  
> and
> remerge and it seems to be fine after that, but while updating the  
> world a
> few weeks later it sporadically returns.
> 
> The relevant part of the build:
> 
> make[1]: 'compile_et' is up to date.
> > make[1]: Leaving directory
> >  
> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-ab
> > i_x86_64.amd64/lib/et'
> > making all in lib/et
> > * ACCESS DENIED:  utimes:       /root/.ccache
> > * ACCESS DENIED:  mkdir:        /root/.ccache/3
> > make[1]: Entering directory
> >  
> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-a
> > bi_x86_64.amd64/lib/et'
> > make[1]: Nothing to be done for 'all'.
> > make[1]: Leaving directory
> >  
> '/var/tmp/portage/sys-libs/e2fsprogs-libs-1.44.1/work/e2fsprogs-libs-1.44.1-ab
> > i_x86_64.amd64/lib/et'
> 
> 
> ​And the sandbox report:​
> 
> * --------------------------- ACCESS VIOLATION SUMMARY
> > ---------------------------
> > * LOG FILE: "/var/log/sandbox/sandbox-28430.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: utimes
> > S: deny
> > P: /root/.ccache
> > A: /root/.ccache
> > R: /root/.ccache
> > C: x86_64-pc-linux-gnu-gcc -x c -v -c /dev/null -o /dev/null
> > F: mkdir
> > S: deny
> > P: /root/.ccache/3
> > A: /root/.ccache/3
> > R: /root/.ccache/3
> > C: x86_64-pc-linux-gnu-gcc -x c -v -c /dev/null -o /dev/null
> > *
> >  
> --------------------------------------------------------------------------------
> 
> 
> Has anyone else run into sporadic build failures like this?
> 
I've had similar issues with various ebuilds, for me most commonly  
nodejs.  It's because of some XDG... environment variable.  Before you  
do the emerge, either do "su -"
  or something else to clear the environment.  It's not really anything  
specific to the ebuild, other than emerge not sanitizing the  
environment first.

Also, what I have sometimes done as a temporary workaround to save  
redoing the compile is to manually go to the build directory and type  
"make" to complete the compile, then complete the remaining ebuild  
steps (install and qmerge, I think - from memory).

Jack

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

end of thread, other threads:[~2018-03-29 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-29  4:33 [gentoo-user] sys-libs/e2fsprogs-libs causing sandbox violation in /root/.ccache? P Levine
2018-03-29 12:46 ` J García
2018-03-29 12:59   ` Rich Freeman
2018-03-29 15:04 ` Jack

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