Ok, so I cloned from github and am bisecting like this (it's been a while, correct me if I'm wrong):
$ git bisect start
$ git bisect bad 1ab5eb4efb91a3d4569b0df6e824cc08ab4bd8ec # 2.10.0 stable commit
$ git bisect good 359c41abe32638adad503e386969fa428cecff52 # 2.9.0 stable commit
Bisecting: 1426 revisions left to test after this (roughly 11 steps)
[269c20b2bbd2aa8531e0cdc741fb166f290d7a2b] tests/qdict: check more get_try_int() cases
$ mkdir -p bin/269c20b2bbd2aa8531e0cdc741fb166f290d7a2b
$ cd bin/269c20b2bbd2aa8531e0cdc741fb166f290d7a2b
$ ../../configure --target-list=x86_64-softmmu --python=/usr/bin/python2 --enable-debug
CC block/block-backend.o
/media/usb465gb_232gb_NTFS/compile/qemu/block/blkdebug.c: In function ‘blkdebug_refresh_filename’:
/media/usb465gb_232gb_NTFS/compile/qemu/block/blkdebug.c:843:31: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Werror=format-truncation=] "blkdebug:%s:%s", s->config_file ?: "", ^~
/media/usb465gb_232gb_NTFS/compile/qemu/block/blkdebug.c:842:9: note: ‘snprintf’ output 11 or more bytes (assuming 4106) into a destination of size 4096 snprintf(bs->exact_filename, sizeof(bs->exact_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "blkdebug:%s:%s", s->config_file ?: "", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bs->file->bs->exact_filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [/media/usb465gb_232gb_NTFS/compile/qemu/rules.mak:66: block/blkdebug.o] Error 1
make: *** Waiting for unfinished jobs....
/media/usb465gb_232gb_NTFS/compile/qemu/block/blkverify.c: In function ‘blkverify_refresh_filename’:
/media/usb465gb_232gb_NTFS/compile/qemu/block/blkverify.c:305:29: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Werror=format-truncation=] "blkverify:%s:%s", ^~
/media/usb465gb_232gb_NTFS/compile/qemu/block/blkverify.c:304:9: note: ‘snprintf’ output between 12 and 8202 bytes into a destination of size 4096 snprintf(bs->exact_filename, sizeof(bs->exact_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "blkverify:%s:%s", ~~~~~~~~~~~~~~~~~~ bs->file->bs->exact_filename, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ s->test_file->bs->exact_filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [/media/usb465gb_232gb_NTFS/compile/qemu/rules.mak:66: block/blkverify.o] Error 1
Did I hit a commit with a broken build or something? What to do next?
Ok, so I cloned from github and am bisecting like this (it's been a while, correct me if I'm wrong): 4569b0df6e824cc 08ab4bd8ec # 2.10.0 stable commit dad503e386969fa 428cecff52 # 2.9.0 stable commit 8531e0cdc741fb1 66f290d7a2b] tests/qdict: check more get_try_int() cases 2aa8531e0cdc741 fb166f290d7a2b 2aa8531e0cdc741 fb166f290d7a2b list=x86_ 64-softmmu --python= /usr/bin/ python2 --enable-debug
$ git bisect start
$ git bisect bad 1ab5eb4efb91a3d
$ git bisect good 359c41abe32638a
Bisecting: 1426 revisions left to test after this (roughly 11 steps)
[269c20b2bbd2aa
$ mkdir -p bin/269c20b2bbd
$ cd bin/269c20b2bbd
$ ../../configure --target-
Compilation fails with this (full log here https:/ /pastebin. com/aUYyE6Bb):
CC block/block- backend. o usb465gb_ 232gb_NTFS/ compile/ qemu/block/ blkdebug. c: In function ‘blkdebug_ refresh_ filename’ : usb465gb_ 232gb_NTFS/ compile/ qemu/block/ blkdebug. c:843:31: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Werror= format- truncation= ]
"blkdebug: %s:%s", s->config_file ?: "",
^~ usb465gb_ 232gb_NTFS/ compile/ qemu/block/ blkdebug. c:842:9: note: ‘snprintf’ output 11 or more bytes (assuming 4106) into a destination of size 4096
snprintf( bs->exact_ filename, sizeof( bs->exact_ filename) ,
^~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~
"blkdebug: %s:%s", s->config_file ?: "",
~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~
bs- >file-> bs->exact_ filename) ;
~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~ usb465gb_ 232gb_NTFS/ compile/ qemu/rules. mak:66: block/blkdebug.o] Error 1 usb465gb_ 232gb_NTFS/ compile/ qemu/block/ blkverify. c: In function ‘blkverify_ refresh_ filename’ : usb465gb_ 232gb_NTFS/ compile/ qemu/block/ blkverify. c:305:29: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Werror= format- truncation= ]
"blkverify: %s:%s",
^~ usb465gb_ 232gb_NTFS/ compile/ qemu/block/ blkverify. c:304:9: note: ‘snprintf’ output between 12 and 8202 bytes into a destination of size 4096
snprintf( bs->exact_ filename, sizeof( bs->exact_ filename) ,
^~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~
"blkverify: %s:%s",
~~~ ~~~~~~~ ~~~~~~~ ~
bs- >file-> bs->exact_ filename,
~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~
s-> test_file- >bs->exact_ filename) ;
~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~ usb465gb_ 232gb_NTFS/ compile/ qemu/rules. mak:66: block/blkverify.o] Error 1
/media/
/media/
/media/
cc1: all warnings being treated as errors
make: *** [/media/
make: *** Waiting for unfinished jobs....
/media/
/media/
/media/
cc1: all warnings being treated as errors
make: *** [/media/
Did I hit a commit with a broken build or something? What to do next?