[MacPorts] #43008: [update] nagios 3.5.0 -> 3.5.1/4.0.4

MacPorts noreply at macports.org
Sun Aug 17 18:29:15 PDT 2014


#43008: [update] nagios 3.5.0 -> 3.5.1/4.0.4
------------------------+----------------------
  Reporter:  jul_bsd@…  |      Owner:  markd@…
      Type:  update     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  haspatch
      Port:  nagios     |
------------------------+----------------------

Comment (by jul_bsd@…):

 * bump to 4. 0.8 as patch3
 * fail to build

 {{{
 /usr/bin/clang -Wall -pipe -Os -Os -arch x86_64 -arch x86_64
 -I/opt/local/include -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o
 runcmd.c:590:50: error: expression is not assignable
         if (asprintf(&env_string, "%s=%s", name, value) = -1) return -1;
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
 runcmd.c:592:9: warning: equality comparison result unused [-Wunused-
 comparison]
                 errno == ENOMEM;
                 ~~~~~~^~~~~~~~~
 runcmd.c:592:9: note: use '=' to turn this equality comparison into an
 assignment
                 errno == ENOMEM;
                       ^~
                       =
 1 warning and 1 error generated.
 make[2]: *** [runcmd.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43008#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list