Package Details: autofs 5.1.9-1

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: 39
Popularity: 0.98
First Submitted: 2021-05-08 08:58 (UTC)
Last Updated: 2023-12-04 03:25 (UTC)

Dependencies (10)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

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?

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