Skip to content

Build failure with pacman 7.1.0 #82

@Foxboron

Description

@Foxboron
make -C lib all
make[1]: Entering directory '/build/pacutils/src/pacutils/lib'
cc -DCACHEDIR=\"/var/cache/pacman/pkg\" -DDBEXT=\".db\" -DDBPATH=\"/var/lib/pacman\" -DGPGDIR=\"/etc/pacman.d/gnupg\" -DHOOKDIR=\"/etc/pacman.d/hooks\" -DLOCALSTATEDIR=\"/var\" -DLOGFILE=\"/var/log/pacman.log\" -DROOTDIR=\"/\" -DSYSCONFDIR=\"/etc\" -shared -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/pacutils/src=/usr/src/debug/pacutils -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -D_FILE_OFFSET_BITS=64 -o libpacutils.so ../ext/globdir.c/globdir.c ../ext/mini.c/mini.c pacutils.c pacutils/config.c pacutils/depends.c pacutils/log.c pacutils/mtree.c pacutils/ui.c pacutils/uix.c pacutils/util.c -lalpm -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto
pacutils/config.c: In function ‘pu_initialize_handle_from_config’:
pacutils/config.c:394:3: error: implicit declaration of function ‘alpm_option_set_disable_sandbox’; did you mean ‘alpm_option_set_disable_sandbox_syscalls’? [-Wimplicit-function-declaration]
  394 |   alpm_option_set_disable_sandbox(handle, config->disablesandbox);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   alpm_option_set_disable_sandbox_syscalls
make[1]: *** [Makefile:71: libpacutils.so] Error 1
make[1]: Leaving directory '/build/pacutils/src/pacutils/lib'
make: *** [Makefile:4: lib] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions