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

Bug#207391: glibc: does not build: version-info.h and other problems.



Package: glibc
Version: 2.3.2-3
Severity: serious
Tags: sid
Justification: no longer builds from source

I have been attempting to build glibc with the parenthesis added to
10_cvs.dpatch as noted in bug#202243 (this is the first, minimally
invasive patch, not the final patch that actually truncates instead of
rounding).  As it consists of parenthesis being added to four lines, I
don't think my modifications are the cause of the problem.  Running
apt-get build-dep glibc shows that I'm not missing any stated
build-dependencies.  However, when compiling, I get at one point:

gcc-3.3 Examples/tststatic.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -pipe      -I../include -I. -I/var/debian/glibc-2.3.2/i386-linux/obj/linuxthreads -I.. -I../libio  -I/var/debian/glibc-2.3.2/i386-linux/obj -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysd
 eps/generic -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.2/include -isystem /usr/src/kernel-headers-2.4.21-4/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -o /var/debian/glibc-2.3.2/i386-linux/obj/linuxthreads/tststatic.o -MD -MP -MF /var/debian/glibc-2.3.2/i386-linux/obj/linuxthreads/tststatic.o.dt
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/csu/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/iconv/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/iconvdata/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/locale/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/localedata/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/assert/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/ctype/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/intl/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/catgets/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/math/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/setjmp/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/signal/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/stdlib/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/stdio-common/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/libio/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/malloc/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/string/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/wcsmbs/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/timezone/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/time/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/dirent/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/grp/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/pwd/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/posix/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/io/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/termios/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/resource/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/misc/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/socket/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/sysvipc/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/gmon/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/gnulib/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/wctype/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/manual/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/shadow/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/po/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/argp/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/crypt/stamp.o', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/libc.a'.


After this point it actually continues compiling (though I get more
errors like this about various stamp.o and stamp.oS files as it goes
along), so although as a novice to glibc I find this unsettling, it's
not a major issue until it gets down to:

gcc-3.3 order.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -pipe      -I../include -I. -I/var/debian/glibc-2.3.2/i386-linux/obj/elf -I.. -I../libio  -I/var/debian/glibc-2.3.2/i386-linux/obj -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc 
 -isystem /usr/lib/gcc-lib/i486-linux/3.3.2/include -isystem /usr/src/kernel-headers-2.4.21-4/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -o /var/debian/glibc-2.3.2/i386-linux/obj/elf/order.o -MD -MP -MF /var/debian/glibc-2.3.2/i386-linux/obj/elf/order.o.dt
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/elf/filter.out', needed by `tests'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/elf/restest2.out', needed by `tests'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/elf/next.out', needed by `tests'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/elf/tst-tls3.out', needed by `tests'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/elf/tst-tls10.out', needed by `tests'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/elf/tst-tls11.out', needed by `tests'.
make[4]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/elf/tst-tls12.out', needed by `tests'.
gcc-3.3 tst-pathopt.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -pipe      -I../include -I. -I/var/debian/glibc-2.3.2/i386-linux/obj/elf -I.. -I../libio  -I/var/debian/glibc-2.3.2/i386-linux/obj -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nos
 tdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.2/include -isystem /usr/src/kernel-headers-2.4.21-4/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -o /var/debian/glibc-2.3.2/i386-linux/obj/elf/tst-pathopt.o -MD -MP -MF /var/debian/glibc-2.3.2/i386-linux/obj/elf/tst-pathopt.o.dt
.././scripts/mkinstalldirs /var/debian/glibc-2.3.2/i386-linux/obj/elf
cd /var/debian/glibc-2.3.2/i386-linux/obj/elf && gcc-3.3 -O -Wall -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O2 -g -include ../config.h /var/debian/glibc-2.3.2/glibc-2.3.2/elf/check-textrel.c -o check-textrel
/var/debian/glibc-2.3.2/i386-linux/obj/elf/check-textrel /var/debian/glibc-2.3.2/i386-linux/obj/libc.so \
   > /var/debian/glibc-2.3.2/i386-linux/obj/elf/check-textrel.out
make[4]: *** [/var/debian/glibc-2.3.2/i386-linux/obj/elf/check-textrel.out] Error 1
make[4]: Target `tests' not remade because of errors.
make[4]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2/elf'
make[3]: *** [elf/tests] Error 2
make[3]: Target `check' not remade because of errors.
make[3]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/debian/glibc-2.3.2/i386-linux/obj'
date >>/var/debian/glibc-2.3.2/log-test-i386-linux
make[1]: Leaving directory `/var/debian/glibc-2.3.2'
touch /var/debian/glibc-2.3.2/i386-linux/compiled-source
mkdir --parents --mode=0755 /var/debian/glibc-2.3.2/i386-linux/install_root
/usr/bin/make -C /var/debian/glibc-2.3.2/i386-linux/obj install_root=/var/debian/glibc-2.3.2/i386-linux/install_root install
make[1]: Entering directory `/var/debian/glibc-2.3.2/i386-linux/obj'
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
/usr/bin/make -r PARALLELMFLAGS="" CVSOPTS="" -C /var/debian/glibc-2.3.2/glibc-2.3.2 objdir=`pwd` install
make[2]: Entering directory `/var/debian/glibc-2.3.2/glibc-2.3.2'
/usr/bin/make  -C csu subdir_lib
make[3]: Entering directory `/var/debian/glibc-2.3.2/glibc-2.3.2/csu'
make[3]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2/csu'
make[3]: Entering directory `/var/debian/glibc-2.3.2/glibc-2.3.2/csu'
gcc-3.3 version.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -pipe      -I../include -I. -I/var/debian/glibc-2.3.2/i386-linux/obj/csu -I.. -I../libio  -I/var/debian/glibc-2.3.2/i386-linux/obj -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdin
 c -isystem /usr/lib/gcc-lib/i486-linux/3.3.2/include -isystem /usr/src/kernel-headers-2.4.21-4/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -o /var/debian/glibc-2.3.2/i386-linux/obj/csu/version.o -MD -MP -MF /var/debian/glibc-2.3.2/i386-linux/obj/csu/version.o.dt
In file included from version.c:33:
/var/debian/glibc-2.3.2/i386-linux/obj/csu/version-info.h:1:1: missing terminating " character
/var/debian/glibc-2.3.2/i386-linux/obj/csu/version-info.h:2:1: missing terminating " character
/var/debian/glibc-2.3.2/i386-linux/obj/csu/version-info.h:3:1: missing terminating " character
/var/debian/glibc-2.3.2/i386-linux/obj/csu/version-info.h:4:1: missing terminating " character
make[3]: *** [/var/debian/glibc-2.3.2/i386-linux/obj/csu/version.o] Error 1
make[3]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2/csu'
make[2]: *** [csu/subdir_lib] Error 2
make[2]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/debian/glibc-2.3.2/i386-linux/obj'
make: *** [/var/debian/glibc-2.3.2/i386-linux/installed-binaries] Error 2


At this point the compilation completely aborts.  Taking a closer look
at the version-info.h file, it contains:

"Compiled on a Linux >>2.4.22-pre6<< system on 2003-08-26.
"
"Available extensions:
"
"       GNU libio by Per Bothner\n"
"       crypt add-on version 2.1 by Michael Glad and others\n"
"       linuxthreads-0.10 by Xavier Leroy\n"
"       BIND-8.2.3-T5B\n"
"       libthread_db work sponsored by Alpha Processor Inc\n"
"       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk\n"

And in fact as you can see, the first four lines are missing a
terminating \n".  If I go ahead and add those in, so that the file
reads:

"Compiled on a Linux >>2.4.22-pre6<< system on 2003-08-26.\n"
"\n"
"Available extensions:\n"
"\n"
"       GNU libio by Per Bothner\n"
"       crypt add-on version 2.1 by Michael Glad and others\n"
"       linuxthreads-0.10 by Xavier Leroy\n"
"       BIND-8.2.3-T5B\n"
"       libthread_db work sponsored by Alpha Processor Inc\n"
"       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk\n"

I can then restart debian/rules binary and it will continue until it
reaches:

make[5]: Entering directory `/var/debian/glibc-2.3.2/glibc-2.3.2/time'
make[5]: Nothing to be done for `rtld-all'.
make[5]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2/time'
make[4]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2/elf'
make[3]: *** No rule to make target `/var/debian/glibc-2.3.2/i386-linux/obj/dlfcn/libdl.so.2', needed by `/var/debian/glibc-2.3.2/i386-linux/obj/elf/sprof'.  Stop.
make[3]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2/elf'
make[2]: *** [elf/subdir_install] Error 2
make[2]: Leaving directory `/var/debian/glibc-2.3.2/glibc-2.3.2'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/debian/glibc-2.3.2/i386-linux/obj'
make: *** [/var/debian/glibc-2.3.2/i386-linux/installed-binaries] Error 2

And then I am stuck.

If you like, I can arrange to provide a complete build log.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux turing 2.4.22-pre6 #1 Wed Jul 16 12:27:49 CDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US)




Reply to: