Skip to content

Initialization script fails to run on ubuntu 24.04 system #667

Closed
@cfc4n

Description

@cfc4n

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions