When trying to "emerge ethereal" (version 0.9.13), during the build process the file /usr/share/snmp/mibs/.index is touched which leads to an access violation. Here's the log: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-ethereal-0.9.13-8654.log" open_wr: /usr/share/snmp/mibs/.index open_wr: /usr/share/snmp/mibs/.index -------------------------------------------------------------------------------- Unfortunately I currently don't have an idea for a workaround/fix for this. Christian
I can comfirm this creating dftest ACCESS DENIED open_wr: /usr/share/snmp/mibs/.index /usr/bin/pod2man \ --center="The Ethereal Network Analyzer" \ --release=0.9.13 \ tethereal.pod > ../tethereal.1 make[3]: Leaving directory `/var/tmp/portage/ethereal-0.9.13/work/ethereal-0.9.13/doc' make[2]: Leaving directory `/var/tmp/portage/ethereal-0.9.13/work/ethereal-0.9.13' make[1]: Leaving directory `/var/tmp/portage/ethereal-0.9.13/work/ethereal-0.9.13' --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-ethereal-0.9.13-15041.log" open_wr: /usr/share/snmp/mibs/.index -------------------------------------------------------------------------------- lappie root # more /tmp/sandbox-ethereal-0.9.13-15041.log open_wr: /usr/share/snmp/mibs/.index
Looks like the inverted version of bug #22233 - seems bug #17310 is back and alive. Please try where the "addwrite...." line mentioned there is actually necessary.
Created attachment 13893 [details, diff] Fix for access violation
Thanks for the hint. The attached patch fixes the problem: - Edit ethereal-0.9.13.ebuild - Move addwrite ... from src_install() to src_compile(). From my side, the issue is resolved. Thanks for the help! Christian
Just for the case the addwrite line was not moved to src_compile without reason, I'd say we better put it in both functions. Btw, your attachment is garbled - did you compress it and upload as text/plain or what did you do?
I did the following before moving the line: - Checked with addwrite in src_install() => access violation - Removed addwrite from both src_compile() and src_install() => access violation - Added addwrite just to src_compile() (_not_ to src_install()) => no problem! So I think it is safe to assume that you only need the addwrite in src_compile(). Please correct me if I'm wrong. For the attachment: I gzipped the patch and uploaded it as "patch" (not as "text/plain") which seems to break the upload -- I'm sorry for that, I won't gzip a patch again before uploading it (this was the first time I attached something). If you download it with right-click and "Save Link As..." it seems to work. Please let me know if you want me to upload it again. Christian
maybe better idea is just to put it before all functions ... ive seen this error in src_compile and src_install
see Phosphan fixed it thanks :)
Since this version was marked stable (security update), I wanted to be 150% sure that it does not break, so I just added it to both functions. Quite likely not necessary, but definitely not harmful :-)