-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Milestone
Description
GTP test fails to build on recent openSUSE Tumbleweed versions
[ 18s] /usr/bin/c++ -DFORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -I/home/abuild/rpmbuild/BUILD/growlight-1.2.31/src -I/home/abuild/rpmbuild/BUILD/growlight-1.2.31/build/include -I/home/abuild/rpmbuild/BUILD/growlight-1.2.31 -I/usr/include/blkid -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG -O2 -g -DNDEBUG -fvisibility=hidden -Wall -Wextra -W -Wshadow -Wformat -fexceptions -std=c++17 -o CMakeFiles/growlight-tester.dir/tests/gpt.cpp.o -c /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp
[ 18s] In file included from /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/main.h:4,
[ 18s] from /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:1:
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp: In function 'void _DOCTEST_ANON_FUNC_2()':
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:22:30: error: cannot bind packed field 'head.gpt_header::revision' to 'unsigned int&'
[ 18s] 22 | CHECK(0x00010000 == head.revision);
[ 18s] | ~~~~~^~~~~~~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:29:22: error: cannot bind packed field 'head.gpt_header::headsize' to 'unsigned int&'
[ 18s] 29 | CHECK(92 == head.headsize);
[ 18s] | ~~~~~^~~~~~~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:37:21: error: cannot bind packed field 'head.gpt_header::lba' to 'long unsigned int&'
[ 18s] 37 | CHECK(1 == head.lba);
[ 18s] | ~~~~~^~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:38:26: error: cannot bind packed field 'head.gpt_header::backuplba' to 'long unsigned int&'
[ 18s] 38 | CHECK(100000 == head.backuplba);
[ 18s] | ~~~~~^~~~~~~~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:64:20: error: cannot bind packed field 'head.gpt_header::partsize' to 'unsigned int&'
[ 18s] 64 | CHECK(0 < head.partsize);
[ 18s] | ~~~~~^~~~~~~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:67:23: error: cannot bind packed field 'head.gpt_header::partcount' to 'unsigned int&'
[ 18s] 67 | CHECK(128 <= head.partcount);
[ 18s] | ~~~~~^~~~~~~~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:72:29: error: cannot bind packed field 'head.gpt_header::crc' to 'unsigned int&'
[ 18s] 72 | WARN(2006165414 == head.crc);
[ 18s] | ~~~~~^~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:73:21: error: cannot bind packed field 'head.gpt_header::reserved' to 'unsigned int&'
[ 18s] 73 | CHECK(0 == head.reserved);
[ 18s] | ~~~~~^~~~~~~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:74:30: error: cannot bind packed field 'head.gpt_header::partcrc' to 'unsigned int&'
[ 18s] 74 | CHECK(2874462854 == head.partcrc);
[ 18s] | ~~~~~^~~~~~~
[ 18s] /home/abuild/rpmbuild/BUILD/growlight-1.2.31/tests/gpt.cpp:88:23: error: cannot bind packed field 'head->gpt_header::headsize' to 'unsigned int&'
[ 18s] 88 | CHECK(92 == head->headsize);
[ 18s] | ~~~~~~^~~~~~~~
[ 18s] make[2]: *** [CMakeFiles/growlight-tester.dir/build.make:488: CMakeFiles/growlight-tester.dir/tests/gpt.cpp.o] Error 1
[ 18s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/growlight-1.2.31/build'
Reactions are currently unavailable