Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671342 - net-print/cndrvcups-lb-3.60 does not install ppd files
Summary: net-print/cndrvcups-lb-3.60 does not install ppd files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-17 13:37 UTC by Andrew Ammerlaan
Modified: 2018-11-18 10:53 UTC (History)
0 users

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


Attachments
emerge-info (emerge-info.txt,6.26 KB, text/plain)
2018-11-17 13:37 UTC, Andrew Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ammerlaan gentoo-dev 2018-11-17 13:37:48 UTC
Created attachment 555460 [details]
emerge-info

Today I tried to print for the first time in ages, only to discover that for some reason it was no longer working.
The first thing I tried was removing and re-adding the printer, thinking that the ip address might have changed. However when I tried to add the printer I discovered that the driver was no longer installed. Even though cndrvcups-lb-3.60 and cndrvcups-common-lb-3.60 were installed. 
I checked /usr/share/cups/model and indeed the directory was empty.

I first re-emerged cndrvcups-lb-3.60 and cndrvcups-common-lb-3.60 but this had no effect. 
Next, because it worked before, I tried to downgrade to 3.50-r1. This lead to some progress as /usr/share/cups/model was no longer empty and cups was able to add the printer. However I was still unable to print. When trying to print a file the printer (in KDE settings) would very briefly show "In use" after which it returned to "Idle" however the printer itself would not do anything.
So I downgraded further to 3.50, and now I find myself with a working printer again.

cat /var/log/cups/error* only shows:
E [17/Nov/2018:14:13:56 +0100] [cups-deviced] PID 27981 (cups-brf) stopped with status 13!
W [17/Nov/2018:14:14:12 +0100] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [17/Nov/2018:14:14:12 +0100] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
For both the 3.50 and 3.50-r1 versions, which I suppose makes sense as it is a black/white printer. Other then this I could not find any errors.

It seems to me that something changed from the 3.50 to 3.50-r1 versions that might cause the printer to stop working for some printers/setups. I found a stabilization request for 3.50-r1 here: https://bugs.gentoo.org/670914 which might indicate that not everyone is effected by this.

The 3.60 version however seems to have a problem in that it does not actually install ppd files in a directory where cups expects them to be. Because for the 3.60 version the correct driver does not show up when trying to add the printer (in the KDE interface or the CUPS web interface) (Nor any other cndrvcups drivers for that matter).

The printer is network connected, I tried using IPP and connecting with the ip address. Both fail to work for 3.50-r1. I have not tried USB.
cups-2.2.9
cups-filters-1.21.3
plasma-5.14.3, kde-18.08.3
gentoo-sources-4.19.2
Comment 1 Larry the Git Cow gentoo-dev 2018-11-18 10:53:06 UTC
The bug has been closed via the following commit(s):

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

commit 4594688df9bdf06ca3aa84b82a860439b3f0a2e3
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-18 09:51:02 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-18 10:52:48 +0000

    net-print/cndrvcups-lb: Ensure ppd files are installed
    
    Thanks-to: Andrew Ammerlaan
    Closes: https://bugs.gentoo.org/671342
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-print/cndrvcups-lb/cndrvcups-lb-3.60-r1.ebuild | 112 +++++++++++++++++++++
 1 file changed, 112 insertions(+)