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

Bug 769716

Summary: media-gfx/zbar does not build with /bin/sh not linked to bash
Product: Gentoo Linux Reporter: Klaus Ethgen <Klaus+gentoo>
Component: Current packagesAssignee: Yury Martynov <email>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: Patch to fix zbar-0.23-r1

Description Klaus Ethgen 2021-02-09 09:49:22 UTC
Created attachment 686121 [details, diff]
Patch to fix zbar-0.23-r1

zbar does not build with /bin/sh not linked to bash

I use dash as shell and it breaks every time.

Note that the patch applies to zbar-0.23-r1, not to zbar-0.23.1 as you went partly the same way with a patch to this version. However, your patch to zbar-0.23.1 is still not complete!
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-27 16:31:22 UTC
Got a fixed one for 0.23.1 too? :)
Comment 2 Larry the Git Cow gentoo-dev 2021-02-27 16:35:30 UTC
The bug has been closed via the following commit(s):

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

commit 21481b475595cb9affd1c6b87b648321378c9547
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-27 16:33:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-27 16:33:45 +0000

    media-gfx/zbar: add nonbash patch to 0.23-r1
    
    Thanks-to: Klaus Ethgen <Klaus+gentoo@Ethgen.de>
    Closes: https://bugs.gentoo.org/769716
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/zbar/files/zbar-0.23-r1-nonbash.patch | 120 ++++++++++++++++++++++++
 media-gfx/zbar/zbar-0.23-r1.ebuild              |   1 +
 2 files changed, 121 insertions(+)