Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Snort compiling problems Rod <Rod@×××××××.au>