Package Details: autofs 5.1.8-2

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/
Licenses: GPL2
Submitter: arojas
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 27
Popularity: 1.38
First Submitted: 2021-05-08 08:58 (UTC)
Last Updated: 2022-08-23 02:41 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

ava1ar commented on 2022-09-05 17:59 (UTC)

7thSon - you need to install base-devel group if you want to build packages from AUR. This is listed in https://wiki.archlinux.org/title/Arch_User_Repository article.

7thSon commented on 2022-09-05 17:39 (UTC)

I'm getting a build error with the latest version (5.1.8):

checking for lex... no
configure: error: required program LEX not found
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: autofs

Is this a known issue?

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'