Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726012 - sys-devel/smatch-1.60: calls commands that do not exist during tests
Summary: sys-devel/smatch-1.60: calls commands that do not exist during tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 06:55 UTC by Agostino Sarubbo
Modified: 2021-04-12 06:38 UTC (History)
0 users

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


Attachments
build.log (build.log,170.15 KB, text/plain)
2020-05-29 06:55 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 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
"""