Bug#866695: src:xapian-bindings: FTBFS when rebuilt with python3.6 due to test failures

2017-06-30 Thread Scott Kitterman
On Saturday, July 01, 2017 03:51:01 AM Olly Betts wrote:
> Control: tags -1 + fixed-upstream pending
> 
> On Fri, Jun 30, 2017 at 10:38:12PM -0400, Scott Kitterman wrote:
> > -> 917'Query(0 * VALUE_RANGE 7 A5 B8)')
> 
> This is unrelated to the Python version change - it's actually due to
> xapian-core 1.4.4 optimising away the redundant "scale weight by 0" as the
> query objects are constructed (it is redundant as VALUE_RANGE always returns
> weight 0).
> 
> It's fixed in upstream xapian-bindings 1.4.4 which is already on my todo
> list to upload.  I'll bump it up so this gets resolved sooner.

OK.  Thanks for the quick response.

Scott K



Processed: Re: Bug#866695: src:xapian-bindings: FTBFS when rebuilt with python3.6 due to test failures

2017-06-30 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + fixed-upstream pending
Bug #866695 [src:xapian-bindings] src:xapian-bindings: FTBFS when rebuilt with 
python3.6 due to test failures
Added tag(s) fixed-upstream and pending.

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



Bug#866695: src:xapian-bindings: FTBFS when rebuilt with python3.6 due to test failures

2017-06-30 Thread Olly Betts
Control: tags -1 + fixed-upstream pending

On Fri, Jun 30, 2017 at 10:38:12PM -0400, Scott Kitterman wrote:
> -> 917'Query(0 * VALUE_RANGE 7 A5 B8)')

This is unrelated to the Python version change - it's actually due to
xapian-core 1.4.4 optimising away the redundant "scale weight by 0" as the
query objects are constructed (it is redundant as VALUE_RANGE always returns
weight 0).

It's fixed in upstream xapian-bindings 1.4.4 which is already on my todo
list to upload.  I'll bump it up so this gets resolved sooner.

Cheers,
Olly



Bug#866695: src:xapian-bindings: FTBFS when rebuilt with python3.6 due to test failures

2017-06-30 Thread Scott Kitterman
Package: src:xapian-bindings
Version: 1.4.3-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Running test: queryparser_custom_rp... FAILED

pythontest.py:917:Expected equality: got 'Query(VALUE_RANGE 7 A5 B8)', expected 
'Query(0 * VALUE_RANGE 7 A5 B8)'
   915 
   916 expect(str(query),
-> 917'Query(0 * VALUE_RANGE 7 A5 B8)')
   918 
   919 def test_queryparser_custom_rp_deallocation():
Xapian version: 1.4.4
Platform: Linux 4.9.0-3-amd64 (#1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26))

When reporting this problem, please quote all the preceding lines from
"pythontest.py:917" onwards.

Running test: queryparser_custom_rp_deallocation... FAILED

pythontest.py:942:Expected equality: got 'Query(VALUE_RANGE 7 A5 B8)', expected 
'Query(0 * VALUE_RANGE 7 A5 B8)'
   940 
   941 expect(str(query),
-> 942'Query(0 * VALUE_RANGE 7 A5 B8)')
   943 
   944 def test_scale_weight():
Xapian version: 1.4.4
Platform: Linux 4.9.0-3-amd64 (#1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26))

When reporting this problem, please quote all the preceding lines from
"pythontest.py:942" onwards.

Running test: queryparser_custom_vrp... FAILED

pythontest.py:872:Expected equality: got 'Query(VALUE_RANGE 7 A5 B8)', expected 
'Query(0 * VALUE_RANGE 7 A5 B8)'
   870 
   871 expect(str(query),
-> 872'Query(0 * VALUE_RANGE 7 A5 B8)')
   873 
   874 def test_queryparser_custom_vrp_deallocation():
Xapian version: 1.4.4
Platform: Linux 4.9.0-3-amd64 (#1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26))

When reporting this problem, please quote all the preceding lines from
"pythontest.py:872" onwards.

Running test: queryparser_custom_vrp_deallocation... FAILED

pythontest.py:895:Expected equality: got 'Query(VALUE_RANGE 7 A5 B8)', expected 
'Query(0 * VALUE_RANGE 7 A5 B8)'
   893 
   894 expect(str(query),
-> 895'Query(0 * VALUE_RANGE 7 A5 B8)')
   896 
   897 def test_queryparser_custom_rp():
Xapian version: 1.4.4
Platform: Linux 4.9.0-3-amd64 (#1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26))

When reporting this problem, please quote all the preceding lines from
"pythontest.py:895" onwards.

See [1].

Scott K

[1] 
https://buildd.debian.org/status/fetch.php?pkg=xapian-bindings=amd64=1.4.3-1%2Bb1=1498870905=0