Merge ~mateus-morais/ubuntu/+source/nvme-stas:nvme-stas-s390x-autopkgtest-failure into ubuntu/+source/nvme-stas:ubuntu/devel
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Mateus Rodrigues de Morais | ||||
Merged at revision: | 62ae9d566ed18a8b068a5bd9ee6ca33132cd7d23 | ||||
Proposed branch: | ~mateus-morais/ubuntu/+source/nvme-stas:nvme-stas-s390x-autopkgtest-failure | ||||
Merge into: | ubuntu/+source/nvme-stas:ubuntu/devel | ||||
Diff against target: |
112 lines (+80/-1) 4 files modified
debian/changelog (+7/-0) debian/control (+2/-1) debian/patches/1000-iputil-fix-byte-ordering.patch (+70/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benjamin Drung (community) | Approve | ||
Review via email: mp+450606@code.launchpad.net |
Description of the change
Fixes LP: #2026878.
On staslib/iputil.py, all byte-related operations were hardcoded as byteorder='little'. Since s390x is a big-endian architecture, the iputil unit tests were failing and, most likely, iputil itself was not working as expected on this platform.
This merge proposal changes the way byteorder is handled by replacing 'little' with sys.byteorder.
A PPA build is available at [1]. The s390x autopkgtest is now passing, as reported in [2].
[1] https:/
[2] https:/
Thanks. I took your patch, converted it to a "gbp pq" one and uploaded the fix to Debian unstable as 2.2.2-2.