Subject: Re: bug#28951: The upstream URL of our Synergy package is broken

From: [email-masked] (Ludovic Courtès)
Date: Mon, 23 Oct 2017 16:31:10 -0700

Maxim Cournoyer <[email-masked]> skribis:

> Hello, here's what attempting to fetch the source URL gives us:
>
> Starting download of /tmp/fileLHAs7Q/upstream-synergy-1.8.8.tar.gz
> From https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz...
> ERROR: download failed "https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz" 404 "Not Found"
> failed to download "/tmp/fileLHAs7Q/upstream-synergy-1.8.8.tar.gz" from
> "https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz"

Fortunately we get a copy from the mirror:

--8<---------------cut here---------------start------------->8---
$ guix build -S synergy  --no-substitutes
La jenaj derivoj estos konstruataj:
   /gnu/store/l9ya3x5xa8ii4xrhcx0zyhcr5759qpk2-synergy-1.8.8.tar.xz.drv
   /gnu/store/jssil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv
@ build-started /gnu/store/jssil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv - x86_64-linux /var/log/guix/drvs/js//sil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv.bz2

Starting download of /gnu/store/fzqf9apmladp4vg4vrvvnvb7gnrm4wry-synergy-1.8.8.tar.gz
>From https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz...
ERROR: download failed "https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz" 404 "Not Found"

Starting download of /gnu/store/fzqf9apmladp4vg4vrvvnvb7gnrm4wry-synergy-1.8.8.tar.gz
>From http://mirror.hydra.gnu.org/file/synergy-1.8.8.tar.gz/sha256/16vxbly4a33c63da3kmj7j47cam583l7bip33jc43mw173wqihw5...
 ...m583l7bip33jc43mw173wqihw5  12.9MiB 873KiB/s 00:15 [####################] 100.0%
@ build-succeeded /gnu/store/jssil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv -
--8<---------------cut here---------------end--------------->8---

> It seems the repo was reorganized; potentially we should now use
> https://github.com/symless/synergy-core instead of
> https://github.com/symless/synergy.

That will also change the tarball hash.  Could you post a patch?

Thanks for the report!

Ludo’.