I believe this bug has to do with a am-utils configuration problem on ubuntu lucid looking for linux/nfs_mount.h. Looking at the fedora lists, it appears that fc13 may have a similar issue. The problem appears to be that configure cannot compile its test program for linux/nfs_mount.h, so that it configures as if the file were missing (verify by grepping configure output for nfs_mount). Oddly, this does not break the build, but silently produces a broken amd.
The fix that has (so far) worked for me is to add #include<bits/sockaddr.h> to the configure test. This seems to result in a clean configure and build. There is no need to use the autofs hack, and this resolves both the "missing lock" and the "Input/Output Error" problems that have been reported. The following patch does the trick. It should probably put a proper test around the new include statement. Note that this is applied to the standard am-utils-6.1.5 release sources after application of the http://archive.ubuntu.com/ubuntu/pool/universe/a/am-utils/am- utils_6.1.5-12ubuntu2.diff.gz patch and three of the four patches created in debian/patches. (The mk-amd-map_tmpfile.patch appears to have been applied in the primary ubuntu patch.) _____________ diff -Naur am-utils-6.1.5.orig/configure am-utils-6.1.5/configure --- am-utils-6.1.5.orig/configure 2010-06-30 19:49:47.000000000 +0000 +++ am-utils-6.1.5/configure 2010-06-30 19:52:10.000000000 +0000 @@ -25700,6 +25700,7 @@ # ifndef __KERNEL__ # define __KERNEL__ # endif /* __KERNEL__ */ +#include<bits/sockaddr.h> #ifdef HAVE_LINUX_SOCKET_H # include <linux/socket.h> #endif /* HAVE_LINUX_SOCKET_H */ diff -Naur am-utils-6.1.5.orig/configure.in am-utils-6.1.5/configure.in --- am-utils-6.1.5.orig/configure.in 2010-06-30 19:49:47.000000000 +0000 +++ am-utils-6.1.5/configure.in 2010-06-30 19:52:20.000000000 +0000 @@ -620,6 +620,7 @@ # ifndef __KERNEL__ # define __KERNEL__ # endif /* __KERNEL__ */ +#include<bits/sockaddr.h> #ifdef HAVE_LINUX_SOCKET_H # include <linux/socket.h> #endif /* HAVE_LINUX_SOCKET_H */ ______________ -- With Lucid Lynx after upgrade or install mounts mounted with automounter daemon don't mount https://bugs.launchpad.net/bugs/571972 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
