Gentoo Archives: gentoo-user

From: Rod <Rod@×××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Snort compiling problems
Date: Sun, 23 Aug 2015 06:35:33
Message-Id: 55D969A0.8050806@Rods.id.au
In Reply to: Re: [gentoo-user] Snort compiling problems by Fernando Rodriguez
1 On 08/23/2015 03:59 PM, Fernando Rodriguez wrote:
2 > On Sunday, August 23, 2015 3:26:24 PM Rod wrote:
3 >> On 08/23/2015 08:59 AM, Fernando Rodriguez wrote:
4 >>> On Sunday, August 23, 2015 8:27:17 AM Rod wrote:
5 >>>> Snipped out the previous, takes a while to scroll...
6 >>>>
7 >>>> On 08/23/2015 07:40 AM, Fernando Rodriguez wrote:
8 >>>>> Post the output of: emerge -vap snort and then: USE=normalizer emerge
9 >>>>> -vap snort The only way NormFlags is left out (as far as I can see) is
10 >>>>> if you disable that flag (which is enabled by default).
11 >>>> # emerge -pqv '=net-analyzer/snort-2.9.7.5::gentoo'
12 >>>>
13 >>>> [ebuild U ] net-analyzer/snort-2.9.7.5 [2.9.1] USE="threads
14 >>>> -active-response -control-socket% -debug -file-inspect% -flexresp3 -gre
15 >>>> -high-availability% -inline-init-failopen -large-pcap-64bit
16 >>>> -linux-smp-stats -mpls -non-ether-decoders% -normalizer -perfprofiling
17 >>>> -ppm -react -reload-error-restart (-selinux*) -shared-rep%
18 >>>> -side-channel% -sourcefire% -static -targetbased (-aruba%)
19 >>>> (-decoder-preprocessor-rules%) (-dynamicplugin%*) (-mysql%*) (-odbc%*)
20 >>>> (-paf%) (-postgres%*) (-zlib%*)"
21 >>>>
22 >>>> Ahhh, ok, I see it, "-normalizer"
23 >>>>
24 >>>> Maybe on newer install systems its enabled by default, but I have
25 >>>> been running this system with Snort on it for 10 years or so... and I
26 >>>> don't think "normalizer" would be that old in the"USE" flags, opening
27 >>>> `ufed` it doesn't show it as included or enabled, I have enabled it.
28 >>>>
29 >>>> # USE=normalizer emerge -vap snort
30 >>>>
31 >>>> [ebuild U ~] net-analyzer/snort-2.9.7.5::gentoo [2.9.1::gentoo]
32 >>>> USE="normalizer* threads -active-response -control-socket% -debug
33 >>>> -file-inspect% -flexresp3 -gre -high-availability% -inline-init-failopen
34 >>>> -large-pcap-64bit -linux-smp-stats -mpls -non-ether-decoders%
35 >>>> -perfprofiling -ppm -react -reload-error-restart (-selinux*)
36 >>>> -shared-rep% -side-channel% -sourcefire% -static -targetbased (-aruba%)
37 >>>> (-decoder-preprocessor-rules%) (-dynamicplugin%*) (-mysql%*) (-odbc%*)
38 >>>> (-paf%) (-postgres%*) (-zlib%*)" 0 KiB
39 >>>>
40 >>>> No luck I'm afraid
41 >>> grep your package.* in /etc/portage for snort entries. I didn't
42 > investigate
43 >>> which one is breaking this time but it must be something you got there
44 >>> somewhere. I just built it with the default use flags and it works. If it
45 > was
46 >>> profile changes you would've got them when you sync'd.
47 >>>
48 >>> And don't forget to file a bug.
49 >> net-analyzer/snort ~amd64
50 >>
51 >> # required by net-analyzer/snort-2.9.6.1
52 >> # required by @selected
53 >> # required by @world (argument)
54 >> =net-libs/daq-2.0.2 ~amd64
55 > When was the last time you sync'd? And did a world update? Your portage is two
56 > versions behind mine...
57 >
58 > This *should* work:
59 >
60 > USE="active-response flexresp3 gre mpls non-ether-decoders normalizer
61 > perfprofiling ppm react targetbased threads" emerge snort
62 >
63 > Hopefully somebody else can help figure out why those use flags are disabled,
64 > they're enabled in my ebuild. For now add those flags to your package.use.
65
66 emerge sync is every night (once every 24Hrs) and the portage
67 directory is NFS shared to all other computers on this home network,
68
69 Bug has been filed to here -> https://bugs.gentoo.org/show_bug.cgi?id=558454
70
71
72 Ok, thats a bugger..... Grrr (now)
73
74 I have added your "USE" (above) to package.use, recompiled, nothing
75 changed, still bombed at "Stream 6" then tried without changing
76 anything, your USE="active.......threads" emerge snort and it happily
77 compiled, and installed :( now I don't know why... I submitted the bug
78 report (previous Email request) then typed this Email as I was trying
79 what you requested, and now Grrrr...
80
81
82
83 --
84 ---
85
86 Regards,
87
88 Rod Smart
89 0417 513 286

Replies

Subject Author
Re: [gentoo-user] Snort compiling problems Fernando Rodriguez <frodriguez.developer@×××××××.com>