Skip to content

zabbix: fix no-configure build variant#28495

Merged
mhei merged 1 commit intoopenwrt:masterfrom
mhei:fix-zabbix-no-configure-builds
Feb 6, 2026
Merged

zabbix: fix no-configure build variant#28495
mhei merged 1 commit intoopenwrt:masterfrom
mhei:fix-zabbix-no-configure-builds

Conversation

@mhei
Copy link
Copy Markdown
Member

@mhei mhei commented Feb 4, 2026

📦 Package Details

Maintainer: @danielfdickinson

Description:

When selecting only a single package of "no-configure" build variant, e.g. CONFIG_PACKAGE_zabbix-frontend-server=y
but not any other zabbix package, then the build fails. The sources are not extracted and the install fails finally with:

make[4]: Entering directory '/srv/openwrt/openwrt-2.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[4]: *** No rule to make target 'install'.  Stop.
make[4]: Leaving directory '/srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[3]: *** [Makefile:522: /srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22/.built] Error 2

This PR fixes this by always running the standard Prepare stage, but skip the Install one when nothing needs to be compiled.


🧪 Run Testing Details

not run tested, addresses only a build issue


✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

When selecting only a package of "no-configure" build variant, e.g.
CONFIG_PACKAGE_zabbix-frontend-server=y
but not any other zabbix package, then the build fails.
The sources are not extracted and the install fails finally with:

make[4]: Entering directory '/srv/openwrt/openwrt-2.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[4]: *** No rule to make target 'install'.  Stop.
make[4]: Leaving directory '/srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[3]: *** [Makefile:522: /srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22/.built] Error 2

This PR fixes this by always running the standard Prepare stage,
but skip the Install one when nothing needs to be compiled.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
@danielfdickinson
Copy link
Copy Markdown
Contributor

@mhei Thank you for this. I misunderstood the stages (and missed checking that build configuration).

@danielfdickinson
Copy link
Copy Markdown
Contributor

I'll make sure I didn't get that mistake into the 25.12 branch. If not, I think I'm going to not cherry-pick anything more for 25.12 (I think I got the most important ones for 25.12; the update to 7.0.22, the server initscript, and fixes for mistakes in getting there).

@danielfdickinson
Copy link
Copy Markdown
Contributor

No such luck. It is present in a previous cherry-pick. I'll work on taking the time to make sure the series on master to this point can be safely cherry-picked (and fix if/where necessary).

@mhei mhei merged commit 849db73 into openwrt:master Feb 6, 2026
11 of 12 checks passed
@mhei mhei deleted the fix-zabbix-no-configure-builds branch February 6, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants