Bug#790932: lintian: Test for UPX compression of binaries does not work

2015-07-03 Thread Niels Thykier
Control: tags -1 patch On 2015-07-03 08:55, Niels Thykier wrote: Package: lintian Version: 2.5.32 Severity: normal $ apt-get instal upx $ upx -9 /bin/ls -o test $ LINTIAN_ROOT=. perl -I. helpers/coll/objdump-info-helper test | \ grep -i upx If it worked, the last line should say

Bug#790932: lintian: Test for UPX compression of binaries does not work

2015-07-03 Thread Jakub Wilk
* Niels Thykier ni...@thykier.net, 2015-07-03, 08:55: I am split between fixing the code (making it use strings and running it in a check) vs just dropping it, given it hasn't worked for at least 2 years (and likely more). AFAICT binaries compressed with UPX trigger statically-linked-binary,

Bug#790932: lintian: Test for UPX compression of binaries does not work

2015-07-03 Thread Niels Thykier
On 2015-07-03 16:45, Jakub Wilk wrote: * Niels Thykier ni...@thykier.net, 2015-07-03, 08:55: I am split between fixing the code (making it use strings and running it in a check) vs just dropping it, given it hasn't worked for at least 2 years (and likely more). AFAICT binaries compressed

Bug#790932: lintian: Test for UPX compression of binaries does not work

2015-07-03 Thread Niels Thykier
Package: lintian Version: 2.5.32 Severity: normal $ apt-get instal upx $ upx -9 /bin/ls -o test $ LINTIAN_ROOT=. perl -I. helpers/coll/objdump-info-helper test | \ grep -i upx If it worked, the last line should say UPX: yes. It seems that our head $binary | grep -q 'packed.*with.*UPX' is no