[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771054: lintian: FTBFS: binaries-from-other-arch fails with latest binutils



[TL;DR: it's a bug in Lintian, not in binutils.]

The primary purpose of this test is to make sure Lintian recognize foreign architecture ELFs. But, for some reason, the ELF that is used for testing is also corrupted, triggering errors from readelf. And error handling is that's what has changed in binutils.

Before:

$ readelf -WltdVs elfobject 2>&1 | grep Error
readelf: Error: Unable to read in 0x28 bytes of section headers
readelf: Error: Unable to read in 0x438 bytes of section headers

After:
$ readelf -WltdVs elfobject 2>&1 | grep Error

readelf: Error: Reading 0x438 bytes extends past end of file for section headers


So we'll have to update the regexp in objdump-info-helper[0]. Although I'm not sure why can't we just treat all the errors the same way.


[0] https://sources.debian.net/src/lintian/2.5.30%2Bdeb8u2/helpers/coll/objdump-info-helper/?hl=88:90#L87

--
Jakub Wilk

Attachment: elfobject
Description: Binary data


Reply to: