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

Failed to generate kernel headers on thirteen branch #122

Closed
VTVishwanath opened this issue Nov 14, 2023 · 3 comments
Closed

Failed to generate kernel headers on thirteen branch #122

VTVishwanath opened this issue Nov 14, 2023 · 3 comments

Comments

@VTVishwanath
Copy link

VTVishwanath commented Nov 14, 2023

I am building unofficially Superior OS for RMX1851 (Realme 3 Pro with sdm710 chipset). I am using thirteen branch.
This is the device tree used
This is the kernel tree used
This is the device vendor tree used

Getting this strange error.
The failing command was run inside an sbox sandbox in temporary directory.

Upon investigation, found that some shell commands are not running correctly and its improper in the sandbox environment.

[  0% 189/84528] //vendor/superior/build/soong:generated_kernel_includes generate
FAILED: /mnt/data/sos13/out/soong/.intermediates/vendor/superior/build/soong/generated_kernel_includes/gen/.dummy_dep
/mnt/data/sos13/out/host/linux-x86/bin/sbox --sandbox-path /mnt/data/sos13/out/soong/.temp --output-dir /mnt/data/sos13/out/soong/.intermediates/v
endor/superior/build/soong/generated_kernel_includes/gen --manifest /mnt/data/sos13/out/soong/generator
The failing command was run inside an sbox sandbox in temporary directory
/mnt/data/sos13/out/soong/.temp/sbox/5368bc7f4bb5692e08f159ae80248e321c46a584
The failing command line can be found in
/mnt/data/sos13/out/soong/.temp/sbox/5368bc7f4bb5692e08f159ae80248e321c46a584/sbox_command.0.bash
/mnt/data/sos13/out/soong/.temp/sbox/5368bc7f4bb5692e08f159ae80248e321c46a584/sbox_command.0.bash: line 1: syntax error near unexpected token `&&'
/mnt/data/sos13/out/soong/.temp/sbox/5368bc7f4bb5692e08f159ae80248e321c46a584/sbox_command.0.bash: line 1: ` && touch /mnt/data/sos13/out/soong/.t
emp/sbox/5368bc7f4bb5692e08f159ae80248e321c46a584/out/.dummy_dep'
exit status 2
[  0% 197/84528] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 clang++ BitcodeWriter.cpp [linux_glibc]
frameworks/compile/slang/BitWriter_3_2/BitcodeWriter.cpp:646:12: warning: variable 'MDLocationAbbrev' set but not used [-Wunused-but-set-variable]
  unsigned MDLocationAbbrev = 0;
           ^
1 warning generated.
[  0% 198/84528] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 clang++ BitcodeWriter.cpp [arm]
frameworks/compile/slang/BitWriter_3_2/BitcodeWriter.cpp:646:12: warning: variable 'MDLocationAbbrev' set but not used [-Wunused-but-set-variable]
  unsigned MDLocationAbbrev = 0;
           ^
1 warning generated.
09:19:16 ninja failed with: exit status 1

#### failed to build some targets (01:22 (mm:ss)) ####

Getting this error while building. I checked this issue tread but all the kernel commits already present in my kernel tree/source. Still getting the error.
I was unable to figure out the solution.

Anyone faced this issue? Help would be appreciated.

@VTVishwanath VTVishwanath changed the title The failing command was run inside an sbox sandbox in temporary directory on thirteen branch Failed to generate kernel headers on thirteen branch Nov 14, 2023
@VTVishwanath
Copy link
Author

I think this is caused by [this PR] (#120)
So closed that PR.

@VTVishwanath
Copy link
Author

This happen due to [this PR] (#122).

So I reverted back this PR. BUt after that [I got different error.] (#123)

@VTVishwanath
Copy link
Author

This happen due to [this PR] (#122).

So I reverted back this PR. BUt after that [I got different error.] (#123)

So closing this issue.

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