Arch snapd build(/install) fails

When I try to install snapd or snapd-git, the build stage always fails.
I have diagnosed to issue to be, that autoreconf -i -f doesn’t produce a ./configure (executable) file in /path/to/snapd-source/cmd.

I think, that this is probably an issue with autoreconf, or the configure.ac, than with any other thing.

These are the last few lines, of the build log:
of snapd-git

/usr/bin/autoreconf: line 5: /usr/bin/perl: Success
/home/USERNAME/.cache/yay/snapd-git/PKGBUILD: line 97: ./configure: No such file or directory

and of snapd

/usr/bin/autoreconf: line 5: /usr/bin/perl: Success
/home/USERNAME/.cache/yay/snapd/PKGBUILD: line 94: ./configure: No such file or directory

Edit: I temporarily used this to install: Issue with discord snap in Arch
Therefore I am right now using snap 2.27.3 Stuff doesn’t install with an ancient snapd version.
When I discovered the github, I then realised, that those releases are also just source.

Can you make sure that base-devel group is installed in your system?

Have reinstalled multiple times.

Not sure what may be happening. The package builds in a minimal chroot here.

Can you attach more of the build log? Ideally all of it?

snapd install:

==> Making package: snapd 2.48.2-1 (Mon 01 Feb 2021 10:57:14 AM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading snapd-2.48.2.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   632  100   632    0     0   2558      0 --:--:-- --:--:-- --:--:--  2558

  2 3685k    2 97069    0     0   216k      0  0:00:16 --:--:--  0:00:16  216k
100 3685k  100 3685k    0     0  4429k      0 --:--:-- --:--:-- --:--:-- 9090k
==> Validating source files with sha256sums...
    snapd-2.48.2.tar.xz ... Passed
==> Extracting sources...
  -> Extracting snapd-2.48.2.tar.xz with bsdtar
==> Starting prepare()...
==> Starting build()...
*** Setting version to '2.48.2-1' from user.
# github.com/snapcore/snapd/cmd/snap-update-ns
/usr/bin/ld: /tmp/go-link-944172841/000017.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrouplist':
getgrouplist_unix.cgo2.c:(.text+0x20): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-944172841/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrgid_r':
cgo_lookup_unix.cgo2.c:(.text+0x34): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-944172841/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrnam_r':
cgo_lookup_unix.cgo2.c:(.text+0x75): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-944172841/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwnam_r':
cgo_lookup_unix.cgo2.c:(.text+0xb5): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-944172841/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwuid_r':
cgo_lookup_unix.cgo2.c:(.text+0xf4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-944172841/000023.o: in function `_cgo_26061493d47f_C2func_getaddrinfo':
cgo_unix.cgo2.c:(.text+0x34): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
# github.com/snapcore/snapd/cmd/snap-exec
/usr/bin/ld: /tmp/go-link-181866616/000002.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrouplist':
getgrouplist_unix.cgo2.c:(.text+0x20): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-181866616/000001.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrgid_r':
cgo_lookup_unix.cgo2.c:(.text+0x34): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-181866616/000001.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrnam_r':
cgo_lookup_unix.cgo2.c:(.text+0x75): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-181866616/000001.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwnam_r':
cgo_lookup_unix.cgo2.c:(.text+0xb5): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-181866616/000001.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwuid_r':
cgo_lookup_unix.cgo2.c:(.text+0xf4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-181866616/000020.o: in function `_cgo_26061493d47f_C2func_getaddrinfo':
cgo_unix.cgo2.c:(.text+0x34): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
# github.com/snapcore/snapd/cmd/snapctl
/usr/bin/ld: /tmp/go-link-040309440/000019.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrouplist':
getgrouplist_unix.cgo2.c:(.text+0x20): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-040309440/000018.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrgid_r':
cgo_lookup_unix.cgo2.c:(.text+0x34): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-040309440/000018.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrnam_r':
cgo_lookup_unix.cgo2.c:(.text+0x75): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-040309440/000018.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwnam_r':
cgo_lookup_unix.cgo2.c:(.text+0xb5): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-040309440/000018.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwuid_r':
cgo_lookup_unix.cgo2.c:(.text+0xf4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-040309440/000004.o: in function `_cgo_26061493d47f_C2func_getaddrinfo':
cgo_unix.cgo2.c:(.text+0x34): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make: Entering directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data'
make -C systemd all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/systemd'
cat snapd.apparmor.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.apparmor.service
cat snapd.autoimport.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.autoimport.service
cat snapd.core-fixup.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.core-fixup.service
cat snapd.failure.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.failure.service
cat snapd.recovery-chooser-trigger.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.recovery-chooser-trigger.service
cat snapd.seeded.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.seeded.service
cat snapd.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.service
cat snapd.snap-repair.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.snap-repair.service
cat snapd.system-shutdown.service.in | \
	sed s:@libexecdir@:/usr/lib:g | \
	sed s:@SNAPD_ENVIRONMENT_FILE@:/etc/default/snapd:g | \
	sed s:@bindir@:/bin:g | \
	sed s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g  | \
	cat > snapd.system-shutdown.service
if command -v shellcheck >/dev/null; then shellcheck snapd.run-from-snap snapd.core-fixup.sh; fi
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/systemd'
make -C systemd-user all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/systemd-user'
cat snapd.session-agent.service.in | \
	sed s:@bindir@:/bin:g | \
	cat > snapd.session-agent.service
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/systemd-user'
make -C systemd-env all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/systemd-env'
sed   < 990-snapd.conf.in > 990-snapd.conf \
	s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/systemd-env'
make -C dbus all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/dbus'
cat io.snapcraft.Launcher.service.in | sed 's:@bindir@:/bin:g' | cat > io.snapcraft.Launcher.service
cat io.snapcraft.Settings.service.in | sed 's:@bindir@:/bin:g' | cat > io.snapcraft.Settings.service
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/dbus'
make -C env all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/env'
sed   < snapd.sh.in > snapd.sh \
	s:@SNAP_MOUNT_DIR@:/var/lib/snapd/snap:g
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/env'
make -C desktop all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/desktop'
cat snap-handle-link.desktop.in | \
	sed s:@bindir@:/bin:g | \
	cat > snap-handle-link.desktop
cat snap-userd-autostart.desktop.in | \
	sed s:@bindir@:/bin:g | \
	cat > snap-userd-autostart.desktop
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data/desktop'
make: Leaving directory '/home/USERNAME/.cache/yay/snapd/src/snapd-2.48.2/data'
/usr/bin/autoreconf: line 5: /usr/bin/perl: Success
/home/USERNAME/.cache/yay/snapd/PKGBUILD: line 94: ./configure: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

snapd-git Install follows:

==> Making package: snapd-git 2.48.2.r1007.g47f313b2d7-1 (Mon 01 Feb 2021 10:58:43 AM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating snapd git repo...
Fetching origin
From https://github.com/snapcore/snapd
   3bee52ec86..662bbeeb7e  refs/pull/9883/head  -> refs/pull/9883/head
 + 373eb74e0d...aed5aa362d refs/pull/9883/merge -> refs/pull/9883/merge  (forced update)
==> Validating source files with sha256sums...
    snapd ... Skipped
==> Extracting sources...
  -> Creating working copy of snapd git repo...
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
*** Setting version to '2.48.2.r1007.g47f313b2d7-1' from user.
Obtaining dependencies
WORK=/tmp/go-build288450299
WORK=/tmp/go-build011656822
mkdir -p $WORK/b001/
cat >$WORK/b001/importcfg.link << 'EOF' # internal
packagefile github.com/snapcore/snapd/cmd/snapctl=/home/USERNAME/.cache/go-build/4f/4ff7af4c5399ba1466790a8c251e5f43352e60e914fddae13df195350f3954bf-d
packagefile fmt=/home/USERNAME/.cache/go-build/33/33807a52c0be54c6f694a27dd4f7fe7acc207f344223219d960e90599871fb51-d
packagefile github.com/snapcore/snapd/client=/home/USERNAME/.cache/go-build/72/72407e0674e04fb0234aa804ca0790de6d57c83f9f713e02a898d2b0281b567d-d
packagefile github.com/snapcore/snapd/dirs=/home/USERNAME/.cache/go-build/6c/6cdc540a479724320ef3c1eedd750de467abd4c38f6f381ab123b44fbcc2adc1-d
packagefile github.com/snapcore/snapd/usersession/xdgopenproxy=/home/USERNAME/.cache/go-build/2a/2a2e410aa30a71b93c9b3ebf03ce1521d0a08a502d3831e05960a1e158ea56ba-d
packagefile io=/home/USERNAME/.cache/go-build/ea/eab8bd3dd9acb0deacc1c7b450b541ba3f3c5c26f1ef3bc130f08b66beddde56-d
packagefile os=/home/USERNAME/.cache/go-build/5f/5f1076f9b3c2dd4aa9a8a3c9043c9cb32d99c3e2fe442e8014c87649ed293eb6-d
packagefile runtime=/home/USERNAME/.cache/go-build/ec/ecd7df0070e6441e8112db884147284de3a11b51f71457f57d0fe104725e8b6e-d
packagefile runtime/cgo=/home/USERNAME/.cache/go-build/dc/dc31ddfb4034d7ff2fa8150fc56d2a9e05386da4ae56ae4b96a08ba0b3cfc56e-d
packagefile errors=/home/USERNAME/.cache/go-build/cb/cb51377d3975857c8ac505201beb5377fa828c73b6e4b8e4b9e22285cb967133-d
packagefile internal/fmtsort=/home/USERNAME/.cache/go-build/bc/bc74d3d5c7a66d734cdd28e124d26508f8fb040b5f05f39dd6052b56b971e9e3-d
packagefile math=/home/USERNAME/.cache/go-build/6d/6dae4048648b3ad6ebafd4456a6a690a3a6e3965d5ce4612426aec36592e6072-d
packagefile reflect=/home/USERNAME/.cache/go-build/6b/6bc7daf412f88c25bca60cf7ba7191a54e1f93e8d829d78dc10d517ab51891cf-d
packagefile strconv=/home/USERNAME/.cache/go-build/ed/ed73c278b95805633a326c88779d983f4c0ffccf6d64ccb5c7ee8cc81b46b3a0-d
packagefile sync=/home/USERNAME/.cache/go-build/d3/d3b90c888bbdbbd3d47862ddc97db397986eedf3840528e0325ec7560c80d0f9-d
packagefile unicode/utf8=/home/USERNAME/.cache/go-build/88/88903129fe31221ee478b0f9dec89f81aedda90d94477748211fabdcf7c164ea-d
packagefile bufio=/home/USERNAME/.cache/go-build/a8/a898912b5bcf35faa97807105822d1375d2833761663b65e613f967d531e5f5d-d
packagefile bytes=/home/USERNAME/.cache/go-build/cb/cbc51003d7901434bd88cd94e422fde0129b3a3d63f2cacf4a4087c06528b472-d
packagefile context=/home/USERNAME/.cache/go-build/ac/acb824b36a1c1c20942b5133353e5db1933bd7a0c63e462544ea3fa9248243ed-d
packagefile crypto/sha256=/home/USERNAME/.cache/go-build/5d/5d63b1bcab9c7ba81340a4ae0d1da06ce0a68dcdf249c8d4fc1fe0992a578c8d-d
packagefile encoding/json=/home/USERNAME/.cache/go-build/41/41d81f493ff7266c8b48c77bd1a64e1d924a4c9e9a73be13c49c54b92383bc44-d
packagefile github.com/snapcore/snapd/asserts=/home/USERNAME/.cache/go-build/75/756915106e3d1416367603c9f4e12e9d1703fa2c357102109d485468fb75c30e-d
packagefile github.com/snapcore/snapd/jsonutil=/home/USERNAME/.cache/go-build/2c/2c4e46177cdf6bec4fe8be1e91f163dbd63883a307c5215c8b55517f4919461e-d
packagefile github.com/snapcore/snapd/osutil=/home/USERNAME/.cache/go-build/8b/8ba76a3620dd17f59bed2f7405c9c3a3df147123ad1fe3ec4cbb43d4f216664a-d
packagefile github.com/snapcore/snapd/snap=/home/USERNAME/.cache/go-build/b0/b0080a3bff1ecbfaa81a97f956c605b16b24f16778b435543bb9ab1afad74680-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/xerrors=/home/USERNAME/.cache/go-build/3a/3a64591b6d1f4a7840bf25c41acb439d66517b909baa94d1071bcb271b7f86a0-d
packagefile io/ioutil=/home/USERNAME/.cache/go-build/e2/e27f0de8507d91ab000e25ec216819abab56f355093a667a0530fecf37e8f742-d
packagefile mime/multipart=/home/USERNAME/.cache/go-build/21/215758407b706fa9a4cacd82469e6bd354c0431ad8c0d8b29b126619a7e087d1-d
packagefile net=/home/USERNAME/.cache/go-build/02/029fe6ccdd2e28e596aab9b21bbd06e73aaeb4e99574a1c08673b0f8eebdb1eb-d
packagefile net/http=/home/USERNAME/.cache/go-build/1b/1b1bb0e17e0c746e97a509a465aad0ca705477768d5d3c1b31a3a80dd6a7ab97-d
packagefile net/url=/home/USERNAME/.cache/go-build/9a/9a2a6145d4b56ae0e01cf75ccffac21c52f6a3b7e00849097ce2b78ee8e4a803-d
packagefile path=/home/USERNAME/.cache/go-build/50/50ee8c8f044b85adcf8d09798fcce90ad038a7f1a10cd61e01f6b778498ab031-d
packagefile path/filepath=/home/USERNAME/.cache/go-build/a5/a59b605ede8968eb039df3b641e4a83a45f360007aefe444b17186284b638f61-d
packagefile regexp=/home/USERNAME/.cache/go-build/0e/0ed767c252a67d6a3aa1a9f73b7ecc461656be640bd24abd3c83f7a95b1688dc-d
packagefile sort=/home/USERNAME/.cache/go-build/a1/a1d896bbbe695d68c7020f91dc192e3c022fec50b0ddb31ea62fdebb010c5ddc-d
packagefile strings=/home/USERNAME/.cache/go-build/61/618dc8a22fffed694cda38d9cb097d353cda4651a1ab1ceacef866bcc6bf9001-d
packagefile time=/home/USERNAME/.cache/go-build/42/426bed91b4e346117259d79bb9f19a7cb64afc92b98714e781d64e7ebfc3be6f-d
packagefile github.com/snapcore/snapd/release=/home/USERNAME/.cache/go-build/d3/d35432f788c9f074deaff5f3c4bb63c572696ed89bc9cf153b7b2634f113b364-d
packagefile github.com/snapcore/snapd/vendor/github.com/godbus/dbus=/home/USERNAME/.cache/go-build/3e/3e31ee66d8e9946f93ca8252945b793c3df6ff0752c24a97ae6d2b43e23f5354-d
packagefile syscall=/home/USERNAME/.cache/go-build/f7/f7d6023ea24aa4368811e7b675541d51de171f65ea84024ef4564b5ef3419cd0-d
packagefile internal/oserror=/home/USERNAME/.cache/go-build/9e/9ed1b4f2950db07bd842ce5ea70cc20109793df7ac034c14239a3677cec33e6d-d
packagefile internal/poll=/home/USERNAME/.cache/go-build/16/160ded1ce8fcc455f535e3773b4d1cbe9736f75da131b73df5a8a05b1a6702a5-d
packagefile internal/syscall/execenv=/home/USERNAME/.cache/go-build/eb/eb563e0413528880cf79672028f8fbbabf68c72228f9d2692b84ba2071d55907-d
packagefile internal/syscall/unix=/home/USERNAME/.cache/go-build/d4/d41c3a107247673b6391fdd87544b3bf6b2ed10568e2997a339607fae84741c7-d
packagefile internal/testlog=/home/USERNAME/.cache/go-build/15/150cfac379552cadb550cc34e3cc82759dc314473dd5bc63659f5508a3468e39-d
packagefile sync/atomic=/home/USERNAME/.cache/go-build/c7/c7553cb0d7926dbe232a7ef4b31d53326ad5a620d8c231952b4cf12a59f901c4-d
packagefile internal/bytealg=/home/USERNAME/.cache/go-build/33/33a4b4852d809cfcbe6ab1123de54c638ae8edf8de5b7486b0ecf02449c26280-d
packagefile internal/cpu=/home/USERNAME/.cache/go-build/dc/dcba53d6397afe4de9a98f1688722c6eaf55e4dbfddb34a95d906fae0839ca60-d
packagefile runtime/internal/atomic=/home/USERNAME/.cache/go-build/9c/9caf4cf3c913d774e819a53e5502122af425afdd2a21a9cd55ac39ecb433cd90-d
packagefile runtime/internal/math=/home/USERNAME/.cache/go-build/e3/e3f775a7fa3b92cdf00f38a97e11e8cf6703ef14d4bb71f7d5d3fb6fd974a4d0-d
packagefile runtime/internal/sys=/home/USERNAME/.cache/go-build/88/888a8d4b164b9c76697383f4c5c55a0b620bdade281b8d63d44b75802e1617b7-d
packagefile internal/reflectlite=/home/USERNAME/.cache/go-build/7a/7a9cd8ba9d8adb52921d22f38fabc3e0104deb1271122650bdbf07b7a6c233c8-d
packagefile math/bits=/home/USERNAME/.cache/go-build/ad/ad4bb891d25da87269c505787b1cf3598b0148092c8e2f86c803fed6b0b41264-d
packagefile internal/unsafeheader=/home/USERNAME/.cache/go-build/65/650997c40f4660aa774de0edf8ab3cdd306c103f537abd03cfddba5ca1b2e45f-d
packagefile unicode=/home/USERNAME/.cache/go-build/3e/3eac2d174f64b4519e9a176b5f14684b4d1608991c68476c9655f3503a734e1a-d
packagefile internal/race=/home/USERNAME/.cache/go-build/cd/cd3d1a443da57299c9b1423c354362eceb48653d7b717d941b8ab4b61a67e88d-d
packagefile crypto=/home/USERNAME/.cache/go-build/ec/ec62959b82d912a166def8b664eefcb1ded410e8a6c8d77b60beb556060ebb35-d
packagefile encoding/binary=/home/USERNAME/.cache/go-build/14/14571e9ab716a1b0ade353a0c84bad02bca2a2de2c20697fed4e9f11f6f572d9-d
packagefile hash=/home/USERNAME/.cache/go-build/65/656a2c95dd4e113d709e26b874f47b9442f2e833ce447dc833e3d6b7ff6a0f8d-d
packagefile encoding=/home/USERNAME/.cache/go-build/c1/c1fc651c4cd36c7d314cda4e61efc0aaf0c66dbc7efec1ad3188c30ba425b7f4-d
packagefile encoding/base64=/home/USERNAME/.cache/go-build/dd/dddef9700aa9c9b6078c8040f38fda1e1a41ea2f65fde302bfc7b3e517fe8a7f-d
packagefile unicode/utf16=/home/USERNAME/.cache/go-build/f5/f534651fa0f349321cca2d59059def2229b262a62260c6207dd86032373a6f2f-d
packagefile crypto/rand=/home/USERNAME/.cache/go-build/33/335e5578fd372edf57b779007b2d1c7cc5474e9124be40afe70af8c41c7e848d-d
packagefile crypto/rsa=/home/USERNAME/.cache/go-build/78/7879a1cbfe28e68934576d4cd1d9dcb334c0bf4ce784380a8d68b48eb105e85c-d
packagefile crypto/sha512=/home/USERNAME/.cache/go-build/ea/ea370a6af27be3398e8fe517de26e90f34829faf99b5631e4fb672a0cd2c6b69-d
packagefile github.com/snapcore/snapd/asserts/internal=/home/USERNAME/.cache/go-build/1f/1fe74a26473f1566847f9e56d8fa914cb7c8d3c54a2fb539958a2f8d0375971f-d
packagefile github.com/snapcore/snapd/snap/channel=/home/USERNAME/.cache/go-build/6f/6f056c3945cab2e45cb720bbd31f128cdd382ddba7999d72d532c5a7ff693975-d
packagefile github.com/snapcore/snapd/snap/naming=/home/USERNAME/.cache/go-build/23/23efa9e9d05f7d445c367c5f67733704db63f53b0940c2d5c63367f2b0236784-d
packagefile github.com/snapcore/snapd/strutil=/home/USERNAME/.cache/go-build/f4/f468b80af132de57fc7d9fe24cb11a55a2e46e9cf3054c6d0b8724d4ed9d9078-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/packet=/home/USERNAME/.cache/go-build/71/7170dbe88447255e5954dc918cd15a2b3ba6637659d34e3b6ed71974f9a1fd3a-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/sha3=/home/USERNAME/.cache/go-build/ad/ad8822817e13932a9a0cb5379daee96a7aed368d3b105a7643124b406ba5721e-d
packagefile net/mail=/home/USERNAME/.cache/go-build/f1/f1e99b6fed3f9060035d7d5df19b1c477ad754fcd78aa6f22155be13a276c069-d
packagefile os/exec=/home/USERNAME/.cache/go-build/3a/3ae7a373984096be7bd71601c07cb284f8c3900450dd65149b5ec7d6cf485f29-d
packagefile debug/elf=/home/USERNAME/.cache/go-build/56/560622a9a2905c3d789bd8de56927c6473bdeea6003b84c891807c96f4f4f282-d
packagefile encoding/hex=/home/USERNAME/.cache/go-build/27/277582e52438a7ebfcd87563e3e9fea3bd4bb09616aa8118b8c922a8c6410f87-d
packagefile github.com/snapcore/snapd/osutil/sys=/home/USERNAME/.cache/go-build/d7/d7ec5b464c228d453f3a854dfa8e14c7bf1a1929e302888159c7bd2fda40f2f2-d
packagefile github.com/snapcore/snapd/randutil=/home/USERNAME/.cache/go-build/3f/3ffdd4ebc416fdf22943f75b438535b41d06f11eb4590f6b1b3c4d2e6a9ed009-d
packagefile github.com/snapcore/snapd/vendor/gopkg.in/tomb.v2=/home/USERNAME/.cache/go-build/83/83b0f9864fcf2262dda32e249944b159a970c9b6170d072f50870b1e7aa94181-d
packagefile os/user=/home/USERNAME/.cache/go-build/6d/6d90ff604768b97fd1ac7a0986145e139e2c52009ea4ec9acc12187cc45bb858-d
packagefile github.com/snapcore/snapd/logger=/home/USERNAME/.cache/go-build/39/39a5f2c7f389bc0bd2f1af415da65bd29ae610fdcdf5a0ef5153ce8a6c84b444-d
packagefile github.com/snapcore/snapd/metautil=/home/USERNAME/.cache/go-build/fb/fb320628a41f9c59cd32ee2d65415209ab68d55187c32accefb6039937f16aed-d
packagefile github.com/snapcore/snapd/spdx=/home/USERNAME/.cache/go-build/44/445c9daa4a057e25db6d9a18b973d197699cf72fed16235d26f8c4a33e63f971-d
packagefile github.com/snapcore/snapd/timeout=/home/USERNAME/.cache/go-build/72/7221968161b5e6988716d1409cfcf14e624f10c2415330b8d13eaac62b31d389-d
packagefile github.com/snapcore/snapd/timeutil=/home/USERNAME/.cache/go-build/4b/4b4b4e615400ead2f55271c4bc23910c21655f0c94a0b28223b4a94a8bbcbabb-d
packagefile github.com/snapcore/snapd/vendor/gopkg.in/yaml.v2=/home/USERNAME/.cache/go-build/f9/f98002d6482c1608ae0e71736b8372aad0afca22047c0a65087810f32407fcd1-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/xerrors/internal=/home/USERNAME/.cache/go-build/0d/0d510f32b7152dbd9ab2093d7f20ebef25abbf9999166bdbcece4580c262c3bd-d
packagefile mime=/home/USERNAME/.cache/go-build/b1/b1454b18e107eee177c4328b5257df3e4755881ae00805e1d6ea21d8eb5fdd90-d
packagefile mime/quotedprintable=/home/USERNAME/.cache/go-build/c0/c06188942830c86b1352d31d962224658a5eafb6aef0dab5a34c3b93084d077e-d
packagefile net/textproto=/home/USERNAME/.cache/go-build/3d/3d181356847be1eb8ccba874c4b7b0c3e4e5d8dd2bfcadd9b54e5712a5efa953-d
packagefile vendor/golang.org/x/net/dns/dnsmessage=/home/USERNAME/.cache/go-build/11/1127c4bb0f2695b99f2b6c6fc3059790b0213dc7742568dc6d87f946ded58629-d
packagefile internal/nettrace=/home/USERNAME/.cache/go-build/b2/b29d5d2de9ac5ee3b2d8463a04471e346ea0d50b40ffdb48fc7fb12797d28a36-d
packagefile internal/singleflight=/home/USERNAME/.cache/go-build/00/00271a239a0abb39dc28ffbaa3a39e4c48b421f3274eb8019d2f77f6c7b639bb-d
packagefile math/rand=/home/USERNAME/.cache/go-build/bc/bcfd419b9bdcbfec50cb26b0eb86993ef4eab889d6e54df011a215d196de0b54-d
packagefile compress/gzip=/home/USERNAME/.cache/go-build/29/29a7d26d5a03e8033e61a25766890a7aab00b3f8ff3202299d43c8793f69de67-d
packagefile container/list=/home/USERNAME/.cache/go-build/4d/4dd9a1a7fbef9db059bb2a98c128640de2488402da643f28ad33ddd7cf6e1b18-d
packagefile crypto/tls=/home/USERNAME/.cache/go-build/46/46f57452e1ad6145d866d1a0be13895f6623dd0f5b1b833992a1e9c142acfb37-d
packagefile vendor/golang.org/x/net/http/httpguts=/home/USERNAME/.cache/go-build/b8/b8aa336aacd90ffa2e8586b66b09c0ae25dc23c01923670ec266123a3d669720-d
packagefile vendor/golang.org/x/net/http/httpproxy=/home/USERNAME/.cache/go-build/16/1693c70f3b52d222326ca3be3ca2730386514d48977f4816f8ef30281e1a48a9-d
packagefile vendor/golang.org/x/net/http2/hpack=/home/USERNAME/.cache/go-build/7e/7efb085027db97db0804d4749058c50eb8b7e071181c3ae4099cdfc3661f9cbc-d
packagefile vendor/golang.org/x/net/idna=/home/USERNAME/.cache/go-build/29/2909f1dc312254910b2845920eaee3cea175146ee29ff8510c45f915b07bd286-d
packagefile log=/home/USERNAME/.cache/go-build/59/59d4e63bd1a40abb175bf5fb4ebc17d4d1475735d6a365c271b3ab54074ae11e-d
packagefile net/http/httptrace=/home/USERNAME/.cache/go-build/92/924bbccccf823d7840059a87f9d8cdfde90b856ffdaf2a896a80a750ebcd572c-d
packagefile net/http/internal=/home/USERNAME/.cache/go-build/cf/cfaa80d8a32b8371bf175906f46e5cb2f139c7c4a92ba4f6f285718610371910-d
packagefile regexp/syntax=/home/USERNAME/.cache/go-build/6a/6a3e9f12b72f75e45fcddcf3f5a387106ecf40fc6d6a5e502dcf059dbf8949ff-d
packagefile crypto/sha1=/home/USERNAME/.cache/go-build/49/49b0729e76a53e30f1fdce5f49a1edf32d94dbabd47d9ba4d89979699275a937-d
packagefile crypto/aes=/home/USERNAME/.cache/go-build/e7/e76d40c68d0f68a0627701ac8f71ca4f10f29af3b3885369d2439e16db459272-d
packagefile crypto/cipher=/home/USERNAME/.cache/go-build/17/1781bacf6f95cf599dbfce49495afa8e05f2f930d0390a8777077a84370806ae-d
packagefile math/big=/home/USERNAME/.cache/go-build/5d/5d3c56148a389ad834ef0884b47653cfce2b5673677f32a651e3d7c58304b399-d
packagefile crypto/internal/randutil=/home/USERNAME/.cache/go-build/2f/2f52f6833ce52c8d084f0d85daff49587a1f390f1531b9ecf8b64fb4477e0b04-d
packagefile crypto/subtle=/home/USERNAME/.cache/go-build/c0/c0acc267a24806bda4c0b0bb20c3ae4382733ed930bf460d7a5cb8f60467785a-d
packagefile github.com/snapcore/snapd/arch=/home/USERNAME/.cache/go-build/3c/3cb836313087f46b741e9b993d127f261730b06ed6829e6b0edeffff24ec4910-d
packagefile github.com/snapcore/snapd/snapdenv=/home/USERNAME/.cache/go-build/22/22cf4305cb3df2bdfd9c29172603b5151e394b1f84d71594af4333d722c14d13-d
packagefile compress/bzip2=/home/USERNAME/.cache/go-build/4a/4a956f1ceadc16eda35b0046a7849622e1309b65e65c074b0cd8f673e1a73aa9-d
packagefile compress/flate=/home/USERNAME/.cache/go-build/3a/3aedec743a38d28cece8fa800fa5a5ed08eeb5bdde65f0b8dcfda8e5fc79692a-d
packagefile compress/zlib=/home/USERNAME/.cache/go-build/ff/ffa061dbc7927db684f001b7d8c2843e30109ee746abc1282e0e2a3586673ed8-d
packagefile crypto/des=/home/USERNAME/.cache/go-build/e5/e55c6772176082b9b94da43f1da297b1c9682b40120e4ef0dfb8fd9c4388b52d-d
packagefile crypto/dsa=/home/USERNAME/.cache/go-build/a7/a7beeacc2c6677055a706a7de755c8b1c77ba9065bf6395c9be687ff8cfa399b-d
packagefile crypto/ecdsa=/home/USERNAME/.cache/go-build/e5/e581c959e6c68241e63e262598fb876fff626b28b6d47234a6981f13ccab4834-d
packagefile crypto/elliptic=/home/USERNAME/.cache/go-build/a6/a67bd516fdfcf79c584f0ab6bb31e9182c6bad0c16a0f4652b023508f5c3db15-d
packagefile crypto/md5=/home/USERNAME/.cache/go-build/1f/1f417aeea9d10a52a3b388345c948b5f87d4b8d6363ca70e4cf2ba489e9ea0c8-d
packagefile encoding/asn1=/home/USERNAME/.cache/go-build/94/94dc7d81d813b910e323aad5a2631eb062e2325040e6f8cea5e400b72f7812fd-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/cast5=/home/USERNAME/.cache/go-build/57/57f3bc9ccfad559850720780b53de8b62102f8e4e7f06ce4f07911afae4116b0-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/elgamal=/home/USERNAME/.cache/go-build/6a/6a1d6dd3bf1fbba5003466fc9a2f06661d1088f45f6a13cc8a1b9af3db55e8c8-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/errors=/home/USERNAME/.cache/go-build/c9/c9e9065f64ccc783167cb0c936f6ddc806d5e637372e2e9219c1b99bb63f6d3e-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/s2k=/home/USERNAME/.cache/go-build/d9/d92387fb952a311c11a84c731ef1d8174f80ae0b75d7a3bf4664a8b348345b15-d
packagefile image=/home/USERNAME/.cache/go-build/45/453d8fc63d9c892db5575929a75dc9c6040abfd544ac0a1499ff518369c07a74-d
packagefile image/jpeg=/home/USERNAME/.cache/go-build/aa/aa8477e9c39874b562f588c995b21d7c9249d5de6aaf5c48ce84e453102ca364-d
packagefile debug/dwarf=/home/USERNAME/.cache/go-build/39/39b88e6f128d69df544ff19878e95a02f66d2cb40fc8a4997144660321c1f56a-d
packagefile github.com/snapcore/snapd/i18n=/home/USERNAME/.cache/go-build/4f/4fee64a8881ce219600a5533423282d4b93ddb9fbc322765713d6bfb984ee4e6-d
packagefile hash/crc32=/home/USERNAME/.cache/go-build/fe/fe51b31b37a2980258b6c3b0a8591159245e3093c6a8c4fb66805dc701a2cded-d
packagefile crypto/ed25519=/home/USERNAME/.cache/go-build/bc/bc73c2eff9a62d4a0842b827f117e2009b73ca6550da19ca42b3b504c43dfe31-d
packagefile crypto/hmac=/home/USERNAME/.cache/go-build/1f/1f4ae96527d91434f1e94f7c043977149d8e8ea782050e95070d13aa83520d55-d
packagefile crypto/rc4=/home/USERNAME/.cache/go-build/ab/ab52a631c5990964d79fc5a78df0ac8ea8cf026b9607b570538846d4922a2a7e-d
packagefile crypto/x509=/home/USERNAME/.cache/go-build/ca/ca0813c3565ad899517461d96ba68d77dd2baaf5c439e4f2c4d8bd4d07497e62-d
packagefile encoding/pem=/home/USERNAME/.cache/go-build/a5/a5daa14d983dc8eae7e64285b88593558c4cdc8f32819a5d967944f1f2c89c34-d
packagefile vendor/golang.org/x/crypto/chacha20poly1305=/home/USERNAME/.cache/go-build/30/30ef37a47b00762a59a079b44f58792da4829782ce7badc5957f22fd45fcbdab-d
packagefile vendor/golang.org/x/crypto/cryptobyte=/home/USERNAME/.cache/go-build/6a/6a1e5262d2ea27fa23c2f27f1c1d99e8bb9c03511aed799c44ad91fdde0d20ef-d
packagefile vendor/golang.org/x/crypto/curve25519=/home/USERNAME/.cache/go-build/c6/c67d40922940d8161e53e5f9264f5f31856750be690191b53b2df53aa9a709bc-d
packagefile vendor/golang.org/x/crypto/hkdf=/home/USERNAME/.cache/go-build/4b/4b2cd0654da89eb6e8203473c3a02542280e16828dae4aa3f76946b6a7691768-d
packagefile vendor/golang.org/x/text/secure/bidirule=/home/USERNAME/.cache/go-build/6b/6b5997995e027854625d7a949a8371dcce00a9e0b3f07b81935e6dc37ff0c71e-d
packagefile vendor/golang.org/x/text/unicode/bidi=/home/USERNAME/.cache/go-build/1e/1e858754a60949c12fb07fa35bd8dfaf8742f4f39ca99f0a47db5558774e3f09-d
packagefile vendor/golang.org/x/text/unicode/norm=/home/USERNAME/.cache/go-build/60/604f79a07cae66f6416908ced0e3947705b565a9c815308f7a31b4da2e41492c-d
packagefile crypto/internal/subtle=/home/USERNAME/.cache/go-build/25/25d260653973d11c39c7cbcbc9ada1bae0e08369e7594e07abc08dbdbaeacceb-d
packagefile hash/adler32=/home/USERNAME/.cache/go-build/86/863bd323e098c284bb90c25af7a6f7ffb450aa7bf6c7c5e112c3b79f8c4dcd9a-d
packagefile vendor/golang.org/x/crypto/cryptobyte/asn1=/home/USERNAME/.cache/go-build/04/04f76d58cd100dd7d769dd18653a4d4f32650a77f04e8aef7396d94b2d2b9d4f-d
packagefile image/color=/home/USERNAME/.cache/go-build/d4/d40daceeedda504e614fc13d7676f5916fddb9c4d76dc0118e7447725a908231-d
packagefile image/internal/imageutil=/home/USERNAME/.cache/go-build/fe/fe59263f97d1a7fb8351f2197f3b150bf7e4293f028eaa663d7cbe48f352ca04-d
packagefile github.com/snapcore/snapd/vendor/github.com/snapcore/go-gettext=/home/USERNAME/.cache/go-build/e1/e1c7ebbd8d9687bbab3ff7ce1a668242fffe576791031de0008c7a4cf3ed37eb-d
packagefile crypto/ed25519/internal/edwards25519=/home/USERNAME/.cache/go-build/9d/9d1eb83055e8e9124b6c5a340542c6b4574bddd8e5dd009285bd2b78937f6831-d
packagefile crypto/x509/pkix=/home/USERNAME/.cache/go-build/a3/a3f1d5fd670860e8a27ad9ac9f6e660643734c62c8d3c150825ec764a8c19c6b-d
packagefile vendor/golang.org/x/crypto/chacha20=/home/USERNAME/.cache/go-build/ae/ae3ed1069e0b5a2e3b692bf7d8ba485742ce81caf35c7f539dc744839a0c7290-d
packagefile vendor/golang.org/x/crypto/internal/subtle=/home/USERNAME/.cache/go-build/bb/bb1915bdfe24a4f0ba44f41512089c78700de786a41caf90dcfafcd86a180a05-d
packagefile vendor/golang.org/x/crypto/poly1305=/home/USERNAME/.cache/go-build/82/82982fb82efe0147d80fba1f104b21424bec13e31b81549d852ead41bff5a72e-d
packagefile vendor/golang.org/x/sys/cpu=/home/USERNAME/.cache/go-build/c2/c2ae35503e0a30931fa2a37bd6b45e131203ebc1f0250c3708cdd28292f865ff-d
packagefile vendor/golang.org/x/text/transform=/home/USERNAME/.cache/go-build/fc/fc2ef2abb97de1c403a635624f3c5e338c302070b9f34869369755560a4d9ae1-d
packagefile github.com/snapcore/snapd/vendor/github.com/snapcore/go-gettext/pluralforms=/home/USERNAME/.cache/go-build/a6/a6cebbfad8d271b7ad3efbfd704ed8a24e06eb5bec4233ef171b783d3c00935d-d
packagefile testing=/home/USERNAME/.cache/go-build/ba/ba480dbf7c006f5a8ae0a88799685af1b0bda8929241ef807ba1a482a95c3893-d
packagefile flag=/home/USERNAME/.cache/go-build/93/93a7aa1850414148e51406d13fdc9f926882a45c27250d081a2180b57efe9b95-d
packagefile runtime/debug=/home/USERNAME/.cache/go-build/0f/0faba77eae6d0dc3a4425a0c603d9318f8dc86a0aba46931de959d6b9290fef1-d
packagefile runtime/trace=/home/USERNAME/.cache/go-build/11/116ec277ccfb680a9e3a71fcf20c8258a4e37f64d53c1ca24535467b6663c40c-d
EOF
mkdir -p $WORK/b001/exe/
cd .
/usr/lib/go/pkg/tool/linux_amd64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -installsuffix shared -buildmode=pie -buildid=G6PdkXsBpwbk_L7fMaHT/4jqIb6Nk4MbLsgF1kf8I/OMz1b8dD_eHpwpQhLo2C/G6PdkXsBpwbk_L7fMaHT -extldflags -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -extld=gcc /home/USERNAME/.cache/go-build/4f/4ff7af4c5399ba1466790a8c251e5f43352e60e914fddae13df195350f3954bf-d
/usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b001/exe/a.out # internal
mkdir -p /home/USERNAME/.cache/yay/snapd-git/src/go/bin/
cp $WORK/b001/exe/a.out /home/USERNAME/.cache/yay/snapd-git/src/go/bin/snapctl
rm -r $WORK/b001/
WORK=/tmp/go-build655187028
WORK=/tmp/go-build209021256
WORK=/tmp/go-build567812378
WORK=/tmp/go-build129813389
cat /home/USERNAME/.cache/go-build/cb/cbdef31b6aa7f6bb0f4639ed5eae69b5f51a7392eae93a40c669f2c6bd1bfe67-d  # internal
# github.com/snapcore/snapd/cmd/snap-update-ns
/usr/bin/ld: /tmp/go-link-258051662/000017.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrouplist':
getgrouplist_unix.cgo2.c:(.text+0x20): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-258051662/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrgid_r':
cgo_lookup_unix.cgo2.c:(.text+0x34): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-258051662/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetgrnam_r':
cgo_lookup_unix.cgo2.c:(.text+0x75): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-258051662/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwnam_r':
cgo_lookup_unix.cgo2.c:(.text+0xb5): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-258051662/000016.o: in function `_cgo_bbce630bddcc_Cfunc_mygetpwuid_r':
cgo_lookup_unix.cgo2.c:(.text+0xf4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-258051662/000023.o: in function `_cgo_26061493d47f_C2func_getaddrinfo':
cgo_unix.cgo2.c:(.text+0x34): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
WORK=/tmp/go-build190482939
WORK=/tmp/go-build466290662
mkdir -p $WORK/b001/
cat >$WORK/b001/importcfg.link << 'EOF' # internal
packagefile github.com/snapcore/snapd/cmd/snapctl=/home/USERNAME/.cache/go-build/4f/4ff7af4c5399ba1466790a8c251e5f43352e60e914fddae13df195350f3954bf-d
packagefile fmt=/home/USERNAME/.cache/go-build/33/33807a52c0be54c6f694a27dd4f7fe7acc207f344223219d960e90599871fb51-d
packagefile github.com/snapcore/snapd/client=/home/USERNAME/.cache/go-build/72/72407e0674e04fb0234aa804ca0790de6d57c83f9f713e02a898d2b0281b567d-d
packagefile github.com/snapcore/snapd/dirs=/home/USERNAME/.cache/go-build/6c/6cdc540a479724320ef3c1eedd750de467abd4c38f6f381ab123b44fbcc2adc1-d
packagefile github.com/snapcore/snapd/usersession/xdgopenproxy=/home/USERNAME/.cache/go-build/2a/2a2e410aa30a71b93c9b3ebf03ce1521d0a08a502d3831e05960a1e158ea56ba-d
packagefile io=/home/USERNAME/.cache/go-build/ea/eab8bd3dd9acb0deacc1c7b450b541ba3f3c5c26f1ef3bc130f08b66beddde56-d
packagefile os=/home/USERNAME/.cache/go-build/5f/5f1076f9b3c2dd4aa9a8a3c9043c9cb32d99c3e2fe442e8014c87649ed293eb6-d
packagefile runtime=/home/USERNAME/.cache/go-build/ec/ecd7df0070e6441e8112db884147284de3a11b51f71457f57d0fe104725e8b6e-d
packagefile runtime/cgo=/home/USERNAME/.cache/go-build/dc/dc31ddfb4034d7ff2fa8150fc56d2a9e05386da4ae56ae4b96a08ba0b3cfc56e-d
packagefile errors=/home/USERNAME/.cache/go-build/cb/cb51377d3975857c8ac505201beb5377fa828c73b6e4b8e4b9e22285cb967133-d
packagefile internal/fmtsort=/home/USERNAME/.cache/go-build/bc/bc74d3d5c7a66d734cdd28e124d26508f8fb040b5f05f39dd6052b56b971e9e3-d
packagefile math=/home/USERNAME/.cache/go-build/6d/6dae4048648b3ad6ebafd4456a6a690a3a6e3965d5ce4612426aec36592e6072-d
packagefile reflect=/home/USERNAME/.cache/go-build/6b/6bc7daf412f88c25bca60cf7ba7191a54e1f93e8d829d78dc10d517ab51891cf-d
packagefile strconv=/home/USERNAME/.cache/go-build/ed/ed73c278b95805633a326c88779d983f4c0ffccf6d64ccb5c7ee8cc81b46b3a0-d
packagefile sync=/home/USERNAME/.cache/go-build/d3/d3b90c888bbdbbd3d47862ddc97db397986eedf3840528e0325ec7560c80d0f9-d
packagefile unicode/utf8=/home/USERNAME/.cache/go-build/88/88903129fe31221ee478b0f9dec89f81aedda90d94477748211fabdcf7c164ea-d
packagefile bufio=/home/USERNAME/.cache/go-build/a8/a898912b5bcf35faa97807105822d1375d2833761663b65e613f967d531e5f5d-d
packagefile bytes=/home/USERNAME/.cache/go-build/cb/cbc51003d7901434bd88cd94e422fde0129b3a3d63f2cacf4a4087c06528b472-d
packagefile context=/home/USERNAME/.cache/go-build/ac/acb824b36a1c1c20942b5133353e5db1933bd7a0c63e462544ea3fa9248243ed-d
packagefile crypto/sha256=/home/USERNAME/.cache/go-build/5d/5d63b1bcab9c7ba81340a4ae0d1da06ce0a68dcdf249c8d4fc1fe0992a578c8d-d
packagefile encoding/json=/home/USERNAME/.cache/go-build/41/41d81f493ff7266c8b48c77bd1a64e1d924a4c9e9a73be13c49c54b92383bc44-d
packagefile github.com/snapcore/snapd/asserts=/home/USERNAME/.cache/go-build/75/756915106e3d1416367603c9f4e12e9d1703fa2c357102109d485468fb75c30e-d
packagefile github.com/snapcore/snapd/jsonutil=/home/USERNAME/.cache/go-build/2c/2c4e46177cdf6bec4fe8be1e91f163dbd63883a307c5215c8b55517f4919461e-d
packagefile github.com/snapcore/snapd/osutil=/home/USERNAME/.cache/go-build/8b/8ba76a3620dd17f59bed2f7405c9c3a3df147123ad1fe3ec4cbb43d4f216664a-d
packagefile github.com/snapcore/snapd/snap=/home/USERNAME/.cache/go-build/b0/b0080a3bff1ecbfaa81a97f956c605b16b24f16778b435543bb9ab1afad74680-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/xerrors=/home/USERNAME/.cache/go-build/3a/3a64591b6d1f4a7840bf25c41acb439d66517b909baa94d1071bcb271b7f86a0-d
packagefile io/ioutil=/home/USERNAME/.cache/go-build/e2/e27f0de8507d91ab000e25ec216819abab56f355093a667a0530fecf37e8f742-d
packagefile mime/multipart=/home/USERNAME/.cache/go-build/21/215758407b706fa9a4cacd82469e6bd354c0431ad8c0d8b29b126619a7e087d1-d
packagefile net=/home/USERNAME/.cache/go-build/02/029fe6ccdd2e28e596aab9b21bbd06e73aaeb4e99574a1c08673b0f8eebdb1eb-d
packagefile net/http=/home/USERNAME/.cache/go-build/1b/1b1bb0e17e0c746e97a509a465aad0ca705477768d5d3c1b31a3a80dd6a7ab97-d
packagefile net/url=/home/USERNAME/.cache/go-build/9a/9a2a6145d4b56ae0e01cf75ccffac21c52f6a3b7e00849097ce2b78ee8e4a803-d
packagefile path=/home/USERNAME/.cache/go-build/50/50ee8c8f044b85adcf8d09798fcce90ad038a7f1a10cd61e01f6b778498ab031-d
packagefile path/filepath=/home/USERNAME/.cache/go-build/a5/a59b605ede8968eb039df3b641e4a83a45f360007aefe444b17186284b638f61-d
packagefile regexp=/home/USERNAME/.cache/go-build/0e/0ed767c252a67d6a3aa1a9f73b7ecc461656be640bd24abd3c83f7a95b1688dc-d
packagefile sort=/home/USERNAME/.cache/go-build/a1/a1d896bbbe695d68c7020f91dc192e3c022fec50b0ddb31ea62fdebb010c5ddc-d
packagefile strings=/home/USERNAME/.cache/go-build/61/618dc8a22fffed694cda38d9cb097d353cda4651a1ab1ceacef866bcc6bf9001-d
packagefile time=/home/USERNAME/.cache/go-build/42/426bed91b4e346117259d79bb9f19a7cb64afc92b98714e781d64e7ebfc3be6f-d
packagefile github.com/snapcore/snapd/release=/home/USERNAME/.cache/go-build/d3/d35432f788c9f074deaff5f3c4bb63c572696ed89bc9cf153b7b2634f113b364-d
packagefile github.com/snapcore/snapd/vendor/github.com/godbus/dbus=/home/USERNAME/.cache/go-build/3e/3e31ee66d8e9946f93ca8252945b793c3df6ff0752c24a97ae6d2b43e23f5354-d
packagefile syscall=/home/USERNAME/.cache/go-build/f7/f7d6023ea24aa4368811e7b675541d51de171f65ea84024ef4564b5ef3419cd0-d
packagefile internal/oserror=/home/USERNAME/.cache/go-build/9e/9ed1b4f2950db07bd842ce5ea70cc20109793df7ac034c14239a3677cec33e6d-d
packagefile internal/poll=/home/USERNAME/.cache/go-build/16/160ded1ce8fcc455f535e3773b4d1cbe9736f75da131b73df5a8a05b1a6702a5-d
packagefile internal/syscall/execenv=/home/USERNAME/.cache/go-build/eb/eb563e0413528880cf79672028f8fbbabf68c72228f9d2692b84ba2071d55907-d
packagefile internal/syscall/unix=/home/USERNAME/.cache/go-build/d4/d41c3a107247673b6391fdd87544b3bf6b2ed10568e2997a339607fae84741c7-d
packagefile internal/testlog=/home/USERNAME/.cache/go-build/15/150cfac379552cadb550cc34e3cc82759dc314473dd5bc63659f5508a3468e39-d
packagefile sync/atomic=/home/USERNAME/.cache/go-build/c7/c7553cb0d7926dbe232a7ef4b31d53326ad5a620d8c231952b4cf12a59f901c4-d
packagefile internal/bytealg=/home/USERNAME/.cache/go-build/33/33a4b4852d809cfcbe6ab1123de54c638ae8edf8de5b7486b0ecf02449c26280-d
packagefile internal/cpu=/home/USERNAME/.cache/go-build/dc/dcba53d6397afe4de9a98f1688722c6eaf55e4dbfddb34a95d906fae0839ca60-d
packagefile runtime/internal/atomic=/home/USERNAME/.cache/go-build/9c/9caf4cf3c913d774e819a53e5502122af425afdd2a21a9cd55ac39ecb433cd90-d
packagefile runtime/internal/math=/home/USERNAME/.cache/go-build/e3/e3f775a7fa3b92cdf00f38a97e11e8cf6703ef14d4bb71f7d5d3fb6fd974a4d0-d
packagefile runtime/internal/sys=/home/USERNAME/.cache/go-build/88/888a8d4b164b9c76697383f4c5c55a0b620bdade281b8d63d44b75802e1617b7-d
packagefile internal/reflectlite=/home/USERNAME/.cache/go-build/7a/7a9cd8ba9d8adb52921d22f38fabc3e0104deb1271122650bdbf07b7a6c233c8-d
packagefile math/bits=/home/USERNAME/.cache/go-build/ad/ad4bb891d25da87269c505787b1cf3598b0148092c8e2f86c803fed6b0b41264-d
packagefile internal/unsafeheader=/home/USERNAME/.cache/go-build/65/650997c40f4660aa774de0edf8ab3cdd306c103f537abd03cfddba5ca1b2e45f-d
packagefile unicode=/home/USERNAME/.cache/go-build/3e/3eac2d174f64b4519e9a176b5f14684b4d1608991c68476c9655f3503a734e1a-d
packagefile internal/race=/home/USERNAME/.cache/go-build/cd/cd3d1a443da57299c9b1423c354362eceb48653d7b717d941b8ab4b61a67e88d-d
packagefile crypto=/home/USERNAME/.cache/go-build/ec/ec62959b82d912a166def8b664eefcb1ded410e8a6c8d77b60beb556060ebb35-d
packagefile encoding/binary=/home/USERNAME/.cache/go-build/14/14571e9ab716a1b0ade353a0c84bad02bca2a2de2c20697fed4e9f11f6f572d9-d
packagefile hash=/home/USERNAME/.cache/go-build/65/656a2c95dd4e113d709e26b874f47b9442f2e833ce447dc833e3d6b7ff6a0f8d-d
packagefile encoding=/home/USERNAME/.cache/go-build/c1/c1fc651c4cd36c7d314cda4e61efc0aaf0c66dbc7efec1ad3188c30ba425b7f4-d
packagefile encoding/base64=/home/USERNAME/.cache/go-build/dd/dddef9700aa9c9b6078c8040f38fda1e1a41ea2f65fde302bfc7b3e517fe8a7f-d
packagefile unicode/utf16=/home/USERNAME/.cache/go-build/f5/f534651fa0f349321cca2d59059def2229b262a62260c6207dd86032373a6f2f-d
packagefile crypto/rand=/home/USERNAME/.cache/go-build/33/335e5578fd372edf57b779007b2d1c7cc5474e9124be40afe70af8c41c7e848d-d
packagefile crypto/rsa=/home/USERNAME/.cache/go-build/78/7879a1cbfe28e68934576d4cd1d9dcb334c0bf4ce784380a8d68b48eb105e85c-d
packagefile crypto/sha512=/home/USERNAME/.cache/go-build/ea/ea370a6af27be3398e8fe517de26e90f34829faf99b5631e4fb672a0cd2c6b69-d
packagefile github.com/snapcore/snapd/asserts/internal=/home/USERNAME/.cache/go-build/1f/1fe74a26473f1566847f9e56d8fa914cb7c8d3c54a2fb539958a2f8d0375971f-d
packagefile github.com/snapcore/snapd/snap/channel=/home/USERNAME/.cache/go-build/6f/6f056c3945cab2e45cb720bbd31f128cdd382ddba7999d72d532c5a7ff693975-d
packagefile github.com/snapcore/snapd/snap/naming=/home/USERNAME/.cache/go-build/23/23efa9e9d05f7d445c367c5f67733704db63f53b0940c2d5c63367f2b0236784-d
packagefile github.com/snapcore/snapd/strutil=/home/USERNAME/.cache/go-build/f4/f468b80af132de57fc7d9fe24cb11a55a2e46e9cf3054c6d0b8724d4ed9d9078-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/packet=/home/USERNAME/.cache/go-build/71/7170dbe88447255e5954dc918cd15a2b3ba6637659d34e3b6ed71974f9a1fd3a-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/sha3=/home/USERNAME/.cache/go-build/ad/ad8822817e13932a9a0cb5379daee96a7aed368d3b105a7643124b406ba5721e-d
packagefile net/mail=/home/USERNAME/.cache/go-build/f1/f1e99b6fed3f9060035d7d5df19b1c477ad754fcd78aa6f22155be13a276c069-d
packagefile os/exec=/home/USERNAME/.cache/go-build/3a/3ae7a373984096be7bd71601c07cb284f8c3900450dd65149b5ec7d6cf485f29-d
packagefile debug/elf=/home/USERNAME/.cache/go-build/56/560622a9a2905c3d789bd8de56927c6473bdeea6003b84c891807c96f4f4f282-d
packagefile encoding/hex=/home/USERNAME/.cache/go-build/27/277582e52438a7ebfcd87563e3e9fea3bd4bb09616aa8118b8c922a8c6410f87-d
packagefile github.com/snapcore/snapd/osutil/sys=/home/USERNAME/.cache/go-build/d7/d7ec5b464c228d453f3a854dfa8e14c7bf1a1929e302888159c7bd2fda40f2f2-d
packagefile github.com/snapcore/snapd/randutil=/home/USERNAME/.cache/go-build/3f/3ffdd4ebc416fdf22943f75b438535b41d06f11eb4590f6b1b3c4d2e6a9ed009-d
packagefile github.com/snapcore/snapd/vendor/gopkg.in/tomb.v2=/home/USERNAME/.cache/go-build/83/83b0f9864fcf2262dda32e249944b159a970c9b6170d072f50870b1e7aa94181-d
packagefile os/user=/home/USERNAME/.cache/go-build/6d/6d90ff604768b97fd1ac7a0986145e139e2c52009ea4ec9acc12187cc45bb858-d
packagefile github.com/snapcore/snapd/logger=/home/USERNAME/.cache/go-build/39/39a5f2c7f389bc0bd2f1af415da65bd29ae610fdcdf5a0ef5153ce8a6c84b444-d
packagefile github.com/snapcore/snapd/metautil=/home/USERNAME/.cache/go-build/fb/fb320628a41f9c59cd32ee2d65415209ab68d55187c32accefb6039937f16aed-d
packagefile github.com/snapcore/snapd/spdx=/home/USERNAME/.cache/go-build/44/445c9daa4a057e25db6d9a18b973d197699cf72fed16235d26f8c4a33e63f971-d
packagefile github.com/snapcore/snapd/timeout=/home/USERNAME/.cache/go-build/72/7221968161b5e6988716d1409cfcf14e624f10c2415330b8d13eaac62b31d389-d
packagefile github.com/snapcore/snapd/timeutil=/home/USERNAME/.cache/go-build/4b/4b4b4e615400ead2f55271c4bc23910c21655f0c94a0b28223b4a94a8bbcbabb-d
packagefile github.com/snapcore/snapd/vendor/gopkg.in/yaml.v2=/home/USERNAME/.cache/go-build/f9/f98002d6482c1608ae0e71736b8372aad0afca22047c0a65087810f32407fcd1-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/xerrors/internal=/home/USERNAME/.cache/go-build/0d/0d510f32b7152dbd9ab2093d7f20ebef25abbf9999166bdbcece4580c262c3bd-d
packagefile mime=/home/USERNAME/.cache/go-build/b1/b1454b18e107eee177c4328b5257df3e4755881ae00805e1d6ea21d8eb5fdd90-d
packagefile mime/quotedprintable=/home/USERNAME/.cache/go-build/c0/c06188942830c86b1352d31d962224658a5eafb6aef0dab5a34c3b93084d077e-d
packagefile net/textproto=/home/USERNAME/.cache/go-build/3d/3d181356847be1eb8ccba874c4b7b0c3e4e5d8dd2bfcadd9b54e5712a5efa953-d
packagefile vendor/golang.org/x/net/dns/dnsmessage=/home/USERNAME/.cache/go-build/11/1127c4bb0f2695b99f2b6c6fc3059790b0213dc7742568dc6d87f946ded58629-d
packagefile internal/nettrace=/home/USERNAME/.cache/go-build/b2/b29d5d2de9ac5ee3b2d8463a04471e346ea0d50b40ffdb48fc7fb12797d28a36-d
packagefile internal/singleflight=/home/USERNAME/.cache/go-build/00/00271a239a0abb39dc28ffbaa3a39e4c48b421f3274eb8019d2f77f6c7b639bb-d
packagefile math/rand=/home/USERNAME/.cache/go-build/bc/bcfd419b9bdcbfec50cb26b0eb86993ef4eab889d6e54df011a215d196de0b54-d
packagefile compress/gzip=/home/USERNAME/.cache/go-build/29/29a7d26d5a03e8033e61a25766890a7aab00b3f8ff3202299d43c8793f69de67-d
packagefile container/list=/home/USERNAME/.cache/go-build/4d/4dd9a1a7fbef9db059bb2a98c128640de2488402da643f28ad33ddd7cf6e1b18-d
packagefile crypto/tls=/home/USERNAME/.cache/go-build/46/46f57452e1ad6145d866d1a0be13895f6623dd0f5b1b833992a1e9c142acfb37-d
packagefile vendor/golang.org/x/net/http/httpguts=/home/USERNAME/.cache/go-build/b8/b8aa336aacd90ffa2e8586b66b09c0ae25dc23c01923670ec266123a3d669720-d
packagefile vendor/golang.org/x/net/http/httpproxy=/home/USERNAME/.cache/go-build/16/1693c70f3b52d222326ca3be3ca2730386514d48977f4816f8ef30281e1a48a9-d
packagefile vendor/golang.org/x/net/http2/hpack=/home/USERNAME/.cache/go-build/7e/7efb085027db97db0804d4749058c50eb8b7e071181c3ae4099cdfc3661f9cbc-d
packagefile vendor/golang.org/x/net/idna=/home/USERNAME/.cache/go-build/29/2909f1dc312254910b2845920eaee3cea175146ee29ff8510c45f915b07bd286-d
packagefile log=/home/USERNAME/.cache/go-build/59/59d4e63bd1a40abb175bf5fb4ebc17d4d1475735d6a365c271b3ab54074ae11e-d
packagefile net/http/httptrace=/home/USERNAME/.cache/go-build/92/924bbccccf823d7840059a87f9d8cdfde90b856ffdaf2a896a80a750ebcd572c-d
packagefile net/http/internal=/home/USERNAME/.cache/go-build/cf/cfaa80d8a32b8371bf175906f46e5cb2f139c7c4a92ba4f6f285718610371910-d
packagefile regexp/syntax=/home/USERNAME/.cache/go-build/6a/6a3e9f12b72f75e45fcddcf3f5a387106ecf40fc6d6a5e502dcf059dbf8949ff-d
packagefile crypto/sha1=/home/USERNAME/.cache/go-build/49/49b0729e76a53e30f1fdce5f49a1edf32d94dbabd47d9ba4d89979699275a937-d
packagefile crypto/aes=/home/USERNAME/.cache/go-build/e7/e76d40c68d0f68a0627701ac8f71ca4f10f29af3b3885369d2439e16db459272-d
packagefile crypto/cipher=/home/USERNAME/.cache/go-build/17/1781bacf6f95cf599dbfce49495afa8e05f2f930d0390a8777077a84370806ae-d
packagefile math/big=/home/USERNAME/.cache/go-build/5d/5d3c56148a389ad834ef0884b47653cfce2b5673677f32a651e3d7c58304b399-d
packagefile crypto/internal/randutil=/home/USERNAME/.cache/go-build/2f/2f52f6833ce52c8d084f0d85daff49587a1f390f1531b9ecf8b64fb4477e0b04-d
packagefile crypto/subtle=/home/USERNAME/.cache/go-build/c0/c0acc267a24806bda4c0b0bb20c3ae4382733ed930bf460d7a5cb8f60467785a-d
packagefile github.com/snapcore/snapd/arch=/home/USERNAME/.cache/go-build/3c/3cb836313087f46b741e9b993d127f261730b06ed6829e6b0edeffff24ec4910-d
packagefile github.com/snapcore/snapd/snapdenv=/home/USERNAME/.cache/go-build/22/22cf4305cb3df2bdfd9c29172603b5151e394b1f84d71594af4333d722c14d13-d
packagefile compress/bzip2=/home/USERNAME/.cache/go-build/4a/4a956f1ceadc16eda35b0046a7849622e1309b65e65c074b0cd8f673e1a73aa9-d
packagefile compress/flate=/home/USERNAME/.cache/go-build/3a/3aedec743a38d28cece8fa800fa5a5ed08eeb5bdde65f0b8dcfda8e5fc79692a-d
packagefile compress/zlib=/home/USERNAME/.cache/go-build/ff/ffa061dbc7927db684f001b7d8c2843e30109ee746abc1282e0e2a3586673ed8-d
packagefile crypto/des=/home/USERNAME/.cache/go-build/e5/e55c6772176082b9b94da43f1da297b1c9682b40120e4ef0dfb8fd9c4388b52d-d
packagefile crypto/dsa=/home/USERNAME/.cache/go-build/a7/a7beeacc2c6677055a706a7de755c8b1c77ba9065bf6395c9be687ff8cfa399b-d
packagefile crypto/ecdsa=/home/USERNAME/.cache/go-build/e5/e581c959e6c68241e63e262598fb876fff626b28b6d47234a6981f13ccab4834-d
packagefile crypto/elliptic=/home/USERNAME/.cache/go-build/a6/a67bd516fdfcf79c584f0ab6bb31e9182c6bad0c16a0f4652b023508f5c3db15-d
packagefile crypto/md5=/home/USERNAME/.cache/go-build/1f/1f417aeea9d10a52a3b388345c948b5f87d4b8d6363ca70e4cf2ba489e9ea0c8-d
packagefile encoding/asn1=/home/USERNAME/.cache/go-build/94/94dc7d81d813b910e323aad5a2631eb062e2325040e6f8cea5e400b72f7812fd-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/cast5=/home/USERNAME/.cache/go-build/57/57f3bc9ccfad559850720780b53de8b62102f8e4e7f06ce4f07911afae4116b0-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/elgamal=/home/USERNAME/.cache/go-build/6a/6a1d6dd3bf1fbba5003466fc9a2f06661d1088f45f6a13cc8a1b9af3db55e8c8-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/errors=/home/USERNAME/.cache/go-build/c9/c9e9065f64ccc783167cb0c936f6ddc806d5e637372e2e9219c1b99bb63f6d3e-d
packagefile github.com/snapcore/snapd/vendor/golang.org/x/crypto/openpgp/s2k=/home/USERNAME/.cache/go-build/d9/d92387fb952a311c11a84c731ef1d8174f80ae0b75d7a3bf4664a8b348345b15-d
packagefile image=/home/USERNAME/.cache/go-build/45/453d8fc63d9c892db5575929a75dc9c6040abfd544ac0a1499ff518369c07a74-d
packagefile image/jpeg=/home/USERNAME/.cache/go-build/aa/aa8477e9c39874b562f588c995b21d7c9249d5de6aaf5c48ce84e453102ca364-d
packagefile debug/dwarf=/home/USERNAME/.cache/go-build/39/39b88e6f128d69df544ff19878e95a02f66d2cb40fc8a4997144660321c1f56a-d
packagefile github.com/snapcore/snapd/i18n=/home/USERNAME/.cache/go-build/4f/4fee64a8881ce219600a5533423282d4b93ddb9fbc322765713d6bfb984ee4e6-d
packagefile hash/crc32=/home/USERNAME/.cache/go-build/fe/fe51b31b37a2980258b6c3b0a8591159245e3093c6a8c4fb66805dc701a2cded-d
packagefile crypto/ed25519=/home/USERNAME/.cache/go-build/bc/bc73c2eff9a62d4a0842b827f117e2009b73ca6550da19ca42b3b504c43dfe31-d
packagefile crypto/hmac=/home/USERNAME/.cache/go-build/1f/1f4ae96527d91434f1e94f7c043977149d8e8ea782050e95070d13aa83520d55-d
packagefile crypto/rc4=/home/USERNAME/.cache/go-build/ab/ab52a631c5990964d79fc5a78df0ac8ea8cf026b9607b570538846d4922a2a7e-d
packagefile crypto/x509=/home/USERNAME/.cache/go-build/ca/ca0813c3565ad899517461d96ba68d77dd2baaf5c439e4f2c4d8bd4d07497e62-d
packagefile encoding/pem=/home/USERNAME/.cache/go-build/a5/a5daa14d983dc8eae7e64285b88593558c4cdc8f32819a5d967944f1f2c89c34-d
packagefile vendor/golang.org/x/crypto/chacha20poly1305=/home/USERNAME/.cache/go-build/30/30ef37a47b00762a59a079b44f58792da4829782ce7badc5957f22fd45fcbdab-d
packagefile vendor/golang.org/x/crypto/cryptobyte=/home/USERNAME/.cache/go-build/6a/6a1e5262d2ea27fa23c2f27f1c1d99e8bb9c03511aed799c44ad91fdde0d20ef-d
packagefile vendor/golang.org/x/crypto/curve25519=/home/USERNAME/.cache/go-build/c6/c67d40922940d8161e53e5f9264f5f31856750be690191b53b2df53aa9a709bc-d
packagefile vendor/golang.org/x/crypto/hkdf=/home/USERNAME/.cache/go-build/4b/4b2cd0654da89eb6e8203473c3a02542280e16828dae4aa3f76946b6a7691768-d
packagefile vendor/golang.org/x/text/secure/bidirule=/home/USERNAME/.cache/go-build/6b/6b5997995e027854625d7a949a8371dcce00a9e0b3f07b81935e6dc37ff0c71e-d
packagefile vendor/golang.org/x/text/unicode/bidi=/home/USERNAME/.cache/go-build/1e/1e858754a60949c12fb07fa35bd8dfaf8742f4f39ca99f0a47db5558774e3f09-d
packagefile vendor/golang.org/x/text/unicode/norm=/home/USERNAME/.cache/go-build/60/604f79a07cae66f6416908ced0e3947705b565a9c815308f7a31b4da2e41492c-d
packagefile crypto/internal/subtle=/home/USERNAME/.cache/go-build/25/25d260653973d11c39c7cbcbc9ada1bae0e08369e7594e07abc08dbdbaeacceb-d
packagefile hash/adler32=/home/USERNAME/.cache/go-build/86/863bd323e098c284bb90c25af7a6f7ffb450aa7bf6c7c5e112c3b79f8c4dcd9a-d
packagefile vendor/golang.org/x/crypto/cryptobyte/asn1=/home/USERNAME/.cache/go-build/04/04f76d58cd100dd7d769dd18653a4d4f32650a77f04e8aef7396d94b2d2b9d4f-d
packagefile image/color=/home/USERNAME/.cache/go-build/d4/d40daceeedda504e614fc13d7676f5916fddb9c4d76dc0118e7447725a908231-d
packagefile image/internal/imageutil=/home/USERNAME/.cache/go-build/fe/fe59263f97d1a7fb8351f2197f3b150bf7e4293f028eaa663d7cbe48f352ca04-d
packagefile github.com/snapcore/snapd/vendor/github.com/snapcore/go-gettext=/home/USERNAME/.cache/go-build/e1/e1c7ebbd8d9687bbab3ff7ce1a668242fffe576791031de0008c7a4cf3ed37eb-d
packagefile crypto/ed25519/internal/edwards25519=/home/USERNAME/.cache/go-build/9d/9d1eb83055e8e9124b6c5a340542c6b4574bddd8e5dd009285bd2b78937f6831-d
packagefile crypto/x509/pkix=/home/USERNAME/.cache/go-build/a3/a3f1d5fd670860e8a27ad9ac9f6e660643734c62c8d3c150825ec764a8c19c6b-d
packagefile vendor/golang.org/x/crypto/chacha20=/home/USERNAME/.cache/go-build/ae/ae3ed1069e0b5a2e3b692bf7d8ba485742ce81caf35c7f539dc744839a0c7290-d
packagefile vendor/golang.org/x/crypto/internal/subtle=/home/USERNAME/.cache/go-build/bb/bb1915bdfe24a4f0ba44f41512089c78700de786a41caf90dcfafcd86a180a05-d
packagefile vendor/golang.org/x/crypto/poly1305=/home/USERNAME/.cache/go-build/82/82982fb82efe0147d80fba1f104b21424bec13e31b81549d852ead41bff5a72e-d
packagefile vendor/golang.org/x/sys/cpu=/home/USERNAME/.cache/go-build/c2/c2ae35503e0a30931fa2a37bd6b45e131203ebc1f0250c3708cdd28292f865ff-d
packagefile vendor/golang.org/x/text/transform=/home/USERNAME/.cache/go-build/fc/fc2ef2abb97de1c403a635624f3c5e338c302070b9f34869369755560a4d9ae1-d
packagefile github.com/snapcore/snapd/vendor/github.com/snapcore/go-gettext/pluralforms=/home/USERNAME/.cache/go-build/a6/a6cebbfad8d271b7ad3efbfd704ed8a24e06eb5bec4233ef171b783d3c00935d-d
packagefile testing=/home/USERNAME/.cache/go-build/ba/ba480dbf7c006f5a8ae0a88799685af1b0bda8929241ef807ba1a482a95c3893-d
packagefile flag=/home/USERNAME/.cache/go-build/93/93a7aa1850414148e51406d13fdc9f926882a45c27250d081a2180b57efe9b95-d
packagefile runtime/debug=/home/USERNAME/.cache/go-build/0f/0faba77eae6d0dc3a4425a0c603d9318f8dc86a0aba46931de959d6b9290fef1-d
packagefile runtime/trace=/home/USERNAME/.cache/go-build/11/116ec277ccfb680a9e3a71fcf20c8258a4e37f64d53c1ca24535467b6663c40c-d
EOF
mkdir -p $WORK/b001/exe/
cd .
/usr/lib/go/pkg/tool/linux_amd64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -installsuffix shared -buildmode=pie -buildid=s5tjLHUEA2e_iAEmiRI_/4jqIb6Nk4MbLsgF1kf8I/OMz1b8dD_eHpwpQhLo2C/s5tjLHUEA2e_iAEmiRI_ -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -static" -extld=gcc /home/USERNAME/.cache/go-build/4f/4ff7af4c5399ba1466790a8c251e5f43352e60e914fddae13df195350f3954bf-d
/usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b001/exe/a.out # internal
mkdir -p /home/USERNAME/.cache/yay/snapd-git/src/go/bin/
cp $WORK/b001/exe/a.out /home/USERNAME/.cache/yay/snapd-git/src/go/bin/snapctl
rm -r $WORK/b001/
make: Entering directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data'
make -C systemd all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/systemd'
if command -v shellcheck >/dev/null; then shellcheck snapd.run-from-snap snapd.core-fixup.sh; fi
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/systemd'
make -C systemd-user all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/systemd-user'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/systemd-user'
make -C systemd-env all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/systemd-env'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/systemd-env'
make -C dbus all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/dbus'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/dbus'
make -C env all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/env'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/env'
make -C desktop all
make[1]: Entering directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/desktop'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data/desktop'
make: Leaving directory '/home/USERNAME/.cache/yay/snapd-git/src/snapd/data'
/usr/bin/autoreconf: line 5: /usr/bin/perl: Success
/home/USERNAME/.cache/yay/snapd-git/PKGBUILD: line 97: ./configure: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
#! /usr/bin/perl
# -*- perl -*-
# Generated from bin/autoreconf.in; do not edit by hand.

eval 'case $# in 0) exec /usr/bin/perl -S "$0";; *) exec /usr/bin/perl -S "$0" "$@";; esac'

I suspect this is the line that fails. Try running autoreconf -i -fmanually in the $snapdtree/cmd and see what happens.

Does running /usr/bin/perl -S -e 'print "foo\n"' work in your system?

It didn’t. It said something, about the file being unexpectedly not executabale, even though it had the right flags set.
I ended up uninstalling(pacman -Rdd perl) and manually removing (trying an install, then getting all the file-conflicts, and then rm’ing the files) files, until a new install(pacman -S perl) had no more issues installing Perl.

Then the install went smooth, and completed successfully.