[Pkg-javascript-devel] Bug#976911: node-opencv: FTBFS on ppc64el: not ok 197 Error: Command failed: node /<<PKGBUILDDIR>>/examples/motion-track.js terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.2.0) ../modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor' Aborted
Lucas Nussbaum
lucas at debian.org
Wed Dec 9 08:39:23 GMT 2020
Source: node-opencv
Version: 7.0.0+git20200310.6c13234-1
Severity: serious
Justification: FTBFS on ppc64el
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201209 ftbfs-bullseye ftbfs-ppc64el
Hi,
During a rebuild of all packages in sid, your package failed to build
on ppc64el. At the same time, it did not fail on amd64.
I'm marking this bug as severity:serious since your package currently has
ppc64el binary packages in unstable (so this is a regression).
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> npm test
>
> > opencv at 7.0.0 test
> > node test/unit.js
>
> TAP version 13
> # Smoke tests / Can Import
> ok 1 imported fine
> ok 2 version is there:4.2
> ok 3 point is there
> ok 4 matrix is there
> # importing library multiple times is ok
> ok 5 null
> ok 6 null
> # Point
> ok 7 should be truthy
> ok 8 cannot call without new
> ok 9 should be equal
> ok 10 should be equal
> ok 11 should be equal
> ok 12 should be equal
> ok 13 Points are immutable
> ok 14 Points are immutable
> ok 15 should be truthy
> ok 16 should be equal
> # Matrix constructor
> ok 17 should be truthy
> ok 18 should be truthy
> ok 19 should be truthy
> ok 20 should be truthy
> ok 21 should be truthy
> # Matrix accessors
> ok 22 should be equivalent
> ok 23 should be equal
> ok 24 should be equal
> ok 25 should be equal
> ok 26 should be equal
> ok 27 should be equivalent
> ok 28 should be equal
> ok 29 should be equal
> ok 30 should be equivalent
> ok 31 should be equivalent
> ok 32 should be equivalent
> ok 33 should be equivalent
> ok 34 should be equal
> ok 35 should be equivalent
> # Matrix functions
> ok 36 should be equal
> ok 37 should be equal
> ok 38 should be equal
> ok 39 GetRotationMatrix2D
> # .norm
> ok 40 should be truthy
> ok 41 should be truthy
> ok 42 should be equal
> ok 43 should be equal
> # Matrix toBuffer
> ok 44 should be truthy
> # Matrix toBuffer Async
> (node:29380) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> ok 45 null
> ok 46 should be truthy
> ok 47 should be truthy
> # detectObject
> ok 48 null
> ok 49 should be truthy
> ok 50 should be equal
> # .absDiff and .countNonZero
> ok 51 should be truthy
> ok 52 should be truthy
> ok 53 should be equal
> # .bitwiseXor
> ok 54 should be equal
> # Image read from file
> ok 55 should be truthy
> ok 56 should be equal
> ok 57 should be equal
> ok 58 should be equal
> ok 59 should be equal
> # Multi-page image read from file
> ok 60 should be truthy
> ok 61 should be equal
> ok 62 should be truthy
> ok 63 should be equal
> ok 64 should be equal
> ok 65 should be equal
> ok 66 should be equal
> ok 67 should be truthy
> ok 68 should be equal
> ok 69 should be equal
> ok 70 should be equal
> ok 71 should be equal
> ok 72 should be truthy
> ok 73 should be equal
> ok 74 should be equal
> ok 75 should be equal
> ok 76 should be equal
> ok 77 should be truthy
> ok 78 should be equal
> ok 79 should be equal
> ok 80 should be equal
> ok 81 should be equal
> ok 82 should be truthy
> ok 83 should be equal
> ok 84 should be equal
> ok 85 should be equal
> ok 86 should be equal
> ok 87 should be truthy
> ok 88 should be equal
> ok 89 should be equal
> ok 90 should be equal
> ok 91 should be equal
> ok 92 should be truthy
> ok 93 should be equal
> ok 94 should be equal
> ok 95 should be equal
> ok 96 should be equal
> ok 97 should be truthy
> ok 98 should be equal
> ok 99 should be equal
> ok 100 should be equal
> ok 101 should be equal
> ok 102 should be truthy
> ok 103 should be equal
> ok 104 should be equal
> ok 105 should be equal
> ok 106 should be equal
> ok 107 should be truthy
> ok 108 should be equal
> ok 109 should be equal
> ok 110 should be equal
> ok 111 should be equal
> # Distance transform
> ok 112 should be truthy
> ok 113 should be equal
> # read Image from buffer
> ok 114 should be truthy
> ok 115 should be equal
> ok 116 should be equal
> ok 117 should be equal
> ok 118 should be equal
> # Cascade Classifier
> ok 119 test constructor
> ok 120 null
> ok 121 should be equal
> ok 122 should be equal
> # ImageDataStream
> ok 123 should be truthy
> ok 124 should be equal
> # ImageStream
> ok 125 should be equivalent
> # CamShift
> ok 126 should be truthy
> ok 127 should be truthy
> ok 128 should be truthy
> ok 129 should be truthy
> ok 130 should be truthy
> ok 131 should be truthy
> ok 132 should be truthy
> ok 133 should be truthy
> ok 134 should be truthy
> ok 135 should be truthy
> # fonts
> ok 136 image is ok
> # LDA Wrap
> TODO: Please port LDAWrap.cc to OpenCV 3
> # Native Matrix
> ok 137 nativemat
> # Subtract
> ok 138 should be equivalent
> # Mean
> ok 139 should be equivalent
> # Compare
> ok 140 should be equivalent
> ok 141 should be equivalent
> ok 142 should be equivalent
> # MatchTemplateByMatrix
> ok 143 RGB Found Match
> ok 144 match location x === 42
> ok 145 match location y === 263
> ok 146 Canny edge Found Match
> ok 147 match location x === 42
> ok 148 match location y === 263
> # setColor works will alpha channels
> ok 149 should be equal
> ok 150 should be equal
> ok 151 should be equal
> ok 152 should be equal
> # getPixel
> ok 153 should be equal
> ok 154 should be equivalent
> ok 155 should be equivalent
> ok 156 should be equivalent
> ok 157 should be equivalent
> ok 158 should be equal
> ok 159 should be equivalent
> ok 160 should be equivalent
> ok 161 should be equivalent
> ok 162 should be equivalent
> ok 163 should be equal
> ok 164 should be equivalent
> ok 165 should be equivalent
> ok 166 should be equivalent
> ok 167 should be equivalent
> # pixelRow pixelCol 4 channel image
> ok 168 should be equal
> ok 169 should be equivalent
> ok 170 should be equivalent
> ok 171 should be equivalent
> ok 172 should be equivalent
> # toArray/fromArray working in both ways
> ok 173 should be equal
> # floodFill optional returned bounding rect
> ok 174 should be equal
> ok 175 should be equal
> ok 176 should be equal
> ok 177 should be equal
> # Example: ./examples/addweighted.js
> ok 178 null
> # Example: ./examples/async-resize.js
> ok 179 null
> # Example: ./examples/bgsubtractor.js
> not ok 180 Error: Command failed: node /<<PKGBUILDDIR>>/examples/bgsubtractor.js /<<PKGBUILDDIR>>/examples/bgsubtractor.js:20 var mat = bg.apply(m2); ^ TypeError: Empty matrix? at /<<PKGBUILDDIR>>/examples/bgsubtractor.js:20:18
> ---
> operator: error
> expected: |-
> undefined
> actual: |-
> { [Error: Command failed: node /<<PKGBUILDDIR>>/examples/bgsubtractor.js
> /<<PKGBUILDDIR>>/examples/bgsubtractor.js:20
> var mat = bg.apply(m2);
> ^
>
> TypeError: Empty matrix?
> at /<<PKGBUILDDIR>>/examples/bgsubtractor.js:20:18
> ] killed: false, code: 1, signal: null, cmd: 'node /<<PKGBUILDDIR>>/examples/bgsubtractor.js' }
> at: <anonymous> (/<<PKGBUILDDIR>>/test/examples.js:18:16)
> stack: |-
> Error: Command failed: node /<<PKGBUILDDIR>>/examples/bgsubtractor.js
> /<<PKGBUILDDIR>>/examples/bgsubtractor.js:20
> var mat = bg.apply(m2);
> ^
>
> TypeError: Empty matrix?
> at /<<PKGBUILDDIR>>/examples/bgsubtractor.js:20:18
>
> at ChildProcess.exithandler (child_process.js:308:12)
> at ChildProcess.emit (events.js:314:20)
> at maybeClose (internal/child_process.js:1021:16)
> at Socket.<anonymous> (internal/child_process.js:443:11)
> at Socket.emit (events.js:314:20)
> at Pipe.<anonymous> (net.js:677:12)
> ...
> # Example: ./examples/calc-hist.js
> ok 181 null
> # Example: ./examples/camera.js
> # Example: ./examples/car-detection.js
> ok 182 null
> # Example: ./examples/color-filter.js
> ok 183 null
> # Example: ./examples/contours.js
> ok 184 null
> # Example: ./examples/convert-image.js
> ok 185 null
> # Example: ./examples/detect-shapes.js
> ok 186 null
> # Example: ./examples/dissimilarity.js
> ok 187 null
> # Example: ./examples/emd.js
> ok 188 null
> # Example: ./examples/face-detection-rectangle.js
> ok 189 null
> # Example: ./examples/face-detection.js
> ok 190 null
> # Example: ./examples/face-proxy.js
> ok 191 null
> # Example: ./examples/mat-array-conversion.js
> ok 192 null
> # Example: ./examples/mat-dct.js
> ok 193 null
> # Example: ./examples/mat-normalize.js
> ok 194 null
> # Example: ./examples/mat-put.js
> ok 195 null
> # Example: ./examples/matrix-ref-count.js
> ok 196 null
> # Example: ./examples/motion-track.js
> not ok 197 Error: Command failed: node /<<PKGBUILDDIR>>/examples/motion-track.js terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.2.0) ../modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor' Aborted
> ---
> operator: error
> expected: |-
> undefined
> actual: |-
> { [Error: Command failed: node /<<PKGBUILDDIR>>/examples/motion-track.js
> terminate called after throwing an instance of 'cv::Exception'
> what(): OpenCV(4.2.0) ../modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
>
> Aborted
> ] killed: false, code: 134, signal: null, cmd: 'node /<<PKGBUILDDIR>>/examples/motion-track.js' }
> at: <anonymous> (/<<PKGBUILDDIR>>/test/examples.js:18:16)
> stack: |-
> Error: Command failed: node /<<PKGBUILDDIR>>/examples/motion-track.js
> terminate called after throwing an instance of 'cv::Exception'
> what(): OpenCV(4.2.0) ../modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
>
> Aborted
>
> at ChildProcess.exithandler (child_process.js:308:12)
> at ChildProcess.emit (events.js:314:20)
> at maybeClose (internal/child_process.js:1021:16)
> at Socket.<anonymous> (internal/child_process.js:443:11)
> at Socket.emit (events.js:314:20)
> at Pipe.<anonymous> (net.js:677:12)
> ...
> # Example: ./examples/optical-flow.js
> ok 198 null
> # Example: ./examples/quad-crosses.js
> ok 199 null
> # Example: ./examples/readimage.js
> ok 200 null
> # Example: ./examples/remove-lines.js
> ok 201 null
> # Example: ./examples/salt.js
> ok 202 null
> # Example: ./examples/take-face-pics.js
> ok 203 null
> # Example: ./examples/test.js
> ok 204 null
> # Example: ./examples/warp-image.js
> ok 205 null
> # Example: ./examples/write-video.js
> ok 206 null
>
> 1..206
> # tests 206
> # pass 204
> # fail 2
>
> npm ERR! code 1
> npm ERR! path /<<PKGBUILDDIR>>
> npm ERR! command failed
> npm ERR! command sh -c node test/unit.js
> make[1]: *** [Makefile:4: test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/12/09/node-opencv_7.0.0+git20200310.6c13234-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on a Power8 cluster part of the
Grid'5000 testbed. Hardware specs: https://www.grid5000.fr/w/Grenoble:Hardware#drac
More information about the Pkg-javascript-devel
mailing list