« RH 8.0 BC Build | Main | Bluecat Response »

Unable to build glibc for Bluecat

In step 3 of the build process a build of glibc continues to fail. In debugging this I got down to:

/build/bluecat/build/20050319/cdt/bin/rpmbuild -ba --rmsource --clean /usr/src/bluecat/packages/glibc/SPECS/glibc_cdt.spec --bluecat_cdt=i386-bluecat-linux

This rpmbuild command is building both source and binary rpms and effectively goes through a building process. After a long time it eventually fails with:

RPM build errors:
    File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/\
share/info/libc.info
    File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/\
share/info/libc.info-1
    File not found: /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/\
share/info/libc.info-10
...

Looking in /build/bluecat/build/20050319/var/tmp/glibc-2.3.2-root/cdt/share/info I do see those files but they are gzipped (end in .gz). The rpmbuild command therefore returns a non zero status and due to bad error handling it looks as if the failure is somewhere else, but no it's here.

Also it seems like this directory, or at least the "var/tmp" portion of the path seems to indicate that this is a temporary directory, perhaps created by the rpmbuild itself so I'm not sure if simply unzipping the files will make this rpmbuild succeed or not.