Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52779 - "emerge mhonarc" fails with access violation.
Summary: "emerge mhonarc" fails with access violation.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
: 114786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-02 08:01 UTC by Rod Roark
Modified: 2006-09-12 23:56 UTC (History)
6 users (show)

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


Attachments
Proposed ebuild for mhonarc-2.6.10 (mhonarc-2.6.10.ebuild,696 bytes, text/plain)
2004-06-10 10:54 UTC, Paul Kronenwetter
Details
mhonarc-2.6.8-r2.ebuild (mhonarc-2.6.8-r2.ebuild,666 bytes, text/plain)
2004-06-30 17:11 UTC, Matthew Kasa (RETIRED)
Details
mhonarc-2.6.10.ebuild (mhonarc-2.6.10.ebuild,632 bytes, text/plain)
2004-06-30 18:34 UTC, Matthew Kasa (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rod Roark 2004-06-02 08:01:47 UTC
rod root # emerge mhonarc
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/mhonarc-2.6.8-r1 to /
>>> md5 src_uri ;-) MHonArc-2.6.8.tar.gz
>>> Unpacking source...
>>> Unpacking MHonArc-2.6.8.tar.gz to /var/tmp/portage/mhonarc-2.6.8-r1/work
>>> Source unpacked.
chmod a+x mhonarc mha-dbrecover mha-dbedit mha-decode
chmod -R a+r,a+X .

>>> Install mhonarc-2.6.8-r1 into /var/tmp/portage/mhonarc-2.6.8-r1/image/ category net-mail
/usr/bin/perl install.me -batch -prefix /usr
Checking dependencies:
        Fcntl ......................... ok
        File::Basename ................ ok
        Getopt::Long .................. ok
        Symbol ........................ ok
        Time::Local ................... ok
Installing programs to "/usr/bin":
    mhonarc => /usr/bin/mhonarc
ACCESS DENIED  open_wr:   /usr/bin/mhonarc
Unable to create /usr/bin/mhonarc: Permission denied
make: *** [install] Error 13

!!! ERROR: net-mail/mhonarc-2.6.8-r1 failed.
!!! Function perl-module_src_install, Line 85, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-mail_-_mhonarc-2.6.8-r1-9387.log"

open_wr:   /usr/bin/mhonarc
--------------------------------------------------------------------------------
rod root #


Reproducible: Always
Steps to Reproduce:
1. emerge mhonarc
2. ...
3. Profit!

Actual Results:  
Shown above.

Expected Results:  
Install mhonarc.

Happens with both a 1.4 installation that I've had for a while, and with a new
2004.1 installation.
Comment 1 Paul Kronenwetter 2004-06-10 10:54:22 UTC
Created attachment 33040 [details]
Proposed ebuild for mhonarc-2.6.10

How about an ebuild for version 2.6.10 instead?
Comment 2 Kurt Lieber (RETIRED) gentoo-dev 2004-06-30 14:23:23 UTC
I can confirm this problem.  We saw it on one of our infra servers.
Comment 3 Matthew Kasa (RETIRED) gentoo-dev 2004-06-30 17:11:50 UTC
Created attachment 34527 [details]
mhonarc-2.6.8-r2.ebuild

`Kumba, I think the eclass changed again, but in any case this ebuild is
confirmed as working on 3 different systems with >=sys-apps/portage-2.0.50-r8
and >=dev-lang/perl-5.8.2-r1 and not working on 1 system with
<=sys-apps/portage-2.0.50-r3 so you might consider locking down the deps or
testing further with older portage versions in addition to committing this
ebuild, but then this bug can be closed, thanks.
Comment 4 Matthew Kasa (RETIRED) gentoo-dev 2004-06-30 18:34:08 UTC
Created attachment 34543 [details]
mhonarc-2.6.10.ebuild

Proper mhonarc ebuild modified from mhonarc-2.6.8-r2.ebuild for 2.6.10, this
resolves sandbox violations on systems with older portage versions as well.
Comment 5 Joshua Kinard gentoo-dev 2004-08-21 13:44:56 UTC
In CVS..
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 12:03:56 UTC
*** Bug 114786 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 12:04:23 UTC
Broken again...
Comment 8 Stuart Herbert (RETIRED) gentoo-dev 2005-12-29 10:36:43 UTC
Hi,

(On behalf on Kumba)

We've bumped this package to a later version, and included a fix for the sandbox violation.  This fix should appear on your local rsync mirror in about an hour.

Please test, and let us know how you get on.

Best regards,
Stu
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-02-16 23:48:53 UTC
*** Bug 123134 has been marked as a duplicate of this bug. ***
Comment 10 Yuval Yaari (RETIRED) gentoo-dev 2006-09-12 15:25:20 UTC
I get access violation with mhonarc-2.6.15.
The patch in bug #123134 (comment #3) seems to work.