Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762391 - www-apps/gitea: build failure with bash-5.1
Summary: www-apps/gitea: build failure with bash-5.1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pierre-Olivier Mercier
Keywords: PATCH
Depends on:
Blocks: bash-5.1
  Show dependency tree
Reported: 2020-12-29 09:58 UTC by Ionen Wolkens
Modified: 2021-01-10 18:39 UTC (History)
4 users (show)

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

build.log + emerge --info (,7.25 KB, text/plain)
2020-12-29 09:58 UTC, Ionen Wolkens
0001-www-apps-gitea-fix-build-with-bash-5.1.patch (0001-www-apps-gitea-fix-build-with-bash-5.1.patch,1.62 KB, patch)
2020-12-29 09:59 UTC, Ionen Wolkens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ionen Wolkens 2020-12-29 09:58:32 UTC
Created attachment 680146 [details]
build.log + emerge --info

After seeing bug #762379 I tried to find more packages that might
be affected.

Here we have:
    local makeenv=(
        LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[@]}"
    env "${makeenv[@]}" emake backend

With bash-5.1, if there's more than one gitea_tags (USE=sqlite), then:

    env: ‘sqlite’: No such file or directory
Comment 1 Ionen Wolkens 2020-12-29 09:59:36 UTC
Created attachment 680149 [details, diff]
Comment 2 Larry the Git Cow gentoo-dev 2021-01-10 18:39:06 UTC
The bug has been closed via the following commit(s):

commit 140e2d0f701eed29b9f9ef9c42c7f6ad5947422c
Author:     Ionen Wolkens <>
AuthorDate: 2020-12-29 09:53:53 +0000
Commit:     Sam James <>
CommitDate: 2021-01-10 18:34:18 +0000

    www-apps/gitea: fix build with bash-5.1
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Ionen Wolkens <>
    Signed-off-by: Sam James <>

 www-apps/gitea/gitea-1.13.0.ebuild | 4 ++--
 www-apps/gitea/gitea-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)