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

pts/build-linux-kernel: fails with "gelf.h: No such file or directory" #766

Open
T-X opened this issue Dec 8, 2023 · 0 comments
Open

pts/build-linux-kernel: fails with "gelf.h: No such file or directory" #766

T-X opened this issue Dec 8, 2023 · 0 comments

Comments

@T-X
Copy link

T-X commented Dec 8, 2023

Trying to run the following on Debian bookworm fails as follows:

$ ./phoronix-test-suite benchmark pts/build-linux-kernel
[...]
Timed Linux Kernel Compilation 6.1:
    pts/build-linux-kernel-1.15.0 [Build: defconfig]
    Test 1 of 1
    Estimated Trial Run Count:    3                      
    Estimated Time To Completion: 25 Minutes [20:30 UTC] 
        Running Pre-Test Script @ 20:05:35
        Started Run 1 @ 20:06:12
        The test quit with a non-zero exit status.
        Running Interim Test Script @ 20:06:25
        Started Run 2 @ 20:06:35
        The test quit with a non-zero exit status.
        Running Interim Test Script @ 20:06:41
        Started Run 3 @ 20:06:52
        The test quit with a non-zero exit status.
        E: linux-6.1/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
        Running Post-Test Script @ 20:06:58

And this fixed it:

$ apt-get install libelf-dev

So phoronix-test-suite should probably test this in advance and should include it in its "The following dependencies are needed and will be installed:" list?

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

No branches or pull requests

1 participant