[Bug 212610] security/yara: build fails on FreeBSD 11 / 64bit

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 12 16:08:30 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212610

            Bug ID: 212610
           Summary: security/yara: build fails on FreeBSD 11 / 64bit
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wxs at FreeBSD.org
          Reporter: gerard_seibert at outlook.com
             Flags: maintainer-feedback?(wxs at FreeBSD.org)
          Assignee: wxs at FreeBSD.org

Created attachment 174688
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174688&action=edit
Build log

FreeBSD scorpio.seibercom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r296485: Tue
Mar  8 07:04:36 UTC 2016

The build process ends with this error message:

===>  Building for yara-3.5.0
/usr/bin/make  all-recursive
Making all in libyara
depbase=`echo modules/tests.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  
-I/usr/local/include  -O3 -Wall -Wno-deprecated-declarations -std=gnu99 
-I./include -fvisibility=hidden -O2 -pipe  -fstack-protector
-fno-strict-aliasing -D_THREAD_SAFE -pthread -DHASH_MODULE -MT modules/tests.lo
-MD -MP -MF $depbase.Tpo -c -o modules/tests.lo modules/tests.c && mv -f
$depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O3 -Wall
-Wno-deprecated-declarations -std=gnu99 -I./include -fvisibility=hidden -O2
-pipe -fstack-protector -fno-strict-aliasing -D_THREAD_SAFE -pthread
-DHASH_MODULE -MT modules/tests.lo -MD -MP -MF modules/.deps/tests.Tpo -c
modules/tests.c  -fPIC -DPIC -o modules/.libs/tests.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O3 -Wall
-Wno-deprecated-declarations -std=gnu99 -I./include -fvisibility=hidden -O2
-pipe -fstack-protector -fno-strict-aliasing -D_THREAD_SAFE -pthread
-DHASH_MODULE -MT modules/tests.lo -MD -MP -MF modules/.deps/tests.Tpo -c
modules/tests.c -o modules/tests.o >/dev/null 2>&1
depbase=`echo modules/pe.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  
-I/usr/local/include  -O3 -Wall -Wno-deprecated-declarations -std=gnu99 
-I./include -fvisibility=hidden -O2 -pipe  -fstack-protector
-fno-strict-aliasing -D_THREAD_SAFE -pthread -DHASH_MODULE -MT modules/pe.lo
-MD -MP -MF $depbase.Tpo -c -o modules/pe.lo modules/pe.c && mv -f $depbase.Tpo
$depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O3 -Wall
-Wno-deprecated-declarations -std=gnu99 -I./include -fvisibility=hidden -O2
-pipe -fstack-protector -fno-strict-aliasing -D_THREAD_SAFE -pthread
-DHASH_MODULE -MT modules/pe.lo -MD -MP -MF modules/.deps/pe.Tpo -c
modules/pe.c  -fPIC -DPIC -o modules/.libs/pe.o
ESC[1mmodules/pe.c:2280:3: ESC[0mESC[0;1;31merror: ESC[0mESC[1muse of
undeclared identifier
      'YR_MEMORY_BLOCK_ITERATOR'ESC[0m
  YR_MEMORY_BLOCK_ITERATOR* iterator = context->iterator;
ESC[0;1;32m  ^
ESC[0mESC[1mmodules/pe.c:2280:29: ESC[0mESC[0;1;31merror: ESC[0mESC[1muse of
undeclared identifier 'iterator'ESC[0m
  YR_MEMORY_BLOCK_ITERATOR* iterator = context->iterator;
ESC[0;1;32m                            ^
ESC[0mESC[1mmodules/pe.c:2280:49: ESC[0mESC[0;1;31merror: ESC[0mESC[1mno member
named 'iterator' in
      'struct _YR_SCAN_CONTEXT'ESC[0m
  YR_MEMORY_BLOCK_ITERATOR* iterator = context->iterator;
ESC[0;1;32m                                       ~~~~~~~  ^
ESC[0mESC[1mmodules/pe.c:2525:24: ESC[0mESC[0;1;31merror: ESC[0mESC[1muse of
undeclared identifier 'iterator'ESC[0m
  foreach_memory_block(iterator, block)
ESC[0;1;32m                       ^
ESC[0mESC[1mmodules/pe.c:2527:22: ESC[0mESC[0;1;31merror: ESC[0mESC[1mno member
named 'fetch_data' in
      'struct _YR_MEMORY_BLOCK'ESC[0m
        block_data = block->fetch_data(block);
ESC[0;1;32m                     ~~~~~  ^
ESC[0m5 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/security/yara/work/yara-3.5.0/libyara
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/security/yara/work/yara-3.5.0
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/yara/work/yara-3.5.0
*** Error code 1

Stop.
make: stopped in /usr/ports/security/yara

Script done on Mon Sep 12 12:00:46 2016

The build log is attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list