oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
607 stars 137 forks source link

Fix perl 5.10 support #493

Closed jimklimov closed 4 years ago

jimklimov commented 4 years ago

Mojolicious released a new version a couple of months ago; the last release with support for perl 5.10 was 8.43: https://github.com/mojolicious/mojo/commit/52a237a813e778a998caa99e71dd8c8d5fd0cd2a

We can bolt using mojolicious-8.43 for older hosts with perl-5.10 however, at least for as long as it suffices (znapzend does not move THAT fast to require bleeding edge dependencies).

jimklimov commented 4 years ago

Huh, a docker image test failed for unrelated reasons... and was not there for #492...

 Step 9/15 : RUN   apk add --no-cache zfs curl bash autoconf automake nano perl=${PERL_VERSION} openssh &&   apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ mbuffer &&   ln -s /dev/stdout /var/log/syslog &&   ln -s /usr/bin/perl /usr/local/bin/perl
 ---> Running in b4128fc49d24
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  perl-5.30.3-r0:
    breaks: world[perl=5.30.1-r0]
    satisfies: autoconf-2.69-r2[perl]
               automake-1.16.1-r0[perl]
The command '/bin/sh -c apk add --no-cache zfs curl bash autoconf automake nano perl=${PERL_VERSION} openssh &&   apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ mbuffer &&   ln -s /dev/stdout /var/log/syslog &&   ln -s /usr/bin/perl /usr/local/bin/perl' returned a non-zero code: 3
##[error]Process completed with exit code 3.
jimklimov commented 4 years ago

Test in Docker failed with:

ERROR: unsatisfiable constraints:
perl-5.30.3-r0:
breaks: world[perl=5.30.1-r0]
satisfies: autoconf-2.69-r2[perl]
automake-1.16.1-r0[perl]

maybe some new alpine release is being rolled out and this got fetching in-between (5.30.1 vs 5.30.3)?..

I'll try to close and re-open the PR to trigger a rebuild...

jimklimov commented 4 years ago

At the moment, the issue above persists. I suppose it is an alpine distro problem, not much we can do about it here. And it is not something this PR tries to fix - its own original goals are achieved with green results in different Perl versions.

oetiker commented 4 years ago

thanks!

jimklimov commented 4 years ago

Thanks you too, for figuring out the docker file issues :-)