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: 42
Popularity: 1.28
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-auto commented on 2024-06-03 23:27 (UTC)

@ajacocks, are you interested adopting the package? I don't have time to keep it up-to-date promptly. Will pass the ownership if you willing to take care of it.

ajacocks commented on 2024-06-03 21:34 (UTC)

I've made an updated PKGBUILD that works, and stored it here: https://github.com/ajacocks/autofs-aur

archer97 commented on 2024-05-31 11:18 (UTC)

Hi @saitama. I appreciate the update; I'll give it a go and and lyk asap ;)

saitama commented on 2024-05-31 10:49 (UTC) (edited on 2024-06-01 05:09 (UTC) by saitama)

@archer97 I had same issue. I used pathces provided here: https://mirrors.edge.kernel.org/pub/linux/daemons/autofs/v5/patches-5.2.0/ and it built without issues.

archer97 commented on 2024-05-23 06:03 (UTC)

This is still the issue as of today, any fixes ?

cyrus-sasl.c:112:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  112 |         { SASL_CB_USER, &getuser_func, NULL },
      |                         ^
cyrus-sasl.c:112:25: note: (near initialization for ‘callbacks[0].proc’)
cyrus-sasl.c:113:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  113 |         { SASL_CB_AUTHNAME, &getuser_func, NULL },
      |                             ^
cyrus-sasl.c:113:29: note: (near initialization for ‘callbacks[1].proc’)
cyrus-sasl.c:114:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(sasl_conn_t *, void *, int,  sasl_secret_t **)’ {aka ‘int (*)(struct sasl_conn *, void *, int,  struct sasl_secret **)’} [-Wincompatible-pointer-types]
  114 |         { SASL_CB_PASS, &getpass_func, NULL },
      |                         ^
cyrus-sasl.c:114:25: note: (near initialization for ‘callbacks[2].proc’)
cyrus-sasl.c:119:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char *)’ [-Wincompatible-pointer-types]
  119 |         { SASL_CB_LOG, &sasl_log_func, NULL },
      |                        ^
cyrus-sasl.c:119:24: note: (near initialization for ‘debug_callbacks[0].proc’)
cyrus-sasl.c:120:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  120 |         { SASL_CB_USER, &getuser_func, NULL },
      |                         ^
cyrus-sasl.c:120:25: note: (near initialization for ‘debug_callbacks[1].proc’)
cyrus-sasl.c:121:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  121 |         { SASL_CB_AUTHNAME, &getuser_func, NULL },
      |                             ^
cyrus-sasl.c:121:29: note: (near initialization for ‘debug_callbacks[2].proc’)
cyrus-sasl.c:122:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(sasl_conn_t *, void *, int,  sasl_secret_t **)’ {aka ‘int (*)(struct sasl_conn *, void *, int,  struct sasl_secret **)’} [-Wincompatible-pointer-types]
  122 |         { SASL_CB_PASS, &getpass_func, NULL },
      |                         ^
cyrus-sasl.c:122:25: note: (near initialization for ‘debug_callbacks[3].proc’)
make[1]: *** [Makefile:137: cyrus-sasl.o] Error 1
make[1]: Leaving directory '/home/user/.cache/yay/autofs/src/autofs-5.1.9/modules'
make: *** [Makefile:14: daemon] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: autofs-exit status 4

rsaffi commented on 2024-05-09 15:08 (UTC)

Version 5.1.9 not building properly. Dependencies are handled as expected, but then when autofs starts its build process, it throws the following error related to cyrus-sasl.o:

strip --strip-debug mount_ext2.so
strip --strip-debug lookup_dir.so
strip --strip-debug mount_bind.so
strip --strip-debug lookup_hosts.so
strip --strip-debug mount_autofs.so
strip --strip-debug lookup_multi.so
cyrus-sasl.c:112:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  112 |         { SASL_CB_USER, &getuser_func, NULL },
      |                         ^
cyrus-sasl.c:112:25: note: (near initialization for ‘callbacks[0].proc’)
cyrus-sasl.c:113:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  113 |         { SASL_CB_AUTHNAME, &getuser_func, NULL },
      |                             ^
cyrus-sasl.c:113:29: note: (near initialization for ‘callbacks[1].proc’)
cyrus-sasl.c:114:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(sasl_conn_t *, void *, int,  sasl_secret_t **)’ {aka ‘int (*)(struct sasl_conn *, void *, int,  struct sasl_secret **)’} [-Wincompatible-pointer-types]
  114 |         { SASL_CB_PASS, &getpass_func, NULL },
      |                         ^
cyrus-sasl.c:114:25: note: (near initialization for ‘callbacks[2].proc’)
cyrus-sasl.c:119:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char *)’ [-Wincompatible-pointer-types]
  119 |         { SASL_CB_LOG, &sasl_log_func, NULL },
      |                        ^
cyrus-sasl.c:119:24: note: (near initialization for ‘debug_callbacks[0].proc’)
cyrus-sasl.c:120:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  120 |         { SASL_CB_USER, &getuser_func, NULL },
      |                         ^
cyrus-sasl.c:120:25: note: (near initialization for ‘debug_callbacks[1].proc’)
cyrus-sasl.c:121:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’ [-Wincompatible-pointer-types]
  121 |         { SASL_CB_AUTHNAME, &getuser_func, NULL },
      |                             ^
cyrus-sasl.c:121:29: note: (near initialization for ‘debug_callbacks[2].proc’)
cyrus-sasl.c:122:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(sasl_conn_t *, void *, int,  sasl_secret_t **)’ {aka ‘int (*)(struct sasl_conn *, void *, int,  struct sasl_secret **)’} [-Wincompatible-pointer-types]
  122 |         { SASL_CB_PASS, &getpass_func, NULL },
      |                         ^
cyrus-sasl.c:122:25: note: (near initialization for ‘debug_callbacks[3].proc’)
strip --strip-debug lookup_program.so

(...)

make[1]: *** [Makefile:137: cyrus-sasl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
strip --strip-debug lookup_yp.so
strip --strip-debug lookup_sss.so
strip --strip-debug lookup_file.so
strip --strip-debug parse_sun.so
strip --strip-debug mount_nfs.so
strip --strip-debug parse_amd.so
make[1]: Leaving directory '/home/ricardo/.cache/yay/autofs/src/autofs-5.1.9/modules'
make: *** [Makefile:14: daemon] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: autofs-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
autofs - exit status 4

uzvg commented on 2023-12-01 12:56 (UTC)

I originally thought this should be in the "extra" repository.

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?