[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems building si



I have run into a couple of problems in trying to build the si from what's
in cvs and the packages from the ftp site. I am using
lsbsi-packages-081602.tar and lsbsi-patches-081602.tar from the beta
directory. Here's what I saw.

The first problem I ran into occurred pretty soon in the build. During the
bootstrap phase gcc would not build. It failed right after extracting the
source and making the patches. The problem is the values for two of the
variable for gcc in the src/si/entities/package file. The value of
gcc-directory is "gcc-3.1", but it needs to be "gcc-3.2". Similarly, the
value for gcc-machdep is "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1" and it
should be "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2". After I modified the
package file I was able to get beyond this problems.

The next problem I have not been able to get around yet. During the
lsbsi-intermediate phase it fails when trying to build glibc. Here's a
snipet of the output:

==============================================================================

-: creating Makefile
-: creating config.h
-: configuring in linuxthreads
-: running /bin/sh ../../glibc-2.2.5/linuxthreads/configure  --prefix=/usr
--i
nfodir=/usr/share/info --enable-add-ons --libexecdir=/usr/bin --cache-file
=../
./config.cache --srcdir=../../glibc-2.2.5/linuxthreads
I: Appending text to "configparms" (/usr/src/glibc-build).
I: Executing in /usr/src/glibc-build:
I:     make
-: make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.2.5 objdir=`pwd` all
-: make[1]: Entering directory `/usr/src/glibc-2.2.5'
-: (echo 'sysd-rules-sysdirs := sysdeps/i386/elf
linuxthreads/sysdeps/unix/sys
v/linux/i386 linuxthreads/sysdeps/unix/sysv/linux
linuxthreads/sysdeps/pthread
 sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix
linu
xthreads/sysdeps/i386/i686 linuxthreads/sysdeps/i386
sysdeps/unix/sysv/linux/i
386/i686 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu
sysd
eps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386
sys
deps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix
sysdeps/i386/i686/
fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386
sysdeps/
wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt
-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic';
\
-:  for dir in '$(..)sysdeps/i386/elf' '
$(..)linuxthreads/sysdeps/unix/sysv/li
nux/i386' '$(..)linuxthreads/sysdeps/unix/sysv/linux' '
$(..)linuxthreads/sysde
ps/pthread' '$(..)sysdeps/pthread' '$(..)linuxthreads/sysdeps/unix/sysv' '
$(..
)linuxthreads/sysdeps/unix' '$(..)linuxthreads/sysdeps/i386/i686' '
$(..)linuxt
hreads/sysdeps/i386' '$(..)sysdeps/unix/sysv/linux/i386/i686' '
$(..)sysdeps/un
ix/sysv/linux/i386' '$(..)sysdeps/unix/sysv/linux' '$(..)sysdeps/gnu' '
$(..)sy
sdeps/unix/common' '$(..)sysdeps/unix/mman' '$(..)sysdeps/unix/inet' '
$(..)sys
deps/unix/sysv/i386' '$(..)sysdeps/unix/sysv' '$(..)sysdeps/unix/i386' '
$(..)s
ysdeps/unix' '$(..)sysdeps/posix' '$(..)sysdeps/i386/i686/fpu' '
$(..)sysdeps/i
386/i686' '$(..)sysdeps/i386/i486' '$(..)sysdeps/i386/fpu' '
$(..)sysdeps/i386'
 '$(..)sysdeps/wordsize-32' '$(..)sysdeps/ieee754/ldbl-96' '
$(..)sysdeps/ieee7
54/dbl-64' '$(..)sysdeps/ieee754/flt-32' '$(..)sysdeps/ieee754' '
$(..)sysdeps/
generic/elf' '$(..)sysdeps/generic'; do                       \
-:    for o in .o .os .op .og .ob .oS; do \
-:       \
-:      echo "\$(objpfx)%$o: $dir/%.S \$(before-compile); \
-:        \$(compile-command.S)";                                     \
-:      echo "\$(objpfx)%$o: $dir/%.s \$(before-compile); \
-:        \$(compile-command.s)";                                     \
-:              \
-:      echo "\$(objpfx)%$o: $dir/%.c \$(before-compile); \
-:        \$(compile-command.c)";                                     \
-:    done; \
-:     \
-:    echo "\$(objpfx)%.d: $dir/%.s \$(common-objpfx)dummy.d; \
-:      \$(make-dummy-dep)";                           \
-:    echo "\$(objpfx)%.d: $dir/%.S \$(before-compile); \
-:      \$(+make-deps)";                                              \
-:      \
-:    echo "\$(objpfx)%.d: $dir/%.c \$(before-compile); \
-:      \$(+make-deps)";                                              \
-:  done;
\
-:  echo 'sysd-rules-done = t') > /usr/src/glibc-build/sysd-rulesT
-: mv -f /usr/src/glibc-build/sysd-rulesT /usr/src/glibc-build/sysd-rules
-: for dir in /usr/src/glibc-build sysdeps/i386/elf
linuxthreads/sysdeps/unix/
sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux
linuxthreads/sysdeps/pthr
ead sysdeps/pthread linuxthreads/sysdeps/unix/sysv
linuxthreads/sysdeps/unix l
inuxthreads/sysdeps/i386/i686 linuxthreads/sysdeps/i386
sysdeps/unix/sysv/linu
x/i386/i686 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux
sysdeps/gnu s
ysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv/i386
sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix
sysdeps/i386/i6
86/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386
sysde
ps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64
sysdeps/ieee754/
flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic; do \
-:   test -f $dir/syscalls.list && \
-:   { /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
-:   test $dir = sysdeps/unix && break; \
-: done > /usr/src/glibc-build/sysd-syscallsT
-: mv -f /usr/src/glibc-build/sysd-syscallsT
/usr/src/glibc-build/sysd-syscall
s
-: 'BEGIN { subdirs = ""; inhibit = "" };                       \
-: /^#/ { next };                                               \
-: /^[^-]/ { subdirs = subdirs " " $0 };                        \
-: /^-/ { inhibit = inhibit " " substr($0, 2) };                \
-: END { printf "sysdep-subdirs =%s\n", subdirs;                \
-:       printf "sysdep-inhibit-subdirs =%s\n", inhibit;        \
-:       print "sysd-dirs-done = t" }'                  \
-:        /dev/null linuxthreads/sysdeps/pthread/Subdirs
sysdeps/unix/inet/Sub
dirs sysdeps/unix/Subdirs > /usr/src/glibc-build/sysd-dirs-tmp
-: /bin/sh: BEGIN { subdirs = ""; inhibit = "" };
/^#/
{ next };                                                /^[^-]/ { subdirs
= s
ubdirs " " $0 };                         /^-/ { inhibit = inhibit " "
substr($
0, 2) };                 END { printf "sysdep-subdirs =%s\n", subdirs;
 printf "sysdep-inhibit-subdirs =%s\n", inhibit;         print
"sysd-dirs-done
 = t" }: No such file or directory
-: make[1]: *** [/usr/src/glibc-build/sysd-dirs] Error 127
-: make[1]: Leaving directory `/usr/src/glibc-2.2.5'
-: make: *** [all] Error 2
I: Log file stored in "/root/.nALFS/packages/glibc-2.2.5.log".
E: Execution failed (2).
I: Executing for 00:51:11, total 00:51:11.
I: Status window is now active.

==============================================================================

I'm sure I must be missing something, but I don't know what. I would
appreciate it if someone could help.

Regards,

Marvin Heffler
Linux Standard Base
IBM Linux Technology Center
11400 Burnet Road, Zip 908-1A33
Austin, TX 78758
(512) 838-0953    T/L 678-0953




Reply to: