BC Step 3 build failure

  • Attempting to rebuild BC with new tag.
  • Installed RH 8.0 on new machine

Bluecat build failure in step 3

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:

Building glibc package step 3.3 at 14:14:07
Done
Installing glibc package
Done
Building glib package step 3.4 at 17:06:12
parse_file: build_package failed for glib_cdt.spec
---- Step 3 finished successfully at Tue Mar 15 17:07:47 PST 2005 ----
+++ Exit .... +++

However in archive/20050314/ppc/logs/step3 for build_glib.log I have:

testglib.c:915: warning: const qualifier ignored on asm
.libs/libglib.so: undefined reference to `__ctype_b'
.libs/libglib.so: undefined reference to `__ctype_toupper'
.libs/libglib.so: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
make[2]: *** [testglib] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
error: Bad exit status from /usr/lynx/loc_archive/build/20050314/var/tmp/rpm-tmp.95118 (%build)
   Bad exit status from /usr/lynx/loc_archive/build/20050314/var/tmp/rpm-tmp.95118 (%build)

Do you know what is going wrong?


Later I wrote:

Well rebuilding didn't help (I didn't think it would). Things seem to be failing in the rpm-tmp. 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:

[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
.libs/libglib.so: undefined reference to `va_copy'
collect2: ld returned 1 exit status

Oh, BTW, the old machine (penguin) has been renamed to jaguar but is otherwise the same.

I'm attempting to run step 3 again but I fear it'll just have the same error.

Note I will be monitoring email and this build from home so if you have any ideas send them right away.