Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42065

Summary: screen-4.0.1-r2 fails to build when applying patch: screen-4.0.1-int-overflow-fix.patch
Product: Gentoo Linux Reporter: john spurling <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.