Modify

Opened 6 years ago

Closed 3 years ago

#10132 closed defect (wontfix)

Snort and Snort-mysql fails to compile in trunk.

Reported by: andrewsi Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: snort Cc:

Description

I imagine this must be a known issue, however, I don't really see a ticket for it in recent builds.

In particular, it fails to find rpc/rpc.h when compiling sp_rpc_check.c.

I'm compiling for the WNDR3700 target (AR71xx).

mips-openwrt-linux-uclibc-gcc -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/Stream5 -I../../src/target-based  -I/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/andrewsi/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/home/andrewsi/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/include -I/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include/mysql -I/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib/libnet-1.0.x/include -I/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include/mysql -DENABLE_MYSQL -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_BIG_ENDIAN -fno-strict-aliasing  -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -Wall -DDYNAMIC_PLUGIN -fno-strict-aliasing -c sp_rpc_check.c
sp_rpc_check.c:31:21: fatal error: rpc/rpc.h: No such file or directory
compilation terminated.
make[7]: *** [sp_rpc_check.o] Error 1
make[7]: Leaving directory `/home/andrewsi/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/snort-2.8.4.1/src/detection-plugins'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/andrewsi/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/snort-2.8.4.1/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/andrewsi/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/snort-2.8.4.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/andrewsi/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/snort-2.8.4.1'
make[3]: *** [/home/andrewsi/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/snort-2.8.4.1/snort-mysql] Error 2
make[3]: Leaving directory `/home/andrewsi/openwrt/trunk/feeds/packages/net/snort'
make[2]: *** [package/feeds/packages/snort/compile] Error 2
make[2]: Leaving directory `/home/andrewsi/openwrt/trunk'
make[1]: *** [/home/andrewsi/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/andrewsi/openwrt/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed in r28667, thanks!

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Package is no longer built for Barrier Breaker releases and trunk versions.

comment:4 Changed 3 years ago by jow

  • Resolution set to wontfix
  • Status changed from reopened to closed

Snort is in oldpackages and thus unmaintained. It will not receive fixes until someone takes over as maintainer.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.