Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134409 - app-admin/hddtemp-0.3_beta15 failed patch
Summary: app-admin/hddtemp-0.3_beta15 failed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 134492 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-26 06:01 UTC by Jakub Moc (RETIRED)
Modified: 2006-07-13 10:25 UTC (History)
4 users (show)

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


Attachments
failed patch output (patch.out,3.20 KB, text/plain)
2006-05-26 06:02 UTC, Jakub Moc (RETIRED)
Details
Quick and dirty fix (hddtemp_quickfix.patch,810 bytes, patch)
2006-05-26 11:26 UTC, Tobias Klausmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-05-26 06:01:06 UTC
* Applying hddtemp-0.3_beta15-maxtor-diamondmax10.patch ...

 * Failed Patch: hddtemp-0.3_beta15-maxtor-diamondmax10.patch !
 *  ( /usr/portage/app-admin/hddtemp/files/hddtemp-0.3_beta15-maxtor-diamondmax10.patch )
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 06:02:07 UTC
Created attachment 87553 [details]
failed patch output
Comment 2 FieldySnuts 2006-05-26 10:45:26 UTC
Yeppers, I see it too.

Portage 2.1_rc2-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-rc4-mm3 i686)
=================================================================
System uname: 2.6.17-rc4-mm3 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa am apache2 apm avi berkdb bitmap-fonts bzip2 cdr chroot cli crypt dri dv dvd dvdr eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png pppd pwdb python qt quicktime readline reflection sdl session spell spl sse ssl tiff truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2006-05-26 11:25:34 UTC
Yup, the patching is out of whack. As I personally don't need the db-entries for the Diamondmax 10, I've nuked it from the ebuild. 

See attached patch. The initial patching is gone and the patching inside config{} ist commented out with a little info on why I did it.
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2006-05-26 11:26:26 UTC
Created attachment 87579 [details, diff]
Quick and dirty fix
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-26 13:07:58 UTC
sorry about that, it's all fixed now.
The present hddtemp.db that is bundled is fully up to date with the file provided by upstream, and the maxtor patch is still applied on top of it.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-27 04:10:09 UTC
*** Bug 134492 has been marked as a duplicate of this bug. ***
Comment 7 Ernestas Liubarskij 2006-07-13 10:25:16 UTC
I'm getting this error while trying to update hddtemp database as the ebuild says:
(I didn't want to open a new bug, because it's very similar to this one)
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * In order to update your hddtemp database, run:
 *   ebuild /var/db/pkg/app-admin/hddtemp-0.3_beta15/hddtemp-0.3_beta15.ebuild config
>>> Regenerating /etc/ld.so.cache...
>>> app-admin/hddtemp-0.3_beta15 merged.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

# ebuild /var/db/pkg/app-admin/hddtemp-0.3_beta15/hddtemp-0.3_beta15.ebuild config
 * Trying to download the latest hddtemp.db file
--20:06:10--  http://www.guzu.net/linux/hddtemp.db
           => `hddtemp.db'
Resolving www.guzu.net... 213.186.33.19
Connecting to www.guzu.net|213.186.33.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20.559 (20K) [text/plain]

    0K .......... ..........                                 100%  120K

20:06:12 (119.30 KB/s) - `hddtemp.db' saved [20559/20559]

 * Attempting to apply gentoo patches for further entries.

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /var/db/pkg/app-admin/hddtemp-0.3_beta15/files/hddtemp-0.3_beta15-maxtor-diamondmax10.patch
 *   ( hddtemp-0.3_beta15-maxtor-diamondmax10.patch )


!!! ERROR: app-admin/hddtemp-0.3_beta15 failed.
Call stack:
  ebuild.sh, line 1526:   Called pkg_config
  hddtemp-0.3_beta15.ebuild, line 63:   Called epatch '/var/db/pkg/app-admin/hddtemp-0.3_beta15/files/hddtemp-0.3_beta15-maxtor-diamondmax10.patch'
  eutils.eclass, line 192:   Called die

!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, and the call stack if relevant.