Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97570 - ndiswrapper swsusp patch fails: ndiswrapper-1.2-swsusp2.patch
Summary: ndiswrapper swsusp patch fails: ndiswrapper-1.2-swsusp2.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
: 98039 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-30 22:16 UTC by Travers Buda
Modified: 2006-11-01 01:37 UTC (History)
2 users (show)

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


Attachments
new swsusp patch (ndiswrapper-1.2-swsusp2.patch,522 bytes, patch)
2005-07-01 11:26 UTC, Clemens Noss
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travers Buda 2005-06-30 22:16:00 UTC
The ndiswrapper patch swsusp fails. Included is
/var/tmp/portage/ndiswrapper-1.2/temp/ndiswrapper-1.2-swsusp2.patch-29600.out


localhost travers # emerge ndiswrapper
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ndiswrapper-1.2 to /
>>> md5 files   ;-) ndiswrapper-1.1-r1.ebuild
>>> md5 files   ;-) ndiswrapper-1.2.ebuild
>>> md5 files   ;-) files/digest-ndiswrapper-1.2
>>> md5 files   ;-) files/digest-ndiswrapper-1.1-r1
>>> md5 files   ;-) files/ndiswrapper-1.2-swsusp2.patch
>>> md5 src_uri ;-) ndiswrapper-1.2.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.12.1
 * Checking for suitable kernel configuration options
>>> Unpacking source...
>>> Unpacking ndiswrapper-1.2.tar.gz to /var/tmp/portage/ndiswrapper-1.2/work
 * Applying ndiswrapper-1.2-swsusp2.patch ...

 * Failed Patch: ndiswrapper-1.2-swsusp2.patch !
 *  ( /usr/portage/net-wireless/ndiswrapper/files/ndiswrapper-1.2-swsusp2.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/ndiswrapper-1.2/temp/ndiswrapper-1.2-swsusp2.patch-29600.out


!!! ERROR: net-wireless/ndiswrapper-1.2 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: ndiswrapper-1.2-swsusp2.patch!
!!! If you need support, post the topmost build error, NOT this status message.

localhost travers # cat
/var/tmp/portage/ndiswrapper-1.2/temp/ndiswrapper-1.2-swsusp2.patch-29600.out
***** ndiswrapper-1.2-swsusp2.patch *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/net-wireless/ndiswrapper/files/ndiswrapper-1.2-swsusp2.patch

=========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru ndiswrapper-1.2rc1/driver/ntoskernel.h
ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h
|--- ndiswrapper-1.2rc1/driver/ntoskernel.h     2005-04-12 09:53:46.000000000 -0400
|+++ ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h       2005-05-24
16:16:21.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/net-wireless/ndiswrapper/files/ndiswrapper-1.2-swsusp2.patch

=========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru ndiswrapper-1.2rc1/driver/ntoskernel.h
ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h
|--- ndiswrapper-1.2rc1/driver/ntoskernel.h     2005-04-12 09:53:46.000000000 -0400
|+++ ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h       2005-05-24
16:16:21.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/net-wireless/ndiswrapper/files/ndiswrapper-1.2-swsusp2.patch

=========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru ndiswrapper-1.2rc1/driver/ntoskernel.h
ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h
|--- ndiswrapper-1.2rc1/driver/ntoskernel.h     2005-04-12 09:53:46.000000000 -0400
|+++ ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h       2005-05-24
16:16:21.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/net-wireless/ndiswrapper/files/ndiswrapper-1.2-swsusp2.patch

=========================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru ndiswrapper-1.2rc1/driver/ntoskernel.h
ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h
|--- ndiswrapper-1.2rc1/driver/ntoskernel.h     2005-04-12 09:53:46.000000000 -0400
|+++ ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h       2005-05-24
16:16:21.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/net-wireless/ndiswrapper/files/ndiswrapper-1.2-swsusp2.patch

=========================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru ndiswrapper-1.2rc1/driver/ntoskernel.h
ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h
|--- ndiswrapper-1.2rc1/driver/ntoskernel.h     2005-04-12 09:53:46.000000000 -0400
|+++ ndiswrapper-1.2rc1-fixed/driver/ntoskernel.h       2005-05-24
16:16:21.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored



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




localhost travers # emerge --info
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12.1 x86_64)
=================================================================
System uname: 2.6.12.1 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe"
CHOST="x86_64-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/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa berkdb bitmap-fonts cdr crypt curl dvd dvdread
eds esd fam flac font-server fortran gif gpm gtk ieee1934 imlib ipv6 java jp2
jpeg kde kdeenablefinal libcaca lzw lzw-tiff mad mozilla mp3 ncurses nls nvidia
ogg opengl oss pam perl png python qt readline ssl tcpd theora tiff truetype
truetype-fonts type1-fonts usb userlocales vcd vorbis xine xml2 xpm xrandr xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Andrew D. Keyser (aka Legoguy) 2005-06-30 23:23:30 UTC
Confirmed here too
Comment 2 Mathieu Bonne 2005-07-01 08:01:51 UTC
(In reply to comment #1)
> Confirmed here too

Confirmed here as well (x86)
Comment 3 Benoit Philipps 2005-07-01 08:26:54 UTC
Same error for me this morning on ~x86
Comment 4 Clemens Noss 2005-07-01 11:26:05 UTC
Created attachment 62422 [details, diff]
new swsusp patch

This patch applies OK for me.
Comment 5 Henrik Brix Andersen 2005-07-02 10:43:47 UTC
Fixed in CVS with a more generic patch. Thank you for reporting this.
Comment 6 Henrik Brix Andersen 2005-07-05 14:04:52 UTC
*** Bug 98039 has been marked as a duplicate of this bug. ***
Comment 7 Uwe Helm 2006-11-01 01:37:06 UTC
the new ebuild is at bug #153611