Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769716 - media-gfx/zbar does not build with /bin/sh not linked to bash
Summary: media-gfx/zbar does not build with /bin/sh not linked to bash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Yury Martynov
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2021-02-09 09:49 UTC by Klaus Ethgen
Modified: 2021-02-27 16:35 UTC (History)
2 users (show)

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


Attachments
Patch to fix zbar-0.23-r1 (0001-Configure-Patch-f-r-nicht-bash.patch,5.37 KB, patch)
2021-02-09 09:49 UTC, Klaus Ethgen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)