Your message dated Tue, 08 Aug 2023 20:40:58 +0000
with message-id <e1qttvi-005lxb...@fasolo.debian.org>
and subject line Bug#1042030: fixed in cbmc 5.89.0-1
has caused the Debian Bug report #1042030,
regarding cbmc: FTBFS: elf_reader.cpp:17:57: error: ‘uint16_t’ has not been 
declared
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 ow...@bugs.debian.org
immediately.)


-- 
1042030: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042030
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cbmc
Version: 5.84.0-11
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230724 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> g++ -c -DSATCHECK_MINISAT2 -MMD -MP -std=c++11 -DHAVE_MINISAT2 -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror 
> -Wno-parentheses -Wno-deprecated -pedantic -Wall -pedantic -Werror 
> -Wno-deprecated-declarations -Wswitch-enum  -I .. -o elf_reader.o 
> elf_reader.cpp
> elf_reader.cpp:17:57: error: ‘uint16_t’ has not been declared
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         ^~~~~~~~
> elf_reader.cpp: In function ‘void u16_to_native_endian_inplace(bool, int&)’:
> elf_reader.cpp:19:9: error: ‘uint8_t’ does not name a type
>    19 |   const uint8_t *input_as_bytes = reinterpret_cast<uint8_t *>(&input);
>       |         ^~~~~~~
> elf_reader.cpp:14:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did 
> you forget to ‘#include <cstdint>’?
>    13 | #include <util/exception_utils.h>
>   +++ |+#include <cstdint>
>    14 | 
> elf_reader.cpp:20:14: error: ‘uint16_t’ was not declared in this scope
>    20 |   input = (((uint16_t)input_as_bytes[0]) << (le_input ? 0 : 8)) |
>       |              ^~~~~~~~
> elf_reader.cpp:20:14: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did 
> you forget to ‘#include <cstdint>’?
> elf_reader.cpp:20:23: error: expected ‘)’ before ‘input_as_bytes’
>    20 |   input = (((uint16_t)input_as_bytes[0]) << (le_input ? 0 : 8)) |
>       |            ~          ^~~~~~~~~~~~~~
>       |                       )
> elf_reader.cpp:21:64: error: expected ‘)’ before ‘;’ token
>    21 |           (((uint16_t)input_as_bytes[1]) << (le_input ? 8 : 0));
>       |                                                                ^
>       |                                                                )
> elf_reader.cpp:20:11: note: to match this ‘(’
>    20 |   input = (((uint16_t)input_as_bytes[0]) << (le_input ? 0 : 8)) |
>       |           ^
> elf_reader.cpp: At global scope:
> elf_reader.cpp:24:57: error: ‘uint32_t’ has not been declared
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         ^~~~~~~~
> elf_reader.cpp: In function ‘void u32_to_native_endian_inplace(bool, int&)’:
> elf_reader.cpp:26:9: error: ‘uint8_t’ does not name a type
>    26 |   const uint8_t *input_as_bytes = reinterpret_cast<uint8_t *>(&input);
>       |         ^~~~~~~
> elf_reader.cpp:26:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did 
> you forget to ‘#include <cstdint>’?
> elf_reader.cpp:27:14: error: ‘uint32_t’ was not declared in this scope
>    27 |   input = (((uint32_t)input_as_bytes[0]) << (le_input ? 0 : 24)) |
>       |              ^~~~~~~~
> elf_reader.cpp:27:14: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did 
> you forget to ‘#include <cstdint>’?
> elf_reader.cpp:27:23: error: expected ‘)’ before ‘input_as_bytes’
>    27 |   input = (((uint32_t)input_as_bytes[0]) << (le_input ? 0 : 24)) |
>       |            ~          ^~~~~~~~~~~~~~
>       |                       )
> elf_reader.cpp:30:65: error: expected ‘)’ before ‘;’ token
>    30 |           (((uint32_t)input_as_bytes[3]) << (le_input ? 24 : 0));
>       |                                                                 ^
>       |                                                                 )
> elf_reader.cpp:27:11: note: to match this ‘(’
>    27 |   input = (((uint32_t)input_as_bytes[0]) << (le_input ? 0 : 24)) |
>       |           ^
> elf_reader.cpp: In function ‘void u64_to_native_endian_inplace(bool, long 
> long unsigned int&)’:
> elf_reader.cpp:36:9: error: ‘uint8_t’ does not name a type
>    36 |   const uint8_t *input_as_bytes = reinterpret_cast<uint8_t *>(&input);
>       |         ^~~~~~~
> elf_reader.cpp:36:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did 
> you forget to ‘#include <cstdint>’?
> elf_reader.cpp:37:33: error: ‘input_as_bytes’ was not declared in this scope
>    37 |   input = (((unsigned long long)input_as_bytes[0]) << (le_input ? 0 : 
> 56)) |
>       |                                 ^~~~~~~~~~~~~~
> elf_reader.cpp: In constructor ‘elf_readert::elf_readert(std::istream&)’:
> elf_reader.cpp:77:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    77 |   u16_to_native_endian_inplace(little_endian, elf32_header.e_type);
>       |                                               ~~~~~~~~~~~~~^~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:78:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    78 |   u16_to_native_endian_inplace(little_endian, elf32_header.e_machine);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:79:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>    79 |   u32_to_native_endian_inplace(little_endian, elf32_header.e_version);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:80:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Addr’ {aka ‘unsigned int’}
>    80 |   u32_to_native_endian_inplace(little_endian, elf32_header.e_entry);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:81:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Off’ {aka ‘unsigned int’}
>    81 |   u32_to_native_endian_inplace(little_endian, elf32_header.e_phoff);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:82:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Off’ {aka ‘unsigned int’}
>    82 |   u32_to_native_endian_inplace(little_endian, elf32_header.e_shoff);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:83:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>    83 |   u32_to_native_endian_inplace(little_endian, elf32_header.e_flags);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:84:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    84 |   u16_to_native_endian_inplace(little_endian, elf32_header.e_ehsize);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:85:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    85 |   u16_to_native_endian_inplace(little_endian, 
> elf32_header.e_phentsize);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:86:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    86 |   u16_to_native_endian_inplace(little_endian, elf32_header.e_phnum);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:87:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    87 |   u16_to_native_endian_inplace(little_endian, 
> elf32_header.e_shentsize);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:88:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    88 |   u16_to_native_endian_inplace(little_endian, elf32_header.e_shnum);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:89:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Half’ {aka ‘short unsigned int’}
>    89 |   u16_to_native_endian_inplace(little_endian, 
> elf32_header.e_shstrndx);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:112:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   112 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_name);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:113:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   113 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_type);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:114:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   114 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_flags);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:115:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Addr’ {aka ‘unsigned int’}
>   115 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_addr);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:116:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Off’ {aka ‘unsigned int’}
>   116 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_offset);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:117:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   117 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_size);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:118:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   118 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_link);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:119:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   119 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_info);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:120:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   120 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_addralign);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:121:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf32_Word’ {aka ‘unsigned int’}
>   121 |   u32_to_native_endian_inplace(little_endian, 
> elf32_section_header_table[i].sh_entsize);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:147:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   147 |   u16_to_native_endian_inplace(little_endian, elf64_header.e_type);
>       |                                               ~~~~~~~~~~~~~^~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:148:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   148 |   u16_to_native_endian_inplace(little_endian, elf64_header.e_machine);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:149:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Word’ {aka ‘unsigned int’}
>   149 |   u32_to_native_endian_inplace(little_endian, elf64_header.e_version);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:153:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Word’ {aka ‘unsigned int’}
>   153 |   u32_to_native_endian_inplace(little_endian, elf64_header.e_flags);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:154:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   154 |   u16_to_native_endian_inplace(little_endian, elf64_header.e_ehsize);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:155:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   155 |   u16_to_native_endian_inplace(little_endian, 
> elf64_header.e_phentsize);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:156:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   156 |   u16_to_native_endian_inplace(little_endian, elf64_header.e_phnum);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:157:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   157 |   u16_to_native_endian_inplace(little_endian, 
> elf64_header.e_shentsize);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:158:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   158 |   u16_to_native_endian_inplace(little_endian, elf64_header.e_shnum);
>       |                                               ~~~~~~~~~~~~~^~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:159:60: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Half’ {aka ‘short unsigned int’}
>   159 |   u16_to_native_endian_inplace(little_endian, 
> elf64_header.e_shstrndx);
>       |                                               ~~~~~~~~~~~~~^~~~~~~~~~
> elf_reader.cpp:17:67: note:   initializing argument 2 of ‘void 
> u16_to_native_endian_inplace(bool, int&)’
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:182:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Word’ {aka ‘unsigned int’}
>   182 |   u32_to_native_endian_inplace(little_endian, 
> elf64_section_header_table[i].sh_name);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:183:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Word’ {aka ‘unsigned int’}
>   183 |   u32_to_native_endian_inplace(little_endian, 
> elf64_section_header_table[i].sh_type);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:188:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Word’ {aka ‘unsigned int’}
>   188 |   u32_to_native_endian_inplace(little_endian, 
> elf64_section_header_table[i].sh_link);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp:189:77: error: cannot bind non-const lvalue reference of type 
> ‘int&’ to a value of type ‘Elf64_Word’ {aka ‘unsigned int’}
>   189 |   u32_to_native_endian_inplace(little_endian, 
> elf64_section_header_table[i].sh_info);
> elf_reader.cpp:24:67: note:   initializing argument 2 of ‘void 
> u32_to_native_endian_inplace(bool, int&)’
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |                                                         
> ~~~~~~~~~~^~~~~
> elf_reader.cpp: At global scope:
> elf_reader.cpp:24:13: error: ‘void u32_to_native_endian_inplace(bool, int&)’ 
> defined but not used [-Werror=unused-function]
>    24 | static void u32_to_native_endian_inplace(bool le_input, uint32_t 
> &input)
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> elf_reader.cpp:17:13: error: ‘void u16_to_native_endian_inplace(bool, int&)’ 
> defined but not used [-Werror=unused-function]
>    17 | static void u16_to_native_endian_inplace(bool le_input, uint16_t 
> &input)
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1plus: all warnings being treated as errors
> make[3]: *** [../common:226: elf_reader.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/24/cbmc_5.84.0-11_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230724;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230724&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: cbmc
Source-Version: 5.89.0-1
Done: Michael Tautschnig <m...@debian.org>

We believe that the bug you reported is fixed in the latest version of
cbmc, 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 1042...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tautschnig <m...@debian.org> (supplier of updated cbmc 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 07 Aug 2023 10:59:11 +0100
Source: cbmc
Binary: cbmc cbmc-dbgsym jbmc jbmc-dbgsym
Architecture: source i386
Version: 5.89.0-1
Distribution: unstable
Urgency: low
Maintainer: Michael Tautschnig <m...@debian.org>
Changed-By: Michael Tautschnig <m...@debian.org>
Description:
 cbmc       - bounded model checker for C and C++ programs
 jbmc       - bounded model checker for Java programs
Closes: 1042030
Changes:
 cbmc (5.89.0-1) unstable; urgency=low
 .
   * New upstream release
   * Fix includes in endianness patch (Closes: #1042030)
Checksums-Sha1:
 bcf9cb905e5b6c8aa30242ff5dc8493ebec0da1b 2957 cbmc_5.89.0-1.dsc
 18f8cbbe349484a1adf2b8e4cf3a1b4822b97d31 14582 
cbmc_5.89.0.orig-java-cprover-api.tar.gz
 ca108e17fc68557cce10a6d5d9d84ab39395d2d6 299209 
cbmc_5.89.0.orig-java-models-library.tar.gz
 21ca9735b75fc73082c5ac0b51faea16f5771e9e 9012762 cbmc_5.89.0.orig.tar.gz
 99be6519be334100e797d5ab1faa1f8493b2256a 58588 cbmc_5.89.0-1.debian.tar.xz
 4ff39322e87fcebe2040cf68801f3a976dea311c 604902184 
cbmc-dbgsym_5.89.0-1_i386.deb
 69a1b4b53e5618360c3f34e6a4f033950d226f8d 13619 cbmc_5.89.0-1_i386.buildinfo
 fde03b17d2ad8360459ab5950f4c8f67a9450223 21556844 cbmc_5.89.0-1_i386.deb
 57a8ddc5c49ccdbb7ca65dded61079cddd4a3642 227572980 
jbmc-dbgsym_5.89.0-1_i386.deb
 e8791f6fd4be80d571d401d0686e64d6809037e1 8570080 jbmc_5.89.0-1_i386.deb
Checksums-Sha256:
 689db85066cc53941c108abf9dc57c1b80cb05d38d5fd212cbd37224af3f3453 2957 
cbmc_5.89.0-1.dsc
 70863817bba398e8bb252c96ec1fbe35d20882f9061c920189893080f14646ab 14582 
cbmc_5.89.0.orig-java-cprover-api.tar.gz
 13eb3b8513de999d52eb071d7118b147f8511390c3cb30a6c3be29ada3b5b3c9 299209 
cbmc_5.89.0.orig-java-models-library.tar.gz
 8ca046a8322da5620f5d24787aa8f0e71b300df487b1ccb24b1025e01f51666f 9012762 
cbmc_5.89.0.orig.tar.gz
 4302e22bc870de8c96d21dfbbfb9a1ad69fe60ec3b8aa06b8dca3272b443a243 58588 
cbmc_5.89.0-1.debian.tar.xz
 0e495aaa58dfd27068f87eafb74b7efed30083475767aa844bc94aad1a35105c 604902184 
cbmc-dbgsym_5.89.0-1_i386.deb
 c6b01393431512571c6c7a9bf718c597727ec47eab7a1f09d0b31d810546a80a 13619 
cbmc_5.89.0-1_i386.buildinfo
 a4a47366ac8db153cc4aa23a041c1c5401973e391a1d609418b61c13029f8992 21556844 
cbmc_5.89.0-1_i386.deb
 d150cf45d415e231fadbec82b5dab461fc1fbd2d81b5176c20f5ccf25177ee89 227572980 
jbmc-dbgsym_5.89.0-1_i386.deb
 ecd109d5e33bbe1f5e9d9bc6c92f1c09aae49270ab6d7a2134076d30f02acd14 8570080 
jbmc_5.89.0-1_i386.deb
Files:
 d09db08a458517782796b75dfcf8bc86 2957 science optional cbmc_5.89.0-1.dsc
 245cc4a092fb84d4c8a1333c793f1adc 14582 science optional 
cbmc_5.89.0.orig-java-cprover-api.tar.gz
 6ba4b12d1ad0ee6f917128fa61df4015 299209 science optional 
cbmc_5.89.0.orig-java-models-library.tar.gz
 f76b72c2b74d1601697d263d4feee901 9012762 science optional 
cbmc_5.89.0.orig.tar.gz
 4e172d8c5cc4e3f1a66fa3a97a9720d9 58588 science optional 
cbmc_5.89.0-1.debian.tar.xz
 412b32d8a9e5c7f00989a50f32185cab 604902184 debug optional 
cbmc-dbgsym_5.89.0-1_i386.deb
 34fffb65810429d57c5b44122eef1888 13619 science optional 
cbmc_5.89.0-1_i386.buildinfo
 72674bf9b859864ac378aa8eb4c37abb 21556844 science optional 
cbmc_5.89.0-1_i386.deb
 c36402bc3257cc296b36517fae2d8bf3 227572980 debug optional 
jbmc-dbgsym_5.89.0-1_i386.deb
 58b4b5864597110cf08b6b33c22c253c 8570080 science optional 
jbmc_5.89.0-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQJCBAEBCAAsFiEErKbD9OEAOYbzU4gEO7+DkzbsqTEFAmTSnp4OHG10QGRlYmlh
bi5vcmcACgkQO7+DkzbsqTHQvxAAlljaox7Rm7xkE4t4l6yPJZM6Ncmwhu4/hzoh
YsrKcJ0k0MMOmf0EWB5DkwDoJCQciTdlT/5v8Fpckl3UWdYRaLbx6Wum9o49X+SZ
lGSkZVPwwphkJza1QeSlhncX3Lq0HZLSycEAJbalynZAVcIyUB/euxdww5KJuGus
dYH+5lSLDQQ0I8WZdqwAOUBLfmyh+Ip6CCrl4IZXXqSS4+sGjaED8OMKGBioMM0l
HIhV2KW15pSVBBcjEtQu7ly3kX4xh/jJdTnBdKyj81jBA1Pr3p1nNUPe0POvDLbm
9VIBaKMbdw6Epd9elVarCcuteI8hN9kuSlTcvVFPX+AV8t7KJKnpTgIuozvUoSM2
zaZb9JNxTRp6fguGgo45xL62AN71IiB5szx6fdO/yoijJFmEDkKolN1OaTxaY/yj
NAmQm01tUunqkm3ksPFTrdVvrUy3F8i9CWxzSSgdFPJxXtSRA/FXJKLONqdNfNCi
87fZplFs+DBihAE09xJc+ew4J9x5XZwGR9CkIyZwtwOd3qA5OA8qPaRcdMyWOHQI
LPy3UTBDbU7xq9LAzE/hrpmQVC2jPVZ90ETi3luvvrd+pJLaB/N5aO1gF+Bxwvch
hN5L8gNHQrsTgVAklIcs6NWwR1oMw4a4WDcI1WXo+g5i63Uofmm8i8ROnFjjQbfJ
sU3rIBk=
=5s8g
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to