I was trying to research bug #4891 when I ran into this problem, I had run into it before with other things I had wanted to compile that I had downloaded, but not part of rawhide before (at least, as far as I can remember). The linking fails on yp_* functions (in this case, yp_get_default_domain), and the command needs to be run again linked with either libnsl or libpwdb (I have no idea what libnsl does, so I don't know which is the desired functionality). [root(2)@ironclad SPECS]# rpm -bc gdm.spec Executing: %prep ... gcc -O2 -m486 -fno-strength-reduce -g -Wall -Wpointer- arith -Wmissing-prototypes -Wmissing-declarations -o gdm gdm.o gdmslave.o gdmserver.o gdmverify.o gdmmisc.o gdmauth.o gdmcookie.o gdmxdmcp.o md5.o -rdynamic - L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd - laudiofile -lm -ldb1 -lglib -ldl -lXdmcp -lX11 - lpam /usr/lib/libwrap.a /usr/lib/libwrap.a(hosts_access.o): In function `host_match': hosts_access.o(.text+0x400): undefined reference to `yp_get_default_domain' collect2: ld returned 1 exit status make[2]: *** [gdm] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/gdm- 1.0.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/gdm-1.0.0' make: *** [all-recursive-am] Error 2 Bad exit status from /var/tmp/rpm-tmp.18708 (%build) [root(2)@ironclad SPECS]# cd ../BUILD/gdm-1.0.0/src/ [root(2)@ironclad src]# gcc -O2 -m486 -fno-strength-reduce - g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing- declarations -o gdm gdm.o gdmslave.o gdmserver.o gdmverify.o gdmmisc.o gdmauth.o gdmcookie.o gdmxdmcp.o md5.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnome - lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl - lXdmcp -lX11 -lpam -lpwdb /usr/lib/libwrap.a [root(2)@ironclad src]#
Fixed in gdm-1.0.0-40 by msw. Thanks for the report.