Source: open-roms Version: 0.0~git20230311.8fbcf8a-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230726 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[2]: Entering directory '/<<PKGBUILDDIR>>' > /bin/sh: 1: git: not found > > Compiling tool build/tools/build_segment ... > > > Compiling tool build/tools/generate_strings ... > > Compiling tool build/tools/generate_constants ... > Compiling tool build/tools/pngprepare ... > tools/build_segment.cc:94:60: error: ‘uint16_t’ was not declared in this scope > 94 | std::map<std::string, std::list<std::pair<std::string, > uint16_t>>> symbolImports; > | ^~~~~~~~ > tools/build_segment.cc:22:1: note: ‘uint16_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > 21 | #include <vector> > +++ |+#include <cstdint> > 22 | > tools/build_segment.cc:94:60: error: template argument 2 is invalid > 94 | std::map<std::string, std::list<std::pair<std::string, > uint16_t>>> symbolImports; > | ^~~~~~~~ > tools/build_segment.cc:94:68: error: template argument 1 is invalid > 94 | std::map<std::string, std::list<std::pair<std::string, > uint16_t>>> symbolImports; > | ^~ > tools/build_segment.cc:94:68: error: template argument 2 is invalid > tools/build_segment.cc:94:70: error: template argument 2 is invalid > 94 | std::map<std::string, std::list<std::pair<std::string, > uint16_t>>> symbolImports; > | ^ > tools/build_segment.cc:94:70: error: template argument 4 is invalid > tools/build_segment.cc:95:14: error: ‘uint32_t’ was not declared in this scope > 95 | std::map<uint32_t, std::pair<std::string, uint16_t>> > symbolAliases; > | ^~~~~~~~ > tools/build_segment.cc:95:14: note: ‘uint32_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:95:47: error: ‘uint16_t’ was not declared in this scope > 95 | std::map<uint32_t, std::pair<std::string, uint16_t>> > symbolAliases; > | ^~~~~~~~ > tools/build_segment.cc:95:47: note: ‘uint16_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:95:47: error: template argument 2 is invalid > tools/build_segment.cc:95:55: error: template argument 1 is invalid > 95 | std::map<uint32_t, std::pair<std::string, uint16_t>> > symbolAliases; > | ^~ > tools/build_segment.cc:95:55: error: template argument 2 is invalid > tools/build_segment.cc:95:55: error: template argument 3 is invalid > tools/build_segment.cc:95:55: error: template argument 4 is invalid > tools/build_segment.cc:112:21: error: ‘uint8_t’ was not declared in this scope > 112 | std::vector<uint8_t> valBlob; > | ^~~~~~~ > tools/build_segment.cc:112:21: note: ‘uint8_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:112:28: error: template argument 1 is invalid > 112 | std::vector<uint8_t> valBlob; > | ^ > tools/build_segment.cc:112:28: error: template argument 2 is invalid > tools/build_segment.cc:113:9: error: ‘uint32_t’ does not name a type > 113 | uint32_t valInt; > | ^~~~~~~~ > tools/build_segment.cc:113:9: note: ‘uint32_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:117:14: error: ‘uint32_t’ was not declared in this > scope > 117 | std::map<uint32_t, ConfigEntry> configEntries; > | ^~~~~~~~ > tools/build_segment.cc:117:14: note: ‘uint32_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:117:35: error: template argument 1 is invalid > 117 | std::map<uint32_t, ConfigEntry> configEntries; > | ^ > tools/build_segment.cc:117:35: error: template argument 3 is invalid > tools/build_segment.cc:117:35: error: template argument 4 is invalid > tools/build_segment.cc:119:50: error: ‘uint32_t’ has not been declared > 119 | void preprocessLine(const std::string &line, uint32_t lineNum); > | ^~~~~~~~ > tools/build_segment.cc:120:109: error: ‘uint32_t’ has not been declared > 120 | void preprocessLine_Alias(const std::list<std::string> &tokens, > std::list<std::string>::iterator &iter, uint32_t lineNum); > | > ^~~~~~~~ > tools/build_segment.cc:122:57: error: ‘uint32_t’ has not been declared > 122 | const std::string &line, uint32_t > lineNum); > | ^~~~~~~~ > tools/generate_constants.cc: In function ‘std::string toAssemblerString(const > std::string&, double)’: > tools/generate_constants.cc:121:9: error: ‘uint8_t’ was not declared in this > scope > 121 | uint8_t outFloat[5] = { 0 }; > | ^~~~~~~ > tools/generate_constants.cc:15:1: note: ‘uint8_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > 14 | #include <vector> > +++ |+#include <cstdint> > 15 | > tools/generate_constants.cc:165:9: error: ‘outFloat’ was not declared in this > scope > 165 | outFloat[0] = exponent; > | ^~~~~~~~ > tools/generate_constants.cc:169:21: error: expected ‘;’ before ‘idxByte’ > 169 | for (uint8_t idxByte = 1; idxByte <= 4; idxByte++) > | ^~~~~~~~ > | ; > tools/generate_constants.cc:169:35: error: ‘idxByte’ was not declared in this > scope > 169 | for (uint8_t idxByte = 1; idxByte <= 4; idxByte++) > | ^~~~~~~ > tools/generate_constants.cc:171:29: error: expected ‘;’ before ‘idxBit’ > 171 | for (uint8_t idxBit = 0; idxBit <= 7; idxBit++) > | ^~~~~~~ > | ; > tools/generate_constants.cc:171:42: error: ‘idxBit’ was not declared in this > scope > 171 | for (uint8_t idxBit = 0; idxBit <= 7; idxBit++) > | ^~~~~~ > tools/build_segment.cc: In member function ‘void SourceFile::preprocess()’: > tools/build_segment.cc:678:5: error: ‘uint32_t’ was not declared in this scope > 678 | uint32_t lineNum = 0; > | ^~~~~~~~ > tools/build_segment.cc:678:5: note: ‘uint32_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:684:9: error: ‘lineNum’ was not declared in this > scope; did you mean ‘line’? > 684 | lineNum++; > | ^~~~~~~ > | line > tools/build_segment.cc:696:5: error: ‘lineNum’ was not declared in this > scope; did you mean ‘line’? > 696 | lineNum = 0; > | ^~~~~~~ > | line > tools/build_segment.cc:699:36: error: ‘begin’ was not declared in this scope; > did you mean ‘std::begin’? > 699 | for (const auto &symbolAlias : symbolAliases) maxSymLen = > std::max(maxSymLen, symbolAlias.second.first.length()); > | ^~~~~~~~~~~~~ > | std::begin > In file included from /usr/include/c++/13/string:53, > from /usr/include/c++/13/bits/locale_classes.h:40, > from /usr/include/c++/13/bits/ios_base.h:41, > from /usr/include/c++/13/ios:44, > from /usr/include/c++/13/ostream:40, > from /usr/include/c++/13/iostream:41, > from tools/common.h:6, > from tools/build_segment.cc:6: > /usr/include/c++/13/bits/range_access.h:114:37: note: ‘std::begin’ declared > here > 114 | template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) > noexcept; > | ^~~~~ > tools/build_segment.cc:699:36: error: ‘end’ was not declared in this scope; > did you mean ‘std::end’? > 699 | for (const auto &symbolAlias : symbolAliases) maxSymLen = > std::max(maxSymLen, symbolAlias.second.first.length()); > | ^~~~~~~~~~~~~ > | std::end > /usr/include/c++/13/bits/range_access.h:116:37: note: ‘std::end’ declared here > 116 | template<typename _Tp> const _Tp* end(const valarray<_Tp>&) > noexcept; > | ^~~ > tools/build_segment.cc:705:27: error: request for member ‘find’ in > ‘((SourceFile*)this)->SourceFile::symbolAliases’, which is of non-class type > ‘int’ > 705 | if (symbolAliases.find(lineNum) != symbolAliases.end()) > | ^~~~ > tools/build_segment.cc:705:58: error: request for member ‘end’ in > ‘((SourceFile*)this)->SourceFile::symbolAliases’, which is of non-class type > ‘int’ > 705 | if (symbolAliases.find(lineNum) != symbolAliases.end()) > | ^~~ > tools/build_segment.cc:714:32: error: request for member ‘find’ in > ‘((SourceFile*)this)->SourceFile::configEntries’, which is of non-class type > ‘int’ > 714 | else if (configEntries.find(lineNum) != configEntries.end()) > | ^~~~ > tools/build_segment.cc:714:63: error: request for member ‘end’ in > ‘((SourceFile*)this)->SourceFile::configEntries’, which is of non-class type > ‘int’ > 714 | else if (configEntries.find(lineNum) != configEntries.end()) > | ^~~ > tools/build_segment.cc:755:19: error: request for member ‘clear’ in > ‘((SourceFile*)this)->SourceFile::symbolAliases’, which is of non-class type > ‘int’ > 755 | symbolAliases.clear(); > | ^~~~~ > tools/build_segment.cc:756:19: error: request for member ‘clear’ in > ‘((SourceFile*)this)->SourceFile::symbolImports’, which is of non-class type > ‘int’ > 756 | symbolImports.clear(); > | ^~~~~ > tools/build_segment.cc: At global scope: > tools/build_segment.cc:759:58: error: ‘uint32_t’ has not been declared > 759 | void SourceFile::preprocessLine(const std::string &line, uint32_t > lineNum) > | ^~~~~~~~ > tools/build_segment.cc:790:117: error: ‘uint32_t’ has not been declared > 790 | void SourceFile::preprocessLine_Alias(const std::list<std::string> > &tokens, std::list<std::string>::iterator &iter, uint32_t lineNum) > | > ^~~~~~~~ > tools/build_segment.cc: In member function ‘void > SourceFile::preprocessLine_Alias(const > std::__cxx11::list<std::__cxx11::basic_string<char> >&, > std::__cxx11::list<std::__cxx11::basic_string<char> >::iterator&, int)’: > tools/build_segment.cc:811:43: error: no match for ‘operator[]’ (operand > types are ‘int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}) > 811 | for (const auto &alias : symbolImports[symNameSpace]) > | ^ > tools/build_segment.cc:815:22: error: invalid types ‘int[int]’ for array > subscript > 815 | symbolAliases[lineNum] = std::pair<std::string, > uint16_t>(symbol, alias.second); > | ^ > tools/build_segment.cc:815:57: error: ‘uint16_t’ was not declared in this > scope > 815 | symbolAliases[lineNum] = std::pair<std::string, > uint16_t>(symbol, alias.second); > | ^~~~~~~~ > tools/build_segment.cc:815:57: note: ‘uint16_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:815:65: error: template argument 2 is invalid > 815 | symbolAliases[lineNum] = std::pair<std::string, > uint16_t>(symbol, alias.second); > | ^ > tools/build_segment.cc: At global scope: > tools/build_segment.cc:821:65: error: ‘uint32_t’ has not been declared > 821 | const std::string &line, > uint32_t lineNum) > | > ^~~~~~~~ > tools/build_segment.cc: In member function ‘void > SourceFile::preprocessLine_Config(const > std::__cxx11::list<std::__cxx11::basic_string<char> >&, > std::__cxx11::list<std::__cxx11::basic_string<char> >::iterator&, const > std::string&, int)’: > tools/build_segment.cc:836:22: error: invalid types ‘int[int]’ for array > subscript > 836 | configEntries[lineNum].key = key; > | ^ > tools/build_segment.cc:837:22: error: invalid types ‘int[int]’ for array > subscript > 837 | configEntries[lineNum].valIntValid = false; > | ^ > tools/build_segment.cc:852:46: error: ‘uint8_t’ does not name a type > 852 | auto byteToNibble = [&byte]() -> uint8_t > | ^~~~~~~ > tools/build_segment.cc:852:46: note: ‘uint8_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:873:34: error: invalid types ‘int[int]’ for array > subscript > 873 | configEntries[lineNum].valBlob.push_back(byte); > | ^ > tools/build_segment.cc:877:21: error: ‘uint8_t’ was not declared in this scope > 877 | uint8_t val = byteToNibble() * 16; > | ^~~~~~~ > tools/build_segment.cc:877:21: note: ‘uint8_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:879:21: error: ‘val’ was not declared in this scope > 879 | val += byteToNibble(); > | ^~~ > tools/build_segment.cc:881:34: error: invalid types ‘int[int]’ for array > subscript > 881 | configEntries[lineNum].valBlob.push_back(val); > | ^ > tools/build_segment.cc:884:83: error: invalid types ‘int[int]’ for array > subscript > 884 | else if ((byte >= 0x20 && byte <= 0x5B) || byte == 0x5D) > configEntries[lineNum].valBlob.push_back(byte); > | > ^ > tools/build_segment.cc:888:26: error: invalid types ‘int[int]’ for array > subscript > 888 | if (configEntries[lineNum].valBlob.empty()) ERROR("syntax > error, empty string in '#CONFIG#'"); > | ^ > tools/build_segment.cc:890:22: error: invalid types ‘int[int]’ for array > subscript > 890 | configEntries[lineNum].key = key; > | ^ > tools/build_segment.cc:891:22: error: invalid types ‘int[int]’ for array > subscript > 891 | configEntries[lineNum].valIntValid = false; > | ^ > tools/build_segment.cc:907:22: error: invalid types ‘int[int]’ for array > subscript > 907 | configEntries[lineNum].key = key; > | ^ > tools/build_segment.cc:908:22: error: invalid types ‘int[int]’ for array > subscript > 908 | configEntries[lineNum].valInt = > std::stoul(valStr.substr(1, std::string::npos), nullptr, 16); > | ^ > tools/build_segment.cc:909:22: error: invalid types ‘int[int]’ for array > subscript > 909 | configEntries[lineNum].valIntValid = true; > | ^ > tools/build_segment.cc:923:22: error: invalid types ‘int[int]’ for array > subscript > 923 | configEntries[lineNum].key = key; > | ^ > tools/build_segment.cc:924:22: error: invalid types ‘int[int]’ for array > subscript > 924 | configEntries[lineNum].valInt = > std::stoul(valStr.substr(0, std::string::npos), nullptr, 10); > | ^ > tools/build_segment.cc:925:22: error: invalid types ‘int[int]’ for array > subscript > 925 | configEntries[lineNum].valIntValid = true; > | ^ > tools/build_segment.cc: In member function ‘void > SourceFile::preprocessLine_Import(const > std::__cxx11::list<std::__cxx11::basic_string<char> >&, > std::__cxx11::list<std::__cxx11::basic_string<char> >::iterator&)’: > tools/build_segment.cc:964:26: error: no match for ‘operator[]’ (operand > types are ‘int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}) > 964 | > symbolImports[symNameSpace].push_back(std::pair<std::string, uint16_t>(label, > address)); > | ^ > tools/build_segment.cc:964:74: error: ‘uint16_t’ was not declared in this > scope > 964 | > symbolImports[symNameSpace].push_back(std::pair<std::string, uint16_t>(label, > address)); > | > ^~~~~~~~ > tools/build_segment.cc:964:74: note: ‘uint16_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/build_segment.cc:964:82: error: template argument 2 is invalid > 964 | > symbolImports[symNameSpace].push_back(std::pair<std::string, uint16_t>(label, > address)); > | > ^ > tools/generate_strings.cc:37:5: error: ‘uint8_t’ does not name a type > 37 | uint8_t abbrevLen = 0; // length of token abbreviation > | ^~~~~~~ > tools/generate_strings.cc:16:1: note: ‘uint8_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > 15 | #include <vector> > +++ |+#include <cstdint> > 16 | > tools/generate_strings.cc:54:21: error: ‘uint8_t’ was not declared in this > scope > 54 | typedef std::vector<uint8_t> StringEncoded; > | ^~~~~~~ > tools/generate_strings.cc:54:21: note: ‘uint8_t’ is defined in header > ‘<cstdint>’; did you forget to ‘#include <cstdint>’? > tools/generate_strings.cc:54:28: error: template argument 1 is invalid > 54 | typedef std::vector<uint8_t> StringEncoded; > | ^ > tools/generate_strings.cc:54:28: error: template argument 2 is invalid > tools/generate_strings.cc:175:3: error: could not convert ‘{{true, true, > true, true, true, "KV2_80", "END", 2}, {true, true, true, true, true, > "KV2_81", "FOR", 2}, {true, true, true, true, true, "KV2_82", "NEXT", 2}, > {true, true, true, true, true, "KV2_83", "DATA", 2}, {true, true, true, true, > true, "KV2_84", "INPUT#", 2}, {true, true, true, true, true, "KV2_85", > "INPUT", 0}, {true, true, true, true, true, "KV2_86", "DIM", 2}, {true, true, > true, true, true, "KV2_87", "READ", 2}, {true, true, true, true, true, > "KV2_88", "LET", 2}, {true, true, true, true, true, "KV2_89", "GOTO", 2}, > {true, true, true, true, true, "KV2_8A", "RUN", 2}, {true, true, true, true, > true, "KV2_8B", "IF", 0}, {true, true, true, true, true, "KV2_8C", "RESTORE", > 3}, {true, true, true, true, true, "KV2_8D", "GOSUB", 3}, {true, true, true, > true, true, "KV2_8E", "RETURN", 3}, {true, true, true, true, true, "KV2_8F", > "REM", 0}, {true, true, true, true, true, "KV2_90", "STOP", 2}, {true, true, > true, true, true, "KV2_91", "ON", 0}, {true, true, true, true, true, > "KV2_92", "WAIT", 2}, {true, true, true, true, true, "KV2_93", "LOAD", 2}, > {true, true, true, true, true, "KV2_94", "SAVE", 2}, {true, true, true, true, > true, "KV2_95", "VERIFY", 2}, {true, true, true, true, true, "KV2_96", "DEF", > 2}, {true, true, true, true, true, "KV2_97", "POKE", 2}, {true, true, true, > true, true, "KV2_98", "PRINT#", 2}, {true, true, true, true, true, "KV2_99", > "PRINT", 0}, {true, true, true, true, true, "KV2_9A", "CONT", 2}, {true, > true, true, true, true, "KV2_9B", "LIST", 2}, {true, true, true, true, true, > "KV2_9C", "CLR", 2}, {true, true, true, true, true, "KV2_9D", "CMD", 2}, > {true, true, true, true, true, "KV2_9E", "SYS", 2}, {true, true, true, true, > true, "KV2_9F", "OPEN", 2}, {true, true, true, true, true, "KV2_A0", "CLOSE", > 3}, {true, true, true, true, true, "KV2_A1", "GET", 2}, {true, true, true, > true, true, "KV2_A2", "NEW", 0}, {true, true, true, true, true, "KV2_A3", > "TAB(", 2}, {true, true, true, true, true, "KV2_A4", "TO", 0}, {true, true, > true, true, true, "KV2_A5", "FN", 0}, {true, true, true, true, true, > "KV2_A6", "SPC(", 2}, {true, true, true, true, true, "KV2_A7", "THEN", 2}, > {true, true, true, true, true, "KV2_A8", "NOT", 2}, {true, true, true, true, > true, "KV2_A9", "STEP", 2}, {true, true, true, true, true, "KV2_AA", "+", 0}, > {true, true, true, true, true, "KV2_AB", "-", 0}, {true, true, true, true, > true, "KV2_AC", "*", 0}, {true, true, true, true, true, "KV2_AD", "/", 0}, > {true, true, true, true, true, "KV2_AE", "^", 0}, {true, true, true, true, > true, "KV2_AF", "AND", 2}, {true, true, true, true, true, "KV2_B0", "OR", 0}, > {true, true, true, true, true, "KV2_B1", ">", 0}, {true, true, true, true, > true, "KV2_B2", "=", 0}, {true, true, true, true, true, "KV2_B3", "<", 0}, > {true, true, true, true, true, "KV2_B4", "SGN", 2}, {true, true, true, true, > true, "KV2_B5", "INT", 0}, {true, true, true, true, true, "KV2_B6", "ABS", > 2}, {true, true, true, true, true, "KV2_B7", "USR", 2}, {true, true, true, > true, true, "KV2_B8", "FRE", 2}, {true, true, true, true, true, "KV2_B9", > "POS", 0}, {true, true, true, true, true, "KV2_BA", "SQR", 2}, {true, true, > true, true, true, "KV2_BB", "RND", 2}, {true, true, true, true, true, > "KV2_BC", "LOG", 0}, {true, true, true, true, true, "KV2_BD", "EXP", 2}, > {true, true, true, true, true, "KV2_BE", "COS", 0}, {true, true, true, true, > true, "KV2_BF", "SIN", 2}, {true, true, true, true, true, "KV2_C0", "TAN", > 0}, {true, true, true, true, true, "KV2_C1", "ATN", 2}, {true, true, true, > true, true, "KV2_C2", "PEEK", 2}, {true, true, true, true, true, "KV2_C3", > "LEN", 0}, {true, true, true, true, true, "KV2_C4", "STR$", 3}, {true, true, > true, true, true, "KV2_C5", "VAL", 2}, {true, true, true, true, true, > "KV2_C6", "ASC", 2}, {true, true, true, true, true, "KV2_C7", "CHR$", 2}, > {true, true, true, true, true, "KV2_C8", "LEFT$", 3}, {true, true, true, > true, true, "KV2_C9", "RIGHT$", 2}, {true, true, true, true, true, "KV2_CA", > "MID$", 2}, {true, true, true, true, true, "KV2_CB", "GO", 0}}’ from > ‘<brace-enclosed initializer list>’ to ‘std::vector<StringEntry>’ > 175 | } }; > | ^ > | | > | <brace-enclosed initializer list> > make[2]: *** [Makefile:334: build/tools/generate_constants] Error 1 The full build log is available from: http://qa-logs.debian.net/2023/07/26/open-roms_0.0~git20230311.8fbcf8a-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&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.