[arch-general] glibc 2.16 -- just what is supposed to be in /lib now ??

David C. Rankin drankinatty at suddenlinkmail.com
Tue Jul 10 16:15:34 EDT 2012


Guys,

   I have read the recent thread about glibc problems and I am totally 
confused about what I am still supposed to have in /lib... Currently something 
is broken with glibc because after update, the tdebase package (kdebase for 
trinity) fails to build from source with the following:

Scanning dependencies of target libkmanpart-module
[ 49%] Building CXX object
kioslave/man/CMakeFiles/libkmanpart-module.dir/kmanpart.cpp.o
Linking CXX shared module libkmanpart.so
[ 49%] Built target libkmanpart-module
[ 49%] Generating nfs_prot_xdr.c
cannot find any C preprocessor (cpp)
rpcgen: C preprocessor failed with exit code 1
make[2]: *** [kioslave/nfs/nfs_prot_xdr.c] Error 1
make[1]: *** [kioslave/nfs/CMakeFiles/kio_nfs-module.dir/all] Error 2
make: *** [all] Error 2

   This isn't a hardcoded path problem in TDE, it has something to do with the 
system not being able to find cpp in the archroot. I have confirmed this build 
failure on both Arch i686 and x86_64. The files present in my archroot /lib are:

15:08 providence:~/bld47/root/lib> l
total 3268
drwxr-xr-x  3 root root    4096 Jul  9 13:44 .
drwxr-xr-x 21 root root    4096 Jun 29 22:35 ..
drwxr-xr-x  4 root root    4096 Jun 24 12:31 modules
-rwxr-xr-x  1 root root  150998 Jul  2 10:27 ld-2.16.so
lrwxrwxrwx  1 root root      10 Jul  2 10:27 ld-linux.so.2 -> ld-2.16.so
-rwxr-xr-x  1 root root   14012 Jul  2 10:27 libanl-2.16.so
lrwxrwxrwx  1 root root      14 Jul  2 10:27 libanl.so.1 -> libanl-2.16.so
-rwxr-xr-x  1 root root    5544 Jul  2 10:27 libBrokenLocale-2.16.so
lrwxrwxrwx  1 root root      23 Jul  2 10:27 libBrokenLocale.so.1 -> 
libBrokenLocale-2.16.so
-rwxr-xr-x  1 root root 1967415 Jul  2 10:27 libc-2.16.so
-rwxr-xr-x  1 root root  185924 Jul  2 10:27 libcidn-2.16.so
lrwxrwxrwx  1 root root      15 Jul  2 10:27 libcidn.so.1 -> libcidn-2.16.so
-rwxr-xr-x  1 root root   34324 Jul  2 10:27 libcrypt-2.16.so
lrwxrwxrwx  1 root root      16 Jul  2 10:27 libcrypt.so.1 -> libcrypt-2.16.so
lrwxrwxrwx  1 root root      12 Jul  2 10:27 libc.so.6 -> libc-2.16.so
-rwxr-xr-x  1 root root   13836 Jul  2 10:27 libdl-2.16.so
lrwxrwxrwx  1 root root      13 Jul  2 10:27 libdl.so.2 -> libdl-2.16.so
-rwxr-xr-x  1 root root  255492 Jul  2 10:27 libm-2.16.so
-rwxr-xr-x  1 root root   17948 Jul  2 10:27 libmemusage.so
lrwxrwxrwx  1 root root      12 Jul  2 10:27 libm.so.6 -> libm-2.16.so
-rwxr-xr-x  1 root root   87920 Jul  2 10:27 libnsl-2.16.so
lrwxrwxrwx  1 root root      14 Jul  2 10:27 libnsl.so.1 -> libnsl-2.16.so
-rwxr-xr-x  1 root root   30544 Jul  2 10:27 libnss_compat-2.16.so
lrwxrwxrwx  1 root root      21 Jul  2 10:27 libnss_compat.so.2 -> 
libnss_compat-2.16.so
-rwxr-xr-x  1 root root   26180 Jul  2 10:27 libnss_db-2.16.so
lrwxrwxrwx  1 root root      17 Jul  2 10:27 libnss_db.so.2 -> libnss_db-2.16.so
-rwxr-xr-x  1 root root   22076 Jul  2 10:27 libnss_dns-2.16.so
lrwxrwxrwx  1 root root      18 Jul  2 10:27 libnss_dns.so.2 -> libnss_dns-2.16.so
-rwxr-xr-x  1 root root   47032 Jul  2 10:27 libnss_files-2.16.so
lrwxrwxrwx  1 root root      20 Jul  2 10:27 libnss_files.so.2 -> 
libnss_files-2.16.so
-rwxr-xr-x  1 root root   17996 Jul  2 10:27 libnss_hesiod-2.16.so
lrwxrwxrwx  1 root root      21 Jul  2 10:27 libnss_hesiod.so.2 -> 
libnss_hesiod-2.16.so
-rwxr-xr-x  1 root root   42652 Jul  2 10:27 libnss_nis-2.16.so
-rwxr-xr-x  1 root root   50804 Jul  2 10:27 libnss_nisplus-2.16.so
lrwxrwxrwx  1 root root      22 Jul  2 10:27 libnss_nisplus.so.2 -> 
libnss_nisplus-2.16.so
lrwxrwxrwx  1 root root      18 Jul  2 10:27 libnss_nis.so.2 -> libnss_nis-2.16.so
-rwxr-xr-x  1 root root    5548 Jul  2 10:27 libpcprofile.so
-rwxr-xr-x  1 root root  130395 Jul  2 10:27 libpthread-2.16.so
lrwxrwxrwx  1 root root      18 Jul  2 10:27 libpthread.so.0 -> libpthread-2.16.so
-rwxr-xr-x  1 root root   83772 Jul  2 10:27 libresolv-2.16.so
lrwxrwxrwx  1 root root      17 Jul  2 10:27 libresolv.so.2 -> libresolv-2.16.so
-rwxr-xr-x  1 root root   30684 Jul  2 10:27 librt-2.16.so
lrwxrwxrwx  1 root root      13 Jul  2 10:27 librt.so.1 -> librt-2.16.so
-rwxr-xr-x  1 root root   13800 Jul  2 10:27 libSegFault.so
-rwxr-xr-x  1 root root   36005 Jul  2 10:27 libthread_db-1.0.so
lrwxrwxrwx  1 root root      19 Jul  2 10:27 libthread_db.so.1 -> 
libthread_db-1.0.so
-rwxr-xr-x  1 root root    9796 Jul  2 10:27 libutil-2.16.so
lrwxrwxrwx  1 root root      15 Jul  2 10:27 libutil.so.1 -> libutil-2.16.so

   cpp is in /usr/bin:

15:10 providence:~/bld47/root/usr/bin> l cpp
-rwxr-xr-x 1 root root 519596 Jul  2 08:06 cpp

   But, for some strange reason, the build can't find it. Has anyone else 
encountered similar build issues with the new glibc?

   Nothing in the TDE code has changed concerning the call to rpcgen or cpp. 
I'm left scratching my head. Is it safe for me to downgrade glibc to test? 
With all the "it broke my system" threads, I'm somewhat reluctant to try.

   What say the experts? What should I check first?

-- 
David C. Rankin, J.D.,P.E.



More information about the arch-general mailing list