[ZBX-14370] Error of 'make clean' for Solaris 11 Created: 2018 May 17  Updated: 2024 Apr 10  Resolved: 2018 Jul 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G), Proxy (P), Server (S)
Affects Version/s: None
Fix Version/s: 3.4.12rc1, 4.0.0alpha9, 4.0 (plan)

Type: Incident report Priority: Trivial
Reporter: Michael Veksler Assignee: Michael Veksler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 11


Issue Links:
Sub-task
Team: Team A
Team: Team A
Sprint: Sprint 36, Sprint 37, Sprint 38
Story Points: 0.5

 Description   

Error during 'make clean' for Solaris 11

zabbix@solaris11:~/workspace/trunk$ gmake clean
Making clean in upgrades
gmake[1]: Entering directory `/export/home/zabbix/workspace/trunk/upgrades'
gmake[1]: Nothing to be done for `clean'.
...
Making clean in .
gmake[2]: Entering directory `/export/home/zabbix/workspace/trunk/src'
rm -rf libs/zbxcunit/cu_modules.h
for file in `grep "embedded unit tests - remove before commit" * -rl | grep "\.c$"`; do         \
        sed -i /"embedded unit tests - remove before commit"/d $file;   \
done
grep: can't open -rl
gmake[2]: *** [clean-test] Error 1
gmake[2]: Leaving directory `/export/home/zabbix/workspace/trunk/src'
gmake[1]: *** [clean-recursive] Error 1
gmake[1]: Leaving directory `/export/home/zabbix/workspace/trunk/src'
gmake: *** [clean-recursive] Error 1

default grep for Solaris does not support option -r

zabbix@solaris11:~/workspace/trunk$ grep -h
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .

 Expected:
Successful execution of make clean



 Comments   
Comment by Michael Veksler [ 2018 Jul 11 ]

Available in:

  • 3.4.12rc1 r82627
  • 4.0.0alpha9 (trunk) r82628
Generated at Thu Apr 18 17:04:36 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.