Package Details: autofs 5.1.9-5

Git Clone URL: https://aur.archlinux.org/autofs.git (read-only, click to copy)
Package Base: autofs
Description: A kernel-based automounter for Linux
Upstream URL: https://www.kernel.org/pub/linux/daemons/autofs/
Keywords: autofs,auto mount
Licenses: GPL2
Submitter: arojas
Maintainer: ajacocks
Last Packager: ajacocks
Votes: 43
Popularity: 1.74
First Submitted: 2021-05-08 08:58 (UTC)
Last Updated: 2024-08-16 04:39 (UTC)

Dependencies (10)

Sources (43)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

ava1ar commented on 2022-08-23 02:42 (UTC)

Thanks @Scottaroo! I incorporated your fix and pushed as update.

Scottaroo commented on 2022-08-23 00:30 (UTC)

Sorry. Two lines:

sed -i -e "/^#include <linux\/fs.h>$/d" modules/parse_amd.c

sed -i -e "/^#include <linux\/fs.h>$/d" modules/parse_sun.c

Scottaroo commented on 2022-08-23 00:29 (UTC)

Greetings:

While you are correct that recent changes with glibc have caused this to stop building and that it isn't autofs' fault, it's not a mistake or bug on glibc's part. They have made this change and they are ignoring people complaining about it. They expect people to update their code and live with it.

Commenting out "wrong" includes will fix the problem. In prepare(), you just need:

sed -i -e "/^#include <linux\/fs.h>$/d" modules/parse_amd.c sed -i -e "/^#include <linux\/fs.h>$/d" modules/parse_sun.c

and the package will build again.

bidulock commented on 2022-08-05 17:17 (UTC)

Recently installed glibc and linux-api-headers have a conflict: /usr/include/sys/mount.h (from glibc) and /usr/include/linux/mount.h (from linux-api-headers). This is not autofs' fault.

jonstelly commented on 2022-08-05 02:28 (UTC)

I'm getting build error, It seems to be a problem with glibc 1.36?

/usr/include/linux/mount.h:95:6: error: redeclaration of ‘enum fsconfig_command’ 95 | enum fsconfig_command { | ^~~~~~~~~~~~~~~~

helenfro commented on 2022-07-22 06:19 (UTC)

Can add aarch64, works fine.

ava1ar commented on 2022-04-07 23:55 (UTC)

Please read wiki: https://wiki.archlinux.org/title/PKGBUILD Bison is part of base-devel group and should not be declared ezplicitely as dependency - all packages from the group have to be installed if you are using AUR and building packages locally.

anotheralien commented on 2022-04-07 23:21 (UTC)

As of today, it will due undeclared dependency to bison. Just install it manually # pacman -S bison or add it to the PKGBUILD file. Here's the git diff:

diff --git a/PKGBUILD b/PKGBUILD
index 3f710c2..729e3a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ arch=('x86_64')
 url='https://www.kernel.org/pub/linux/daemons/autofs/'
 license=('GPL2')
 depends=('libxml2')
-makedepends=('libldap' 'krb5' 'kmod' 'sssd' 'libnsl' 'rpcsvc-proto' 'systemd')
+makedepends=('libldap' 'krb5' 'kmod' 'sssd' 'libnsl' 'rpcsvc-proto' 'systemd' 'bison')
 optdepends=('krb5: for LDAP support'
             'sssd: for SSSD integration')
 backup=('etc/autofs/auto.master'

kql commented on 2022-03-01 15:47 (UTC) (edited on 2022-03-01 15:48 (UTC) by kql)

@grawity, sorry, I upgraded another server now and it worked fine, so I was probably mistaken earlier.

grawity commented on 2022-03-01 13:17 (UTC)

Beware, version 5.1.8-1 will overwrite current configuration files without warning.

Do you mean the ones in /etc/autofs? Doesn't look like it did. (And it shouldn't have – they're all correctly listed in the PKGBUILD's backup= field.)

(Though tbh I wish it didn't install the "example" auto.net/auto.smb/auto.misc map scripts directly to /etc/autofs, and kept those names free for use by the admin...)