Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 13635

Summary: ethereal 0.9.8 r1 fails to install under certain conditions
Product: Gentoo Linux Reporter: Olav Kolbu <gentoo>
Component: New packagesAssignee: Brad Cowan (RETIRED) <bcowan>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Olav Kolbu 2003-01-10 07:33:22 UTC
Unsure if this is the same as bug 13405, but I do not think so. Anyway, if the
USE flag 'snmp' isn't set, then ethereal will trigger a sandbox violation. 

[...]
>>> Completed installing into /var/tmp/portage/ethereal-0.9.8-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-ethereal-0.9.8-r1-30786.log"

open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
--------------------------------------------------------------------------------
[...]

In other words, it will index the mibs even when told not to bother about snmp.
Ebuild file has the following code to take care of the case where snmp is set,
so adding snmp to USE allows it to install:

    if use snmp
        then addwrite "/usr/share/snmp/mibs/"
    fi

Now, whether it's best to just remove the condition here or actually find out
why it's trying to do snmp-stuff when it shouldn't, that's up to the
ebuild-maintainer to find out. :-)
Comment 1 SpanKY gentoo-dev 2003-01-10 10:26:40 UTC
Actually its Bug 12626 
Comment 2 Brad Cowan (RETIRED) gentoo-dev 2003-01-12 23:02:26 UTC
fixed :)