[Snort-devel] Error building snort 2.9.7.0 on FreeBSD

elof at ...969... elof at ...969...
Mon Nov 3 10:12:52 EST 2014


Hi Ryan!
Success!




# poudriere ports -u
====>> Updating portstree "default"
Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Mon Nov  3 11:02:31 CET 2014 to Mon Nov  3 15:25:25 CET 
2014.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 10 patches.
(10/10) 100.00%  done.
done.
Applying patches...
done.
Fetching 0 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
/usr/local/poudriere/ports/default/benchmarks/lmbench/
/usr/local/poudriere/ports/default/devel/jenkins/
/usr/local/poudriere/ports/default/devel/simgear/
/usr/local/poudriere/ports/default/games/flightgear-aircraft/
/usr/local/poudriere/ports/default/games/flightgear-data/
/usr/local/poudriere/ports/default/games/flightgear/
/usr/local/poudriere/ports/default/mail/rspamd/
/usr/local/poudriere/ports/default/math/py-numpy/
/usr/local/poudriere/ports/default/sysutils/xfce4-netload-plugin/
/usr/local/poudriere/ports/default/www/pecl-yar/
Building new INDEX files... done.

Your update haven't been synced to ec2-eu-west-1.portsnap.freebsd.org yet, 
it seems.
Trying again.

# poudriere ports -u
====>> Updating portstree "default"
Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Mon Nov  3 15:25:25 CET 2014 to Mon Nov  3 15:42:54 CET 
2014.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 1 patches.
(1/1) 100.00%  done.
done.
Applying patches...
done.
Fetching 0 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
/usr/local/poudriere/ports/default/security/snort/
Building new INDEX files... done.

That's better.
Trying to compile snort
# poudriere bulk -f pkgs.txt -j 10amd64
...
====>> [01] Starting build of security/snort
====>> [01] Finished build of security/snort: Success
====>> Stopping 1 builders
====>> Creating pkgng repository
Creating repository in /packages: 100%
Packing files for repository: 100%
====>> Cleaning up
====>> Umounting file systems
====>> Built ports: security/snort
...

Success!

/Elof


On Mon, 3 Nov 2014, Ryan Steinmetz wrote:

> I've removed two configurable options that appear to be required for the
> build to succeed.
>
> Please update your ports tree and try once more.
>
> Thanks,
> -r
>
>
> On (11/03/14 15:00), elof at ...969... wrote:
>> 
>> End of the poudriere build log:
>> 
>> ...
>> ...
>> cc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src
>> -I../../../src/sfutil  -I../../../src/output-plugins
>> -I../../../src/detection-plugins -I../../../src/dynamic-plugins
>> -I../../../src/preprocessors -I../../../src/preprocessors/portscan
>> -I../../../src/preprocessors/HttpInspect/include
>> -I../../../src/preprocessors/Session -I../../../src/preprocessors/Stream6
>> -I../../../src/target-based -I../../../src/control
>> -I../../../src/file-process -I../../../src/file-process/libs
>> -I../../../src/side-channel -I../../../src/side-channel/plugins
>> -I/usr/local/include -I/usr/local/include/libnet11 -DLZMA -DPPM_MGR
>> -DNDEBUG -DNOCOREFILE -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR
>> -DPERF_PROFILING -DSNORT_RELOAD -DNO_NON_ETHER_DECODER -DNORMALIZER
>> -DACTIVE_RESPONSE  -O2 -fstack-protector -fstack-protector
>> -fno-strict-aliasing -DSF_VISIBILITY -fvisibility=hidden -Wall -c
>> snort_stream_icmp.c
>> In file included from snort_stream_icmp.c:35:
>> In file included from
>> ../../../src/preprocessors/Session/snort_session.h:32:
>> ../../../src/preprocessors/Session/session_common.h:140:5: error: unknown
>> type name 'PreprocEnableMask'
>>     PreprocEnableMask enabled_pps;
>>     ^
>> ../../../src/preprocessors/Session/session_common.h:141:5: error: unknown
>> type name 'PreprocEvalFuncNode'
>>     PreprocEvalFuncNode *initial_pp;
>>     ^
>> 2 errors generated.
>> *** Error code 1
>> 
>> Stop.
>> make[5]: stopped in
>> /wrkdirs/usr/ports/security/snort/work/snort-2.9.7.0/src/preprocessors/Stream6
>> *** Error code 1
>> 
>> Stop.
>> make[4]: stopped in
>> /wrkdirs/usr/ports/security/snort/work/snort-2.9.7.0/src/preprocessors
>> *** Error code 1
>> 
>> Stop.
>> make[3]: stopped in
>> /wrkdirs/usr/ports/security/snort/work/snort-2.9.7.0/src
>> *** Error code 1
>> 
>> Stop.
>> make[2]: stopped in /wrkdirs/usr/ports/security/snort/work/snort-2.9.7.0
>> *** Error code 1
>> 
>> Stop.
>> make[1]: stopped in /wrkdirs/usr/ports/security/snort/work/snort-2.9.7.0
>> *** Error code 1
>> 
>> Stop.
>> make: stopped in /usr/ports/security/snort
>> 
>> 
>> 
>> 
>> 
>> Last port version, 2.9.6.2, compiled just fine, so it seems to be
>> something new in 2.9.7.0 that breaks.
>> 
>> /Elof
>
> -- 
> Ryan Steinmetz
> PGP: 9079 51A3 34EF 0CD4 F228  EDC6 1EF8 BA6B D028 46D7
>




More information about the Snort-devel mailing list