Summary: | media-libs/libbs2b-3.1.0-r1: fails to build with /bin/sh -> dash | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kfm, paolo.pedroni, polynomial-c, sound |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 | ||
Attachments: |
build.log
gentoo-bug-526712.patch 0001-Allow-media-libs-libbs2b-to-build-with-non-bash.patch |
Description
Diego Elio Pettenò (RETIRED)
2014-10-25 10:08:04 UTC
Created attachment 388048 [details] build.log Autoattach of build.log -- if there are any issues with this file please add bug to tracker bug 527870 I can confirm that this still happens with media-libs/libbs2b-3.1.0-r2 in the configure stage. I suspect it's an upstream bug. Here's the part of the log where the problem occurs: configure: creating ./config.status config.status: creating libbs2b.pc config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating win32/Makefile config.status: executing depfiles commands ./config.status: 945: shift: can't shift that many When the built-in command shift errors out, this halts the whole build. I was able to get the package to build by prepending CONFIG_SHELL=/bin/bash to the emerge. Created attachment 681844 [details, diff]
gentoo-bug-526712.patch
The simplest solution is to regenerate the configure file. The attached patch alters the ebuild so as to do exactly that. It also incorporates commit r175 from the upstream repo, so that automake is no longer instructed to utilise dist-lzma, which is no longer provided by >=automake-1.12.
(In reply to Kerin Millar from comment #3) > Created attachment 681844 [details, diff] [details, diff] > gentoo-bug-526712.patch > > The simplest solution is to regenerate the configure file. The attached > patch alters the ebuild so as to do exactly that. It also incorporates > commit r175 from the upstream repo, so that automake is no longer instructed > to utilise dist-lzma, which is no longer provided by >=automake-1.12. Make this a git-formatted patch and I'll test && apply it. Created attachment 686202 [details, diff]
0001-Allow-media-libs-libbs2b-to-build-with-non-bash.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f72039852479ca1b7273b2843bd0b1accc07b2 commit 73f72039852479ca1b7273b2843bd0b1accc07b2 Author: Kerin Millar <kfm@plushkava.net> AuthorDate: 2021-02-09 18:52:09 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-02-09 19:27:35 +0000 Allow media-libs/libbs2b to build with non-bash Signed-off-by: Kerin Millar <kfm@plushkava.net> Closes: https://bugs.gentoo.org/526712 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch | 13 +++++++++++++ media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild | 12 ++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) |