Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87482 - Failed Patch: rc-scripts-1.4.16-livecd-hvc.patch during emerge update deep
Summary: Failed Patch: rc-scripts-1.4.16-livecd-hvc.patch during emerge update deep
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 87503 87670 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-31 16:28 UTC by arthur schueler
Modified: 2005-04-02 11:44 UTC (History)
6 users (show)

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


Attachments
patch error output (rc-scripts-1.4.16-livecd-hvc.patch-30692.out,2.95 KB, text/plain)
2005-04-01 13:41 UTC, Bryant Hansen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arthur schueler 2005-03-31 16:28:13 UTC
As above.  I have what was originally 2004.3 install, and did emerge --sync followed by emerge --update --deep --newuse --world and the following error message appears:
* Applying rc-scripts-1.4.16-splash.patch ...                                                           [ ok ]
 * Applying rc-scripts-1.4.16-livecd.patch ...                                                           [ ok ]
 * Applying rc-scripts-1.4.16-livecd-hvc.patch ...

 * Failed Patch: rc-scripts-1.4.16-livecd-hvc.patch !
 *  ( /usr/portage/sys-apps/baselayout/files/rc-scripts-1.4.16-livecd-hvc.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/baselayout-1.9.4-r6/temp/rc-scripts-1.4.16-livecd-hvc.patch-18079.out


!!! ERROR: sys-apps/baselayout-1.9.4-r6 failed.
!!! Function epatch, Line 401, Exitcode 0
!!! Failed Patch: rc-scripts-1.4.16-livecd-hvc.patch!
!!! If you need support, post the topmost build error, NOT this status message.

The above mentioned contents of usr/portage/sys-apps/baselayout/files/rc-scripts-1.4.16-livecd-hvc.patch 

*** rc-scripts-1.4.16-livecd-hvc.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/sys-apps/baselayout/files/rc-script
s-1.4.16-livecd-hvc.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:
--------------------------
|--- rc-scripts-1.4.16/sbin/livecd-functions.sh.orig    2005-03-22 20:40:25.9122
65336 -0600
|+++ rc-scripts-1.4.16/sbin/livecd-functions.sh 2005-03-22 20:43:08.497311240 -0
600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
==============================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/sys-apps/baselayout/files/rc-script
s-1.4.16-livecd-hvc.patch

==============================================
patching file sbin/livecd-functions.sh
Hunk #1 FAILED at 150.
Hunk #2 succeeded at 184 with fuzz 2 (offset 5 lines).
Hunk #3 FAILED at 198.
2 out of 3 hunks FAILED -- saving rejects to file sbin/livecd-functions.sh.rej
==============================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/sys-apps/baselayout/files/rc-script
s-1.4.16-livecd-hvc.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:
--------------------------
|--- rc-scripts-1.4.16/sbin/livecd-functions.sh.orig    2005-03-22 20:40:25.9122
65336 -0600
|+++ rc-scripts-1.4.16/sbin/livecd-functions.sh 2005-03-22 20:43:08.497311240 -0
600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
==============================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/sys-apps/baselayout/files/rc-script
s-1.4.16-livecd-hvc.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:
--------------------------
|--- rc-scripts-1.4.16/sbin/livecd-functions.sh.orig    2005-03-22 20:40:25.9122
65336 -0600
|+++ rc-scripts-1.4.16/sbin/livecd-functions.sh 2005-03-22 20:43:08.497311240 -0
600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
==============================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/sys-apps/baselayout/files/rc-script
s-1.4.16-livecd-hvc.patch
|+++ rc-scripts-1.4.16/sbin/livecd-functions.sh 2005-03-22 20:43:08.497311240 -0
600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
==============================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/sys-apps/baselayout/files/rc-script
s-1.4.16-livecd-hvc.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:
--------------------------
|--- rc-scripts-1.4.16/sbin/livecd-functions.sh.orig    2005-03-22 20:40:25.9122
65336 -0600
|+++ rc-scripts-1.4.16/sbin/livecd-functions.sh 2005-03-22 20:43:08.497311240 -0
600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored


Not sure what overall effects on system which is still up and running.  

Reproducible: Always
Steps to Reproduce:
1.emerge --udpate --deep --newuse --world
2.
3.



Expected Results:  
Not fail!

2004.3 with gentoo linux kernel 2.6.11 with 2.6 headers
Comment 1 Dylan Vanderhoof 2005-03-31 20:26:54 UTC
Seeing the same here.

During a bootstrap, 2005.0 install.
Comment 2 Izaac Zavaleta 2005-03-31 22:11:59 UTC
I dont know if the patch is really important but the only thing i could do, to continue compiling is to comment the patch line in the ebuild. But i dont know if it will be affect the system.
Comment 3 Tomi Skoglund 2005-03-31 22:22:14 UTC
Same problem during a bootstrap, 2005.0 install.

Tomi
Comment 4 Marcin Lewandowski 2005-04-01 02:15:50 UTC
I've got the same problem. Gentoo 2004.3, bootstrap from stage1, synced yesterday, trying to do emerge -eu world
Comment 5 Julian W. 2005-04-01 04:43:27 UTC
Same here, during bootstrap with LiveCD 2004.3
Comment 6 SpanKY gentoo-dev 2005-04-01 06:09:40 UTC
tgall: ive deleted your obviously broken patch

feel free to add it back in once you make it not suck
Comment 7 SpanKY gentoo-dev 2005-04-01 06:10:49 UTC
*** Bug 87503 has been marked as a duplicate of this bug. ***
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-04-01 06:16:11 UTC
Ugh... DO NOT ADD THIS PATCH BACK

The reason why it didn't work is because I rolled the contents of this patch into the rc-scripts-1.4.16-livecd.patch and already updated baselayout.  Basically, it was trying to apply the same patch twice.
Comment 9 Patch 2005-04-01 07:58:06 UTC
in /usr/portage/sys-apps/baselayout/files/rc-scripts-1.4.16-livecd.patch
i changed th 2 first lines from:

--- rc-scripts-1.4.16/sbin/livecd-functions.sh.orig     2005-03-22 20:40:25.912265336 -0600
+++ rc-scripts-1.4.16/sbin/livecd-functions.sh  2005-03-22 20:43:08.497311240 -0600

to

--- /var/tmp/portage/baselayout-1.9.4-r6/work/rc-scripts-1.4.16/sbin/livecd-functions.sh.orig   2005-03-22 20:40:25.912265336 -0600
+++ /var/tmp/portage/baselayout-1.9.4-r6/work/rc-scripts-1.4.16/sbin/livecd-functions.sh        2005-03-22 20:43:08.497311240 -0600

then

cd /usr/portage
scripts/bootstrap.sh -f

... and finished without any error messages.

I've never done any of this sort before, but I think this should be a solution to the problem.
Comment 10 Bryant Hansen 2005-04-01 13:41:15 UTC
Created attachment 55061 [details]
patch error output
Comment 11 Bryant Hansen 2005-04-01 13:43:03 UTC
I have the same error.  I'm trying to build (emerge) a new system under Knoppix 3.6.

I began with the stage3 tarball, downloaded March 31
stage3-pentium3-2005.0.tar.bz2.tar

My error is the same as the others:

 * Applying rc-scripts-1.4.16-livecd-hvc.patch ...

 * Failed Patch: rc-scripts-1.4.16-livecd-hvc.patch !
 *  ( /usr/portage/sys-apps/baselayout/files/rc-scripts-1.4.16-livecd-hvc.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/baselayout-1.9.4-r6/temp/rc-scripts-1.4.16-livecd-hvc.patch-30692.out


!!! ERROR: sys-apps/baselayout-1.9.4-r6 failed.
!!! Function epatch, Line 401, Exitcode 0
!!! Failed Patch: rc-scripts-1.4.16-livecd-hvc.patch!
!!! If you need support, post the topmost build error, NOT this status message.

(I've already attached the requested file to this bug)

Thanks in advance for any assistance on this.

Bryant Hansen
Comment 12 SpanKY gentoo-dev 2005-04-01 15:36:42 UTC
patch has been removed
Comment 13 SpanKY gentoo-dev 2005-04-02 11:44:44 UTC
*** Bug 87670 has been marked as a duplicate of this bug. ***