Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42065 - screen-4.0.1-r2 fails to build when applying patch: screen-4.0.1-int-overflow-fix.patch
Summary: screen-4.0.1-r2 fails to build when applying patch: screen-4.0.1-int-overflow...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 13:34 UTC by john spurling
Modified: 2004-02-22 03:53 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 john spurling 2004-02-18 13:34:19 UTC
screen fails to build. i get the following output:

>>> --upgradeonly implies --update... adding --update to options.
Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/screen-4.0.1-r2 to /
>>> md5 src_uri ;-) screen-4.0.1.tar.gz
>>> Unpacking source...
>>> Unpacking screen-4.0.1.tar.gz to /var/tmp/portage/screen-4.0.1-r2/work
RUNNING FROM extra_functions.sh
 * Applying screen-4.0.1-int-overflow-fix.patch...

 * Failed Patch: screen-4.0.1-int-overflow-fix.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/screen-4.0.1-r2/temp/screen-4.0.1-int-overflow-fix.patch-11165.out


!!! ERROR: app-misc/screen-4.0.1-r2 failed.
!!! Function epatch, Line 360, Exitcode 0
!!! Failed Patch: screen-4.0.1-int-overflow-fix.patch!



Reproducible: Always
Steps to Reproduce:
1. emerge -Uv screen
Actual Results:  
>>> --upgradeonly implies --update... adding --update to options.
Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/screen-4.0.1-r2 to /
>>> md5 src_uri ;-) screen-4.0.1.tar.gz
>>> Unpacking source...
>>> Unpacking screen-4.0.1.tar.gz to /var/tmp/portage/screen-4.0.1-r2/work
RUNNING FROM extra_functions.sh
 * Applying screen-4.0.1-int-overflow-fix.patch...

 * Failed Patch: screen-4.0.1-int-overflow-fix.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *  
/var/tmp/portage/screen-4.0.1-r2/temp/screen-4.0.1-int-overflow-fix.patch-11165.out


!!! ERROR: app-misc/screen-4.0.1-r2 failed.
!!! Function epatch, Line 360, Exitcode 0
!!! Failed Patch: screen-4.0.1-int-overflow-fix.patch!



Expected Results:  
screen should have been patched correctly, and the installation should have
continued.

below are the contents of screen-4.0.1-int-overflow-fix.patch-11165.out. as the
outfile indicates, the patchfile itself is garbage. it contains 930 NUL characters.




***** screen-4.0.1-int-overflow-fix.patch *****

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

PATCH COMMAND:  patch  -p0 <
/usr/portage/app-misc/screen/files/screen-4.0.1-int-overflow-fix.patch

===============================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===============================================

PATCH COMMAND:  patch  -p1 <
/usr/portage/app-misc/screen/files/screen-4.0.1-int-overflow-fix.patch

===============================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===============================================

PATCH COMMAND:  patch  -p2 <
/usr/portage/app-misc/screen/files/screen-4.0.1-int-overflow-fix.patch

===============================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===============================================

PATCH COMMAND:  patch  -p3 <
/usr/portage/app-misc/screen/files/screen-4.0.1-int-overflow-fix.patch

===============================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===============================================

PATCH COMMAND:  patch  -p4 <
/usr/portage/app-misc/screen/files/screen-4.0.1-int-overflow-fix.patch

===============================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-22 03:53:37 UTC
It seems that the patch has got corrupt in your tree, please try rsyncing your tree again.