Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162653 - sys-apps/hal-0.5.7.1-r3 fails to compile - patching error
Summary: sys-apps/hal-0.5.7.1-r3 fails to compile - patching error
Status: RESOLVED DUPLICATE of bug 162624
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 13:00 UTC by jon R-B
Modified: 2007-01-18 13:06 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 jon R-B 2007-01-18 13:00:11 UTC
Fluid portage # emerge hal -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-apps/hal-0.5.7.1-r3 [0.5.7.1-r2] USE="crypt -acpi -debug -dmi -doc -pcmcia (-selinux)" 0 kB 

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Fluid portage # emerge hal    
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-apps/hal-0.5.7.1-r3 to /
 * hal-0.5.7.1.tar.gz MD5 ;-) ...                                                                          [ ok ]
 * hal-0.5.7.1.tar.gz RMD160 ;-) ...                                                                       [ ok ]
 * hal-0.5.7.1.tar.gz SHA1 ;-) ...                                                                         [ ok ]
 * hal-0.5.7.1.tar.gz SHA256 ;-) ...                                                                       [ ok ]
 * hal-0.5.7.1.tar.gz size ;-) ...                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                     [ ok ]
 * checking hal-0.5.7.1.tar.gz ;-) ...                                                                     [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.19-gentoo-r2/build
 * Found sources for kernel version:
 *     2.6.19-gentoo-r2
>>> Unpacking source...
>>> Unpacking hal-0.5.7.1.tar.gz to /var/tmp/portage/sys-apps/hal-0.5.7.1-r3/work
 * Applying hal-0.5.7.1-ignored-volumes.patch ...                                                          [ ok ]
 * Applying hal-0.5.7-hald-scripts.patch ...                                                               [ ok ]
 * Applying hal-0.5.7-part-table.patch ...                                                                 [ ok ]
 * Applying hal-0.5.7-pmu-fix.patch ...                                                                    [ ok ]
 * Applying hal-0.5.7-unclean-unmount-r1.patch ...                                                         [ ok ]
 * Applying hal-0.5.7-plugdev-allow-send.patch ...                                                         [ ok ]
 * Applying hal-0.5.7-rescan-on-resume.patch ...                                                           [ ok ]
 * Applying hal-0.5.7-hibernate.patch ...                                                                  [ ok ]
 * Applying hal-0.5.7.1-dbus-close.patch ...                                                               [ ok ]
 * Applying hal-0.5.7.1-sr-driver.patch ...                                                                [ ok ]
 * Applying hal-0.5.7.1-hibernate-fix-r1.patch ...

 * Failed Patch: hal-0.5.7.1-hibernate-fix-r1.patch !
 *  ( /usr/portage/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix-r1.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-apps/hal-0.5.7.1-r3/temp/hal-0.5.7.1-hibernate-fix-r1.patch-9871.out


!!! ERROR: sys-apps/hal-0.5.7.1-r3 failed.
Call stack:
  ebuild.sh, line 1618:   Called dyn_unpack
  ebuild.sh, line 755:   Called qa_call 'src_unpack'
  environment, line 3735:   Called src_unpack
  hal-0.5.7.1-r3.ebuild, line 129:   Called epatch '/usr/portage/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix-r1.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: hal-0.5.7.1-hibernate-fix-r1.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/hal-0.5.7.1-r3/temp/build.log'.



Fluid portage # cat  /var/tmp/portage/sys-apps/hal-0.5.7.1-r3/temp/hal-0.5.7.1-hibernate-fix-r1.patch-9871.out
***** hal-0.5.7.1-hibernate-fix-r1.patch *****

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

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix-r1.patch

==============================================
patching file tools/hal-system-power-suspend
Hunk #1 FAILED at 62.
1 out of 1 hunk FAILED -- saving rejects to file tools/hal-system-power-suspend.rej
==============================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix-r1.patch

==============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- tools/hal-system-power-suspend     2006-02-19 00:00:55.000000000 +0100
|+++ tools/hal-system-power-suspend2    2006-09-23 11:22:42.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==============================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix-r1.patch

==============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- tools/hal-system-power-suspend     2006-02-19 00:00:55.000000000 +0100
|+++ tools/hal-system-power-suspend2    2006-09-23 11:22:42.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==============================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix-r1.patch

==============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- tools/hal-system-power-suspend     2006-02-19 00:00:55.000000000 +0100
|+++ tools/hal-system-power-suspend2    2006-09-23 11:22:42.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==============================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix-r1.patch

==============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- tools/hal-system-power-suspend     2006-02-19 00:00:55.000000000 +0100
|+++ tools/hal-system-power-suspend2    2006-09-23 11:22:42.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored





Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-18 13:06:59 UTC

*** This bug has been marked as a duplicate of bug 162624 ***