Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753815 - net-print/gutenprint: cups-genppdupdate is not run as ROOT variable is empty
Summary: net-print/gutenprint: cups-genppdupdate is not run as ROOT variable is empty
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-10 10:22 UTC by Pacho Ramos
Modified: 2020-11-10 10:34 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 Pacho Ramos gentoo-dev 2020-11-10 10:22:45 UTC
I was wondering why I was needing to manually run cups-genppdupdate for all my systems... and it seems it's because ROOT is empty at pkg_postinst phase... I am unsure then if we should change the logic of the phase... I guess it's to avoid issues on prefix systems?

Thanks
Comment 1 Pacho Ramos gentoo-dev 2020-11-10 10:26:54 UTC
I also see other packages such as vlc or scm using [[ -z ${ROOT} ]] instead of $ROOT=/
Comment 3 Larry the Git Cow gentoo-dev 2020-11-10 10:34:42 UTC
The bug has been closed via the following commit(s):

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

commit c311a98c641c766e363be4e8b2dc96e87154bb44
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2020-11-10 10:34:31 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2020-11-10 10:34:31 +0000

    net-print/gutenprint: Fix ROOT detection and canon/epson bugs
    
    Fix ROOT detection with eapi7 and backport upstream fixes for some Canon and
    Epson printers
    
    Closes: https://bugs.gentoo.org/753815
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../gutenprint/files/gutenprint-5.3.3-epson.patch  | 54 ++++++++++++++
 .../files/gutenprint-5.3.3-selphy-typo.patch       | 22 ++++++
 net-print/gutenprint/gutenprint-5.3.3-r2.ebuild    | 87 ++++++++++++++++++++++
 3 files changed, 163 insertions(+)