Edit:
Root cause was some missing dependencies - new machine/install of Fedora.
Missing deps were:
perl-FindBin
patch
perl-File-Copy
perl-File-Compare
perl-Thread-Queue
Original post follows:
Tried to build an image with local imagebuilder, seems to be hitting the same problem from here, but the workaround doesn't help now:
https://forum.openwrt.org/t/openwrt-imagebuilder-19-07-7-no-profiles/90074/3
$ make image PROFILE=buffalo_wzr-hp-ag300h PACKAGES="htop luci-ssl mtr tcpdump luci-app-opkg wpad-mbedtls -wpad-basic-mbedtls"
Profile "buffalo_wzr-hp-ag300h" does not exist!
Use "make info" to get a list of available profile names.
make[1]: *** [Makefile:238: _check_profile] Error 1
make: *** [Makefile:260: image] Error 2
$ make info
Current Target: "ath79/generic"
Current Architecture: "mips"
Current Revision: "r23630-842932a63d"
Default Packages: base-files ca-bundle dropbear fstools libc libgcc libustream-mbedtls logd mtd netifd opkg uci uclient-fetch urandom-seed urngd busybox procd procd-ujail procd-seccomp kmod-gpio-button-hotplug swconfig kmod-ath9k uboot-envtools wpad-basic-mbedtls dnsmasq firewall4 nftables kmod-nft-offload odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe
Available Profiles:
(no profiles output)
$ ls -l .profiles.mk
-rw-r--r--. 1 d d 0 Nov 15 17:20 .profiles.mk
$ make .profiles.mk
make: Nothing to be done for '/home/d/openwrt/imagebuilder/23/23.05.2/ath79/openwrt-imagebuilder-23.05.2-ath79-generic.Linux-x86_64/.profiles.mk'.
25.03.0 didn't have this problem.