Skip to content

Build Fails on Ubuntu 24.04 ARM: "Makefile.linux: No such file or directory" #6890

@yagaC64

Description

@yagaC64

Describe the Bug

The Webots build system fails immediately on a clean installation of Ubuntu 24.04 for ARM architectures. Any make command fails because it cannot find Makefile.linux, which appears to be a generated file. The build process seems to have a circular dependency where even the clean and configuration steps require this file to exist before they can run.

Steps to Reproduce

Use a fresh installation of Ubuntu 24.04 (ARM aarch64), for example, in a VM on Apple Silicon.

Install all documented build dependencies for Ubuntu.

Run git clone --recursive https://github.com/cyberbotics/webots.git

cd webots

Run any make command (e.g., make, make clean, make configure).

See error: make[1]: Makefile.linux: No such file or directory

Expected behavior

The make command should trigger the project configuration, generate the necessary Makefile.linux, and proceed with downloading dependencies and compiling the source code.

Screenshots

Not applicable, as this is a command-line build error.

System

Operating System: Linux Ubuntu 24.04 LTS (Noble Numbat) for ARM64/aarch64

Virtualization: Running in a VM on an Apple Silicon (ARM) host.

Graphics Card: Virtualized GPU

Additional context

The build fails at the very first step (webots_dependencies). We tried numerous workarounds, including manually creating the dependencies directory, but the root cause is always the missing Makefile.linux file, which the build system itself fails to generate. This indicates the build scripts are not compatible with this modern OS/architecture combination out-of-the-box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions