Skip to content

Test issues when building on mipsel architecture #66

@tillea

Description

@tillea

Hello,

there is a bug in the Debian bug tracking system concerning building libminc on mipsel architecture. It is about two failed tests out of (49 tests are passing). When looking at the output it looks like a typical integer overflow:

       Start  1: ezminc_rw_test
  1/51 Test  #1: ezminc_rw_test ...................   Passed    0.23 sec
       Start  2: minc_types-1
  2/51 Test  #2: minc_types-1 .....................***Failed    0.15 sec
  364c364
 <    image[1] = 255
 ---
 >    image[1] = 0
 373c373
 <    image[1] = 127
 ---
 >    image[1] = -128
 382c382
 <    image[1] = 65535
 ---
 >    image[1] = 0
 391c391
 <    image[1] = 32767
 ---
 >    image[1] = -32768
 400c400
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = 0
 409c409
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 418c418
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 427c427
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 481c481
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 553c553
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09

      Start  3: minc_types-2
 3/51 Test  #3: minc_types-2 .....................***Failed    0.93 sec
 364c364
 <    image[1] = 255
 ---
 >    image[1] = 0
 373c373
 <    image[1] = 127
 ---
 >    image[1] = -128
 382c382
 <    image[1] = 65535
 ---
 >    image[1] = 0
 391c391
 <    image[1] = 32767
 ---
 >    image[1] = -32768
 400c400
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = 0
 409c409
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 418c418
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 427c427
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 481c481
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09
 553c553
 <    image[1] = 2.14748e+09
 ---
 >    image[1] = -2.14748e+09

      Start  4: icv_dim1-1

Here you can find the full build log (the issue can be found at the end):
https://buildd.debian.org/status/fetch.php?pkg=libminc&arch=mipsel&ver=2.3.00-2&stamp=1448468687

The according bug in the Debian BTS is
https://bugs.debian.org/806243

Any help to fix this would be welcome.

Kind regards

   Andreas.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions