Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100956 - emerge sys-power/apcupsd-3.10.17 fails to copy 60_apcupsd.conf to apache's modules directory
Summary: emerge sys-power/apcupsd-3.10.17 fails to copy 60_apcupsd.conf to apache's mo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 18:49 UTC by David Cuddeback
Modified: 2005-08-01 10:26 UTC (History)
1 user (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 David Cuddeback 2005-07-31 18:49:24 UTC
I have installed net-www/apache-2.0.54-r12, and have had no luck getting
sys-power/apcupsd to work with it.  When attempting to install version 3.10.17,
I noticed that the apache configuration file for apcupsd was missing so I
re-emerged apcupsd, checked the output, and found these two lines:

cp: cannot stat `/3.10.17/apache.conf': No such file or directory
install: cannot stat `/var/tmp/portage/apcupsd-3.10.17/temp/60_apcupsd.conf': No
such file or directory



Reproducible: Always
Steps to Reproduce:
1. emerge apcupsd  with USE flags apache2, cgi, ncurses, nls, and usb
Actual Results:  
The CGI scripts would not be executed.  Upon looking into the problem,
60_apcupsd.conf was missing.  Here's an excerpt from the emerge:

Installing apcupsd.conf...
gmake[2]: Leaving directory
`/var/tmp/portage/apcupsd-3.10.17/work/apcupsd-3.10.17/platforms/etc'
gmake[1]: Leaving directory
`/var/tmp/portage/apcupsd-3.10.17/work/apcupsd-3.10.17/platforms'
gmake[1]: Entering directory
`/var/tmp/portage/apcupsd-3.10.17/work/apcupsd-3.10.17/autoconf'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory
`/var/tmp/portage/apcupsd-3.10.17/work/apcupsd-3.10.17/autoconf'
cp: cannot stat `/3.10.17/apache.conf': No such file or directory
-------------------------------------------------------
You should not use ${D} with helpers.
  --> 
-------------------------------------------------------
install: cannot stat `/var/tmp/portage/apcupsd-3.10.17/temp/60_apcupsd.conf': No
such file or directory
 * Applying smtp.patch ...                                                     
                                                                   

Expected Results:  
Successful install of apcupsd, with the capability of viewing UPS status in a
browser.

Here's the version of apache and apcupsd I have installed and the USE flags used
to install them:
[ebuild   R   ] net-www/apache-2.0.54-r12  +apache2 -debug -doc -ldap
-mpm-leader -mpm-peruser +mpm-prefork -mpm-threadpool -mpm-worker -no-suexec
(-selinux) +ssl -static-modules -threads 49 kB 
[ebuild   R   ] sys-power/apcupsd-3.10.17  +apache2 +cgi -doc +ncurses +nls
-snmp -threads +usb 0 kB 

And emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11.11 i686)
=================================================================
System uname: 2.6.11.11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
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="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.seren.com/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.10/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cdr cegui cg crypt cups curl
dba devil dvd dvdr emboss encode esd fam firefox flac foomaticdb fortran gd gdbm
gif gpm gtk gtk2 imagemagick imap imlib ipv6 java javascript joystick jpeg junit
kdeenablefinal libg++ libwww mad mikmod mmx motif mozdevelop mozilla mozsvg mp3
mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis openal opengl oss pam pcre
pdflib perl png postgres python qt quicktime readline samba sdl session
sharedmem skey soap sockets spell sqlite sse sse2 ssl tcpd tiff truetype
truetype-fonts type1-fonts usb vorbis xine xinerama xml2 xmlrpc xprint xsl xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2005-08-01 10:26:16 UTC
I checked in apcupsd-3.10.18 which fixes that silly typo.