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

构建错误 #7

Open
Zhaodaidai opened this issue Mar 21, 2024 · 4 comments
Open

构建错误 #7

Zhaodaidai opened this issue Mar 21, 2024 · 4 comments

Comments

@Zhaodaidai
Copy link

image

make[6]: *** [Makefile:2032:.] 错误 2
make[5]: *** [Makefile:359:__build_one_by_one] 错误 2
make[4]: *** [debian/rules:10:build-arch] 错误 2
dpkg-buildpackage: 错误: debian/rules binary subprocess returned exit status 2
make[3]: *** [scripts/Makefile.package:139:bindeb-pkg] 错误 2
make[2]: *** [Makefile:1659:bindeb-pkg] 错误 2
make[1]: *** [/opt/git/linux-6.5/Makefile:359:__build_one_by_one] 错误 2
make: *** [Makefile:234:__sub-make] 错误 2

I have installed dwarves and also deleted 'debian/certs/debian-uefi-certs.pem' but this error persists
Tried kernel builds for 6.3 and 6.5 both failed

@groundsada
Copy link

If you'd like, I forked the repo, applied a fix and built the kernels:
https://github.com/groundsada/linux-acs-override

@benbaker76
Copy link
Owner

If you'd like, I forked the repo, applied a fix and built the kernels: https://github.com/groundsada/linux-acs-override

Feel free to make a pull request

@fanguohao
Copy link

fanguohao commented Apr 14, 2024

I think I solved this problem, and built 6.5-acs-patched kernel completed on ubuntu 22.04 lts. I have update the script on my repository here: https://github.com/fanguohao/ubuntu-acs-override-patch. Here is the main soluton:

  1. dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
    scripts/config --disable SYSTEM_TRUSTED_KEYS

https://www.mail-archive.com/kernelnewbies@kernelnewbies.org/msg21536.html

  1. SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
    chang kernel configuration (.config) as follows:

CONFIG_MODULE_COMPRESS_NONE=y
and comment this line # CONFIG_MODULE_COMPRESS_ZSTD is not set

https://askubuntu.com/questions/1495051/ssl-error-building-signed-kernel

@benbaker76
Copy link
Owner

This should be fixed in the latest commit

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

4 participants