Skip to content

Minikube build fails #21967

@fstab

Description

@fstab

What Happened?

I'm following the instructions here to build the Minikube ISO: https://minikube.sigs.k8s.io/docs/contrib/building/iso/.

My final goal is to enable eBPF to overcome #21944, but I can't even get the vanilla Minikube release to build.

Here's what I tried:

I checked out the latest upstream release tag v1.37.0:

git clone https://github.com/kubernetes/minikube.git
cd minikube
git checkout -b v1.37.0 v1.37.0

Then, I followed the documentation for building in Docker for x86:

make buildroot-image
make minikube-iso-x86_64

The build fails (see attached log file for full output):

make[5]: *** [Makefile:2871: gl_linkedhash_list.o] Error 1
make[5]: *** [Makefile:2871: gl_linked_list.o] Error 1
make[5]: *** [Makefile:2871: clean-temp.o] Error 1
make[5]: Leaving directory '/home/fabian/src/github.com/kubernetes/minikube/out/buildroot/output-x86_64/build/host-m4-1.4.19/lib'
make[4]: *** [Makefile:2481: all] Error 2
make[4]: Leaving directory '/home/fabian/src/github.com/kubernetes/minikube/out/buildroot/output-x86_64/build/host-m4-1.4.19/lib'
make[3]: *** [Makefile:2018: all-recursive] Error 1
make[3]: Leaving directory '/home/fabian/src/github.com/kubernetes/minikube/out/buildroot/output-x86_64/build/host-m4-1.4.19'
make[2]: *** [Makefile:1974: all] Error 2
make[2]: Leaving directory '/home/fabian/src/github.com/kubernetes/minikube/out/buildroot/output-x86_64/build/host-m4-1.4.19'
make[1]: *** [package/pkg-generic.mk:273: /home/fabian/src/github.com/kubernetes/minikube/out/buildroot/output-x86_64/build/host-m4-1.4.19/.stamp_built] Error 2
make[1]: Leaving directory '/home/fabian/src/github.com/kubernetes/minikube/out/buildroot'
make: *** [Makefile:305: minikube-iso-x86_64] Error 2
rm deploy/iso/minikube-iso/board/minikube/x86_64/rootfs-overlay/usr/bin/auto-pause

Attach the log file

build.log.gz

Operating System

Redhat/Fedora

Driver

KVM2

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