Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build errors with latest bpf_conformance update #544

Conversation

dthaler
Copy link
Contributor

@dthaler dthaler commented Dec 11, 2023

This PR does what dependabot tried to do in #543 but fixes the build errors that PR encountered.

The elfio line added is due to a dependency change inside bpf_conformance where src depends on elfio.

The execute_process line change is because a build error has been there since #519 where https://github.com/vbpf/ebpf-verifier/actions/runs/6275811448/job/17044135123 for example shows (starting at line 27 in the log):

Unknown command: 'ARGS'
NuGet.Commands.CommandException: Unknown command: 'ARGS'
at NuGet.CommandLine.CommandManager.GetCommand(String commandName)
at NuGet.CommandLine.CommandLineParser.ParseCommandLine(IEnumerable`1 commandLineArgs)
at NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args)
Feeds used:
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

execute_process should not have ARGS whereas
exec_program does.

Once this PR is merged into #543 then the checks for that PR should pass, allowing it to be merged.

@dthaler
Copy link
Contributor Author

dthaler commented Dec 11, 2023

Also filed Alan-Jowett/bpf_conformance#162 to get bpf_conformance updated so the add_subdirectory would not be needed after that is fixed.

The elfio subdirectory addition is due to a change in bpf_conformance

The execute_progress line change is because a build error has been there since
vbpf#519 where
https://github.com/vbpf/ebpf-verifier/actions/runs/6275811448/job/17044135123
for example shows (starting at line 27 in the log):

Unknown command: 'ARGS'
NuGet.Commands.CommandException: Unknown command: 'ARGS'
   at NuGet.CommandLine.CommandManager.GetCommand(String commandName)
   at NuGet.CommandLine.CommandLineParser.ParseCommandLine(IEnumerable`1 commandLineArgs)
   at NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args)
Feeds used:
  https://api.nuget.org/v3/index.json
  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

[execute_process](https://cmake.org/cmake/help/latest/command/execute_process.html)
should not have ARGS whereas
[exec_program](https://cmake.org/cmake/help/latest/command/exec_program.html)
does.

Signed-off-by: Dave Thaler <[email protected]>
@dthaler dthaler force-pushed the dependabot/submodules/external/bpf_conformance-ab34094 branch from 38c660f to 9416ef5 Compare December 22, 2023 16:20
@elazarg elazarg merged commit e486a9c into vbpf:dependabot/submodules/external/bpf_conformance-ab34094 Dec 24, 2023
5 checks passed
dthaler added a commit to dthaler/ebpf-verifier that referenced this pull request Dec 25, 2023
This PR combines vbpf#543 and vbpf#544
Also removes a redundant inclusion of the elfio library

Signed-off-by: Dave Thaler <[email protected]>
elazarg pushed a commit that referenced this pull request Dec 26, 2023
This PR combines #543 and #544
Also removes a redundant inclusion of the elfio library

Signed-off-by: Dave Thaler <[email protected]>
Alan-Jowett pushed a commit to Alan-Jowett/ebpf-verifier that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants