[ZBX-22307] Zabbix FTBFS on OpenBSD Created: 2023 Feb 06 Updated: 2024 Dec 20 Resolved: 2023 Oct 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 6.4.0beta5, 6.4.0beta6 |
Fix Version/s: | 6.0.38rc1, 6.4.8rc1, 7.0.0alpha7, 7.0 (plan) |
Type: | Problem report | Priority: | Major |
Reporter: | Juris Lambda | Assignee: | Juris Lambda |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | 18h | ||
Original Estimate: | Not Specified | ||
Environment: |
OpenBSD 7.2 stable (i.e. 7.2 -release with follow-up patches) |
Issue Links: |
|
||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||
Sprint: | Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023) | ||||||||||||||||||||||||
Story Points: | 0.5 |
Description |
Given a simple build configuration: ./configure --enable-{agent,server,proxy} --with-postgresql --with-openssl --prefix=/usr the build fails due to the Makefile expanding to an invalid BSD make fragment: *** Prase error in /home/jxl/zabbix: Need an operator in 'tsdb_history_pk_upgrade_with_compression' (Makefile:1025) *** Prase error: Need an operator in 'tsdb_history_pk_upgrade_no_compression' (Makefile:1026) When adding primary key generating scripts in 0fa10834, two directories were added for storing the generated SQL snippets. This appears to be intended to set variables for the shell snippets installing the files, but that's not what really happens. This is immediately reproducible on OpenBSD 7.2, or a bmake or non gnu-compliant make that won't let these constructs hang. |
Comments |
Comment by Juris Lambda [ 2023 Oct 11 ] |
Available in:
|
Comment by Arturs Dancis [ 2023 Oct 19 ] |
Documentation updated: |
Comment by Juris Lambda [ 2024 Dec 19 ] |
Fixed in abb304c616, 07042b4b572, f451b1d7b59 for upcoming 6.0.38rc1. |