[Reproducible-builds] Bug#808197: diffoscope: readelf --debug-dump can be brutal

2015-12-16 Thread Mike Hommey
Source: diffoscope Version: 43 Severity: wishlist Dear Maintainer, When comparing the debug symbol files for Firefox, which are rather massive, the output for readelf --debug-dump is 1.7GB compressed. Diff can't handle with that much data without OOM'ing. However, if each debug section was

[Reproducible-builds] Bug#808199: diffoscope: Weird line numbering in diff output

2015-12-16 Thread Mike Hommey
Source: diffoscope Version: 43 Severity: normal Dear Maintainer, * What led up to the situation? Comparing https://queue.taskcluster.net/v1/task/FEXzanIjQKW_dBmv3ZmBJQ/runs/0/artifacts/public/build/target.tar.bz2 with

[Reproducible-builds] Bug#808199: diffoscope: Weird line numbering in diff output

2015-12-16 Thread Mike Hommey
Attached here is two files that can be compared directly, exposing the same problem. That's essentially the output of tar --full-time -tvf on both tarballs from the original bug report. The following patch fixes the numbering issue: diff --git a/diffoscope/presenters/html.py

[Reproducible-builds] Bug#808207: diffoscope: Filter objdump --disassemble output before diffing it

2015-12-17 Thread Mike Hommey
Source: diffoscope Version: 43 Severity: wishlist When comparing large ELF binaries, some minor differences can end up hurting the visibility of more important differences. Specifically, objdump --disassemble displays symbols+offsets for addresses it derives from IP-relative addressing, like

[Reproducible-builds] Bug#808003: diffoscope: Comparing directories shouldn't care about file order

2015-12-14 Thread Mike Hommey
Source: diffoscope Version: ada1a1dcdc19217fb611e0a1e57bc3744399aefa Severity: wishlist Dear Maintainer, * What led up to the situation? Comparing two directories * What exactly did you do (or not do) that was effective (or ineffective)? Ran `diffoscope --html output.html a b`

[Reproducible-builds] Bug#807997: diffoscope: CbfsFile checks make diffoscope extra slow

2015-12-14 Thread Mike Hommey
On Tue, Dec 15, 2015 at 02:43:26PM +0900, Mike Hommey wrote: > Source: diffoscope > Version: ada1a1dcdc19217fb611e0a1e57bc3744399aefa > Severity: important > > Dear Maintainer, > >* What led up to the situation? > > Comparing > http://archive.mozill

[Reproducible-builds] Bug#807997: Bug#807997: diffoscope: CbfsFile checks make diffoscope extra slow

2015-12-15 Thread Mike Hommey
On Tue, Dec 15, 2015 at 11:13:54AM +0100, Holger Levsen wrote: > Hi Mike, > > out of curiosity: did you have cbfstool installed? I don't. Mike ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org

[Reproducible-builds] Bug#808121: Bug#808121: diffoscope: HTML output is bloated

2015-12-16 Thread Mike Hommey
On Wed, Dec 16, 2015 at 11:19:02AM +0100, Jérémy Bobbio wrote: > Close: tag -1 + pending > > Mike Hommey: > > Looking at the HTML in the HTML output, one can see that it is needlessly > > large. > > > > Specifically, there appears to be a lot of e.g. >

[Reproducible-builds] Bug#808121: diffoscope: HTML output is bloated

2015-12-16 Thread Mike Hommey
Source: diffoscope Version: 43 Severity: wishlist Dear Maintainer, Looking at the HTML in the HTML output, one can see that it is needlessly large. Specifically, there appears to be a lot of e.g. following each other, without even a separation between them. This conflates the amount of memory

[Reproducible-builds] Bug#808267: diffoscope: Redundant information in ELF comparisons

2015-12-17 Thread Mike Hommey
Source: diffoscope Version: 43 Severity: normal When comparing ELF files, the following commands are used: - readelf --all - readelf --debug-dump - objdump --disassemble --full-contents objdump --disassemble --full-contents is actually redundant in itself. For example, it will dump both an

[Reproducible-builds] Bug#808267: diffoscope: Redundant information in ELF comparisons

2015-12-17 Thread Mike Hommey
On Fri, Dec 18, 2015 at 10:10:54AM +0900, Mike Hommey wrote: > Source: diffoscope > Version: 43 > Severity: normal > > When comparing ELF files, the following commands are used: > - readelf --all > - readelf --debug-dump > - objdump --disassemble --full-contents > >

[Reproducible-builds] Bug#808207: diffoscope: Filter objdump --disassemble output before diffing it

2016-01-18 Thread Mike Hommey
On Mon, Jan 18, 2016 at 07:06:14PM +0100, Jérémy Bobbio wrote: > Hi Mike! > > Mike Hommey: > > When comparing large ELF binaries, some minor differences can end up hurting > > the visibility of more important differences. > > > > Specifically, objdump --dis

[Reproducible-builds] Bug#808267: diffoscope: Redundant information in ELF comparisons

2016-01-18 Thread Mike Hommey
On Mon, Jan 18, 2016 at 07:20:38PM +0100, Jérémy Bobbio wrote: > Hi Mike, > > Mike Hommey: > > When comparing ELF files, the following commands are used: > > - readelf --all > > - readelf --debug-dump > > - objdump --disassemble --full-contents > > &g

Bug#886736: diffoscope: mach-o disassembly with otool can fail in a way that fools diffoscope into dumping raw data instead

2018-01-09 Thread Mike Hommey
On Wed, Jan 10, 2018 at 10:23:59AM +0900, Mike Hommey wrote: > On Tue, Jan 09, 2018 at 01:07:58PM +, Chris Lamb wrote: > > Hi Mike, > > > > > I only have a very large XUL library... you probably don't want that. > > > > Probably not for the testsuite (!

Bug#886736: diffoscope: mach-o disassembly with otool can fail in a way that fools diffoscope into dumping raw data instead

2018-01-09 Thread Mike Hommey
On Tue, Jan 09, 2018 at 01:07:58PM +, Chris Lamb wrote: > Hi Mike, > > > I only have a very large XUL library... you probably don't want that. > > Probably not for the testsuite (!) but if you could make it available it > would help with a fix anyway... The two builds I was comparing:

Bug#886736: diffoscope: mach-o disassembly with otool can fail in a way that fools diffoscope into dumping raw data instead

2018-01-09 Thread Mike Hommey
On Tue, Jan 09, 2018 at 12:50:05PM +, Chris Lamb wrote: > Hi Mike, > > > > In some cases, otool can fail with: > > > > can't create x86_64 llvm disassembler > > Do you happen to have example files you could point to or upload? Not > essential of course, but would be much easier and

Bug#886736: diffoscope: mach-o disassembly with otool can fail in a way that fools diffoscope into dumping raw data instead

2018-01-09 Thread Mike Hommey
Package: diffoscope Version: 90 Severity: normal Dear Maintainer, In some cases, otool can fail with: can't create x86_64 llvm disassembler (where x86_64 may be another platform, and where the message is usually preceded by the file path name and "(__TEXT,__text) section", well, in fact,

Bug#886736: diffoscope: mach-o disassembly with otool can fail in a way that fools diffoscope into dumping raw data instead

2018-01-09 Thread Mike Hommey
On Wed, Jan 10, 2018 at 10:36:02AM +0530, Chris Lamb wrote: > Mike Hommey wrote: > > > The two builds I was comparing: > > […] > > Thanks for sending this over. For some reason, I completely failed to > realise that I would need access to otool to make use of these,