[ZBX-20085] Agent build failed in Solaris 11 sparc Created: 2021 Oct 14  Updated: 2024 Apr 10  Resolved: 2021 Nov 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 6.0.0alpha5
Fix Version/s: 5.4.8rc1, 6.0.0alpha6, 6.0 (plan)

Type: Patch request Priority: Trivial
Reporter: Yuuki Enomoto Assignee: Vladislavs Sokurenko
Resolution: Fixed Votes: 0
Labels: compilation, solaris, sparc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 11 sparc


Attachments: Text File fix-solaris-build.patch    
Issue Links:
Causes
caused by ZBX-20001 Zabbix Server crashes on Sparc Solari... Closed
Team: Team A
Sprint: Sprint 81 (Oct 2021), Sprint 82 (Nov 2021)
Story Points: 0.5

 Description   

Steps to reproduce:

In Solaris 11 sparc

  1. Get 6.0.0alpha5 source
  2. configure
  3. make
  4. Build failed at compiling src/libs/zbxcrypto/sha512crypt.c

Result:

gcc -DHAVE_CONFIG_H -I. -I../../../include    -I/usr/local/openssl-1.1.1l//include -m64 -g -O2 -DZBX_OLD_SOLARIS  -I/usr/local/pcre-8.44/include/ -MT libzbxcrypto_a-sha512crypt.o -MD -MP -MF .deps/libzbxcrypto_a-sha512crypt.Tpo -c -o libzbxcrypto_a-sha512crypt.o `test -f 'sha512crypt.c' || echo './'`sha512crypt.c
sha512crypt.c:16:30: machine/endian.h: No such file or directory

Expected:
Build successed.

Fix patch:

I attached.



 Comments   
Comment by Vladislavs Sokurenko [ 2021 Oct 20 ]

Fixed in pull request feature/ZBX-20085-5.4

Comment by Vladislavs Sokurenko [ 2021 Nov 04 ]

Fixed in:

Generated at Mon Mar 03 12:52:34 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.