Gentoo Archives: gentoo-portage-dev

From: Brian <dol-sen@×××××.net>
To: gentoo-portage-dev <gentoo-portage-dev@l.g.o>
Cc: Porthole-Developers <porthole-devel@×××××××××××××××××.net>
Subject: [gentoo-portage-dev] emerge output question
Date: Fri, 07 May 2004 18:42:33
Message-Id: 1083955355.24429.122.camel@big_squirt.dol-sen.ca
1 Porthole is very close to releasing an update which fixes most of the
2 current known bugs before we continue development of the features,
3 etc.. We are trying to refine our filters to ignore normal warnings
4 generated due to portages temporary build location.
5
6 For those that do not know, we filter the emerge output to extract
7 warnings, cautions, general info/instructions and copy them to other
8 display windows for easy reference.
9
10
11 this is the current reg expression list from our xml file for our
12 warnings filters:
13
14 <warning py_type="list" item_count="4">
15
16 <warning-1>.*[^\-_.][Ww][Aa][Rr][Nn][Ii][Nn][Gg][:\!,\s]</warning-1>
17 <warning-2>.*[Ff]ile.*not found</warning-2>
18 <warning-3>.*\s[Ee][Rr][Rr][Oo][Rr][:\-\!,]\s</warning-3>
19 <warning-4>.*([Ss]yntax[Ee]rror|[Ss]yntax
20 [Ee]rror[:\-\!,])</warning-4>
21 </warning>
22
23
24 and our list of chatter warnings to ignore
25
26 <notwarning py_type="list" item_count="7">
27 <notwarning-1>.*[Ii]f you wanted to set the \-\-build
28 type</notwarning-1>
29 <notwarning-2>.*(checking|check).* compiler warning
30 flags</notwarning-2>
31 <notwarning-3>.*(checking|check).* warning flags.*
32 compiler</notwarning-3>
33 <notwarning-4>.*remember to run.*libtool</notwarning-4>
34 <notwarning-5>.*warning: \-jN forced in submake:</notwarning-5>
35 <notwarning-6>.*has not been installed in `/usr/lib</notwarning-6>
36 <notwarning-7>^libtool\:.*seems to be moved</notwarning-7>
37 </notwarning>
38
39 If some of these are wrong or if you know of others that should/not be
40 considered as noteworthy warning messages please let me know. also if
41 you could provide sample output from emerge so that we can create usable
42 reg expressions it would be very much appreciated.
43
44 One other one we think qualifies as chatter is:
45
46 libtool: install: warning: relinking `im-viqr.la'
47
48 is this considered a noteworthy warning or chatter
49
50
51 example of the summary tab (formerly Info tab) for my last emerge of
52 mozilla note the last line showing total number of noteworthy warnings @
53 2084. Acually there was over 3000 total but some are eliminated from
54 the count/warnings tab as chatter:
55
56 (line numbers at beginning refer to the emerge output window line)
57
58 000003 >>> emerge (1 of 1) net-www/mozilla-1.6-r1 to /
59 000004 >>> Downloading
60 http://gentoo.oregonstate.edu/distfiles/enigmail-0.83.3.tar.gz
61 000012 >>> Downloading
62 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/enigmail-0.83.3.tar.gz
63 000020 >>> Downloading
64 http://downloads.mozdev.org/enigmail/src/enigmail-0.83.3.tar.gz
65 000038 >>> md5 src_uri ;-) mozilla-source-1.6.tar.bz2
66 000039 >>> md5 src_uri ;-) enigmail-0.83.3.tar.gz
67 000040 >>> md5 src_uri ;-) ipc-1.0.5.tar.gz
68 000043 >>> Unpacking source...
69 000044 * Setting make jobs to "-j2" to ensure successful merge...
70 000045 >>> Unpacking mozilla-source-1.6.tar.bz2 to
71 /var/tmp/portage/mozilla-1.6-r1/work
72 000046 >>> Unpacking enigmail-0.83.3.tar.gz to
73 /var/tmp/portage/mozilla-1.6-r1/work
74 000047 >>> Unpacking ipc-1.0.5.tar.gz to
75 /var/tmp/portage/mozilla-1.6-r1/work
76 000048 * Applying
77 mozilla-1.2b-default-plugin-less-annoying.patch.bz2...
78 000050 * Applying mozilla-1.2b-over-the-spot.patch.bz2...
79 000052 * Applying mozilla-1.3-fix-RAW-target.patch...
80 000054 >>> Source unpacked.
81 000056 * Setting make jobs to "-j2" to ensure successful merge...
82 000057 * Building with Xft2.0 (Gtk+-2.0) support!
83 000058 * Configuring Mozilla...
84 000238 * -include, to avoid long list of -D defines on the compile
85 command-line.
86 000239 * Do not edit.
87 001180 * Building Mozilla...
88 024519 * Building Mozilla NSS...
89 025453 >>> Install mozilla-1.6-r1 into
90 /var/tmp/portage/mozilla-1.6-r1/image/ category net-www
91 025454 * Setting make jobs to "-j2" to ensure successful merge...
92 025455 * Installing mozilla into build root...
93 025466 * Installing includes and idl files...
94 025467 * Installing Mozilla NSS...
95 025907 * Fixing Permissions...
96 026041 >>> Completed installing into
97 /var/tmp/portage/mozilla-1.6-r1/image/
98 026043 >>> Merging net-www/mozilla-1.6-r1 to /
99 029750 >>> Regenerating /etc/ld.so.cache...
100 029752 * Registering Components and Chrome...
101 029754 * Please unmerge old versions of mozilla, as the header
102 029755 * layout in /usr/lib/mozilla/include have changed and will
103 029756 * result in compile errors when compiling programs that need
104 029757 * mozilla headers and libs (galeon, nautilus, ...)
105 029758 >>> Regenerating /etc/ld.so.cache...
106 029761 >>> net-www/mozilla-1.6-r1 merged.
107 029762 >>> Recording net-www/mozilla in "world" favorites file...
108 029769 >>> 'Selected' packages are slated for removal.
109 029770 >>> 'Protected' and 'omitted' packages will not be removed.
110 029775 >>> Unmerging net-www/mozilla-1.6...
111 033486 >>> Auto-cleaning packages ...
112 033488 >>> No outdated packages were found on your system.
113 033491 * GNU info directory index is up-to-date.
114 033494 *** Total warnings count for merge = 2084
115
116 If your shocked I can send you the original log file saved and the
117 warnings log as well.
118
119 If you have not yet tried porthole, grab the latest from our cvs
120
121 then from a terminal window:
122
123 # cd porthole
124 # ./porthole -l -d
125
126 Thank you for your help and time.
127
128 P.S. some packages coding actually don't generate warnings when emerged
129 --
130 Brian <dol-sen@×××××.net>
131
132
133 --
134 gentoo-portage-dev@g.o mailing list