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.
*** This bug has been marked as a duplicate of 25881 ***