Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 842060 - dev-libs/flatbuffers-2.0.6 fails tests
Summary: dev-libs/flatbuffers-2.0.6 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://github.com/google/flatbuffers...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: 849089
  Show dependency tree
 
Reported: 2022-05-02 06:06 UTC by Agostino Sarubbo
Modified: 2022-06-01 21:29 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,96.85 KB, text/plain)
2022-05-02 06:06 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,1.14 KB, text/plain)
2022-05-02 06:06 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)