Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723516 - media-gfx/xsane-0.999-r2: lcms2 compatibility patch not compatible with POSIX sh
Summary: media-gfx/xsane-0.999-r2: lcms2 compatibility patch not compatible with POSIX sh
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: nonbash
  Show dependency tree
Reported: 2020-05-17 21:13 UTC by Nico R.
Modified: 2020-10-15 22:29 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Nico R. 2020-05-17 21:13:12 UTC
If you have /bin/bash -> dash, media-gfx/xsane-0.999-r2 cannot be built. Reason is that lcms2 is now the only media-libs/lcms version in the tree, and the test for it fails.

The patch ($FILESDIR/xsane-0.999-lcms2.patch) looks good, but needs a tiny adjustment: s/==/=/ in the test expressions in

With this change, media-gfx/xsane-0.999-r2 installs fine for me.
Comment 1 Larry the Git Cow gentoo-dev 2020-10-15 22:29:27 UTC
The bug has been closed via the following commit(s):

commit 246d53d0ea28e680beed6dba9823a119b1ee349b
Author:     Lars Wendler <>
AuthorDate: 2020-10-15 22:25:36 +0000
Commit:     Lars Wendler <>
CommitDate: 2020-10-15 22:29:23 +0000

    media-gfx/xsane: Make lcms2 patch POSIX sh compliant
    Thanks-to: Nico R. <>
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Lars Wendler <>

 media-gfx/xsane/files/xsane-0.999-lcms2.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)