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

Bug 511994

Summary: =net-print/cups-1.7.2 does not compile without zeroconf
Product: Gentoo Linux Reporter: Greg Turner <gmturner007>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cups-1.7.2-compile-without-zeroconf.patch

Description Greg Turner 2014-05-31 23:18:02 UTC
Created attachment 377964 [details, diff]
cups-1.7.2-compile-without-zeroconf.patch

Without zeroconf, the unkeyworded ebuild net-print/cups-1.7.2 fails to compile.  This is due to the following bug:

  https://www.cups.org/str.php?L4402

The patch in question can be found in

  http://www.cups.org/cups.git

It's sha is:

  8441e27ce4008828cbdd25bdd6249c0019853b92
  

I have enclosed a pared down version of that patch with the Changelog hunk stripped out, as it that portion does not apply.

Applying the enclosed patch allows the ebuild to succeed.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-01 06:39:13 UTC
I've also seen this while playing with 1.7.2 multilib but were too lazy to report :P.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2014-06-01 16:44:44 UTC
(In reply to Michał Górny from comment #1)
> I've also seen this while playing with 1.7.2 multilib but were too lazy to
> report :P.


Thank you both. This was the reason why 1.7.2 has no keywords. Will take care of it in a few days (too much real life). 

Alternatively, Michał, feel free to review the patch, test & commit and restore same keywords as in previous cups (minus stable of course).
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2014-06-06 22:31:17 UTC
Fixed in our 1.7.3

(Upstream forgot to merge the commit into the release branch, even though they closed the ticket, so the patch is still needed.)