Your message dated Tue, 22 Mar 2022 12:03:47 +0000 with message-id <[email protected]> and subject line Bug#994676: fixed in gdisk 1.0.8-4 has caused the Debian Bug report #994676, regarding gdisk FTBFS: error: format not a string literal and no format arguments [-Werror=format-security] to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 994676: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994676 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: gdisk Version: 1.0.8-3 Severity: serious Tags: ftbfs gdisk fails to build from source in unstable on amd64. A build ends as follows: | x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gptcurses.o gptcurses.cc | gptcurses.cc: In member function ‘Space* GPTDataCurses::ShowSpace(int, int)’: | gptcurses.cc:242:87: error: format not a string literal and no format arguments [-Werror=format-security] | 242 | printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); | | ^ | gptcurses.cc:249:87: error: format not a string literal and no format arguments [-Werror=format-security] | 249 | printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); | | ^ | gptcurses.cc:251:55: error: format not a string literal and no format arguments [-Werror=format-security] | 251 | printw(space->origPart->GetTypeName().c_str()); | | ^ | gptcurses.cc:257:58: error: format not a string literal and no format arguments [-Werror=format-security] | 257 | printw(space->origPart->GetDescription().c_str()); | | ^ | gptcurses.cc: In member function ‘int GPTDataCurses::DisplayParts(int)’: | gptcurses.cc:274:26: error: format not a string literal and no format arguments [-Werror=format-security] | 274 | printw(theLine.c_str()); | | ^ | gptcurses.cc:277:26: error: format not a string literal and no format arguments [-Werror=format-security] | 277 | printw(theLine.c_str()); | | ^ | gptcurses.cc: In member function ‘void GPTDataCurses::ShowInfo(int)’: | gptcurses.cc:336:29: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 336 | printw("First sector: %lld (at %s)\n", partitions[partNum].GetFirstLBA(), | | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | long long int uint64_t {aka long unsigned int} | | %ld | gptcurses.cc:338:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 338 | printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(), | | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | long long int uint64_t {aka long unsigned int} | | %ld | gptcurses.cc:341:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 341 | printw("Partition size: %lld sectors (%s)\n", size, BytesToIeee(size, blockSize).c_str()); | | ~~~^ ~~~~ | | | | | | long long int uint64_t {aka long unsigned int} | | %ld | gptcurses.cc:342:33: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 342 | printw("Attribute flags: %016x\n", partitions[partNum].GetAttributes().GetAttributes()); | | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | unsigned int uint64_t {aka long unsigned int} | | %016lx | gptcurses.cc: In member function ‘void GPTDataCurses::MakeNewPart()’: | gptcurses.cc:444:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 444 | printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstLBA); | | ~~~^ ~~~~~~~~~~~ | | | | | | long long int uint64_t {aka long unsigned int} | | %ld | gptcurses.cc:444:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 444 | printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstLBA); | | ~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | | | long long int uint64_t {aka long unsigned int} | | %ld | gptcurses.cc:444:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 444 | printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstLBA); | | ~~~^ ~~~~~~~~~~~ | | | | | | long long int uint64_t {aka long unsigned int} | | %ld | gptcurses.cc:455:56: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] | 455 | printw("Size in sectors or {KMGTP} (default = %lld): ", size); | | ~~~^ ~~~~ | | | | | | | uint64_t {aka long unsigned int} | | long long int | | %ld | gptcurses.cc: In member function ‘void GPTDataCurses::DisplayOptions(char)’: | gptcurses.cc:639:32: error: format not a string literal and no format arguments [-Werror=format-security] | 639 | printw(optionDesc.c_str()); | | ^ | gptcurses.cc: In member function ‘void GPTDataCurses::DrawMenu()’: | gptcurses.cc:751:24: error: format not a string literal and no format arguments [-Werror=format-security] | 751 | printw(title.c_str()); | | ^ | gptcurses.cc:753:24: error: format not a string literal and no format arguments [-Werror=format-security] | 753 | printw(drive.c_str()); | | ^ | gptcurses.cc:755:29: error: format not a string literal and no format arguments [-Werror=format-security] | 755 | printw(size.str().c_str()); | | ^ | gptcurses.cc: In function ‘void Report(std::string)’: | gptcurses.cc:805:26: error: format not a string literal and no format arguments [-Werror=format-security] | 805 | printw(theText.c_str()); | | ^ | cc1plus: some warnings being treated as errors | make[2]: *** [<builtin>: gptcurses.o] Error 1 | make[2]: Leaving directory '/<<PKGBUILDDIR>>' | dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" CXX=x86_64-linux-gnu-g\+\+ returned exit code 2 | make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25 | make[1]: Leaving directory '/<<PKGBUILDDIR>>' | make: *** [debian/rules:30: binary] Error 2 | dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 Very likely, this is due to the recent ncurses upload which improved security annotations of function declarations. Helmut
--- End Message ---
--- Begin Message ---Source: gdisk Source-Version: 1.0.8-4 Done: Jonathan Carter <[email protected]> We believe that the bug you reported is fixed in the latest version of gdisk, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jonathan Carter <[email protected]> (supplier of updated gdisk package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 22 Mar 2022 13:46:52 +0200 Source: gdisk Architecture: source Version: 1.0.8-4 Distribution: unstable Urgency: medium Maintainer: Jonathan Carter <[email protected]> Changed-By: Jonathan Carter <[email protected]> Closes: 994676 Changes: gdisk (1.0.8-4) unstable; urgency=medium . * Include patch to fix ftbfs with new ncurses (Closes: #994676) Checksums-Sha1: 88974e49bbd30c3cb158bc6d09faa7c547a7bc86 1880 gdisk_1.0.8-4.dsc c8824e779056158fa32887e415f5399a8646c3c5 208958 gdisk_1.0.8.orig.tar.gz b4106358f0306535651a7192ed1cb1806478ef27 6792 gdisk_1.0.8-4.debian.tar.xz 731c474e2b93540f9b36a0272f5af04e866c6e0a 5878 gdisk_1.0.8-4_source.buildinfo Checksums-Sha256: f3743a12de9cf25c1594a11563e4df4d44036d42b98df83b22cd64918318f5ad 1880 gdisk_1.0.8-4.dsc 95d19856f004dabc4b8c342b2612e8d0a9eebdd52004297188369f152e9dc6df 208958 gdisk_1.0.8.orig.tar.gz 44babe771c01861469aea6b3d4510915a618d261af83c4f17cacfe38b64450b3 6792 gdisk_1.0.8-4.debian.tar.xz 47a29d89c88f8aa102205e3bf3b2bb54e4b9b74df5dfc69088abad0d52b0a110 5878 gdisk_1.0.8-4_source.buildinfo Files: 369eaa00e2b4b96d75401b06cf51652b 1880 admin optional gdisk_1.0.8-4.dsc 74684c4eb0e6d5a1839e4bb0bba36fa2 208958 admin optional gdisk_1.0.8.orig.tar.gz ab931c2411ddaa14b8ebebf1141e3efc 6792 admin optional gdisk_1.0.8-4.debian.tar.xz 4e0f6621108f859c1e2ad9eaa417092b 5878 admin optional gdisk_1.0.8-4_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEExyA8CpIGcL+U8AuxsB0acqyNyaEFAmI5t4APHGpjY0BkZWJp YW4ub3JnAAoJELAdGnKsjcmhQYYQALQEE/NUydZ50UX0Z9KpyLYDlSI4GmJC+Jyd K3B1M26+bSQyG6Vv70gWuAEL2v5fkIGxKr2u4y+dmGGIKjz9+0DQ92W9GEgdhBzz oIyorTScagudRbisxsKpKhtyqHOk2F0H0vPTc9jO1TPRzyJJJ2+HO5DqeZINzk1y H9+JHuVGgH0/hfW1xhgxXo79rTFdSG6NWC4avIEtcsS5wh1pQhheVsjJCH9/2jDQ uwbCj8DAIT0d24dRsfE30Iz4RRDMcgbyz9Vc0bv18dovefnGeDPXiHGNGrmZ33Fi x8g5QKcuBsPncWloXxSdOehEhBK9xtyQi8PanZ02aGYwfNj8XbM9IXU4dd2QeauY kmNZ+A2oLMbZbJSj0XowHBGc+t2Q4m9z58jAsnDysODSIPM9dp8uRIejOeK4w2go ikqqQl6QQbKjr4hRp4wQ0t+9RaS3CICMGUNHQM5/wdQk6UDSS9KIbvy8ZhOcTUwl GMsj2PBjU9pHEXdNZpiArs08uY8IaEelVhJWbuoqPndvuzLo0mHvfR4tyOkM/YZB ZKGyqehs/AVtVG7FiTQqf4ptKXvHl4TRU4o7n+GU3l89mou/iTn4msm4LovWn/2G w3DdeF+fE0PGgy5147F/F1D5d0IyzvdZWEDJ5R9va2+y50OlwiogLGhJH4g4JtDp Gwv/RDYt =IVSF -----END PGP SIGNATURE-----
--- End Message ---

