Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46354 - apcupsd-3.10.10 fails to build
Summary: apcupsd-3.10.10 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 05:59 UTC by Andreas Kotowicz
Modified: 2005-03-09 02:00 UTC (History)
1 user (show)

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


Attachments
mentioned patch log (smtp.patch-10753.out,14.98 KB, text/plain)
2004-03-31 06:00 UTC, Andreas Kotowicz
Details
smtp.patch-7492.out (smtp.patch-7492.out,14.99 KB, text/plain)
2004-04-29 04:29 UTC, Andreas Kotowicz
Details
smtp patch report (smtp.patch-8916.out,14.99 KB, application/octet-stream)
2005-03-09 02:00 UTC, francesco marzotti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kotowicz 2004-03-31 05:59:18 UTC
actually everything is looking good until this happens:

Installing daemons ...
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Nothing to be done for `install-'.
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
(cd cgi/; /usr/bin/gmake DESTDIR=/var/tmp/portage/apcupsd-3.10.10/image/ install)
gmake[3]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src/cgi'
/bin/install -c upsstats.cgi /var/tmp/portage/apcupsd-3.10.10/image//var/www/apcupsd
/bin/install -c upsfstats.cgi /var/tmp/portage/apcupsd-3.10.10/image//var/www/apcupsd
/bin/install -c upsimage.cgi /var/tmp/portage/apcupsd-3.10.10/image//var/www/apcupsd
/bin/install -c multimon.cgi /var/tmp/portage/apcupsd-3.10.10/image//var/www/apcupsd
/bin/install -c multimoncss.cgi /var/tmp/portage/apcupsd-3.10.10/image//var/www/apcupsd
# don't overwrite any existing config file
Installing hosts.conf...
# don't overwrite any existing config file
Installing multimon.conf...
gmake[3]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src/cgi'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/src'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/include'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/include'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/doc'
Installing manual pages...
mkdir /var/tmp/portage/apcupsd-3.10.10/image/usr/man/man8
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/doc'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/platforms'
(cd redhat; \
     /usr/bin/gmake "DISTNAME=redhat" "DISTVER=" \
         DESTDIR=/var/tmp/portage/apcupsd-3.10.10/image/ install);
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/platforms/redhat'
# remove old 3.6.2 stuff
/bin/install: cannot create regular file `/var/tmp/portage/apcupsd-3.10.10/image//etc/rc.d/init.d/apcupsd': No such file or directory
gmake[2]: *** [install] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/platforms/redhat'
gmake[1]: *** [install-distdir] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/platforms'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/autoconf'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10/work/apcupsd-3.10.10/autoconf'
apache2
apache2
apache2
apache2
RUNNING FROM extra_functions.sh
 * Applying smtp.patch...
 
 * Failed Patch: smtp.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/apcupsd-3.10.10/temp/smtp.patch-10753.out
Comment 1 Andreas Kotowicz 2004-03-31 06:00:14 UTC
Created attachment 28446 [details]
mentioned patch log
Comment 2 Andreas Kotowicz 2004-03-31 06:01:09 UTC
maybe this is usefull:

emerge --info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="apache2 apm avi berkdb crypt doc encode foomaticdb gdbm gif imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-04-21 13:57:55 UTC
please sync and try again
Comment 4 Andreas Kotowicz 2004-04-29 04:28:02 UTC
still no go. this is what I get:

gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10-r1/work/apcupsd-3.10.10/autoconf'
apache2
apache2
apache2
apache2
 * Applying smtp.patch...
 
 * Failed Patch: smtp.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/apcupsd-3.10.10-r1/temp/smtp.patch-7492.out
 
 
!!! ERROR: sys-apps/apcupsd-3.10.10-r1 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: smtp.patch!
Comment 5 Andreas Kotowicz 2004-04-29 04:29:07 UTC
Created attachment 30308 [details]
smtp.patch-7492.out
Comment 6 Michael Imhof (RETIRED) gentoo-dev 2004-10-27 04:28:22 UTC
Can you try a newer version of apcupsd and report back if this bug is still an issue?
Comment 7 Michael Imhof (RETIRED) gentoo-dev 2004-10-30 15:21:36 UTC
Closing as i got no answer.
If anyone thinks this is still an issue then feel free to reopen this bug.
Comment 8 francesco marzotti 2005-03-09 01:58:38 UTC
>>> Install apcupsd-3.10.16-r3 into /var/tmp/portage/apcupsd-3.10.16-r3/image/ category sys-apps
/bin/sh /var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/autoconf/mkinstalldirs /var/tmp/portage/apcupsd-3.10.16-r3/image//usr/sbin
mkdir /var/tmp/portage/apcupsd-3.10.16-r3/image/usr
mkdir /var/tmp/portage/apcupsd-3.10.16-r3/image/usr/sbin
/bin/sh /var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/autoconf/mkinstalldirs /var/tmp/portage/apcupsd-3.10.16-r3/image//usr/man  
mkdir /var/tmp/portage/apcupsd-3.10.16-r3/image/usr/man
mkdir /var/tmp/portage/apcupsd-3.10.16-r3/image/etc
mkdir /var/tmp/portage/apcupsd-3.10.16-r3/image/etc/apcupsd
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
Installing daemons ...
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[2]: Nothing to be done for `install-'.
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/src'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/include'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/include'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/doc'
Installing manual pages...
mkdir /var/tmp/portage/apcupsd-3.10.16-r3/image/usr/man/man8
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/doc'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/platforms'
(cd redhat; \
     /usr/bin/gmake "DISTNAME=redhat" "DISTVER=" \
         DESTDIR=/var/tmp/portage/apcupsd-3.10.16-r3/image/ install);
gmake[2]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/platforms/redhat'
# remove old 3.6.2 stuff
/bin/install: cannot create regular file `/var/tmp/portage/apcupsd-3.10.16-r3/image//etc/rc.d/init.d/apcupsd': No such file or directory
gmake[2]: *** [install] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/platforms/redhat'
gmake[1]: *** [install-distdir] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/platforms'
gmake[1]: Entering directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/autoconf'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.16-r3/work/apcupsd-3.10.16/autoconf'
* Applying smtp.patch ...

 * Failed Patch: smtp.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/apcupsd-3.10.16-r3/temp/smtp.patch-8916.out


!!! ERROR: sys-apps/apcupsd-3.10.16-r3 failed.
!!! Function epatch, Line 397, Exitcode 0
!!! Failed Patch: smtp.patch!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 9 francesco marzotti 2005-03-09 02:00:51 UTC
Created attachment 52999 [details]
smtp patch report