Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103199 - apcupsd-3.10.15-r1 ebuild on install part
Summary: apcupsd-3.10.15-r1 ebuild on install part
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 17:15 UTC by drumz
Modified: 2005-09-05 05:46 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 drumz 2005-08-20 17:15:06 UTC
AMD64 box with single opteron processor.

Entering 'emerge apcupsd' attempts to install apcupsd-3.10.15-r1.  Compilation
goes cleanly but when the actual install part starts it fails:

1. trying to install /etc/init.d/apcupsd startup script.  According to the
output below this looks like a simple error where the 'copy from' is
concatenated to the 'copy to' parameters.

2.  Then it claims that it failed during the application of the smtp.patch patch
file.

I just cleanly installed this same exact version on plain old x86 and it worked
fine, so it appears to be limited to AMD64.  I attempted to install a newer
version (3.10.18-r1) and it compiled/installed fine (but I haven't tried to
actually use it yet - need to swap my UPS's around a bit).

Installing manual pages...
mkdir /var/tmp/portage/apcupsd-3.10.15-r1/image/usr/man/man8
gmake[1]: Leaving directory
`/var/tmp/portage/apcupsd-3.10.15-r1/work/apcupsd-3.10.15/doc'
gmake[1]: Entering directory
`/var/tmp/portage/apcupsd-3.10.15-r1/work/apcupsd-3.10.15/platforms'
(cd redhat; \
     /usr/bin/gmake "DISTNAME=redhat" "DISTVER=" \
         DESTDIR=/var/tmp/portage/apcupsd-3.10.15-r1/image/ install);
gmake[2]: Entering directory
`/var/tmp/portage/apcupsd-3.10.15-r1/work/apcupsd-3.10.15/platforms/redhat'
# remove old 3.6.2 stuff
/bin/install: cannot create regular file
`/var/tmp/portage/apcupsd-3.10.15-r1/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.15-r1/work/apcupsd-3.10.15/platforms/redhat'
gmake[1]: *** [install-distdir] Error 2
gmake[1]: Leaving directory
`/var/tmp/portage/apcupsd-3.10.15-r1/work/apcupsd-3.10.15/platforms'
gmake[1]: Entering directory
`/var/tmp/portage/apcupsd-3.10.15-r1/work/apcupsd-3.10.15/autoconf'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory
`/var/tmp/portage/apcupsd-3.10.15-r1/work/apcupsd-3.10.15/autoconf'
 * Applying smtp.patch ...

 * Failed Patch: smtp.patch !
 *  ( /usr/portage/sys-power/apcupsd/files/3.10.15/smtp.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/apcupsd-3.10.15-r1/temp/smtp.patch-28009.out


!!! ERROR: sys-power/apcupsd-3.10.15-r1 failed.
!!! Function epatch, Line 359, Exitcode 0
!!! Failed Patch: smtp.patch!
!!! If you need support, post the topmost build error, NOT this status message.


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

Actual Results:  
emerge failed.

Expected Results:  
emerge cleanly.

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acl acpi alsa apache2 arts avi berkdb bitmap-fonts cdr crypt
cups curl doc dvd dvdr eds encode esd ethereal evo faad fam flac foomaticdb
fortran gd gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml
imagemagick imap imlib innodb ipv6 jack java jpeg junit kde ldap libwww lzw
lzw-tiff mad mikmod motif mozilla mp3 mpeg mysql nas ncurses nls nptl oci8 odbc
ogg oggvorbis opengl oss pam pcre pdflib perl png postgres ppds python qt
quicktime readline samba sdl slang snmp spell ssl tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml2 xmms xpm xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2005-09-01 07:45:53 UTC
Hi, in your bug report you wrote:

"I just cleanly installed this same exact version on plain old x86 and it worked
fine, so it appears to be limited to AMD64.  I attempted to install a newer
version (3.10.18-r1) and it compiled/installed fine (but I haven't tried to
actually use it yet - need to swap my UPS's around a bit)."

so 3.10.18-r1 compiles and installs fine?
Comment 2 drumz 2005-09-01 08:25:49 UTC
Yes, the next version (tagged as unstable) compiles and installs cleanly.  I
still haven't had a chance to swap out UPSs to see if it actually works yet, but
it did compile and install without any errors.

(In reply to comment #1)
> Hi, in your bug report you wrote:
> 
> "I just cleanly installed this same exact version on plain old x86 and it worked
> fine, so it appears to be limited to AMD64.  I attempted to install a newer
> version (3.10.18-r1) and it compiled/installed fine (but I haven't tried to
> actually use it yet - need to swap my UPS's around a bit)."
> 
> so 3.10.18-r1 compiles and installs fine?

Comment 3 Michael Imhof (RETIRED) gentoo-dev 2005-09-05 05:46:28 UTC
I marked .18 as stable on x86.
If it should not work for you, then feel free to reopen this bug.