emerge -u portage fails at sys-libs/readline Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge -u portage 3. Actual Results: >>> Unpacking source... >>> Unpacking readline-5.0.tar.gz to /var/tmp/portage/readline-5.0-r2/work * Applying readline50-001 ... * Failed Patch: readline50-001 ! * ( /usr/portage/distfiles/readline50-001 ) * * Include in your bugreport the contents of: * * /var/tmp/portage/readline-5.0-r2/temp/readline50-001-6137.out !!! ERROR: sys-libs/readline-5.0-r2 failed. !!! Function epatch, Line 361, Exitcode 0 !!! Failed Patch: readline50-001! !!! If you need support, post the topmost build error, NOT this status message. Expected Results: portage is updated ***** readline50-001 ***** ========================== PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/readline50-001 ========================== patch: **** Only garbage was found in the patch input. ========================== PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/readline50-001 ========================== patch: **** Only garbage was found in the patch input. ========================== PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/readline50-001 ========================== patch: **** Only garbage was found in the patch input. ========================== PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/readline50-001 ========================== patch: **** Only garbage was found in the patch input. ========================== PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/readline50-001 ========================== patch: **** Only garbage was found in the patch input.
delete the file and try to refetch it