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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
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: ---


Attachments
build.log + emerge --info (build.log-emerge.info.txt,7.25 KB, text/plain)
2020-12-29 09:58 UTC, Ionen Wolkens
Details
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 gentoo-dev 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=(
        TAGS="${gitea_tags[@]}"
        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 gentoo-dev 2020-12-29 09:59:36 UTC
Created attachment 680149 [details, diff]
0001-www-apps-gitea-fix-build-with-bash-5.1.patch
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140e2d0f701eed29b9f9ef9c42c7f6ad5947422c

commit 140e2d0f701eed29b9f9ef9c42c7f6ad5947422c
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2020-12-29 09:53:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-10 18:34:18 +0000

    www-apps/gitea: fix build with bash-5.1
    
    Closes: https://bugs.gentoo.org/762391
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

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