Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000317.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: BC Step 3 build failure</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/000316.html" title="NetSNMP/Bluecat build/Build Machine" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000320.html" title="Bluecat Build" />
17
18    
19
20    
21
22    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
23 </head>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
25    <div id="container">
26       <div id="container-inner" class="pkg">
27
28          <div id="banner">
29             <div id="banner-inner" class="pkg">
30                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
31                <h2 id="banner-description">Searchable status reports and work log</h2>
32             </div>
33          </div>
34
35          <div id="pagebody">
36             <div id="pagebody-inner" class="pkg">
37                <div id="alpha">
38                   <div id="alpha-inner" class="pkg">
39
40                      <p class="content-nav">
41                         <a href="http://defaria.com/blogs/Status/archives/000316.html">&laquo; NetSNMP/Bluecat build/Build Machine</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000320.html">Bluecat Build &raquo;</a>
44                      </p>
45
46                      <a id="a000317"></a>
47                      <div class="entry" id="entry-317">
48                         <h3 class="entry-header">BC Step 3 build failure</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52   <li>Attempting to rebuild BC with new tag.</li>
53
54   <li>Installed RH 8.0 on new machine</li>
55 </ul>
56                            </div>
57                            <div id="more" class="entry-more">
58                               <h3>Bluecat build failure in step 3</h3>
59
60 <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>
61
62 <div class="code"><pre>
63 Building glibc package step 3.3 at 14:14:07
64 Done
65 Installing glibc package
66 Done
67 Building glib package step 3.4 at 17:06:12
68 parse_file: build_package failed for glib_cdt.spec
69 ---- Step 3 finished successfully at Tue Mar 15 17:07:47 PST 2005 ----
70 +++ Exit .... +++
71 </pre></div>
72
73 <p>However in archive/20050314/ppc/logs/step3 for build_glib.log I have:</p>
74
75 <div class="code"><pre>
76 testglib.c:915: warning: const qualifier ignored on asm
77 .libs/libglib.so: undefined reference to `__ctype_b'
78 .libs/libglib.so: undefined reference to `__ctype_toupper'
79 .libs/libglib.so: undefined reference to `__ctype_tolower'
80 collect2: ld returned 1 exit status
81 make[2]: *** [testglib] Error 1
82 make[1]: *** [all-recursive] Error 1
83 make: *** [all-recursive-am] Error 2
84 error: Bad exit status from /usr/lynx/loc_archive/build/20050314/var/tmp/rpm-tmp.95118 (%build)
85    Bad exit status from /usr/lynx/loc_archive/build/20050314/var/tmp/rpm-tmp.95118 (%build)
86 </pre></div>
87
88 <p>Do you know what is going wrong?</p>
89 <hr>
90 <h4>Later I wrote:</h4>
91
92 <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>
93
94 <div class="code"><pre>
95 [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
96 .libs/libglib.so: undefined reference to `va_copy'
97 collect2: ld returned 1 exit status
98 </pre></div>
99
100 <p>Oh, BTW, the old machine (penguin) has been renamed to jaguar but is otherwise the same.</p>
101
102 <p>I'm attempting to run step 3 again but I fear it'll just have the same error.</p>
103
104 <p>Note I will be monitoring email and this build from home so if you have any ideas send them right away.</p>
105
106                            </div>
107                         </div>
108                         <p class="entry-footer">
109                            <span class="post-footers">Posted by  on March 15, 2005  3:41 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000317.html">Permalink</a>
110                         </p>
111                      </div>
112
113                      
114
115                      
116                   </div>
117                </div>
118             </div>
119          </div>
120       </div>
121    </div>
122 </body>
123 </html>