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

Bug 762391

Summary: www-apps/gitea: build failure with bash-5.1
Product: Gentoo Linux Reporter: Ionen Wolkens <ionen>
Component: Current packagesAssignee: Pierre-Olivier Mercier <nemunaire>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, mark+gentoobugs, proxy-maint, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 762394    
Attachments: build.log + emerge --info
0001-www-apps-gitea-fix-build-with-bash-5.1.patch

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(-)