>> Can you post the error log please? >> > >> > +if (strcmp( curpass, p->pw_passwd )) >> > >> > That built. :) >> > >> But won't work on most systems! :-) >> > > This is odd. With parallel building enabled the package fails in the > middle of the process. With parallel building disabled the build fails at > about 3/4 of the way. > > Tail end of the build error log with your original test patch with > parallel building disabled: > > ============================================== > [ 77%] Building C object kdm/backend/CMakeFiles/kdm.dir/xdmcp.c.o > cd /dev/shm/kdebase.build/kdm/backend && /usr/bin/gcc -DHAVE_CONFIG_H -O2 > -march=i486 -mtune=i686 -I/dev/shm/kdebase.build/kdm/backend > -I/dev/shm/kdebase.build -I/usr/include/dbus-1.0 > -I/usr/lib/dbus-1.0/include -o CMakeFiles/kdm.dir/xdmcp.c.o -c > /dev/shm/kdebase/kdm/backend/xdmcp.c > Linking C executable kdm > cd /dev/shm/kdebase.build/kdm/backend && /usr/bin/cmake -E > cmake_link_script CMakeFiles/kdm.dir/link.txt --verbose=1 > /usr/bin/gcc -O2 -march=i486 -mtune=i686 CMakeFiles/kdm.dir/access.c.o > CMakeFiles/kdm.dir/auth.c.o CMakeFiles/kdm.dir/bootman.c.o > CMakeFiles/kdm.dir/choose.c.o CMakeFiles/kdm.dir/client.c.o > CMakeFiles/kdm.dir/consolekit.c.o CMakeFiles/kdm.dir/ctrl.c.o > CMakeFiles/kdm.dir/daemon.c.o CMakeFiles/kdm.dir/dm.c.o > CMakeFiles/kdm.dir/dpylist.c.o CMakeFiles/kdm.dir/error.c.o > CMakeFiles/kdm.dir/genauth.c.o CMakeFiles/kdm.dir/inifile.c.o > CMakeFiles/kdm.dir/krb5auth.c.o CMakeFiles/kdm.dir/mitauth.c.o > CMakeFiles/kdm.dir/netaddr.c.o CMakeFiles/kdm.dir/policy.c.o > CMakeFiles/kdm.dir/process.c.o CMakeFiles/kdm.dir/protodpy.c.o > CMakeFiles/kdm.dir/reset.c.o CMakeFiles/kdm.dir/resource.c.o > CMakeFiles/kdm.dir/rpcauth.c.o CMakeFiles/kdm.dir/server.c.o > CMakeFiles/kdm.dir/session.c.o CMakeFiles/kdm.dir/sessreg.c.o > CMakeFiles/kdm.dir/socket.c.o CMakeFiles/kdm.dir/streams.c.o > CMakeFiles/kdm.dir/util.c.o CMakeFiles/kdm.dir/xdmauth.c.o > CMakeFiles/kdm.dir/xdmcp.c.o -o kdm > -rdynamic -lX11 -lXau -ldbus-tqt-1 -ldbus-1 -lpthread -lrt > CMakeFiles/kdm.dir/client.c.o: In function `Verify': > client.c:(.text+0x1263): undefined reference to `crypt' > collect2: ld returned 1 exit status > make[2]: *** [kdm/backend/kdm] Error 1 > make[2]: Leaving directory `/dev/shm/kdebase.build' > make[1]: *** [kdm/backend/CMakeFiles/kdm.dir/all] Error 2 > make[1]: Leaving directory `/dev/shm/kdebase.build' > make: *** [all] Error 2 > ============================================== > > The error makes some sense with respect to what we are doing. I see the > function Verify, but I don't know how to define the reference crypt. :) If > you provide a patch or instructions I'll try again. > > Cmake build options: > > rm ${TMP}/${PRGNAM}/CMakeCache.txt 2>/dev/null > mkdir ${TMP}/${PRGNAM}.build > cd ${TMP}/${PRGNAM}.build > cmake ${TMP}/${PRGNAM} \ > -DCMAKE_C_FLAGS:STRING="$CPUOPT" \ > -DCMAKE_CXX_FLAGS:STRING="$CPUOPT" \ > -DCMAKE_INSTALL_PREFIX=${PREFIX} \ > -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ > -DLIB_SUFFIX=${LIBDIRSUFFIX} \ > -DMAN_INSTALL_DIR=${MANDIR} \ > -DWITH_XCOMPOSITE=ON \ > -DWITH_XCURSOR=ON \ > -DWITH_XFIXES=ON \ > -DWITH_XRANDR=ON \ > -DWITH_ARTS=ON \ > -DWITH_XRENDER=ON \ > -DWITH_XFIXES=ON \ > -DWITH_XDAMAGE=ON \ > -DWITH_XEXT=ON \ > -DWITH_SHADOW=ON \ > -DWITH_PAM=OFF \ > -DBUILD_ALL=ON > > Darrell > OK, looks like someone is going to have to create a CMake patch to add libcrypt detection in order for this to work. Problem is the partial GIT migration and KDE-->TDE make it quite difficult for me to do at this time. Serghei, do you think you could whip something up based on the 3.5.13 sources? Thanks! Tim