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

Bug 934150

Summary: toolchain-funcs.eclass fails tests
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37133
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulrich Müller gentoo-dev 2024-06-12 15:07:48 UTC
eclass/tests $ ./toolchain-funcs.sh
 * Testing tc-arch-kernel() (KV=2.6.30) ...
 * Failure for CHOST: i386-gentoo-freebsd Expected: i386 != Actual: x86
 * Failure for CHOST: i486-gentoo-freebsd Expected: i386 != Actual: x86
 * Failure for CHOST: i586-gentoo-freebsd Expected: i386 != Actual: x86
 * Failure for CHOST: i686-gentoo-freebsd Expected: i386 != Actual: x86
 [ !! ]

[... rest of results is o.k., therefore omitted ...]


Looks like tests must be updated to account for the following commit:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab79611b07c9ebb795c6f65562ef72ba77550b1
commit cab79611b07c9ebb795c6f65562ef72ba77550b1
Author: Sam James <sam@gentoo.org>
Date:   Sat Jun 3 03:18:53 2023 +0100

    toolchain-funcs.eclass: drop dead prefix targets
Comment 1 Larry the Git Cow gentoo-dev 2024-06-12 16:47:55 UTC
The bug has been closed via the following commit(s):

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

commit 8c8239bdffa74b2c12ff9bbb5c25d62947e9a0a2
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2024-06-12 15:37:07 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2024-06-12 16:47:34 +0000

    eclass/tests: Drop FreeBSD test from toolchain-funcs.sh
    
    Prefix targets have been dropped from toolchain-funcs.eclass in
    commit cab79611b07c9eb. Update tests accordingly.
    
    Fixes: cab79611b07c9ebb795c6f65562ef72ba77550b1
    Closes: https://bugs.gentoo.org/934150
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 eclass/tests/toolchain-funcs.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)