Hi there,
Glibc failed to build on the cooker site. Packages affected: glibc, glibc-base, glibc-locale, glibc-dev.
I don't know how to solve it and ask for help.
My previous actions:
Yesterday I've found that glibc-base and many of the locale-* packages has overlapped files (Gconv libraries: /usr/lib/gconv/ISO8859-15.so and /usr/lib/gconv/ISO8859-1.so). It causes the trouble when one of the locale-* package removed then we completely miss these libraries and need at least force reinstall glibc-base package. So, I fix code that assembly locale-* packages to exclude overlapping files: http://hg.slitaz.org/wok/rev/0b07c031c9db
Packages locale-* rebuilded without errors.
Then I've found that package glibc-extra-samba contains only two files (/usr/lib/gconv/IBM850.so and /usr/lib/gconv/IBM437.so) and is 100% overlapped with glibc-base. Package glibc-extra-samba is redundant, so I decided to remove it: http://hg.slitaz.org/wok/rev/9b7c1ea86466
Package glibc failed, then glibc-locale (as it wanted glibc). Then slitaz-toolchain rebuilded some packages, and glibc and glibc-locale failed again.
At the end lines of glibc cooking log I found this:
Inconsistency detected by ld.so: dynamic-link.h: 209: elf_get_dynamic_info: Assertion 'info[15] == ((void *)0)' failed!
Makefile:192: recipe for target '/home/slitaz/wok/glibc/source/glibc-build/sunrpc/xbootparam_prot.stmp' failed
make[2]: *** [/home/slitaz/wok/glibc/source/glibc-build/sunrpc/xbootparam_prot.stmp] Error 127
make[2]: *** Waiting for unfinished jobs....
mkdir /home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc
mkdir /home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc
Inconsistency detected by ld.so: dynamic-link.h: 209: elf_get_dynamic_info: Assertion 'info[15] == ((void *)0)' failed!
Makefile:192: recipe for target '/home/slitaz/wok/glibc/source/glibc-build/sunrpc/xnlm_prot.stmp' failed
make[2]: *** [/home/slitaz/wok/glibc/source/glibc-build/sunrpc/xnlm_prot.stmp] Error 127
mkdir: can't create directory '/home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc': File exists
CPP='i486-slitaz-linux-gcc -E -x c-header' /home/slitaz/wok/glibc/source/glibc-build/elf/ld-linux.so.2 --library-path /home/slitaz/wok/glibc/source/glibc-build:/home/slitaz/wok/glibc/source/glibc-build/math:/home/slitaz/wok/glibc/source/glibc-build/elf:/home/slitaz/wok/glibc/source/glibc-build/dlfcn:/home/slitaz/wok/glibc/source/glibc-build/nss:/home/slitaz/wok/glibc/source/glibc-build/nis:/home/slitaz/wok/glibc/source/glibc-build/rt:/home/slitaz/wok/glibc/source/glibc-build/resolv:/home/slitaz/wok/glibc/source/glibc-build/crypt:/home/slitaz/wok/glibc/source/glibc-build/nptl /home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc/bootparam_prot.T
CPP='i486-slitaz-linux-gcc -E -x c-header' /home/slitaz/wok/glibc/source/glibc-build/elf/ld-linux.so.2 --library-path /home/slitaz/wok/glibc/source/glibc-build:/home/slitaz/wok/glibc/source/glibc-build/math:/home/slitaz/wok/glibc/source/glibc-build/elf:/home/slitaz/wok/glibc/source/glibc-build/dlfcn:/home/slitaz/wok/glibc/source/glibc-build/nss:/home/slitaz/wok/glibc/source/glibc-build/nis:/home/slitaz/wok/glibc/source/glibc-build/rt:/home/slitaz/wok/glibc/source/glibc-build/resolv:/home/slitaz/wok/glibc/source/glibc-build/crypt:/home/slitaz/wok/glibc/source/glibc-build/nptl /home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcgen -Y ../scripts -h rpcsvc/nlm_prot.x -o /home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc/nlm_prot.T
Inconsistency detected by ld.so: dynamic-link.h: 209: elf_get_dynamic_info: Assertion 'info[15] == ((void *)0)' failed!
Makefile:182: recipe for target '/home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc/bootparam_prot.stmp' failed
make[2]: *** [/home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc/bootparam_prot.stmp] Error 127
Inconsistency detected by ld.so: dynamic-link.h: 209: elf_get_dynamic_info: Assertion 'info[15] == ((void *)0)' failed!
Makefile:182: recipe for target '/home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc/nlm_prot.stmp' failed
make[2]: *** [/home/slitaz/wok/glibc/source/glibc-build/sunrpc/rpcsvc/nlm_prot.stmp] Error 127
make[2]: Leaving directory '/home/slitaz/wok/glibc/source/glibc-2.14.1/sunrpc'
Makefile:221: recipe for target 'sunrpc/others' failed
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory '/home/slitaz/wok/glibc/source/glibc-2.14.1'
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 2
Googling not asked to my question how to fix glibc build.
Broken packages glibc, glibc-locale... appeared on the mirror. My next actions:
I've push old good glibc* packages from my tazpkg cache to the cooking chroot;
Make new packages database with these packages (cook pkgdb --flavors);
Copy packages database with the good glibc* packages manually to the mirror1.
Now if SliTaz users will update their glibc* packages, they at least will not broke their systems with the bad glibc* packages (although glibc* packages files are not reflected in the files.list.lzma, and http://pkgs.slitaz.org/ shows no glibc* files).
Please help.