After BuildRoot has updated QuickJS to version 2024-01-13, now QuickJS installs it's binaries under `/usr/local/bin` as opposed to `/usr/bin` (as it was before the update of QuickJS release). Apparently the BuildRoot `quickjs.mk` script uses `prefix=/usr`, but the latest QuickJS makefile seems to expect `PREFIX=/usr`. The following minor patch solves the issue: ~~~~ diff --git i/package/quickjs/quickjs.mk w/package/quickjs/quickjs.mk --- i/package/quickjs/quickjs.mk +++ w/package/quickjs/quickjs.mk @@ -22,25 +22,25 @@ define QUICKJS_BUILD_CMDS EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ all endef define QUICKJS_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ CROSS_PREFIX="$(TARGET_CROSS)" \ EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(STAGING_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef define QUICKJS_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ CROSS_PREFIX="$(TARGET_CROSS)" \ EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(TARGET_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef $(eval $(generic-package)) ~~~~
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 Please open an issue there. Thank you!