Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge libvpx fails in sandbox while emerging firefox-4.0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
toon
n00b
n00b


Joined: 26 Jan 2003
Posts: 67
Location: The Netherlands

PostPosted: Tue Mar 22, 2011 10:03 pm    Post subject: Emerge libvpx fails in sandbox while emerging firefox-4.0 Reply with quote

See the emerge output below.

Code:
>>> Emerging (13 of 18) media-libs/libvpx-0.9.5
 * libvpx-v0.9.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                      [ ok ]
 * Package:    media-libs/libvpx-0.9.5
 * Repository: gentoo
 * Maintainer: media-video@gentoo.org
 * USE:        amd64 doc elibc_glibc kernel_linux mmx multilib sse sse2 threads userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking libvpx-v0.9.5.tar.bz2 to /var/tmp/portage/media-libs/libvpx-0.9.5/work
>>> Source unpacked in /var/tmp/portage/media-libs/libvpx-0.9.5/work
>>> Preparing source in /var/tmp/portage/media-libs/libvpx-0.9.5/work/libvpx-v0.9.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/libvpx-0.9.5/work/libvpx-v0.9.5 ...
Configuring selected codecs
  enabling vp8_encoder
  enabling vp8_decoder
Configuring for target 'x86_64-linux-gcc'
  enabling x86_64
  enabling pic
  enabling runtime_cpu_detect
  enabling mmx
  enabling sse
  enabling sse2
  using yasm
Creating makefiles for x86_64-linux-gcc libs
Creating makefiles for x86_64-linux-gcc examples
Creating makefiles for x86_64-linux-gcc docs
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-12083.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/snmp/mibs/.index
A: /usr/share/snmp/mibs/.index
R: /usr/share/snmp/mibs/.index
C: php -v
--------------------------------------------------------------------------------


It looks like it is trying to open an SNMP MIB file with WRITE access?
I don't know what to try next. Anybody?
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Wed Mar 23, 2011 11:02 am    Post subject: Reply with quote

if you trust the code and are aware of the consequences, try to emerge it without sandbox
Code:
FEATURES="-sandbox -usersandbox" emerge -avD1 libvpx

GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
toon
n00b
n00b


Joined: 26 Jan 2003
Posts: 67
Location: The Netherlands

PostPosted: Fri Mar 25, 2011 10:00 am    Post subject: Reply with quote

I've managed to find a work-around:

1. Force libvpx to be compiled without documentation:

Code:
echo "media-libs/libvpx -doc" >> /etc/portage/package.use


2. Unmerge net-snmp and php:

Code:
emerge -C net-analyzer/net-snmp
emerge -C php


3. Emerge libvpx:

Code:
emerge media-libs/libvpx


4. Emerge net-snmp and php again.

O boy, what a mess!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Tue Jan 01, 2013 10:29 am    Post subject: Reply with quote

Is no solution enymore. :(
Back to top
View user's profile Send private message
cyraxjoe
n00b
n00b


Joined: 30 Apr 2013
Posts: 1
Location: Monterrey, Mexico

PostPosted: Tue Apr 30, 2013 5:49 am    Post subject: The work around works Reply with quote

I can confirm that the suggested workaround does work.
Back to top
View user's profile Send private message
majoron
Apprentice
Apprentice


Joined: 12 Oct 2005
Posts: 239
Location: Frankfurt

PostPosted: Tue Apr 30, 2013 9:36 pm    Post subject: Reply with quote

The workaround proposed by toon works for me too. Thanks.
_________________
Computers are like air conditioners, they stop working properly if you open Windows
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum