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

Bug 842060

Summary: dev-libs/flatbuffers-2.0.6 fails tests
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: audvare, sam
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/google/flatbuffers/issues/7282
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 849089    
Attachments: build.log
1-LastTest.log

Description Agostino Sarubbo gentoo-dev 2022-05-02 06:06:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/flatbuffers-2.0.6 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-02 06:06:46 UTC
CC'ing also the author of the commit (a64de84916ff1c28df4a93f903235d08276258ab)
Comment 2 Agostino Sarubbo gentoo-dev 2022-05-02 06:06:48 UTC
Created attachment 775847 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2022-05-02 06:06:49 UTC
Created attachment 775850 [details]
1-LastTest.log

1-LastTest.log
Comment 4 Andrew Udvare 2022-05-02 07:40:04 UTC
This is caused by the build directory not being in the root of the project. Upstream issue introduced by 2.0.6.

cd flatbuffers
cmake -G Ninja .
ninja
./flattests

ALL TESTS PASSED
Comment 5 Andrew Udvare 2022-05-02 08:01:27 UTC
https://github.com/google/flatbuffers/issues/7282
Comment 6 Larry the Git Cow gentoo-dev 2022-06-01 21:26:52 UTC
The bug has been closed via the following commit(s):

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

commit 27551e4e287c8d7675f4fdf3cd24683eaf1af512
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-06-01 21:26:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-06-01 21:26:40 +0000

    dev-libs/flatbuffers: out-of-source build breaks tests, disable them
    
    Closes: https://bugs.gentoo.org/842060
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/flatbuffers/flatbuffers-2.0.6.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)