[MacPorts] #44816: yara @1.7: update to 3.3.0

MacPorts noreply at macports.org
Mon Feb 8 11:43:17 PST 2016


#44816: yara @1.7: update to 3.3.0
------------------------+--------------------------
  Reporter:  jul_bsd@…  |      Owner:  a.schuster@…
      Type:  update     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  fixed      |   Keywords:  haspatch
      Port:  yara       |
------------------------+--------------------------

Comment (by nietzsche@…):

 Actually it won't build on:

 {{{
 zarathustra:lltdscan nietzsche$ uname -a
 Darwin zarathustra.local 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18
 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64
 }}}

 it bails with following errors:

 {{{
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -O3 -Wall -Wno-deprecated-declarations -std=gnu99
 -I./include -fvisibility=hidden -pipe -Os -std=gnu89 -arch x86_64
 -D_THREAD_SAFE -MT ahocorasick.lo -MD -MP -MF .deps/ahocorasick.Tpo -c
 ahocorasick.c -o ahocorasick.o >/dev/null 2>&1
 In file included from exec.c:34:
 /opt/local/include/yara.h:39:9: warning: 'LEX_BUF_SIZE' macro redefined
 #define LEX_BUF_SIZE                            1024
         ^
 ./include/yara/limits.h:45:9: note: previous definition is here
 #define LEX_BUF_SIZE                    8192
         ^
 In file included from exec.c:34:
 /opt/local/include/yara.h:80:9: warning: 'ERROR_UNDEFINED_STRING' macro
 redefined
 #define ERROR_UNDEFINED_STRING                  10
         ^
 ./include/yara/error.h:43:9: note: previous definition is here
 #define ERROR_UNDEFINED_STRING                  19
         ^
 In file included from exec.c:34:
 /opt/local/include/yara.h:81:9: warning: 'ERROR_UNDEFINED_IDENTIFIER'
 macro redefined
 #define ERROR_UNDEFINED_IDENTIFIER              11
         ^
 ./include/yara/error.h:44:9: note: previous definition is here
 #define ERROR_UNDEFINED_IDENTIFIER              20
         ^
 In file included from exec.c:34:
 /opt/local/include/yara.h:82:9: warning: 'ERROR_COULD_NOT_OPEN_FILE' macro
 redefined
 #define ERROR_COULD_NOT_OPEN_FILE               12
         ^
 ./include/yara/error.h:28:9: note: previous definition is here
 #define ERROR_COULD_NOT_OPEN_FILE               3
         ^
 In file included from exec.c:34:
 /opt/local/include/yara.h:83:9: warning:
 'ERROR_INVALID_REGULAR_EXPRESSION' macro redefined
 #define ERROR_INVALID_REGULAR_EXPRESSION        13
         ^
 ./include/yara/error.h:33:9: note: previous definition is here
 #define ERROR_INVALID_REGULAR_EXPRESSION        9
         ^
 In file included from exec.c:34:
 /opt/local/include/yara.h:84:9: warning: 'ERROR_SYNTAX_ERROR' macro
 redefined
 #define ERROR_SYNTAX_ERROR                      14
         ^
 }}}

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


More information about the macports-tickets mailing list