Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147176 - net-dns/avahi-0.6.13 failed patch
Summary: net-dns/avahi-0.6.13 failed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 147417 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-11 04:52 UTC by Guillaume Ramelet
Modified: 2006-09-13 00:08 UTC (History)
2 users (show)

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


Attachments
emerge --info (info,2.34 KB, text/plain)
2006-09-11 05:24 UTC, SoulFire
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Ramelet 2006-09-11 04:52:32 UTC
>>> Emerging (1 of 1) net-dns/avahi-0.6.13 to /
 * avahi-0.6.13.tar.gz MD5 ;-) ...                                                                                                                                                             [ ok ]
 * avahi-0.6.13.tar.gz RMD160 ;-) ...                                                                                                                                                          [ ok ]
 * avahi-0.6.13.tar.gz SHA1 ;-) ...                                                                                                                                                            [ ok ]
 * avahi-0.6.13.tar.gz SHA256 ;-) ...                                                                                                                                                          [ ok ]
 * avahi-0.6.13.tar.gz size ;-) ...                                                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                         [ ok ]
 * checking avahi-0.6.13.tar.gz ;-) ...                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking avahi-0.6.13.tar.gz to /var/tmp/portage/avahi-0.6.13/work
 * Applying avahi-0.6.1-no-ipv6.patch ...                                                                                                                                                      [ ok ]
 * Applying 0.6.13-svn-fixes.patch ...

 * Failed Patch: 0.6.13-svn-fixes.patch !
 *  ( /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/avahi-0.6.13/temp/0.6.13-svn-fixes.patch-8481.out


!!! ERROR: net-dns/avahi-0.6.13 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  avahi-0.6.13.ebuild, line 84:   Called epatch '/usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: 0.6.13-svn-fixes.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.


content of /var/tmp/portage/avahi-0.6.13/temp/0.6.13-svn-fixes.patch-8481.out
[...]
PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch

==================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: trunk/avahi-daemon/static-hosts.c
|===================================================================
|--- trunk/avahi-daemon/static-hosts.c (revision 1167)
|+++ trunk/avahi-daemon/static-hosts.c (revision 1285)
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

[root@gui - 13:52:18 - ~] # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 05:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-mp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j3"
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/xgl-coffee /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X a52 aac acpi alsa apm arts artswrappersuid asf avi bash-completion berkdb bigger-fonts bindist bitmap-fonts bonobo bootsplash browserplugin bzip2 cairo calendar cdparanoia cdr chroot cli crypt cups curl dbus dga directfb divx4linux dlloader dri dv dvb dvd dvdr dvdread elibc_glibc encode esd evo fam fbcon ffmpeg flac foomaticdb fortran gdbm ggi gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jack java jbig jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas kernel_linux kipi libg++ linguas_fr lm_sensors logitech-mouse mad mmx mmxext mono motif mp3 mpeg nas ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection ruby samba sdl session slp sndfile spell spl sse ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia vorbis win32codecs wmf x86 xml2 xmms xorg xosd xv xvid yaz zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SoulFire 2006-09-11 05:24:07 UTC
Created attachment 96699 [details]
emerge --info
Comment 2 SoulFire 2006-09-11 05:24:40 UTC
Comment on attachment 96699 [details]
emerge --info

i can confirm this

 * Failed Patch: 0.6.13-svn-fixes.patch !
 *  ( /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/avahi-0.6.13/temp/0.6.13-svn-fixes.patch-18826.out


!!! ERROR: net-dns/avahi-0.6.13 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  avahi-0.6.13.ebuild, line 84:   Called epatch '/usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch'
  eutils.eclass, line 341:   Called die

/var/tmp/portage/avahi-0.6.13/temp/0.6.13-svn-fixes.patch-18826.out :
***** 0.6.13-svn-fixes.patch *****

==================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch

==================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: trunk/avahi-daemon/static-hosts.c
|===================================================================
|--- trunk/avahi-daemon/static-hosts.c (revision 1167)
|+++ trunk/avahi-daemon/static-hosts.c (revision 1285)
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
==================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch

==================================
patching file avahi-daemon/static-hosts.c
Hunk #1 FAILED at 99.
Hunk #2 FAILED at 114.
Hunk #3 FAILED at 134.
3 out of 3 hunks FAILED -- saving rejects to file avahi-daemon/static-hosts.c.rej
==================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch

==================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: trunk/avahi-daemon/static-hosts.c
|===================================================================
|--- trunk/avahi-daemon/static-hosts.c (revision 1167)
|+++ trunk/avahi-daemon/static-hosts.c (revision 1285)
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
==================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch

==================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: trunk/avahi-daemon/static-hosts.c
|===================================================================
|--- trunk/avahi-daemon/static-hosts.c (revision 1167)
|+++ trunk/avahi-daemon/static-hosts.c (revision 1285)
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
==================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/net-dns/avahi/files/0.6.13-svn-fixes.patch

==================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: trunk/avahi-daemon/static-hosts.c
|===================================================================
|--- trunk/avahi-daemon/static-hosts.c (revision 1167)
|+++ trunk/avahi-daemon/static-hosts.c (revision 1285)
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
 
emerge --info in attachment
Comment 3 Sven Wegener gentoo-dev 2006-09-12 11:56:56 UTC
I accidently commited the patch with windows line endings, this should be fixed now. Newer versions of patch seem to handle this case, which is why I didn't notice it. Thanks for reporting!
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 00:08:53 UTC
*** Bug 147417 has been marked as a duplicate of this bug. ***