Skip to content

sudo ./ubuntu-mainline-kernel.sh -b v6.17.1 -p 6.17.1_-b -do # has errors #105

@rcpao

Description

@rcpao

There are some error messages while building from source (-b):

  1. /build.sh: line 374: debian.master/etc/kernelconfig: No such file or directory
  2. FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp.dwaWQcZfuO/amd64-config.flavour.generic'
  3. /bin/sh: 1: x86_64-linux-gnu-gcc-14: not found # even after 'sudo apt install gcc-14-x86-64-linux-gnu' and reboot:
    ...
    make ARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- HOSTCC=x86_64-linux-gnu-gcc-14 CC=x86_64-linux-gnu-gcc-14 RUSTC=rustc HOSTRUSTC=rustc RUSTFMT=rustfmt BINDGEN=bindgen KERNELRELEASE=6.17.1-061701- CONFIG_DEBUG_SECTION_MISMATCH=y KBUILD_BUILD_VERSION="202603240847" CFLAGS_MODULE="-DPKG_ABI=061701" PYTHON=python3 O=/home/source/debian/tmp-headers INSTALL_HDR_PATH=/home/source/debian/linux-libc-dev/usr -j4 headers_install
    make[1]: Entering directory '/home/source'
    make[2]: Entering directory '/home/source/debian/tmp-headers'
    HOSTCC scripts/basic/fixdep
    /bin/sh: 1: x86_64-linux-gnu-gcc-14: not found
    make[4]: *** [/home/source/scripts/Makefile.host:114: scripts/basic/fixdep] Error 127
    make[3]: *** [/home/source/Makefile:655: scripts_basic] Error 2
    make[3]: *** Waiting for unfinished jobs....
    ...
    SYSTBL arch/x86/include/generated/asm/syscalls_32.h
    make[2]: *** [/home/source/Makefile:248: __sub-make] Error 2
    make[2]: Leaving directory '/home/source/debian/tmp-headers'
    make[1]: *** [Makefile:248: __sub-make] Error 2
    make[1]: Leaving directory '/home/source'
    make: *** [debian/rules.d/2-binary-arch.mk:482: /home/source/debian/stamps/stamp-install-arch-headers] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Building meta package


Args.... buildmeta is no


Moving packages to debs folder


mv: cannot stat '/home/source/../.': No such file or directory


Cleaning git source tree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions