#25 0.2.2 doesn't build with glibc 2.14

open
nobody
None
5
2012-11-20
2011-06-03
arekm
No

Doesn't build with current stable glibc 2.14:

/bin/sh ../libtool --tag=CC --mode=compile x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../tirpc -DPORTMAP -DINET6 -DVERSION="\"0.2.2\"" -D_GNU_SOURCE -Wall -pipe -D_FORTIFY_SOURCE=2 -DHAVE_RPCSEC_GSS -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-3 -g2 -MT libtirpc_la-auth_time.lo -MD -MP -MF .deps/libtirpc_la-auth_time.Tpo -c -o libtirpc_la-auth_time.lo `test -f 'auth_time.c' || echo './'`auth_time.c
libtool: compile: x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../tirpc -DPORTMAP -DINET6 -DVERSION=\"0.2.2\" -D_GNU_SOURCE -Wall -pipe -D_FORTIFY_SOURCE=2 -DHAVE_RPCSEC_GSS -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-3 -g2 -MT libtirpc_la-auth_time.lo -MD -MP -MF .deps/libtirpc_la-auth_time.Tpo -c auth_time.c -fPIC -DPIC -o .libs/libtirpc_la-auth_time.o
auth_time.c:46:24: fatal error: rpcsvc/nis.h: No such file or directory
compilation terminated.
make[2]: *** [libtirpc_la-auth_time.lo] Error 1
make[2]: Leaving directory `/home/users/arekm/rpm/BUILD/libtirpc-0.2.2/src'

Discussion

  • guido

    guido - 2011-06-29

    It is possible to copy the nis*.h header files from glibc (even 2.14) but then it fails with DES authentication and other network-related symbols such as:

    /usr/lib64/libtirpc.so: undefined reference to `key_encryptsession_pk'
    /usr/lib64/libtirpc.so: undefined reference to `getnetname'
    /usr/lib64/libtirpc.so: undefined reference to `_des_crypt_call'
    /usr/lib64/libtirpc.so: undefined reference to `getpublickey'
    /usr/lib64/libtirpc.so: undefined reference to `key_gendes'

    It affects at least the following packages (all from kernel.org):

    - Linux-PAM (unless --disable-nis is used)
    - nfs-utils (because libtirpc is missing symbols for DES authentication and
    perhaps a few more related to networking)
    - yp-tools (same as above)
    - ypbind-mt (same as above)

     
  • Florian Fainelli

    I confirm this build failure too. Not building auth_time obviously works around it.

     
  • Nobody/Anonymous

    GYS4X3 <a href="http://bvgeahjgdype.com/">bvgeahjgdype</a>, [url=http://iixaogevadpx.com/]iixaogevadpx[/url], [link=http://xiouewwngeab.com/]xiouewwngeab[/link], http://ijujmywcawlk.com/

     
  • Nobody/Anonymous

    QTlDWy <a href="http://tlxcpeoyjsgx.com/">tlxcpeoyjsgx</a>, [url=http://yaepnusqwcbr.com/]yaepnusqwcbr[/url], [link=http://ofrwfdplipng.com/]ofrwfdplipng[/link], http://zuymcmvsgyoi.com/

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks