Bug#868370: python3-btrfs: Exception: Unsupported machine type aarch64

2017-07-17 Thread Hans van Kranenburg
Hi Adam,

On 07/15/2017 03:26 AM, Adam Borowski wrote:
> [...]
> On arm64, both the Debian and kernel architecture name is "arm64", yet
> Python's platform.machine() returns autotoolsey "aarch64".  The latter
> name is not on btrfs/ioctl.py's list.

Thanks for the report, and thanks for testing. Apparently aarch64 is a
newer UTS_MACHINE kernel value for arm64. This is now fixed in the
develop branch of python-btrfs.

https://github.com/knorrie/python-btrfs/commits/develop
  "Update ioctl platform.machine handling"

The bug report caused me to have another look at the UTS_MACHINE
definitions in the linux kernel source, and also simplify a few other
names by doing more startswith matching instead of exact matches.

I'll probably tag a new release within a few days, since the amount of
niceness that's not released yet has been piling up steadily.

Hans



Bug#868370: python3-btrfs: Exception: Unsupported machine type aarch64

2017-07-14 Thread Adam Borowski
Package: python3-btrfs
Version: 7-1
Severity: normal

Hi!
On arm64, both the Debian and kernel architecture name is "arm64", yet
Python's platform.machine() returns autotoolsey "aarch64".  The latter
name is not on btrfs/ioctl.py's list.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 4.11.0-rc6-iceconfig-00048-gb18024f35bbb (SMP w/4 CPU cores; 
PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python3-btrfs depends on:
ii  python3  3.5.3-3

python3-btrfs recommends no packages.

python3-btrfs suggests no packages.

-- no debconf information