[Reproducible-builds] Bug#811354: brian: FTBFS: TypeError: histogram() got an unexpected keyword argument 'new'

2016-01-18 Thread Chris Lamb
Source: brian
Version: 1.4.1-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

brian fails to build from source in unstable/amd64:

  [..]

  brian.stateupdater: INFO Solving linear equations numerically
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  In file included from 
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0,
   from 
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
   from 
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
   from 
/home/lamby/temp/cdt.20160118093221.T7TISOkJO9/brian-1.4.1/build/.cache/scipy/python27_compiled/sc_90e487a2aefd5b25f36d2d8f047c1c640.cpp:23:
  
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
 warning: #warning "Using deprecated NumPy API, disable it by " "#defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it by " \
^
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.threshold   : WARNING  Using codegen PythonThreshold
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.threshold   : WARNING  Using codegen PythonThreshold
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.threshold   : WARNING  Using codegen PythonThreshold
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.HomogeneousPoissonThreshold: WARNING  HomogeneousPoissonThreshold 
cannot generate enough spikes.
  brian.threshold   : WARNING  Using codegen CThreshold
  brian.equations   : INFO Free variables: ['second']
  brian.stateupdater: INFO Linear model: using exact updates
  brian.stateupdater: INFO Solving linear equations numerically
  In file included from 
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0,
   from 
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
   from 
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
   from 
/home/lamby/temp/cdt.20160118093221.T7TISOkJO9/brian-1.4.1/build/.cache/scipy/python27_compiled/sc_7cde335454d7a01c94e156351410d8fa0.cpp:22:
  

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

2016-01-18 Thread Jérémy Bobbio
Hi Mike!

Mike Hommey:
> 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 the following:
> 
>9d2be2: 48 8d 05 42 65 24 02lea0x2246542(%rip),%rax# 
> 2c1912b <_fini@@xul45a1+0x1d803>

I would be grateful if you could try again using the master branch.
Dhole made diffoscope compare ELF sections individually and I wonder how
much it helped with this problem.

If it doesn't, would you be so kind to provide example binaries?

Thanks,
-- 
Lunar.''`. 
lu...@debian.org: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

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

2016-01-18 Thread Jérémy Bobbio
Control: tag -1 + pending

Mike Hommey:
> However, if each debug section was compared individually, that give more
> chance for diffoscope to work. (--debug-dump takes values allowing to treat
> each debug section independently)

Implemented by Dhole and currently available in the master branch.

-- 
Lunar.''`. 
lu...@debian.org: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

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

2016-01-18 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + pending
Bug #808197 [src:diffoscope] diffoscope: readelf --debug-dump can be brutal
Added tag(s) pending.

-- 
808197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808197
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


[Reproducible-builds] Processed (with 5 errors): Re: [diffoscope] [PATCH] Implement ElfFile as a container of sections

2016-01-18 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 808197 + pending
Bug #808197 [src:diffoscope] diffoscope: readelf --debug-dump can be brutal
Ignoring request to alter tags of bug #808197 to the same tags previously set
> Mike, FYI…
Unknown command or malformed arguments to command.
> On Montag, 18. Januar 2016, Jérémy Bobbio wrote:
Unknown command or malformed arguments to command.
> > Dhole:
Unknown command or malformed arguments to command.
> > > This works perfectly :) I've implemented it in the revision I'm
Unknown command or malformed arguments to command.
> > > attaching.
Unknown command or malformed arguments to command.
Too many unknown commands, stopping here.

Please contact me if you need assistance.
-- 
808197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808197
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

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

2016-01-18 Thread Jérémy Bobbio
Hi Mike,

Mike Hommey:
> 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 hexdump and a disassembly of the .text section.
> It's also redundant with the output of readelf --debug-dump because it does an
> hexdump of the .debug_* sections that readelf --debug-dump does a dwarf dump
> of.

The master branch now compare ELF files section by section. If you could
test it and see if there's still redundancies, I would be grateful.

Thanks!
-- 
Lunar.''`. 
lu...@debian.org: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Your message to Pbuilder-maint awaits moderator approval

2016-01-18 Thread pbuilder-maint-owner
Your mail to 'Pbuilder-maint' with the subject

reproducible.debian.net status changes for pbuilder

Is being held until the list moderator can review it for approval.

The reason it is being held:

Message has implicit destination

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.alioth.debian.org/cgi-bin/mailman/confirm/pbuilder-maint/092dc8da936b44d89eb86db2f06e9cff835de71a


___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


[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 --disassemble displays symbols+offsets for addresses
> > it derives from IP-relative addressing, like the following:
> > 
> >9d2be2: 48 8d 05 42 65 24 02lea0x2246542(%rip),%rax# 
> > 2c1912b <_fini@@xul45a1+0x1d803>
> 
> I would be grateful if you could try again using the master branch.
> Dhole made diffoscope compare ELF sections individually and I wonder how
> much it helped with this problem.

I don't think it changed anything.

> If it doesn't, would you be so kind to provide example binaries?

I can't find the differing binary anymore :( But that can be reproduced
with a small testcase:

$ cat < test.c
extern const int qux;

int bar() {
#ifdef FOO
  return qux * 2;
#else
  return qux;
#endif
}
EOF
$ cat < test2.c
const int qux = 2;
EOF
$ gcc -shared -o /tmp/test.so /tmp/test{,2}.c -fPIC
$ gcc -shared -o /tmp/test2.so /tmp/test{,2}.c -fPIC -DFOO
$ strip test{,2}.so
$ diffoscope --text - /tmp/test*.so
(...)
│ @@ -29,56 +29,57 @@
│   5a2:48 89 e5mov%rsp,%rbp
│   5a5:48 c1 fe 03 sar$0x3,%rsi
│   5a9:48 89 f0mov%rsi,%rax
│   5ac:48 c1 e8 3f shr$0x3f,%rax
│   5b0:48 01 c6add%rax,%rsi
│   5b3:48 d1 fesar%rsi
│   5b6:74 18   je 5d0 <_init@@Base+0xc8>
│ - 5b8:48 8b 05 01 03 20 00mov0x200301(%rip),%rax# 
2008c0 
│ + 5b8:48 8b 05 01 03 20 00mov0x200301(%rip),%rax# 
2008c0 
│   5bf:48 85 c0test   %rax,%rax
│   5c2:74 0c   je 5d0 <_init@@Base+0xc8>
│   5c4:5d  pop%rbp
│   5c5:ff e0   jmpq   *%rax
│   5c7:66 0f 1f 84 00 00 00nopw   0x0(%rax,%rax,1)
│   5ce:00 00 
│   5d0:5d  pop%rbp
│   5d1:c3  retq   
│   5d2:0f 1f 40 00 nopl   0x0(%rax)
│   5d6:66 2e 0f 1f 84 00 00nopw   %cs:0x0(%rax,%rax,1)
│   5dd:00 00 00 
│   5e0:80 3d 09 03 20 00 00cmpb   $0x0,0x200309(%rip)# 
2008f0 <_edata@@Base>
│   5e7:75 27   jne610 <_init@@Base+0x108>
│ - 5e9:48 83 3d d7 02 20 00cmpq   $0x0,0x2002d7(%rip)# 
2008c8 
│ + 5e9:48 83 3d d7 02 20 00cmpq   $0x0,0x2002d7(%rip)# 
2008c8 
│   5f0:00 
│   5f1:55  push   %rbp
│   5f2:48 89 e5mov%rsp,%rbp
│   5f5:74 0c   je 603 <_init@@Base+0xfb>
│ - 5f7:48 8b 3d ea 02 20 00mov0x2002ea(%rip),%rdi# 
2008e8 
│ + 5f7:48 8b 3d ea 02 20 00mov0x2002ea(%rip),%rdi# 
2008e8 
│   5fe:e8 45 ff ff ff  callq  548 <_init@@Base+0x40>
│   603:e8 48 ff ff ff  callq  550 <_init@@Base+0x48>
│   608:5d  pop%rbp
│   609:c6 05 e0 02 20 00 01movb   $0x1,0x2002e0(%rip)# 
2008f0 <_edata@@Base>
│   610:f3 c3   repz retq 
│   612:0f 1f 40 00 nopl   0x0(%rax)
│   616:66 2e 0f 1f 84 00 00nopw   %cs:0x0(%rax,%rax,1)
│   61d:00 00 00 
│ - 620:48 8d 3d e1 00 20 00lea0x2000e1(%rip),%rdi# 
200708 
│ + 620:48 8d 3d e1 00 20 00lea0x2000e1(%rip),%rdi# 
200708 
│   627:48 83 3f 00 cmpq   $0x0,(%rdi)
│   62b:75 0b   jne638 <_init@@Base+0x130>
│   62d:e9 5e ff ff ff  jmpq   590 <_init@@Base+0x88>
│   632:66 0f 1f 44 00 00   nopw   0x0(%rax,%rax,1)
│ - 638:48 8b 05 79 02 20 00mov0x200279(%rip),%rax# 
2008b8 
│ + 638:48 8b 05 79 02 20 00mov0x200279(%rip),%rax# 
2008b8 
│   63f:48 85 c0test   %rax,%rax
│   642:74 e9   je 62d <_init@@Base+0x125>
│   644:55  push   %rbp
│   645:48 89 e5mov%rsp,%rbp
│   648:ff d0   callq  *%rax
│   64a:5d  pop%rbp
│   64b:e9 40 ff ff ff  jmpq   590 <_init@@Base+0x88>
│  
│  0650 :
│   650:55  push   %rbp
│   651:48 89 e5mov%rsp,%rbp
│ - 654:48 8b 05 4d 02 20 00mov

[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
> > 
> > objdump --disassemble --full-contents is actually redundant in itself. For
> > example, it will dump both an hexdump and a disassembly of the .text 
> > section.
> > It's also redundant with the output of readelf --debug-dump because it does 
> > an
> > hexdump of the .debug_* sections that readelf --debug-dump does a dwarf dump
> > of.
> 
> The master branch now compare ELF files section by section. If you could
> test it and see if there's still redundancies, I would be grateful.

It seems better, but there's still redundancy at least between `readelf
--wide --all` and `readelf --wide --hex-dump
{.symtab,.note.gnu-build-id,.rela.dyn,.rela.plt,.dynamic,.dynsym}` and other
sections ; just check the list of sections in the output of readelf
--all.

Reading the code suggests debug sections would also be redunded between
--debug-dump and --hex-dump for the individual sections, but I haven't
tested with binaries with debuginfo.

Mike

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds