Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2005_03_20.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 20, 2005 - March 26, 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_13.html" title="March 13, 2005 - March 19, 2005" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2005_03_27.html" title="March 27, 2005 - April  2, 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_13.html">&laquo; March 13, 2005 - March 19, 2005</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2005_03_27.html">March 27, 2005 - April  2, 2005 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">March 25, 2005</h2>
44                      <a id="a000323"></a>
45                      <div class="entry" id="entry-323">
46                         <h3 class="entry-header">LOS178 compares</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50   <li>LOS178 does finally compare. Apparently .o files produced by assembly must be compared at the source level by using objdump to dump assembly</li>
51
52   <li>Attempting build of LOS178 on Tomcat before putting GD LOS178 into CVS.</li>
53
54   <li>Hit problem with hard coded paths - need Jeff to resolve these</li>
55 </ul>
56                               
57                               <h3>Comparing Assembled .o files</h3>
58
59 <p>25 files did not compare. Turns out these were probably generated by the assembler. Instead we use objdump which comes in in the CDK. This eliminates differences that may be due to date/timestamps.</p>
60                               
61                               <p class="entry-footer">
62                                  <span class="post-footers">Posted by  at  9:37 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000323.html">Permalink</a>
63                                  
64                                  
65                               </p>
66                            </div>
67                         </div>
68                      </div>
69                      
70                      
71
72                      <h2 class="date-header">March 23, 2005</h2>
73                      <a id="a000321"></a>
74                      <div class="entry" id="entry-321">
75                         <h3 class="entry-header">LOS178 build</h3>
76                         <div class="entry-content">
77                            <div class="entry-body">
78                               <ul>
79   <li>Building LOS178 Development version to compare to previously release images</li>
80 </ul>
81                               
82                               <p class="entry-footer">
83                                  <span class="post-footers">Posted by  at  4:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000321.html">Permalink</a>
84                                  
85                                  
86                               </p>
87                            </div>
88                         </div>
89                      </div>
90                      
91                      
92
93                      <h2 class="date-header">March 22, 2005</h2>
94                      <a id="a000322"></a>
95                      <div class="entry" id="entry-322">
96                         <h3 class="entry-header">Bluecat build still failing</h3>
97                         <div class="entry-content">
98                            <div class="entry-body">
99                               <ul>
100   <li>Bluecat build still fails with same problem. Emailed Sasha</li>
101
102   <li>Native PPC Toolchain still failing - same problems</li>
103
104   <li>Recreated cvsr.php - file was previously deleted</li>
105 </ul>
106                               
107                               <h3>Bluecat build failing</h3>
108
109 <p>Alexander Sanochkin wrote:</p>
110
111 <blockquote>
112 <p>Andrew,</p>
113
114 <p>It seems you tried to use a build tag which was not ready to rebuild BlueCat at that time. Also please note that the main BC build script has changed due to updating the BC cross compiler to version 3.4.3. The script is called do_it-bc5.0-gcc_3.4.3. You can get it from the BlueCat CVS. (/cm/CVS/BlueCat/eng/int/scripts).</p>
115
116 <p>Regarding the glib build problem we can not provide intelligent comments at this time as it seems that the 20050314 environment
117 is not available for us on the jaguar machine.</p>
118 </blockquote>
119
120 <p>What build tag are we supposed to use? I found R_5_2_1_ppc_20050319 and I assume that is what I should use. However the difference between do_it-bc5.0-gcc_3.4.3 and do_it-bc5.0 is merely:</p>
121
122 <div class="code"><pre>
123 [int@jaguar loc_archive]$ diff do_it-bc5.0.orig do_it-bc5.0-gcc_3.4.3.orig
124 108c108
125 <   export BC_TARGET=$BLUECAT_TARGET_CPU-lynx-linux-bluecat
126 ---
127 >   export BC_TARGET=$BLUECAT_TARGET_CPU-lynx-linux-gnubc
128 </pre></div>
129
130 <p>And, if I might ask, why all the version numbers in the file? Why isn't it just named do_it and depending on which CVS (RCS?) tag you use you get a 5.0 or a 5.0-gcc_3.4.3 version?</p>
131
132 <p>Also, with do_it-bg5.0-gcc_3.4.3 I suspect that the changes I made for the patch-spec (changing do_step to perform patches between steps 1 and 2 when run in stepwise fashion) have not be incorporated. Seems to me that there are two steps being done in automated mode (i.e. doing all steps at one time) that are not performed when doing things in a stepwise fashion. The first is the building of the new GNU Tools which is effectively step 0 and the second is this patching thing which is normally done between steps 1 and 2. Might I suggest that we make these regular steps in their proper order and renumber the rest?</p>
133
134 <p>Build is still failing (on Jaguar). I get to step4 and it fails with:</p>
135
136 <div class="code"><pre>
137 Building glib package step 4.3 at 22:51:22
138 parse_file: build_package failed for glib_trg.spec
139 ---- Step 4 finished successfully at Tue Mar 22 14:51:39 PST 2005 ----
140
141 Looking at step4/build_glib.log I see:
142
143 [int@jaguar step4]$ tail -f build_glib.log
144 + ac_cv_func_getpwuid_r=yes
145 + ac_cv_func_mutex_trylock=yes
146 + ac_cv_func_cond_timedwait=yes
147 + glib_cv_sizeof_gmutex=24
148 + glib_cv_byte_contents_gmutex=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
149 + ./configure --build=i386-linux-gnu --host=ppc-bluecat-linux
150 configure: warning: Could not determine POSIX flag. (-posix didn't work.)
151 configure: error: can not run test program while cross compiling
152 error: Bad exit status from /usr/lynx/loc_archive/build/20050319/var/tmp/rpm-tmp.40621 (%build)
153     Bad exit status from /usr/lynx/loc_archive/build/20050319/var/tmp/rpm-tmp.40621 (%build)
154 </pre></div>
155
156 <p>Attempting to execute rpm-tmp.40621 reveals:</p>
157
158 <div class="code"><pre>
159 gcc -g -O2 -Wall -D_REENTRANT -o testglib testglib.o .libs/libglib.a
160 .libs/libglib.a(gmessages.o): In function `g_logv':
161 /usr/lynx/loc_archive/build/20050319/cdt/src/bluecat/BUILD/glib-1.2.10/gmessages.c:343: undefined reference to `va_copy'
162 .libs/libglib.a(gstrfuncs.o): In function `g_strdup_vprintf':
163     /usr/lynx/loc_archive/build/20050319/cdt/src/bluecat/BUILD/glib-1.2.10/gstrfuncs.c:154: undefined reference to `va_copy'
164 collect2: ld returned 1 exit status
165 make[2]: *** [testglib] Error 1
166 make[2]: Leaving directory `/usr/lynx/loc_archive/build/20050319/cdt/src/bluecat/BUILD/glib-1.2.10'
167 make[1]: *** [all-recursive] Error 1
168 make[1]: Leaving directory `/usr/lynx/loc_archive/build/20050319/cdt/src/bluecat/BUILD/glib-1.2.10'
169 make: *** [all-recursive-am] Error 2
170 + exit 0
171 </pre></div>
172
173 <p>Any ideas?</p>
174
175 <h3>Native PPC Toolchain failure</h3>
176
177 <p>Build of the Native PPC Toolchain keeps failing for me but not for Oleg. Oleg's been suggesting that I lower the ulimits to -s 100000 and -d 200000, which I did but which fails for me and not Oleg. Oleg writes:</p>
178
179 <blockquote>
180 <p>Perhaps the time of the day has some effect on the file system behaviour (or an increased local network activity during the business time has some adverse effect on the system stability). Please try to start the toolchain build at your end-of-business time.</p>
181
182 <p>Meanwhile, we will ponder on what else can be wrong.</p>
183 </blockquote>
184
185                               
186                               <p class="entry-footer">
187                                  <span class="post-footers">Posted by  at  4:44 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000322.html">Permalink</a>
188                                  
189                                  
190                               </p>
191                            </div>
192                         </div>
193                      </div>
194                      
195                   </div>
196                </div>
197             </div>
198          </div>
199       </div>
200    </div>
201 </body>
202 </html>