DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build --target all --
Change Dir: 'TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build'

Run Build Command(s): ninja -v -j 16 all
[1/6] TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot -DGIT_VERSION=\"1.0.5\" -DREAD_BLK_SIZE=16384  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++11 -Wformat -Wformat-security -Wconversion -Wsign-conversion -pedantic -Werror -fstack-protector-strong -fPIE -MD -MT CMakeFiles/bmap-writer.dir/src/sha256.cpp.o -MF CMakeFiles/bmap-writer.dir/src/sha256.cpp.o.d -o CMakeFiles/bmap-writer.dir/src/sha256.cpp.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/sha256.cpp
[2/6] TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot -DGIT_VERSION=\"1.0.5\" -DREAD_BLK_SIZE=16384  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++11 -Wformat -Wformat-security -Wconversion -Wsign-conversion -pedantic -Werror -fstack-protector-strong -fPIE -MD -MT CMakeFiles/bmap-writer.dir/src/main.cpp.o -MF CMakeFiles/bmap-writer.dir/src/main.cpp.o.d -o CMakeFiles/bmap-writer.dir/src/main.cpp.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/main.cpp
[3/6] TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot -DGIT_VERSION=\"1.0.5\" -DREAD_BLK_SIZE=16384  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++11 -Wformat -Wformat-security -Wconversion -Wsign-conversion -pedantic -Werror -fstack-protector-strong -fPIE -MD -MT CMakeFiles/bmap-writer.dir/src/device.cpp.o -MF CMakeFiles/bmap-writer.dir/src/device.cpp.o.d -o CMakeFiles/bmap-writer.dir/src/device.cpp.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/device.cpp
FAILED: [code=1] CMakeFiles/bmap-writer.dir/src/device.cpp.o 
TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot -DGIT_VERSION=\"1.0.5\" -DREAD_BLK_SIZE=16384  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++11 -Wformat -Wformat-security -Wconversion -Wsign-conversion -pedantic -Werror -fstack-protector-strong -fPIE -MD -MT CMakeFiles/bmap-writer.dir/src/device.cpp.o -MF CMakeFiles/bmap-writer.dir/src/device.cpp.o.d -o CMakeFiles/bmap-writer.dir/src/device.cpp.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/device.cpp
TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/device.cpp: In function 'uint64_t getDeviceSize(int)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/device.cpp:163:50: error: unsigned conversion from 'int' to 'long unsigned int' changes value from '-2146954638' to '18446744071562596978' [-Werror=sign-conversion]
  163 |     if (S_ISBLK(statbuf.st_mode) && (::ioctl(fd, static_cast<int>(BLKGETSIZE64), &size) != 0)) {
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[4/6] TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot -DGIT_VERSION=\"1.0.5\" -DREAD_BLK_SIZE=16384  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++11 -Wformat -Wformat-security -Wconversion -Wsign-conversion -pedantic -Werror -fstack-protector-strong -fPIE -MD -MT CMakeFiles/bmap-writer.dir/src/image_writer.cpp.o -MF CMakeFiles/bmap-writer.dir/src/image_writer.cpp.o.d -o CMakeFiles/bmap-writer.dir/src/image_writer.cpp.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/image_writer.cpp
[5/6] TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot -DGIT_VERSION=\"1.0.5\" -DREAD_BLK_SIZE=16384  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/build=/usr/src/debug/bmap-writer/1.0.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++11 -Wformat -Wformat-security -Wconversion -Wsign-conversion -pedantic -Werror -fstack-protector-strong -fPIE -MD -MT CMakeFiles/bmap-writer.dir/src/bmap.cpp.o -MF CMakeFiles/bmap-writer.dir/src/bmap.cpp.o.d -o CMakeFiles/bmap-writer.dir/src/bmap.cpp.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/bmap-writer/1.0.5/sources/bmap-writer-1.0.5/src/bmap.cpp
ninja: build stopped: subcommand failed.

WARNING: exit code 1 from a shell command.

Error details

Submitted on:
29/09/26 15:54
Error type:
Recipe
Task:
do_compile
Recipe:
bmap-writer
Recipe version:
1.0.5-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
debian-11/debian-11
Branch:
yoe/mut
Commit:
f06855690782133e13b9085eee93f1e8aeaf6239
Build:
#252188
Submitter:
yp-ab-debian11-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/1838
Similar errors:
0
Open a bug