make 4.4.1 is showing some strange behavior when it comes to handling command line variables. Buildroot passes 'install_root' command line variable to the glibc build, this variable is processed in : buildroot-2024.02.1/output/build/glibc-2.38-44-gd37c2b20a4787463d192b32041c3406c2bd91de0/build/config.make: ... install_root = $(DESTDIR) ... DESTDIR is empty With make 4.4.1, install_root gets overridden in config.make With make 4.2.1, install_root DOES NOT get overridden Due to this overriding, glibc tries to install its artifacts in '/' which fails Farhan
Just adding this for reference: make command-line variables cannot be overridden with simple assignment: https://www.gnu.org/software/make/manual/html_node/Overriding.html
Thank you for your report. The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker: https://gitlab.com/buildroot.org/buildroot/-/issues We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker. Thank you!