Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2005_03_13.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml"$>" />
11
12    <title>Status for Andrew DeFaria: March 13, 2005 - March 19, 2005 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/week_2005_03_06.html" title="March  6, 2005 - March 12, 2005" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2005_03_20.html" title="March 20, 2005 - March 26, 2005" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/week_2005_03_06.html">&laquo; March  6, 2005 - March 12, 2005</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2005_03_20.html">March 20, 2005 - March 26, 2005 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">March 18, 2005</h2>
44                      <a id="a000318"></a>
45                      <div class="entry" id="entry-318">
46                         <h3 class="entry-header">NetSNMP/Native x86 toolchain problems/ECR Linkify</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50   <li>Change NetSNMP package to automatically handle installation of snmpd-sample.conf file</li>
51
52   <li>Native toolchain build still failing despite assistance from Moscow</li>
53
54   <li>Made ECR Linkify better</li>
55                               
56                               <h3>NetSNMP</h3>
57
58 <p>Changed install_snmp.sh to install snmpd-sample.conf into /usr/local/share/snmp/snmpd.conf for both the bin and src packages. In the bin package we put a copy of snmpd-sample.conf into tmp.</p>
59
60 <p>Still need to figure out how/where to check this into the RCS tree.</p>
61
62 <p>Build scripts do not do this automatically but the build scripts have other issues.</p>
63                               
64                               <p class="entry-footer">
65                                  <span class="post-footers">Posted by  at  5:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000318.html">Permalink</a>
66                                  
67                                  
68                               </p>
69                            </div>
70                         </div>
71                      </div>
72                      
73                      
74
75                      <h2 class="date-header">March 17, 2005</h2>
76                      <a id="a000319"></a>
77                      <div class="entry" id="entry-319">
78                         <h3 class="entry-header">Bluecat Build</h3>
79                         <div class="entry-content">
80                            <div class="entry-body">
81                               <ul>
82   <li>Bluecat build's step 4 failed again</li>
83
84   <li>Attempting to reproduce build with old tag</li>
85 </ul>
86                               
87                               <p class="entry-footer">
88                                  <span class="post-footers">Posted by  at  5:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000319.html">Permalink</a>
89                                  
90                                  
91                               </p>
92                            </div>
93                         </div>
94                      </div>
95                      
96                      
97
98                      <h2 class="date-header">March 16, 2005</h2>
99                      <a id="a000320"></a>
100                      <div class="entry" id="entry-320">
101                         <h3 class="entry-header">Bluecat Build</h3>
102                         <div class="entry-content">
103                            <div class="entry-body">
104                               <ul>
105   <li>Building Bluecat from start including rebuilding the GNU Tools</li>
106
107   <li>Proceeded through steps 1-4 but I still have problems at step 4</li>
108 </ul>
109                               
110                               <h3>Bluecat GNU Tools</h3>
111
112 <p>There are two "steps" that are not really steps and that are performed only in <i>automated</i> mode. Moscow had reccommended that we insert an exit statement in a certain location and run in automated mode (as root I can only assume) to get the Bluecat GNU Tools. I had originally subsetted this out and built them as int. However since I was having so many odd problems I decided to go strictly as Moscow instructs.</p>
113                               
114                               <p class="entry-footer">
115                                  <span class="post-footers">Posted by  at  5:40 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000320.html">Permalink</a>
116                                  
117                                  
118                               </p>
119                            </div>
120                         </div>
121                      </div>
122                      
123                      
124
125                      <h2 class="date-header">March 15, 2005</h2>
126                      <a id="a000317"></a>
127                      <div class="entry" id="entry-317">
128                         <h3 class="entry-header">BC Step 3 build failure</h3>
129                         <div class="entry-content">
130                            <div class="entry-body">
131                               <ul>
132   <li>Attempting to rebuild BC with new tag.</li>
133
134   <li>Installed RH 8.0 on new machine</li>
135 </ul>
136                               
137                               <h3>Bluecat build failure in step 3</h3>
138
139 <p>I was asked to rebuild Bluecat using R_5_2_1_ppc_20050314 as a tag. I tried doing this but it is failing. I made it to step 4 when it was failing with something about unable to find /arch/ppc/Makefile or something like that. I decided to instead go back to the beginning and make the GNU Tools (step 0) just to be sure. Now I get stuck at step 3. It fails in an odd way too. In /usr/lynx/loc_archive under LOGS I have the following at the tail of the step3 log:</p>
140
141 <div class="code"><pre>
142 Building glibc package step 3.3 at 14:14:07
143 Done
144 Installing glibc package
145 Done
146 Building glib package step 3.4 at 17:06:12
147 parse_file: build_package failed for glib_cdt.spec
148 ---- Step 3 finished successfully at Tue Mar 15 17:07:47 PST 2005 ----
149 +++ Exit .... +++
150 </pre></div>
151
152 <p>However in archive/20050314/ppc/logs/step3 for build_glib.log I have:</p>
153
154 <div class="code"><pre>
155 testglib.c:915: warning: const qualifier ignored on asm
156 .libs/libglib.so: undefined reference to `__ctype_b'
157 .libs/libglib.so: undefined reference to `__ctype_toupper'
158 .libs/libglib.so: undefined reference to `__ctype_tolower'
159 collect2: ld returned 1 exit status
160 make[2]: *** [testglib] Error 1
161 make[1]: *** [all-recursive] Error 1
162 make: *** [all-recursive-am] Error 2
163 error: Bad exit status from /usr/lynx/loc_archive/build/20050314/var/tmp/rpm-tmp.95118 (%build)
164    Bad exit status from /usr/lynx/loc_archive/build/20050314/var/tmp/rpm-tmp.95118 (%build)
165 </pre></div>
166
167 <p>Do you know what is going wrong?</p>
168 <hr>
169 <h4>Later I wrote:</h4>
170
171 <p>Well rebuilding didn't help (I didn't think it would). Things seem to be failing in the rpm-tmp.<num> script. This script seems to be dynamically created. It sets some variables and basically does a configure and make in build/20050314/cdt/src/bluecat/BUILD/glib-1.2.10. This eventually boils down to the following gcc command:</p>
172
173 <div class="code"><pre>
174 [int@jaguar glib-1.2.10]$ gcc -O2 -g -march=i386 -Wall -D_REENTRANT -o .libs/testglib testglib.o .libs/libglib.so -Wl,--rpath -Wl,/cdt/lib
175 .libs/libglib.so: undefined reference to `va_copy'
176 collect2: ld returned 1 exit status
177 </pre></div>
178
179 <p>Oh, BTW, the old machine (penguin) has been renamed to jaguar but is otherwise the same.</p>
180
181 <p>I'm attempting to run step 3 again but I fear it'll just have the same error.</p>
182
183 <p>Note I will be monitoring email and this build from home so if you have any ideas send them right away.</p>
184
185                               
186                               <p class="entry-footer">
187                                  <span class="post-footers">Posted by  at  3:41 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000317.html">Permalink</a>
188                                  
189                                  
190                               </p>
191                            </div>
192                         </div>
193                      </div>
194                      
195                      
196
197                      <h2 class="date-header">March 14, 2005</h2>
198                      <a id="a000316"></a>
199                      <div class="entry" id="entry-316">
200                         <h3 class="entry-header">NetSNMP/Bluecat build/Build Machine</h3>
201                         <div class="entry-content">
202                            <div class="entry-body">
203                               <ul>
204   <li>Rebuilt NetSNMP 5.1.1. Need to package src before build</li>
205
206   <li>Restarted Bluecat build for new label</li>
207
208   <li>Installing RH 8.0 on new machine</li>
209 </ul>
210                               
211                               <h3>NetSNMP 5.1.1</h3>
212
213 <p>We have a chicken and egg situation here. Apparently the src package needs to be built before the build happens, yet it also needs kern_mib.o and kern_mib.d.o, which you get <b>after</b> the build!. The scripts do not handle this gracefully so I rebuilt the packages by hand. Julia says the build is OK now but repeatability will be a problem</p>
214
215 <h3>Installation of RH 8.0</h3>
216
217 <p>After some initial trouble installing from CDROM (Needed to set IDE to Legacy in the BIOS) I managed to install RH 8.0. However I sized the root drive to only 2048 Meg. Turns out the RH 8.0 installation took 2020 Meg so I want to redo this. Upon reinstallation I'm again having problems with the CD. Seems the first CD has etchings on the outermost ring of the CD itself. Not sure if I caused this or if it was there before. May need to get anotehr CD for RH 8.0</p>
218                               
219                               <p class="entry-footer">
220                                  <span class="post-footers">Posted by  at 11:36 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000316.html">Permalink</a>
221                                  
222                                  
223                               </p>
224                            </div>
225                         </div>
226                      </div>
227                      
228                   </div>
229                </div>
230             </div>
231          </div>
232       </div>
233    </div>
234 </body>
235 </html>