Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12626 - ethereal 0.9.8 can't be emerged (access violation)
Summary: ethereal 0.9.8 can't be emerged (access violation)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-23 13:10 UTC by Tobias Klausmann (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ethereal ebuild including support for net-snmp (ethereal-0.9.8-r2.ebuild,2.11 KB, text/plain)
2003-01-12 03:59 UTC, monkey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2002-12-23 13:10:46 UTC
When updating from 0.9.7-r1 to 0.9.8, I get this:

/var/tmp/portage/ethereal-0.9.8/image/usr/bin/randpkt
/var/tmp/portage/ethereal-0.9.8/image/usr/bin/text2pcap
>>> Completed installing into /var/tmp/portage/ethereal-0.9.8/image/

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

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

System is up-to-date rsync wise and ~x86 is in ACCEPT_KEYWORDS.
Maybe this is a new instance of Bug #7953 ?
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2002-12-23 13:12:11 UTC
Sorry, forgot the contents of the log file:

open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
Comment 2 Brad Cowan (RETIRED) gentoo-dev 2002-12-23 17:26:59 UTC
I'm confused? to get ethereal to use snmp u need it in your USE and when its in
your use that directory causing the violation is excluded from sandbox. I cannot
 reproduce the error here. Make sure if u want snmp support to add it to your USE
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2002-12-24 06:53:20 UTC
I hadn't specified SNMP in my USE vars (neither the one in
/etc/make.profile/make.defaults nor /etc/make.conf). After adding it, ethereal
emerged fine. Can there be no ethereal *without* SNMP support? And if so, why
does it bomb if it's not in the USE var? KDE for example pulls in the QT dep no
matter if I have QT in my use var or not. Even if the ethereal ebuild can not
pull this dep on its own, it might check the USE var for snmp and complain
(informatively) about that.
Comment 4 Brad Cowan (RETIRED) gentoo-dev 2002-12-24 07:54:46 UTC
That's what's confusing me, if u don't have snmp in your USE it should build
without support for it via a configure switch, I'm totally unable to reproduce
your error with or without snmp in USE and snmp already installed etc.

use snmp || myconf="${myconf} --without-ucdsnmp"

is the pertinent line
Comment 5 Brad Cowan (RETIRED) gentoo-dev 2002-12-24 14:55:37 UTC
I'm marking worksforme, but thanks for the new bug...it's always good to have
info and reports on packages for future reference :)
Comment 6 monkey 2003-01-12 03:59:35 UTC
Created attachment 7219 [details]
ethereal ebuild including support for net-snmp

Brad,

I'm guessing the confusing part is that if net-snmp is installed instead of
ucd-snmp, the ethereal configure will detect that and try to compile in support
for it; but write permission (addwrite) has not been added in this case.

I've attached a new ebuild that includes support for net-snmp.	I added a new
USE flag of 'netsnmp' to differentiate between the two snmp packages (in the
context of the ethereal ebuild a USE flag of 'snmp; means ucd-snmp).
Comment 7 Brad Cowan (RETIRED) gentoo-dev 2003-01-12 22:31:02 UTC
better that I just take out the condition than add another USE flag, as we
already are bloated with them. Thanks for submitting this fix though :)