Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25876 - net-www/dansguardian will not compile
Summary: net-www/dansguardian will not compile
Status: RESOLVED DUPLICATE of bug 25881
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Joshua Brindle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-04 08:33 UTC by RumpletonBongworth
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 RumpletonBongworth 2003-08-04 08:33:23 UTC
Hi, upon trying to emerge net-www/dansguardian (both versions 2.7.1 and 2.7.2) a
build error occurs as follows:

Generating platform specific logrotation...
Generating platform specific logrotate.d script...

[snip]

if [ -f /sbin/chkconfig ]; then /sbin/chkconfig --add dansguardian; fi
if [ -f /usr/sbin/update-rc.d ]; then /usr/sbin/update-rc.d dansguardian
defaults 50; fi
if [ -d /etc/logrotate.d/ ]; then cp -f ./logrotate.dansguardian
/var/tmp/portage/dansguardian-2.7.1/image//etc/logrotate.d/dansguardian; fi
cp: cannot create regular file
`/var/tmp/portage/dansguardian-2.7.1/image//etc/logrotate.d/dansguardian': No
such file or directory
make: *** [install] Error 1

!!! ERROR: net-www/dansguardian-2.7.1 failed.
!!! Function src_install, Line 25, Exitcode 2
!!! (no error message)

This error occurs regardless of whether logrotate is actually installed or not.
I have tested on three Gentoo boxes, one of which is my server (running the
older toolchain), and the other two being desktops which were recently built
with the new standard x86-1.4 profile and corresponding toolchain.

Reproducible: Always
Steps to Reproduce:
1. Simply attempt to install.



Expected Results:  
Installed without a hitch ;-)

It seems that the /var/tmp/portage/dansguardian-x.x.x/image/etc/logrotate.d
directory is not created, thus preventing from the dansguardian logrotate script
from being created underneath that directory.
Comment 1 Joshua Brindle (RETIRED) gentoo-dev 2003-08-04 23:21:27 UTC

*** This bug has been marked as a duplicate of 25881 ***