kernelci / kernelci/tuxmake

sccache and Perf: Found argument '-I' which wasn't expected

Open
#198 1 comment 0 reactions 0 assignees View on GitHub
gitlab issue
Dominant language
Python
Stars
6
Forks
6
Avg merge
6h 1m
Merged PRs (30d)
3

Description

***In GitLab by @mrchapp on Feb 23, 2023, 21:51 GMT:***

As can be seen here [1], while building Perf from Linux 5.10.y:
```
[...]
LD /home/tuxbuild/.cache/tuxmake/builds/4/build/libtraceevent-in.o
LINK /home/tuxbuild/.cache/tuxmake/builds/4/build/libtraceevent.a
find: 'arm-linux-gnueabihf-gcc/arch': No such file or directory
error: Found argument '-I' which wasn't expected, or isn't valid in this context

USAGE:
sccache [FLAGS] [OPTIONS] [cmd]...

For more information try --help
MKDIR /home/tuxbuild/.cache/tuxmake/builds/4/build/pmu-events/
MKDIR /home/tuxbuild/.cache/tuxmake/builds/4/build/pmu-events/
HOSTCC /home/tuxbuild/.cache/tuxmake/builds/4/build/pmu-events/jsmn.o
HOSTCC /home/tuxbuild/.cache/tuxmake/builds/4/build/pmu-events/json.o
error: Found argument '-I' which wasn't expected, or isn't valid in this context

USAGE:
sccache [FLAGS] [OPTIONS] [cmd]...

For more information try --help
MKDIR /home/tuxbuild/.cache/tuxmake/builds/4/build/pmu-events/
HOSTCC /home/tuxbuild/.cache/tuxmake/builds/4/build/pmu-events/jevents.o
PERF_VERSION = 5.4.233-rc2
DESCEND plugins
[...]
```

[1] https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/builds/2M8yTNKD4IJo5HGQwEBVcuUW0B2

*Migrated from GitLab: https://gitlab.com/Linaro/tuxmake/-/issues/198*

Contributor guide

Open the contributing guide

Research direction

Start with the linked TuxSuite build log and trace the sccache invocation used while building Linux Perf. Reproduce the reported '-I' argument failure in the same build context, then verify that the Perf build completes without the sccache error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.