Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829668 - dev-libs/tree-sitter-c-0.20.1 fails to compile: clang-13: error: no such file or directory: libtree-sitter-c.so.13
Summary: dev-libs/tree-sitter-c-0.20.1 fails to compile: clang-13: error: no such file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-19 22:16 UTC by Agostino Sarubbo
Modified: 2021-12-23 14:24 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,46.42 KB, text/plain)
2021-12-19 22:16 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 2021-12-19 22:16:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/tree-sitter-c-0.20.1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses clang as a compiler and lld as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-19 22:16:37 UTC
Created attachment 759832 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-19 22:16:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


clang-13: error: no such file or directory: 'libtree-sitter-c.so.13'
clang-13: error: no such file or directory: 'libtree-sitter-c.so.13'
Comment 3 Larry the Git Cow gentoo-dev 2021-12-23 14:24:53 UTC
The bug has been closed via the following commit(s):

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

commit 36fd27f6090b1cb0c96488b8f0e9b4fba5b9472d
Author:     Matthew Smith <matt@offtopica.uk>
AuthorDate: 2021-12-20 17:32:15 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2021-12-23 14:24:35 +0000

    tree-sitter-grammar.eclass: Fix compatibility with lld
    
    -soname <soname> is only accepted by GNU ld, but --soname=<soname> is
    accepted by both GNU ld and LLVM lld.
    
    Closes: https://bugs.gentoo.org/829667
    Closes: https://bugs.gentoo.org/829668
    Closes: https://bugs.gentoo.org/829669
    Closes: https://bugs.gentoo.org/829670
    Closes: https://bugs.gentoo.org/829671
    Closes: https://bugs.gentoo.org/829672
    Closes: https://bugs.gentoo.org/829673
    Closes: https://bugs.gentoo.org/829674
    Closes: https://bugs.gentoo.org/829675
    Closes: https://bugs.gentoo.org/829676
    Closes: https://bugs.gentoo.org/829677
    Signed-off-by: Matthew Smith <matt@offtopica.uk>
    Closes: https://github.com/gentoo/gentoo/pull/23436
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 eclass/tree-sitter-grammar.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)