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

Replies

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