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

Initialization script fails to run on ubuntu 24.04 system #667

Closed
cfc4n opened this issue Nov 16, 2024 · 0 comments · Fixed by #668
Closed

Initialization script fails to run on ubuntu 24.04 system #667

cfc4n opened this issue Nov 16, 2024 · 0 comments · Fixed by #668
Labels
🐞 bug Something isn't working

Comments

@cfc4n
Copy link
Member

cfc4n commented Nov 16, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. exec /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/ecapture/master/builder/init_env.sh)"
scripts/Kconfig.include:39: C compiler 'x86_64-linux-gnu-gcc' not found
make[3]: *** [scripts/kconfig/Makefile:85: syncconfig] Error 1
make[2]: *** [Makefile:692: syncconfig] Error 2
make[1]: *** [/usr/src/linux-source-6.8.0/Makefile:793: include/config/auto.conf.cmd] Error 2
make[1]: *** [include/config/auto.conf.cmd] Deleting file 'include/generated/rustc_cfg'
make[1]: *** [include/config/auto.conf.cmd] Deleting file 'include/generated/autoconf.h'
make: *** [Makefile:240: __sub-make] Error 2
In file included from scripts/selinux/mdp/mdp.c:22:
./include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
    5 | #include <generated/autoconf.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [scripts/Makefile.host:116: scripts/selinux/mdp/mdp] Error 1
make[3]: *** [scripts/Makefile.build:481: scripts/selinux/mdp] Error 2
make[2]: *** [scripts/Makefile.build:481: scripts/selinux] Error 2
make[1]: *** [/usr/src/linux-source-6.8.0/Makefile:1185: scripts] Error 2
make: *** [Makefile:240: __sub-make] Error 2
ls: cannot access './linux-source-6.8.0': No such file or directory
Ubuntu clang version 18.1.3 (1ubuntu1)
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Linux Server/Android (please complete the following information):

  • OS: Ubuntu 24.04
  • Kernel Version: Linux gojue 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:35:45 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
  • Version: master (v0.8.9)

Additional context
Add any other context about the problem here.

@cfc4n cfc4n added the 🐞 bug Something isn't working label Nov 16, 2024
cfc4n added a commit that referenced this issue Nov 16, 2024
Remove the make compilation command from the installation of the development environment.

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
cfc4n added a commit that referenced this issue Nov 16, 2024
Remove the make compilation command from the installation of the development environment.

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant