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.
It seems that the patch has got corrupt in your tree, please try rsyncing your tree again.