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

Bug 726012

Summary: sys-devel/smatch-1.60: calls commands that do not exist during tests
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-29 06:55:51 UTC
This is an auto-filed bug because sys-devel/smatch calls commands that do not exist.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-29 06:55:58 UTC
Created attachment 642440 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-29 21:34:25 UTC
Why it's a problem? They are not called from ebuild cointext but as part of test.

"""
>>> Test phase: sys-devel/smatch-1.60
make -j4 PREFIX=/usr V=1 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc LD=$(CC) PKG_CONFIG=x86_64-pc-linux-gnu-pkg-config HAVE_GTK2=no HAVE_LLVM=no HAVE_LIBXML=no check 
...
--- backend/arithmetic-ops.c.error.expected	2020-05-28 19:42:07.527952668 +0200
+++ backend/arithmetic-ops.c.error.got	2020-05-28 19:42:07.551952667 +0200
@@ -0,0 +1,5 @@
+.././sparsec: line 35: .././sparse-llvm: No such file or directory
+.././sparsec: line 37: llvm-config: command not found
+.././sparsec: line 39: as: command not found
+.././sparsec: line 39: /llc: No such file or directory
"""