Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849326 - toolchain.eclass: line 380: devspace_urls: bad array subscript
Summary: toolchain.eclass: line 380: devspace_urls: bad array subscript
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-02 09:57 UTC by Agostino Sarubbo
Modified: 2022-06-02 15:50 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-02 09:57:36 UTC
I get it when I launch egencache.
Comment 1 Ionen Wolkens gentoo-dev 2022-06-02 14:08:26 UTC
It's from gnat-gpl:

>/var/db/repos/test/app-editors/xvile/xvile-9.8v.ebuild: line 30: BDEPEND+virtual/pkgconfig: No such file or directory
>/var/db/repos/test/eclass/toolchain.eclass: line 380: devspace_urls: bad array subscript
>DEBUG: patch dev for gnat-gpl-2020: ''
>/var/db/repos/test/eclass/toolchain.eclass: line 380: devspace_urls: bad array subscript
>DEBUG: patch dev for gnat-gpl-2021-r1: ''
>/var/db/repos/test/eclass/toolchain.eclass: line 380: devspace_urls: bad array subscript
>DEBUG: patch dev for gnat-gpl-2021-r3: ''
>DEBUG: patch dev for gcc-8.5.0-r1: 'slyfox'
>[...]

(I fixed xvile's typo)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 15:16:04 UTC
thanks, I'll fix shortly
Comment 3 Larry the Git Cow gentoo-dev 2022-06-02 15:50:21 UTC
The bug has been closed via the following commit(s):

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

commit f6e9bb0fd3a2b52c8d3cd1f0b827747fca836170
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-02 15:50:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-02 15:50:03 +0000

    toolchain.eclass: fix when no TOOLCHAIN_PATCH_DEV is set
    
    Closes: https://bugs.gentoo.org/849326
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)