SliTaz SliTaz Forum

You are not logged in.

#1 2016-02-25 09:27:47

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Glibc failure

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:

[c]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[/c]
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.

Offline

#2 2016-02-25 12:01:19

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Glibc failure

sed 's|make \&\&|make -j1 \&\&|' -i receipt

Offline

#3 2016-02-25 12:02:59

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Glibc failure

Thank you, Alexander!

I will try it right now. Why it worked without -j1 before?

_______

PS. You solved the problem! All glibc packages cooked well. Now I'll make changes to the official wok and will rebuild all the toolchain, and make new packages DB...

Offline

#4 2016-02-25 14:30:40

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Glibc failure

Still strange behavior:

Glibc cooked well when I started cooking directly on the Tank server in the conspy:

[c]cook glibc[/c]
But it fails when Cooker ( http://cook.slitaz.org/ ) do it (when update receipts from Hg).

So, now I run the command from conspy:

[c]cook glibc; cook slitaz-toolchain[/c]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]