Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14370

Error of 'make clean' for Solaris 11

    XMLWordPrintable

    Details

    • 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

        Attachments

          Activity

            People

            Assignee:
            MVekslers Michael Veksler
            Reporter:
            MVekslers Michael Veksler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: