Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639068 - net-print/cups-2.2.4 emerge fails
Summary: net-print/cups-2.2.4 emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 17:10 UTC by Thomas Capricelli
Modified: 2017-11-28 19:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2017-11-28 17:10:43 UTC
I'm having problems with 2.2.6, so I'd like to try to my last known-to-work version of cups : 2.2.4. Though it doesn't emerge anymore. It seems it tries to apply a patch labelled "2.2.6" :


 * Package:    net-print/cups-2.2.4
 * Repository: gentoo
 * Maintainer: printing@gentoo.org
 * USE:        X abi_x86_32 abi_x86_64 acl amd64 dbus elibc_glibc java kernel_linux linguas_fr linguas_it pam python python_targets_python2_7 ssl static-libs threads usb userland_GNU zeroconf
 * FEATURES:   compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.14.2/build
 * Found sources for kernel version:
 *     4.14.2
 * Applying cups-2.2.0-dont-compress-manpages.patch ...
 [ ok ]
 * Applying cups-2.2.6-fix-install-perms.patch ...
1 out of 1 hunk FAILED -- saving rejects to file Makedefs.in.rej
 [ !! ]
Comment 1 Thomas Capricelli 2017-11-28 17:12:05 UTC
WORKAROUND :

I've removed the 2.2.6 line from the patches list in the ebuild, did "repoman manifest", and now it emerges fine.
Comment 2 Larry the Git Cow gentoo-dev 2017-11-28 18:30:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22bcadb77c22e100f4341d41fb5fa99ac888c2d

commit c22bcadb77c22e100f4341d41fb5fa99ac888c2d
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2017-11-28 18:28:31 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2017-11-28 18:30:09 +0000

    net-print/cups: Use correct perms patch.
    
    I changed this accidentally and thus broke the ebuild.
    
    Closes: https://bugs.gentoo.org/639068
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-print/cups/Manifest          | 2 +-
 net-print/cups/cups-2.2.4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 Thomas Capricelli 2017-11-28 19:52:52 UTC
Thx for the quick fix !