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

Bug 347451

Summary: CUPS Upgrade crashes on Update - Faulty Patch
Product: Gentoo Linux Reporter: Carter Young <ecyoung>
Component: [OLD] PrintingAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Carter Young 2010-12-01 17:27:37 UTC
* Failed Patch: cups-1.3.11-pdf-m4.patch !
 *  ( /usr/portage/net-print/cups/files/cups-1.3.11-pdf-m4.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/paludis/net-print-cups-1.3.11-r4/temp//cups-1.3.11-pdf-m4.patch.out


!!! ERROR in net-print/cups-1.3.11-r4::gentoo:
!!! In epatch at line 2986
!!! Failed Patch: cups-1.3.11-pdf-m4.patch!

!!! Call stack:
!!!    * epatch (/var/tmp/paludis/net-print-cups-1.3.11-r4/temp/loadsaveenv:2986)
!!!    * src_prepare (/var/tmp/paludis/net-print-cups-1.3.11-r4/temp/loadsaveenv:4886)
!!!    * ebuild_f_prepare (/usr/libexec/paludis/2/src_prepare.bash:54)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:647)
!!!    * main (/usr/libexec/paludis/ebuild.bash:675)

diefunc: making ebuild PID 31443 exit with error
die trap: exiting with error.

Install error:
  * In program paludis -i installed-packages:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'net-print/cups-1.3.11-r4:0::gentoo' replacing { 'net-print/cups-1.3.11-r3:0::installed' }:
  * When running an ebuild command on 'net-print/cups-1.3.11-r4:0::gentoo':
  * Install failed for 'net-print/cups-1.3.11-r4:0::gentoo'


*** Messages log: /var/log/paludis/1291224030-install-net-print_cups-1.3.11-r4:0::gentoo.messages
*** Output log: /var/log/paludis/1291224030-install-net-print_cups-1.3.11-r4:0::gentoo.out


Reproducible: Always

Steps to Reproduce:
1. paludis -i world = emerge -uDv world
2. Crash during epatch phase on cups compile

Actual Results:  
Cups compile exits in error

Expected Results:  
Cups should compile cleanly

Patch Crash may include double as I ran it twice...

***** cups-1.3.11-pdf-m4.patch *****

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-print/cups/files/cups-1.3.11-pdf-m4.patch'

====================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|# This patch is taken from cups 1.4.5 and fixes annoying requirement to have poppler around during build-time
|
|--- cups-1.3.11/config-scripts/cups-pdf.m4	2009-03-12 22:34:21.000000000 +0100
|+++ cups-1.4.5/config-scripts/cups-pdf.m4	2009-08-08 00:30:30.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
====================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-print/cups/files/cups-1.3.11-pdf-m4.patch'

====================================
patching file config-scripts/cups-pdf.m4
Hunk #1 FAILED at 1.
Hunk #5 FAILED at 84.
2 out of 5 hunks FAILED -- saving rejects to file config-scripts/cups-pdf.m4.rej
====================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-print/cups/files/cups-1.3.11-pdf-m4.patch'

====================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|# This patch is taken from cups 1.4.5 and fixes annoying requirement to have poppler around during build-time
|
|--- cups-1.3.11/config-scripts/cups-pdf.m4	2009-03-12 22:34:21.000000000 +0100
|+++ cups-1.4.5/config-scripts/cups-pdf.m4	2009-08-08 00:30:30.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
====================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-print/cups/files/cups-1.3.11-pdf-m4.patch'

====================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|# This patch is taken from cups 1.4.5 and fixes annoying requirement to have poppler around during build-time
|
|--- cups-1.3.11/config-scripts/cups-pdf.m4	2009-03-12 22:34:21.000000000 +0100
|+++ cups-1.4.5/config-scripts/cups-pdf.m4	2009-08-08 00:30:30.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
====================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-print/cups/files/cups-1.3.11-pdf-m4.patch'

====================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-12-01 17:31:41 UTC

*** This bug has been marked as a duplicate of bug 347429 ***