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

Can't locate _h2ph_pre.ph in @INC #8

Open
eserte opened this issue Oct 9, 2024 · 1 comment
Open

Can't locate _h2ph_pre.ph in @INC #8

eserte opened this issue Oct 9, 2024 · 1 comment

Comments

@eserte
Copy link

eserte commented Oct 9, 2024

On some of my smokers the test suite fails:

Output from './Build test':

Hexadecimal number > 0xffffffff non-portable at t/00_ebpf_asm.t line 128.
t/00_ebpf_asm.t ................ ok
Can't locate _h2ph_pre.ph in @INC (did you run h2ph?) (@INC entries checked: lib /home/cpansand/.cpan/build/2024100413/Sys-Ebpf-0.03-0/blib/arch /home/cpansand/.cpan/build/2024100413/Sys-Ebpf-0.03-0/blib/lib /usr/perl5.40.0/lib/site_perl/5.40.0/aarch64-freebsd /usr/perl5.40.0/lib/site_perl/5.40.0 /usr/perl5.40.0/lib/5.40.0/aarch64-freebsd /usr/perl5.40.0/lib/5.40.0 .) at lib/Sys/Ebpf/Syscall/syscall.ph line 1.
Compilation failed in require at lib/Sys/Ebpf/Syscall.pm line 8.
Compilation failed in require at lib/Sys/Ebpf/Map.pm line 20.
BEGIN failed--compilation aborted at lib/Sys/Ebpf/Map.pm line 20.
Compilation failed in require at t/01_ebpf_create_map.t line 9.
BEGIN failed--compilation aborted at t/01_ebpf_create_map.t line 9.
t/01_ebpf_create_map.t ......... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
... etc ...
@takehaya
Copy link
Owner

Thank you for your comment.
I think it's included in this code, but what kind of environment are you using? Can you check it?

https://github.com/takehaya/Sys-Ebpf/blob/9b8565188f0d391128af13941e8b009e0f7e6581/lib/Sys/Ebpf/Syscall/_h2ph_pre.ph

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

2 participants