Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99951 - Trying to 'emerge sarg' fails becuase of ACCESS DENIED errors when creating directories (/var/www/html/sarg-php/*)
Summary: Trying to 'emerge sarg' fails becuase of ACCESS DENIED errors when creating d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 13:37 UTC by JAson
Modified: 2005-12-25 11:22 UTC (History)
3 users (show)

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


Attachments
build logfile (sarg-2.0.8,42.78 KB, text/plain)
2005-07-31 02:57 UTC, Hans-Christian Armingeon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JAson 2005-07-22 13:37:45 UTC
When I try to emerge sarg everything build fine until the end when I get cannot 
create regular file errors and directory errors.  The directory it fails on 
is /var/www/html/sarg-php.

Reproducible: Always
Steps to Reproduce:
1.emerge sarg
2.
3.

Actual Results:  
sarg is not installed.  Still has 1.4.x installed.

Expected Results:  
sarg should be installed

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.3.5-20050130, glibc-2.3.5-r0, 
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Pentium III (Katmai)
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -mcpu=i586 -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -mcpu=i586 -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ 
ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="berkdb crypt dlloader gd hardened ipv6 ncurses nls pam perl pic png python 
readline snmp ssl tcpd userlocales x86 zlib userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2005-07-23 12:21:09 UTC
JAson: Please. Attach here full emerge output.  
Comment 2 JAson 2005-07-25 08:04:31 UTC
(In reply to comment #1)
> JAson: Please. Attach here full emerge output.  

How would I do that?  Using the ">" doesn't record the errors.  I could attach 
the /var/log/sandbox/sandbox-net-analyzer_-_sarg-2.0.8-29137.log file if that 
would help.
Comment 3 Hans-Christian Armingeon 2005-07-31 02:57:59 UTC
Created attachment 64776 [details]
build logfile
Comment 4 Daniele Arduini 2005-08-19 10:42:11 UTC
Bug fixable with this simple patch:

lan254 sarg # diff -u sarg-2.0.8.ebuild.orig sarg-2.0.8.ebuild
--- sarg-2.0.8.ebuild.orig      2005-08-19 19:39:17.470342818 +0200
+++ sarg-2.0.8.ebuild   2005-08-19 19:33:20.241156538 +0200
@@ -70,6 +70,7 @@
                BINDIR=${D}/usr/sbin \
                MANDIR=${D}/usr/share/man/man1 \
                SYSCONFDIR=${D}/etc/sarg \
+               HTMLDIR=${D}/var/www/html \
                install || die "sarg installation failed"

        dodoc BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2005-12-25 11:22:15 UTC
Fixed.

Thank you all for report/help.