akhilrex / podgrab

A self-hosted podcast manager/downloader/archiver tool to download podcast episodes as soon as they become live with an integrated player.
GNU General Public License v3.0
1.62k stars 88 forks source link

Build Fails #240

Open ocelotsloth opened 1 year ago

ocelotsloth commented 1 year ago

Before creating a bug report please make sure you are using the latest docker image / code base.

Please complete the following information

Describe the bug

The current mainline does not build on go1.19.2.

To Reproduce Steps to reproduce the behavior:

~/Projects
❯ git clone --depth 1 https://github.com/akhilrex/podgrab
Cloning into 'podgrab'...
remote: Enumerating objects: 126, done.
remote: Counting objects: 100% (126/126), done.
remote: Compressing objects: 100% (111/111), done.
remote: Total 126 (delta 11), reused 97 (delta 9), pack-reused 0
Receiving objects: 100% (126/126), 2.53 MiB | 5.04 MiB/s, done.
Resolving deltas: 100% (11/11), done.

~/Projects
❯ cd podgrab
mkdir -p ./dist
cp -r client ./dist
cp -r webassets ./dist
cp .env ./dist

~/Projects/podgrab master*
❯ go build -o ./dist/podgrab ./main.go
../../go/pkg/mod/github.com/mattn/go-isatty@v0.0.12/isatty_tcgets.go:6:8: missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/mattn/go-isatty); to add:
    go get github.com/mattn/go-isatty@v0.0.12

Expected behavior

I expected the build to work.

Additional context

I'm using go version go1.19.2 linux/amd64.