Re: Opencv build generates Pseudo Abort


Richard Purdie
 

On Mon, 2021-05-17 at 13:25 +0200, Morten Bruun wrote:
Hi,

When building on the new hardknott branch I often get the error below, so far the solution is to delete the
tmp directory. Any suggestions?

debug_logfile: fd 2
pid 6668 [parent 6667], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 6667.
creat for ' <path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/opencv/4.5.2-
r0/package/usr/lib/stMOsGHa' replaces existing 11214613 [' <path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-
linux-gnueabi/opencv/4.5.2-r0/package/usr/lib/libopencv_xfeatures2d.so.4.5.2'].
creat for ' <path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/opencv/4.5.2-
r0/package/usr/lib/stUxt79H' replaces existing 11214665 [' <path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-
linux-gnueabi/opencv/4.5.2-r0/package/usr/lib/libopencv_sfm.so.4.5.2'].
creat for ' <path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/opencv/4.5.2-
r0/package/usr/lib/staYWmKL' replaces existing 11214480 [' <path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-
linux-gnueabi/opencv/4.5.2-r0/package/usr/lib/libopencv_imgproc.so.4.5.2'].
db cleanup for server shutdown, 00:12:21.579
memory-to-file backup complete, 00:12:21.579.
db cleanup finished, 00:12:21.579
debug_logfile: fd 2
pid 4234 [parent 4192], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 4192.
db cleanup for server shutdown, 00:19:10.704
memory-to-file backup complete, 00:19:10.705.
db cleanup finished, 00:19:10.705
debug_logfile: fd 2
pid 17609 [parent 17585], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 17585.
path mismatch [3 links]: ino 12076677 db
This is the key part of the log:

<path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/opencv/4.5.2-
r0/package/usr/src/debug/opencv/4.5.2-
r0/contrib/modules/intensity_transform/include/opencv2/intensity_transform.hpp' req
'<path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/opencv/4.5.2-
r0/contrib/modules/intensity_transform/include/opencv2/intensity_transform.hpp'.
and the question is why a file that looks to be in what I'd guess is ${S}:

<path>/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/opencv/4.5.2-
r0/contrib/modules/intensity_transform/include/opencv2/intensity_transform.hpp

was created under pseudo context. Does the recipe give any clue about that?

Cheers,

Richard

Join yocto@lists.yoctoproject.org to automatically receive all group messages.