New issue by paper42 on void-packages repository https://github.com/void-linux/void-packages/issues/38695 Description: ### Is this a new report? Yes ### System Info Void 5.19.0_1 x86_64-musl GenuineIntel notuptodate FFFFFFFF ### Package(s) Affected MEGAcmd-1.4.0_1 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? _No response_ ### Expected behaviour The package doesn't build anymore, a simple update to 1.5.1 didn't help. cc ### Actual behaviour ``` => xbps-src: updating repositories for host (x86_64-musl)... [*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ... => xbps-src: updating software in / masterdir... => xbps-src: cleaning up / masterdir... => MEGAcmd-1.4.0_1: removing autodeps, please wait... => MEGAcmd-1.4.0_1: building [gnu-configure] for x86_64-musl... [host] autoconf-archive-2022.02.11_1: found (/host/binpkgs/autoconf-2.71) [host] autogen-5.18.16_2: found (https://repo-default.voidlinux.org/current/musl) [host] gettext-0.21_4: found (https://repo-default.voidlinux.org/current/musl) [host] automake-1.16.5_1: found (https://repo-default.voidlinux.org/current/musl) [host] libtool-2.4.6_6: found (https://repo-default.voidlinux.org/current/musl) [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/musl) [target] MEGAsdk-devel-3.7.3c_2: found (https://repo-default.voidlinux.org/current/musl) [target] readline-devel-8.1.000_1: found (https://repo-default.voidlinux.org/current/musl) [target] pcre-devel-8.45_3: found (https://repo-default.voidlinux.org/current/musl) => MEGAcmd-1.4.0_1: installing host dependencies: autoconf-archive-2022.02.11_1 autogen-5.18.16_2 gettext-0.21_4 automake-1.16.5_1 libtool-2.4.6_6 pkg-config-0.29.2_3 ... => MEGAcmd-1.4.0_1: installing target dependencies: MEGAsdk-devel-3.7.3c_2 readline-devel-8.1.000_1 pcre-devel-8.45_3 ... => MEGAcmd-1.4.0_1: running do-fetch hook: 00-distfiles ... => MEGAcmd-1.4.0_1: running do-extract hook: 00-distfiles ... => MEGAcmd-1.4.0_1: extracting distfile(s), please wait... => MEGAcmd-1.4.0_1: running post_extract ... => WARNING: MEGAcmd-1.4.0_1: vsed: regex "/sdk\/m4/d" didn't change file "Makefile.am" => WARNING: MEGAcmd-1.4.0_1: vsed: regex "s:LMEGAINC=.*:PKG_CHECK_MODULES([MEGA],[libmega]) LMEGAINC=${MEGA_CFLAGS}:" didn't change file "Makefile.am" => MEGAcmd-1.4.0_1: running do-patch hook: 00-patches ... => MEGAcmd-1.4.0_1: patching: include.am.patch. => MEGAcmd-1.4.0_1: running pre-configure hook: 00-gnu-configure-asneeded ... => MEGAcmd-1.4.0_1: running pre-configure hook: 01-override-config ... => MEGAcmd-1.4.0_1: running pre-configure hook: 02-script-wrapper ... => MEGAcmd-1.4.0_1: running pre_configure ... autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 aclocal: warning: couldn't open directory 'm4': No such file or directory configure.ac:49: error: AM_INIT_AUTOMAKE expanded multiple times /usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... configure.ac:37: the top level /usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... configure.ac:49: the top level autom4te: error: /usr/bin/m4 failed with exit status: 1 aclocal: error: /usr/bin/autom4te failed with exit status: 1 autoreconf: error: aclocal failed with exit status: 1 => ERROR: MEGAcmd-1.4.0_1: pre_configure: './autogen.sh' exited with 1 => ERROR: in pre_configure() at srcpkgs/MEGAcmd/template:43 ``` ### Steps to reproduce 1. ./xbps-src pkg MEGAcmd