Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 16:08:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212610] security/yara: build fails on FreeBSD 11 / 64bit
Message-ID:  <bug-212610-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212610

            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@FreeBSD.org
          Reporter: gerard_seibert@outlook.com
             Flags: maintainer-feedback?(wxs@FreeBSD.org)
          Assignee: wxs@FreeBSD.org

Created attachment 174688
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174688&action=
=3Dedit
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:

=3D=3D=3D>  Building for yara-3.5.0
/usr/bin/make  all-recursive
Making all in libyara
depbase=3D`echo modules/tests.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin=
/sh
../libtool  --tag=3DCC    --mode=3Dcompile cc -DHAVE_CONFIG_H  -I. -I..=20=
=20
-I/usr/local/include  -O3 -Wall -Wno-deprecated-declarations -std=3Dgnu99=20
-I./include -fvisibility=3Dhidden -O2 -pipe  -fstack-protector
-fno-strict-aliasing -D_THREAD_SAFE -pthread -DHASH_MODULE -MT modules/test=
s.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 -Wa=
ll
-Wno-deprecated-declarations -std=3Dgnu99 -I./include -fvisibility=3Dhidden=
 -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 -Wa=
ll
-Wno-deprecated-declarations -std=3Dgnu99 -I./include -fvisibility=3Dhidden=
 -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=3D`echo modules/pe.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=3DCC    --mode=3Dcompile cc -DHAVE_CONFIG_H  -I. -I..=20=
=20
-I/usr/local/include  -O3 -Wall -Wno-deprecated-declarations -std=3Dgnu99=20
-I./include -fvisibility=3Dhidden -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 -Wa=
ll
-Wno-deprecated-declarations -std=3Dgnu99 -I./include -fvisibility=3Dhidden=
 -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 =3D 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 =3D context->iterator;
ESC[0;1;32m                            ^
ESC[0mESC[1mmodules/pe.c:2280:49: ESC[0mESC[0;1;31merror: ESC[0mESC[1mno me=
mber
named 'iterator' in
      'struct _YR_SCAN_CONTEXT'ESC[0m
  YR_MEMORY_BLOCK_ITERATOR* iterator =3D 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 me=
mber
named 'fetch_data' in
      'struct _YR_MEMORY_BLOCK'ESC[0m
        block_data =3D 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212610-13>