bug#31923: FAIL: t0501-duplicate on Alpine Linux s390x

2019-08-05 Thread Brian C. Lane
On Mon, Aug 05, 2019 at 12:55:08AM -0500, A. Wilcox wrote: > found 31923 3.2 > > We've hit this on Adélie Linux on ppc64. This actually is an endianness > bug. > > The attached patch fixes the bug and allows it to pass the test suite > and correctly create a new BSD disk label on big endian

bug#31923: FAIL: t0501-duplicate on Alpine Linux s390x

2019-08-04 Thread A. Wilcox
found 31923 3.2 We've hit this on Adélie Linux on ppc64. This actually is an endianness bug. The attached patch fixes the bug and allows it to pass the test suite and correctly create a new BSD disk label on big endian computers. If this patch is acceptable, I can create it in Git format. Or

bug#31923: FAIL: t0501-duplicate on Alpine Linux s390x

2018-06-21 Thread Phillip Susi
On 6/21/2018 4:17 AM, Natanael Copa wrote: > A wild guess is that xbsd_dkcksum does not work properly on big endian > machines. It looks like it handles endianess correctly, but I did notice that it is using something called "u_short" instead of uint16_t. I wonder if on your machine "u_short"

bug#31923: FAIL: t0501-duplicate on Alpine Linux s390x

2018-06-21 Thread Natanael Copa
Hi! It seems that the tests/duplicate segfaults on Alpine Linux s390x when called as: ./duplicate bsd + duplicate bsd ./t0501-duplicate.sh: line 21: 3803 Segmentation fault duplicate I have attached the test-suite.log. Backtrace: Core was generated by