Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123134 - net-mail/mhonarc-2.6.10 - Sandbox Violation
Summary: net-mail/mhonarc-2.6.10 - Sandbox Violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 22:30 UTC by Pedro Algarvio
Modified: 2006-10-07 16:35 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Algarvio 2006-02-16 22:30:33 UTC
A BAD EBUILD:
06:24:02 (130.56 KB/s) - `/usr/portage/distfiles/MHonArc-2.6.10.tar.bz2' saved [1549518/1549518]

>>> md5 files   ;-) mhonarc-2.6.11.ebuild
>>> md5 files   ;-) mhonarc-2.6.15.ebuild
>>> md5 files   ;-) mhonarc-2.6.10.ebuild
>>> md5 files   ;-) files/digest-mhonarc-2.6.10
>>> md5 files   ;-) files/digest-mhonarc-2.6.11
>>> md5 files   ;-) files/digest-mhonarc-2.6.15
>>> md5 src_uri ;-) MHonArc-2.6.10.tar.bz2
>>> Unpacking source...
>>> Unpacking MHonArc-2.6.10.tar.bz2 to /var/tmp/portage/mhonarc-2.6.10/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
chmod a+x mhonarc mha-dbrecover mha-dbedit mha-decode
chmod -R a+r,a+X .
>>> Test phase [not enabled]: net-mail/mhonarc-2.6.10

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

!!! ERROR: net-mail/mhonarc-2.6.10 failed.
!!! Function perl-module_src_install, Line 145, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-mail_-_mhonarc-2.6.10-29512.log"

open_wr:   /usr/bin/mhonarc
--------------------------------------------------------------------------------

emerge --info
Portage 2.0.54 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-hardened-r5-mail i686)
=================================================================
System uname: 2.6.14-hardened-r5-mail i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.14
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ftracer -fforce-addr"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/courier-imap /etc/modules.autoload.d/kernel-2.6 /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ftracer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ http://linuv.uv.es/mirror/gentoo/            http://ftp.caliu.info/pub/gentoo/"
LANG="en_GB.ISO-8859-15"
LC_ALL=""
LINGUAS="en pt"
MAKEOPTS="-j5"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/overlays/ufsoft-portage /usr/local/overlays/qmr-portage"
SYNC="rsync://rsync.es.gentoo.org/gentoo-portage"
USE="apache2 bash-completion berkdb bzip2 crypt curl dlloader expat gd gdbm gmp gpm hardened idn imagemagick jpeg libwww mhash ming mysql ncurses nls opengl pam pcre perl pic png python readline snmp sqlite ssl svga tcpd tiff truetype udev userlocales vhosts x86 xml2 zlib linguas_en linguas_pt userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-16 23:48:53 UTC

*** This bug has been marked as a duplicate of 52779 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-03 14:06:57 UTC
Hmmm...
Comment 3 Tuan Van (RETIRED) gentoo-dev 2006-05-03 15:50:37 UTC
this bug and bug 123937 are caused by the new changes in perl-{app,module}.eclass (perl team please confirm/deny). below is the patch to fix it.

--- mhonarc-2.6.15.ebuild.orig  2006-05-03 15:41:53.000000000 -0700
+++ mhonarc-2.6.15.ebuild       2006-05-03 15:42:20.000000000 -0700
@@ -19,6 +19,6 @@
 S="${WORKDIR}/${P/mhonarc/MHonArc}"

 src_install() {
-       sed -e "s|\$(INSTALLPRG)|\$(INSTALLPRG) -prefix ${D}|g" -i Makefile
+       sed -e "s|-prefix |-prefix ${D}|g" -i Makefile
        perl-module_src_install
 }

re-assign to maintainer.
Comment 4 palcek smuk 2006-09-13 03:23:39 UTC
This worked for me, thanks.

(In reply to comment #3)
> this bug and bug 123937 are caused by the new changes in
> perl-{app,module}.eclass (perl team please confirm/deny). below is the patch to
> fix it.
> 
> --- mhonarc-2.6.15.ebuild.orig  2006-05-03 15:41:53.000000000 -0700
> +++ mhonarc-2.6.15.ebuild       2006-05-03 15:42:20.000000000 -0700
> @@ -19,6 +19,6 @@
>  S="${WORKDIR}/${P/mhonarc/MHonArc}"
> 
>  src_install() {
> -       sed -e "s|\$(INSTALLPRG)|\$(INSTALLPRG) -prefix ${D}|g" -i Makefile
> +       sed -e "s|-prefix |-prefix ${D}|g" -i Makefile
>         perl-module_src_install
>  }
> 
> re-assign to maintainer.
> 

Comment 5 Joshua Kinard gentoo-dev 2006-10-07 16:35:41 UTC
Fixed in CVS and 2.6.15 is marked stable on x86, mips, & sparc.