cherti / typemute

Mute your microphone while typing
GNU General Public License v3.0
2 stars 0 forks source link

AUR package build error (on Manjaro) #2

Open peter-lyons-kehl opened 8 months ago

peter-lyons-kehl commented 8 months ago

Failing to build (on Manjaro as of March 2024): 'go get' is no longer supported outside a module. (It seems different to #1, surprisingly).

Preparing...
Checking typemute dependencies...
Resolving dependencies...
Checking inter-conflicts...
Cloning typemute build files...
Generating typemute information...
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing expect (5.45.4-4)...

Building typemute...
==> Making package: typemute 0.4-1 (Sun 10 Mar 2024 09:02:48 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading v0.4.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 14490    0 14490    0     0  18330      0 --:--:-- --:--:-- --:--:-- 18330
==> Validating source files with sha256sums...
    v0.4.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v0.4.tar.gz with bsdtar
==> Starting build()...
go: go.mod file not found in current directory or any parent directory.
    'go get' is no longer supported outside a module.
    To build and install a command, use 'go install' with a version,
    like 'go install example.com/cmd@latest'
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
==> ERROR: A failure occurred in build().
    Aborting...

(Also reported at https://aur.archlinux.org/packages/typemute#comment-960445.)