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/

Reply via email to