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">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
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"$>" />
12 <title>Status for Andrew DeFaria: April 17, 2005 - April 23, 2005 Archives</title>
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_04_10.html" title="April 10, 2005 - April 16, 2005" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2005_04_24.html" title="April 24, 2005 - April 30, 2005" />
18 <body class="layout-one-column">
20 <div id="container-inner" class="pkg">
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>
30 <div id="pagebody-inner" class="pkg">
32 <div id="alpha-inner" class="pkg">
34 <p class="content-nav">
35 <a href="http://defaria.com/blogs/Status/archives/week_2005_04_10.html">« April 10, 2005 - April 16, 2005</a> |
36 <a href="http://defaria.com/blogs/Status/">Main</a>
37 | <a href="http://defaria.com/blogs/Status/archives/week_2005_04_24.html">April 24, 2005 - April 30, 2005 »</a>
43 <h2 class="date-header">April 22, 2005</h2>
45 <div class="entry" id="entry-341">
46 <h3 class="entry-header">Bluecat/Bluecat</h3>
47 <div class="entry-content">
48 <div class="entry-body">
50 <li>Building of BC 5.3 on RH 6.1 failed in step 7. Apparently I had /mnt/cdrom already mounted. Picked up from step 8...</li>
52 <li>Building of BC 5.2 on RH 8.0 got along farther - to step 3.7! - but failed due to lack of uudecode. Installed and proceeding</li>
55 <h3>BC 5.2 on RH 8.0</h3>
57 <p> Building BC 5.3 on RH 8.0 failed in step 3 with the following in build_ncurses.log:</p>
59 <div class="code"><pre>
60 + zcat /build/bluecat/build/20050319/cdt/src/bluecat/SOURCES/patch-5.3-20021231.sh.gz
62 sh: line 2196: uudecode: command not found
63 gzip: ncurses-5.3-20021231.patch.gz: No such file or directory
64 + echo 'Patch #2 (ncurses-5.3-20030105.patch.gz):'
65 + /bin/gzip -dc /build/bluecat/build/20050319/cdt/src/bluecat/SOURCES/ncurses-5.3-20030105.patch.gz
68 error: Bad exit status from /build/bluecat/build/20050319/var/tmp/rpm-tmp.56417 (%prep)
69 Bad exit status from /build/bluecat/build/20050319/var/tmp/rpm-tmp.56417 (%prep)
72 <p>Turns out uudecode is part of sharutils-4.2.1-12 which I downloaded and installed. This should be added to the required package list.</p>
74 <p class="entry-footer">
75 <span class="post-footers">Posted by at 2:46 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000341.html">Permalink</a>
85 <h2 class="date-header">April 21, 2005</h2>
87 <div class="entry" id="entry-340">
88 <h3 class="entry-header">BC Builds/CVS Corruption</h3>
89 <div class="entry-content">
90 <div class="entry-body">
92 <li>Recieved hack to continue on with RH8.0 build. Proceeded to build that on Europa</li>
94 <li>Recieved instructions from Sasha regarding building BC 5.3 on RH 6.1. Proceeded to build that on Jaguar</li>
96 <li>Finished fixing CVS corruption with Vinnie's help</li>
99 <h3>RH 8.0 BC Build</h3>
101 <p>Sasha's only advice was to uncomment a line in the glibc_cdt.spec file that gunzip's these info files. I had seen that before. I did this and restarted a stepwise build @ step 3. I suspect, however, that were I to backtrack to step 1 or so this hack would be overwritten</p>
103 <h3>BC 5.3 build on RH 6.1</h3>
105 <p>Meantime BC development goes on to BC 5.3. Sasha sent a PDF file with instructions for building. Looks like they've incorporated some of the changes I suggested (fixing mktools to be part of step one as well as the patch spec). Unfortunately they have not incorporated the fix for RH 8.0 to the do_it script.</p>
107 <p>Still the build is progressing fairly nicely and it looks as if they've also reduced the number of steps from 17 -> 13 (though do_it still described steps > 13).</p>
109 <p>I had made a change or two to do_it essentially removing the su $BUILD_CMD_USER as that causes me problems and utilizing sudo around the mount commands in steps 7 and 11. I have configured Europa such that int has passwordless sudo privileges.</p>
111 <p class="entry-footer">
112 <span class="post-footers">Posted by at 4:05 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000340.html">Permalink</a>
122 <h2 class="date-header">April 20, 2005</h2>
124 <div class="entry" id="entry-339">
125 <h3 class="entry-header">Rebuilding glibc RH 8.0</h3>
126 <div class="entry-content">
127 <div class="entry-body">
129 <li>Rebuild glibc on RH 8.0 in order to obtain static .a files for libnss_dns and libnss_files.</li>
132 <h3>Rebuilding glibc</h3>
134 <p>According to Sasha I downloaded a copy of glibc-2.2.93.5.src.rpm. Next I modified the spec file to include --enable-static-nss=yes. In attempting to rebuild using rpmbuild -bb I received notice that I had to get and install gd-devel-1.8.4-9.i386.rpm and libpng-devel-1.2.2-8.i386.rpm. After that the rpmbuild worked OK and I copied the libraries like so:</p>
136 <div class="code"><pre>
137 $ cp /usr/src/redhat/BUILD/glibc-2.2.93/build-i386-linux/resolv/libnss_dns.a /usr/lib/libnss_dns.a
138 $ cp /usr/src/redhat/BUILD/glibc-2.2.93/build-i385-linux/nss/libnss_files.a /usr/lib/libnss_files.a
141 <p class="entry-footer">
142 <span class="post-footers">Posted by at 3:44 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000339.html">Permalink</a>
152 <h2 class="date-header">April 19, 2005</h2>
154 <div class="entry" id="entry-338">
155 <h3 class="entry-header">BC Step 3 still broke</h3>
156 <div class="entry-content">
157 <div class="entry-body">
159 <li>Trying to resolve problems in BC build step 3</li>
162 <p>The build is still failing in step3. Specifically I see lines like the following at the end of build_glibc.log:</p>
164 <div class="code"><pre>
165 rpm-tmp.51419 line 27:cp -pr documentation/ChangeLog.1.gz documentation/ChangeLog.10.gz documentation/ChangeLog.11.gz documentation/ChangeLog.12.gz documentation/ChangeLog.13.gz documentation/ChangeLog.2.gz documentation/ChangeLog.3.gz documentation/ChangeLog.4.gz documentation/ChangeLog.5.gz documentation/ChangeLog.6.gz documentation/ChangeLog.7.gz documentation/ChangeLog.8.gz documentation/ChangeLog.9.gz documentation/ChangeLog.gz documentation/ChangeLog.threads.gz documentation/Changes.threads documentation/FAQ-threads.html documentation/README.threads documentation/README.timezone documentation/README.ufc-crypt documentation/examples.threads /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/usr/share/doc/glibc_cdt-common-2.3.2
166 rpm-tmp.51419 line 28:exit 0
167 File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/share/info/libc.info
168 File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/share/info/libc.info-1
169 File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/share/info/libc.info-10
170 File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/share/info/libc.info-11
171 File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/share/info/libc.info-12
175 <p>When I look to see what's in that path I do see libc.info files (libc.info, libc.info-1, libc.info-10, etc.) but they are all gzipped (i.e. libc.info -> libc.info.gz, libc.info-10 -> libc.info-10.gz). My only suspicion is that something in this process changed to use gzip files and some other portion of this process is looking for the unzipped files.</p>
177 <p>As this appears to be dynamically created, I cannot simply unzip these files and continue on from this point. What should I do?</p>
179 <p>I have also been trying to perform the rpmbuild in steps (-bp, -bc, etc) to no avail. I've even tried to keep these .gz files around and place them in place so that the build/install can continue but then down the line I get problems like:</p>
181 <div class="code"><pre>
182 + install -m 644 /build/bluecat/build/20050319/cdt/src/bluecat/SOURCES/nsswitch.conf /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/etc/nsswitch.conf
183 install: cannot stat `/build/bluecat/build/20050319/cdt/src/bluecat/SOURCES/nsswitch.conf': No such file or directory
184 error: Bad exit status from /build/bluecat/build/20050319/var/tmp/rpm-tmp.44405 (%install)
187 <p>This is obviously not the right way to do this. I should wait from word from Moscow before preceeding.</p>
189 <p class="entry-footer">
190 <span class="post-footers">Posted by at 3:56 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000338.html">Permalink</a>
200 <h2 class="date-header">April 18, 2005</h2>
202 <div class="entry" id="entry-337">
203 <h3 class="entry-header">Bluecat Response</h3>
204 <div class="entry-content">
205 <div class="entry-body">
207 <li>Installed autoconf-2-13 on Europa. Restarting Bluecat build</li>
210 <p>Received a response from Alexander. Seems Bluecat relies on autoconf-2.13. Found a package on the web and installed it.</p>
212 <p>Sasha also speaks of rebuilding glibc in order to get an archive version of libnss_dns and libnss_files. I've already copied these from Jaguar (RH 6.1).</p>
214 <p>Restarted Bluecat build in a non stepwise fashion. This should be interesting.</p>
216 <p class="entry-footer">
217 <span class="post-footers">Posted by at 5:09 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000337.html">Permalink</a>