I just tried the following: git clone https://github.com/adferrand/docker-backuppc.git cd docker-backuppc sudo docker build -t backuppc-hc1 . sudo docker run \ --name backuppc-test \ --dns 192.168.0.1 \ --publish 8444:8080 \ --env 'USE_SSL=true' \ --env TZ=Australia/Brisbane \ --env 'BACKUPPC_UUID=1002' \ --env 'BACKUPPC_GUID=1000' \ 4011b2832033 sudo docker exec -it backuppc-test /bin/bash
perl -V returns: archname=armv8l-linux-thread-multi uname='linux build-3-12-armv7 5.4.27-0-lts #1-alpine smp mon, 23 mar 2020 18:15:20 utc armv8l linux ' ivtype='long' ivsize=4 This results in an up to date BackupPC version 4.4.0, but still the same issue with ivsize=4. I will have a look at replacing perl soon. Thanks for your help. On Wed, 14 Oct 2020 at 06:01, Craig Barratt via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > David, > > Can you find or compile a perl with 64 bit IVs? You'll also need to > rebuild BackupPC::XS using that perl. That should solve the problem. > > Craig > > On Tue, Oct 13, 2020 at 12:50 PM David Walton <dks...@gmail.com> wrote: > >> Comparing with omv rather than the Alpine Linux in the docker container >> gives the following: >> >> lsb_release -a >> Distributor ID: Debian >> Description: Debian GNU/Linux 9.13 (stretch) >> Release: 9.13 >> Codename: stretch >> >> perl -V >> osname=linux, osvers=3.16.0, >> archname=arm-linux-gnueabihf-thread-multi-64int >> uname='linux localhost 3.16.0 #1 smp debian 3.16.0 armv7l gnulinux ' >> perl5 (revision 5 version 24 subversion 1) >> ivtype='long long' >> ivsize=8 >> >> So I guess the problem is how perl was compiled for the docker container >> rather than the arm processor. >> >> >> On Wed, 14 Oct 2020 at 02:35, Guillermo Rozas <guille2...@gmail.com> >> wrote: >> >>> Same here on a Banana Pi Pro running Armbian: >>> >>> Distributor ID: Debian >>> Description: Debian GNU/Linux 9.13 (stretch) >>> Release: 9.13 >>> Codename: stretch >>> >>> Perl5 (revision 5 version 24 subversion 1) >>> ivtype='long long' >>> ivsize=8 >>> >>> Regards, >>> Guillermo >>> >>> On Tue, Oct 13, 2020 at 1:21 PM Doug Lytle <supp...@drdos.info> wrote: >>> >>>> >>> Ok, so that's the issue - your version of perl on arm only uses 32 >>>> bit IVs. I'm surprised it is built that way - does anyone know if that is >>>> default for perl on arm generally? >>>> >>>> I have a Raspberry Pi 4 running >>>> >>>> lsb_release -a >>>> >>>> No LSB modules are available. >>>> Distributor ID: Raspbian >>>> Description: Raspbian GNU/Linux 10 (buster) >>>> Release: 10 >>>> Codename: buster >>>> >>>> And Perl shows: >>>> >>>> This is perl 5, version 28, subversion 1 (v5.28.1) built for >>>> arm-linux-gnueabihf-thread-multi-64int >>>> >>>> ivtype='long long' >>>> ivsize=8 >>>> >>>> So, probably not the default for all ARM installs. >>>> >>>> Doug >>>> >>> _______________________________________________ >>> BackupPC-users mailing list >>> BackupPC-users@lists.sourceforge.net >>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users >>> Wiki: https://github.com/backuppc/backuppc/wiki >>> Project: https://backuppc.github.io/backuppc/ >>> >> >> >> -- >> David Walton >> _______________________________________________ >> BackupPC-users mailing list >> BackupPC-users@lists.sourceforge.net >> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users >> Wiki: https://github.com/backuppc/backuppc/wiki >> Project: https://backuppc.github.io/backuppc/ >> > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: https://github.com/backuppc/backuppc/wiki > Project: https://backuppc.github.io/backuppc/ > -- David Walton
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/