Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28756 - Emerge was unable to install XFree-4.3.0-r3 package, due to apparent problem with a patch in the package.
Summary: Emerge was unable to install XFree-4.3.0-r3 package, due to apparent problem ...
Status: RESOLVED DUPLICATE of bug 28698
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-14 22:59 UTC by Tim Bentley
Modified: 2011-10-30 22:21 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 Tim Bentley 2003-09-14 22:59:08 UTC
When I try to emerge XFree-4.3.0-r3, I get the following result (result from
emerge with -d option, but actually this produced no more info than running
without -d):

+ echo '!!! ERROR: x11-base/xfree-4.3.0-r3 failed.'
!!! ERROR: x11-base/xfree-4.3.0-r3 failed.
+ echo '!!! Function epatch, Line 321, Exitcode 0'
!!! Function epatch, Line 321, Exitcode 0
+ echo '!!! Failed Patch: 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!'
!!! Failed Patch: 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!
+ echo

The .out file for the patch shows that it was unable to find the file(s) for any
of the diffs in the patch.  I am not familiar enough with portage/emerge or the
patching mechanism to be sure whether the source files haven't been unpacked
properly/in the right place, or whether the patch is not the right one for the
source files in question, or???

I thought it might be something about my system - running out of drive space,
for eg - but I can't see anything that is likely to cause this.  Over 5gb of
free space, and other emerges work fine.

Reproducible: Always
Steps to Reproduce:
1. log in as root
2. emerge -d xfree-4.3.0-r3


Actual Results:  
output was as expected up until applying the patch in question, at which point
the emerge ended with errors.  Using the -d switch, I grabbed the following
text, starting from the patch application point:

+ '[' patch '!=' patch ']'
+
PATCH_TARGET=/var/tmp/portage/xfree-4.3.0-r3/work/patch/0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch
+ echo -n 'PATCH COMMAND:  '
+ echo 'patch  -p4 <
/var/tmp/portage/xfree-4.3.0-r3/work/patch/0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch'
+ echo
+ draw_line '***** 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch *****'
+ local i=0
+ local str_length=
++ which wc
+ '[' -z '***** 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch *****' -o
'!' -x /bin/wc ']'
++ echo -n '***** 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch *****'
++ wc -m
+ str_length=     65
+ '[' 0 -lt '     65' ']'
+ echo -n =
+ i=1
+ '[' 1 -lt '     65' ']'
+ echo -n =
+ i=2
+ '[' 2 -lt '     65' ']'
+ echo -n =
+ i=3
+ '[' 3 -lt '     65' ']'
+ echo -n =
+ i=4
+ '[' 4 -lt '     65' ']'
+ echo -n =
+ i=5
+ '[' 5 -lt '     65' ']'
+ echo -n =
+ i=6
+ '[' 6 -lt '     65' ']'
+ echo -n =
+ i=7
+ '[' 7 -lt '     65' ']'
+ echo -n =
+ i=8
+ '[' 8 -lt '     65' ']'
+ echo -n =
+ i=9
+ '[' 9 -lt '     65' ']'
+ echo -n =
+ i=10
+ '[' 10 -lt '     65' ']'
+ echo -n =
+ i=11
+ '[' 11 -lt '     65' ']'
+ echo -n =
+ i=12
+ '[' 12 -lt '     65' ']'
+ echo -n =
+ i=13
+ '[' 13 -lt '     65' ']'
+ echo -n =
+ i=14
+ '[' 14 -lt '     65' ']'
+ echo -n =
+ i=15
+ '[' 15 -lt '     65' ']'
+ echo -n =
+ i=16
+ '[' 16 -lt '     65' ']'
+ echo -n =
+ i=17
+ '[' 17 -lt '     65' ']'
+ echo -n =
+ i=18
+ '[' 18 -lt '     65' ']'
+ echo -n =
+ i=19
+ '[' 19 -lt '     65' ']'
+ echo -n =
+ i=20
+ '[' 20 -lt '     65' ']'
+ echo -n =
+ i=21
+ '[' 21 -lt '     65' ']'
+ echo -n =
+ i=22
+ '[' 22 -lt '     65' ']'
+ echo -n =
+ i=23
+ '[' 23 -lt '     65' ']'
+ echo -n =
+ i=24
+ '[' 24 -lt '     65' ']'
+ echo -n =
+ i=25
+ '[' 25 -lt '     65' ']'
+ echo -n =
+ i=26
+ '[' 26 -lt '     65' ']'
+ echo -n =
+ i=27
+ '[' 27 -lt '     65' ']'
+ echo -n =
+ i=28
+ '[' 28 -lt '     65' ']'
+ echo -n =
+ i=29
+ '[' 29 -lt '     65' ']'
+ echo -n =
+ i=30
+ '[' 30 -lt '     65' ']'
+ echo -n =
+ i=31
+ '[' 31 -lt '     65' ']'
+ echo -n =
+ i=32
+ '[' 32 -lt '     65' ']'
+ echo -n =
+ i=33
+ '[' 33 -lt '     65' ']'
+ echo -n =
+ i=34
+ '[' 34 -lt '     65' ']'
+ echo -n =
+ i=35
+ '[' 35 -lt '     65' ']'
+ echo -n =
+ i=36
+ '[' 36 -lt '     65' ']'
+ echo -n =
+ i=37
+ '[' 37 -lt '     65' ']'
+ echo -n =
+ i=38
+ '[' 38 -lt '     65' ']'
+ echo -n =
+ i=39
+ '[' 39 -lt '     65' ']'
+ echo -n =
+ i=40
+ '[' 40 -lt '     65' ']'
+ echo -n =
+ i=41
+ '[' 41 -lt '     65' ']'
+ echo -n =
+ i=42
+ '[' 42 -lt '     65' ']'
+ echo -n =
+ i=43
+ '[' 43 -lt '     65' ']'
+ echo -n =
+ i=44
+ '[' 44 -lt '     65' ']'
+ echo -n =
+ i=45
+ '[' 45 -lt '     65' ']'
+ echo -n =
+ i=46
+ '[' 46 -lt '     65' ']'
+ echo -n =
+ i=47
+ '[' 47 -lt '     65' ']'
+ echo -n =
+ i=48
+ '[' 48 -lt '     65' ']'
+ echo -n =
+ i=49
+ '[' 49 -lt '     65' ']'
+ echo -n =
+ i=50
+ '[' 50 -lt '     65' ']'
+ echo -n =
+ i=51
+ '[' 51 -lt '     65' ']'
+ echo -n =
+ i=52
+ '[' 52 -lt '     65' ']'
+ echo -n =
+ i=53
+ '[' 53 -lt '     65' ']'
+ echo -n =
+ i=54
+ '[' 54 -lt '     65' ']'
+ echo -n =
+ i=55
+ '[' 55 -lt '     65' ']'
+ echo -n =
+ i=56
+ '[' 56 -lt '     65' ']'
+ echo -n =
+ i=57
+ '[' 57 -lt '     65' ']'
+ echo -n =
+ i=58
+ '[' 58 -lt '     65' ']'
+ echo -n =
+ i=59
+ '[' 59 -lt '     65' ']'
+ echo -n =
+ i=60
+ '[' 60 -lt '     65' ']'
+ echo -n =
+ i=61
+ '[' 61 -lt '     65' ']'
+ echo -n =
+ i=62
+ '[' 62 -lt '     65' ']'
+ echo -n =
+ i=63
+ '[' 63 -lt '     65' ']'
+ echo -n =
+ i=64
+ '[' 64 -lt '     65' ']'
+ echo -n =
+ i=65
+ '[' 65 -lt '     65' ']'
+ echo
+ return 0
+ '[' patch '!=' patch ']'
+ count=5
+ '[' 5 -lt 5 ']'
+ '[' patch '!=' patch ']'
+ '[' 5 -eq 5 ']'
+ echo

+ eerror 'Failed Patch: 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!'
+ '[' no = yes ']'
+ echo -e ' * Failed Patch: 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!'
 * Failed Patch: 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!
+ esyslog daemon.err rc-scripts 'Failed Patch:
0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!'
+ return 0
+ return 0
+ eerror
+ '[' no = yes ']'
+ echo -e ' * '
 *
+ esyslog daemon.err rc-scripts ''
+ return 0
+ return 0
+ eerror 'Include in your bugreport the contents of:'
+ '[' no = yes ']'
+ echo -e ' * Include in your bugreport the contents of:'
 * Include in your bugreport the contents of:
+ esyslog daemon.err rc-scripts 'Include in your bugreport the contents of:'
+ return 0
+ return 0
+ eerror
+ '[' no = yes ']'
+ echo -e ' * '
 *
+ esyslog daemon.err rc-scripts ''
+ return 0
+ return 0
+ eerror ' 
/var/tmp/portage/xfree-4.3.0-r3/temp/0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch-9913.out'
+ '[' no = yes ']'
+ echo -e ' *  
/var/tmp/portage/xfree-4.3.0-r3/temp/0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch-9913.out'
 *  
/var/tmp/portage/xfree-4.3.0-r3/temp/0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch-9913.out
+ esyslog daemon.err rc-scripts ' 
/var/tmp/portage/xfree-4.3.0-r3/temp/0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch-9913.out'
+ return 0
+ return 0
+ echo

+ diefunc epatch 321 0 'Failed Patch:
0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!'
+ local funcname=epatch lineno=321 exitcode=0
+ shift 3
+ echo

+ echo '!!! ERROR: x11-base/xfree-4.3.0-r3 failed.'
!!! ERROR: x11-base/xfree-4.3.0-r3 failed.
+ echo '!!! Function epatch, Line 321, Exitcode 0'
!!! Function epatch, Line 321, Exitcode 0
+ echo '!!! Failed Patch: 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!'
!!! Failed Patch: 0803_all_4.3.0-xkb-broken-capslock-fix-CVS11006.patch!
+ echo
Comment 1 SpanKY gentoo-dev 2003-09-14 23:12:55 UTC

*** This bug has been marked as a duplicate of 28698 ***
Comment 2 Tim Bentley 2003-09-14 23:42:22 UTC
Thanks!  Could have sworn there were no dupes, but looks like there were at least 2 - will look harder next time!