[Debian-med-packaging] Bug#1042196: shasta: FTBFS: Base.hpp:35:18: error: ‘uint8_t’ was not declared in this scope

Lucas Nussbaum lucas at debian.org
Wed Jul 26 20:54:00 BST 2023


Source: shasta
Version: 0.11.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/staticLibrary && /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBUILD_ID=0.11.1 -DNDEBUG -I/<<PKGBUILDDIR>>/staticLibrary/../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -std=c++20 -Wall -Wconversion -Wno-unused-result -Wno-trigraphs -g0 -O3 -mcx16 -MD -MT staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/Assembler.cpp.o -MF CMakeFiles/shastaStaticLibrary.dir/__/src/Assembler.cpp.o.d -o CMakeFiles/shastaStaticLibrary.dir/__/src/Assembler.cpp.o -c /<<PKGBUILDDIR>>/src/Assembler.cpp
> In file included from /<<PKGBUILDDIR>>/src/AssembledSegment.hpp:5,
>                  from /<<PKGBUILDDIR>>/src/AssembledSegment.cpp:2:
> /<<PKGBUILDDIR>>/src/Base.hpp:35:18: error: ‘uint8_t’ was not declared in this scope
>    35 |     static array<uint8_t, 256> table;
>       |                  ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:17:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
>    16 | #include "string.hpp"
>   +++ |+#include <cstdint>
>    17 | 
> /<<PKGBUILDDIR>>/src/Base.hpp:35:30: error: template argument 1 is invalid
>    35 |     static array<uint8_t, 256> table;
>       |                              ^
> /<<PKGBUILDDIR>>/src/Base.hpp:48:5: error: ‘uint8_t’ does not name a type
>    48 |     uint8_t value;
>       |     ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:48:5: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp:93:29: error: ‘uint8_t’ has not been declared
>    93 |     static Base fromInteger(uint8_t i)
>       |                             ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:99:29: error: ‘uint16_t’ has not been declared
>    99 |     static Base fromInteger(uint16_t i)
>       |                             ^~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:99:17: error: ‘static shasta::Base shasta::Base::fromInteger(int)’ cannot be overloaded with ‘static shasta::Base shasta::Base::fromInteger(int)’
>    99 |     static Base fromInteger(uint16_t i)
>       |                 ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:93:17: note: previous declaration ‘static shasta::Base shasta::Base::fromInteger(int)’
>    93 |     static Base fromInteger(uint8_t i)
>       |                 ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:105:29: error: ‘uint32_t’ has not been declared
>   105 |     static Base fromInteger(uint32_t i)
>       |                             ^~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:105:17: error: ‘static shasta::Base shasta::Base::fromInteger(int)’ cannot be overloaded with ‘static shasta::Base shasta::Base::fromInteger(int)’
>   105 |     static Base fromInteger(uint32_t i)
>       |                 ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:93:17: note: previous declaration ‘static shasta::Base shasta::Base::fromInteger(int)’
>    93 |     static Base fromInteger(uint8_t i)
>       |                 ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:111:29: error: ‘uint64_t’ has not been declared
>   111 |     static Base fromInteger(uint64_t i)
>       |                             ^~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:111:17: error: ‘static shasta::Base shasta::Base::fromInteger(int)’ cannot be overloaded with ‘static shasta::Base shasta::Base::fromInteger(int)’
>   111 |     static Base fromInteger(uint64_t i)
>       |                 ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:93:17: note: previous declaration ‘static shasta::Base shasta::Base::fromInteger(int)’
>    93 |     static Base fromInteger(uint8_t i)
>       |                 ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In constructor ‘shasta::Base::Base()’:
> /<<PKGBUILDDIR>>/src/Base.hpp:51:14: error: class ‘shasta::Base’ does not have any field named ‘value’
>    51 |     Base() : value(0) {}
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘bool shasta::Base::isValid() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:55:16: error: ‘value’ was not declared in this scope
>    55 |         return value < 4;
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::Base shasta::Base::fromCharacter(char)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:69:14: error: ‘class shasta::Base’ has no member named ‘value’
>    69 |         base.value = BaseInitializer::table[uint8_t(c)];
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:69:45: error: ‘uint8_t’ was not declared in this scope
>    69 |         base.value = BaseInitializer::table[uint8_t(c)];
>       |                                             ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:69:45: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp:70:17: error: ‘class shasta::Base’ has no member named ‘value’
>    70 |         if(base.value == 255) {
>       |                 ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::Base shasta::Base::fromCharacterNoException(char)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:87:14: error: ‘class shasta::Base’ has no member named ‘value’
>    87 |         base.value = BaseInitializer::table[uint8_t(c)];
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:87:45: error: ‘uint8_t’ was not declared in this scope
>    87 |         base.value = BaseInitializer::table[uint8_t(c)];
>       |                                             ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:87:45: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::Base shasta::Base::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:96:14: error: ‘class shasta::Base’ has no member named ‘value’
>    96 |         base.value = i;
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::Base shasta::Base::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:102:14: error: ‘class shasta::Base’ has no member named ‘value’
>   102 |         base.value = uint8_t(i);
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:102:22: error: ‘uint8_t’ was not declared in this scope
>   102 |         base.value = uint8_t(i);
>       |                      ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:102:22: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::Base shasta::Base::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:108:14: error: ‘class shasta::Base’ has no member named ‘value’
>   108 |         base.value = uint8_t(i);
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:108:22: error: ‘uint8_t’ was not declared in this scope
>   108 |         base.value = uint8_t(i);
>       |                      ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:108:22: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::Base shasta::Base::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:114:14: error: ‘class shasta::Base’ has no member named ‘value’
>   114 |         base.value = uint8_t(i);
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:114:22: error: ‘uint8_t’ was not declared in this scope
>   114 |         base.value = uint8_t(i);
>       |                      ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:114:22: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘char shasta::Base::character() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:123:16: error: ‘value’ was not declared in this scope
>   123 |         switch(value) {
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘shasta::Base shasta::Base::complement() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:136:44: error: ‘value’ was not declared in this scope
>   136 |         return fromInteger(uint8_t(3 - int(value)));
>       |                                            ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:136:28: error: ‘uint8_t’ was not declared in this scope
>   136 |         return fromInteger(uint8_t(3 - int(value)));
>       |                            ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:136:28: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘void shasta::Base::complementInPlace()’:
> /<<PKGBUILDDIR>>/src/Base.hpp:142:9: error: ‘value’ was not declared in this scope
>   142 |         value = (~value) & 3;
>       |         ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘bool shasta::Base::operator==(shasta::Base) const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:147:16: error: ‘value’ was not declared in this scope
>   147 |         return value == that.value;
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:147:30: error: ‘class shasta::Base’ has no member named ‘value’
>   147 |         return value == that.value;
>       |                              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘bool shasta::Base::operator!=(shasta::Base) const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:151:16: error: ‘value’ was not declared in this scope
>   151 |         return value != that.value;
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:151:30: error: ‘class shasta::Base’ has no member named ‘value’
>   151 |         return value != that.value;
>       |                              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘bool shasta::Base::operator<(shasta::Base) const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:155:29: error: ‘class shasta::Base’ has no member named ‘value’
>   155 |         return value < that.value;
>       |                             ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:155:29: error: ‘class shasta::Base’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:155:29: error: ‘class shasta::Base’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:155:29: error: ‘class shasta::Base’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:155:29: error: ‘class shasta::Base’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:155:16: error: ‘value’ was not declared in this scope
>   155 |         return value < that.value;
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:155:29: error: ‘class shasta::Base’ has no member named ‘value’
>   155 |         return value < that.value;
>       |                             ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: At global scope:
> /<<PKGBUILDDIR>>/src/Base.hpp:177:18: error: ‘uint8_t’ was not declared in this scope
>   177 |     static array<uint8_t, 256> table;
>       |                  ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:177:18: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp:177:30: error: template argument 1 is invalid
>   177 |     static array<uint8_t, 256> table;
>       |                              ^
> /<<PKGBUILDDIR>>/src/Base.hpp:190:5: error: ‘uint8_t’ does not name a type
>   190 |     uint8_t value;
>       |     ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:190:5: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp:219:36: error: ‘uint8_t’ has not been declared
>   219 |     static AlignedBase fromInteger(uint8_t i)
>       |                                    ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:225:36: error: ‘uint16_t’ has not been declared
>   225 |     static AlignedBase fromInteger(uint16_t i)
>       |                                    ^~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:225:24: error: ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’ cannot be overloaded with ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’
>   225 |     static AlignedBase fromInteger(uint16_t i)
>       |                        ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:219:24: note: previous declaration ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’
>   219 |     static AlignedBase fromInteger(uint8_t i)
>       |                        ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:231:36: error: ‘uint32_t’ has not been declared
>   231 |     static AlignedBase fromInteger(uint32_t i)
>       |                                    ^~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:231:24: error: ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’ cannot be overloaded with ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’
>   231 |     static AlignedBase fromInteger(uint32_t i)
>       |                        ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:219:24: note: previous declaration ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’
>   219 |     static AlignedBase fromInteger(uint8_t i)
>       |                        ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:237:36: error: ‘uint64_t’ has not been declared
>   237 |     static AlignedBase fromInteger(uint64_t i)
>       |                                    ^~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:237:24: error: ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’ cannot be overloaded with ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’
>   237 |     static AlignedBase fromInteger(uint64_t i)
>       |                        ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:219:24: note: previous declaration ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’
>   219 |     static AlignedBase fromInteger(uint8_t i)
>       |                        ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In constructor ‘shasta::AlignedBase::AlignedBase()’:
> /<<PKGBUILDDIR>>/src/Base.hpp:193:21: error: class ‘shasta::AlignedBase’ does not have any field named ‘value’
>   193 |     AlignedBase() : value(0) {}
>       |                     ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::AlignedBase shasta::AlignedBase::fromCharacter(char)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:205:14: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   205 |         base.value = AlignedBaseInitializer::table[uint8_t(c)];
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:205:52: error: ‘uint8_t’ was not declared in this scope
>   205 |         base.value = AlignedBaseInitializer::table[uint8_t(c)];
>       |                                                    ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:205:52: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp:206:17: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   206 |         if(base.value == 255) {
>       |                 ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:222:14: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   222 |         base.value = i;
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:228:14: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   228 |         base.value = uint8_t(i);
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:228:22: error: ‘uint8_t’ was not declared in this scope
>   228 |         base.value = uint8_t(i);
>       |                      ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:228:22: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:234:14: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   234 |         base.value = uint8_t(i);
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:234:22: error: ‘uint8_t’ was not declared in this scope
>   234 |         base.value = uint8_t(i);
>       |                      ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:234:22: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::AlignedBase shasta::AlignedBase::fromInteger(int)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:240:14: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   240 |         base.value = uint8_t(i);
>       |              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:240:22: error: ‘uint8_t’ was not declared in this scope
>   240 |         base.value = uint8_t(i);
>       |                      ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:240:22: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In static member function ‘static shasta::AlignedBase shasta::AlignedBase::gap()’:
> /<<PKGBUILDDIR>>/src/Base.hpp:247:28: error: ‘uint8_t’ was not declared in this scope
>   247 |         return fromInteger(uint8_t(4));
>       |                            ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:247:28: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> /<<PKGBUILDDIR>>/src/Base.hpp: In constructor ‘shasta::AlignedBase::AlignedBase(shasta::Base)’:
> /<<PKGBUILDDIR>>/src/Base.hpp:251:39: error: class ‘shasta::AlignedBase’ does not have any field named ‘value’
>   251 |     explicit AlignedBase(Base base) : value(base.value) {}
>       |                                       ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:251:50: error: ‘class shasta::Base’ has no member named ‘value’
>   251 |     explicit AlignedBase(Base base) : value(base.value) {}
>       |                                                  ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘char shasta::AlignedBase::character() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:258:16: error: ‘value’ was not declared in this scope
>   258 |         switch(value) {
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘shasta::AlignedBase shasta::AlignedBase::complement() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:272:49: error: ‘value’ was not declared in this scope
>   272 |         return AlignedBase::fromInteger(uint8_t(value == 4 ? 4 : 3 - value));
>       |                                                 ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:272:41: error: ‘uint8_t’ was not declared in this scope
>   272 |         return AlignedBase::fromInteger(uint8_t(value == 4 ? 4 : 3 - value));
>       |                                         ^~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:272:41: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
> In file included from /<<PKGBUILDDIR>>/src/Base.hpp:11:
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘shasta::AlignedBase::operator shasta::Base() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:278:23: error: ‘value’ was not declared in this scope
>   278 |         SHASTA_ASSERT(value != 4);
>       |                       ^~~~~
> /<<PKGBUILDDIR>>/src/SHASTA_ASSERT.hpp:18:37: note: in definition of macro ‘SHASTA_ASSERT’
>    18 | #define SHASTA_ASSERT(expression) ((expression) ? (static_cast<void>(0)) : \
>       |                                     ^~~~~~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘bool shasta::AlignedBase::isGap() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:285:16: error: ‘value’ was not declared in this scope
>   285 |         return value == 4;
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘bool shasta::AlignedBase::operator==(shasta::AlignedBase) const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:290:16: error: ‘value’ was not declared in this scope
>   290 |         return value == that.value;
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:290:30: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   290 |         return value == that.value;
>       |                              ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘bool shasta::AlignedBase::operator<(shasta::AlignedBase) const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:295:29: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   295 |         return value < that.value;
>       |                             ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:295:29: error: ‘class shasta::AlignedBase’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:295:29: error: ‘class shasta::AlignedBase’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:295:29: error: ‘class shasta::AlignedBase’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:295:29: error: ‘class shasta::AlignedBase’ has no member named ‘value’
> /<<PKGBUILDDIR>>/src/Base.hpp:295:16: error: ‘value’ was not declared in this scope
>   295 |         return value < that.value;
>       |                ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp:295:29: error: ‘class shasta::AlignedBase’ has no member named ‘value’
>   295 |         return value < that.value;
>       |                             ^~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘std::string shasta::AlignedBase::htmlColor() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:301:16: error: ‘value’ was not declared in this scope
>   301 |         switch(value) {
>       |                ^~~~~
> [  5%] Building CXX object staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AssemblerAlign3.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/staticLibrary && /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBUILD_ID=0.11.1 -DNDEBUG -I/<<PKGBUILDDIR>>/staticLibrary/../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -std=c++20 -Wall -Wconversion -Wno-unused-result -Wno-trigraphs -g0 -O3 -mcx16 -MD -MT staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AssemblerAlign3.cpp.o -MF CMakeFiles/shastaStaticLibrary.dir/__/src/AssemblerAlign3.cpp.o.d -o CMakeFiles/shastaStaticLibrary.dir/__/src/AssemblerAlign3.cpp.o -c /<<PKGBUILDDIR>>/src/AssemblerAlign3.cpp
> In file included from /usr/include/c++/13/bits/char_traits.h:57,
>                  from /usr/include/c++/13/string:42,
>                  from /<<PKGBUILDDIR>>/src/string.hpp:4,
>                  from /<<PKGBUILDDIR>>/src/PngImage.hpp:5,
>                  from /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp:2:
> In function ‘constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = pair<shasta::AlignmentGraphVertex, long unsigned int>; _Args = {pair<shasta::AlignmentGraphVertex, long unsigned int>}]’,
>     inlined from ‘static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<shasta::AlignmentGraphVertex, long unsigned int>; _Args = {std::pair<shasta::AlignmentGraphVertex, long unsigned int>}; _Tp = std::pair<shasta::AlignmentGraphVertex, long unsigned int>]’ at /usr/include/c++/13/bits/alloc_traits.h:539:21,
>     inlined from ‘constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair<shasta::AlignmentGraphVertex, long unsigned int>}; _Tp = std::pair<shasta::AlignmentGraphVertex, long unsigned int>; _Alloc = std::allocator<std::pair<shasta::AlignmentGraphVertex, long unsigned int> >]’ at /usr/include/c++/13/bits/vector.tcc:117:30,
>     inlined from ‘constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair<shasta::AlignmentGraphVertex, long unsigned int>; _Alloc = std::allocator<std::pair<shasta::AlignmentGraphVertex, long unsigned int> >]’ at /usr/include/c++/13/bits/stl_vector.h:1296:21,
>     inlined from ‘shasta::CompactUndirectedGraph<Vertex, Edge>::vertex_descriptor shasta::CompactUndirectedGraph<Vertex, Edge>::addVertex(const Vertex&) [with Vertex = shasta::AlignmentGraphVertex; Edge = shasta::AlignmentGraphEdge]’ at /<<PKGBUILDDIR>>/src/CompactUndirectedGraph.hpp:499:26,
>     inlined from ‘void shasta::AlignmentGraph::createVertices(const std::array<std::vector<shasta::MarkerWithOrdinal>, 2>&, uint32_t)’ at /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp:239:34:
> /usr/include/c++/13/bits/stl_construct.h:97:14: warning: ‘vertex.shasta::AlignmentGraphVertex::distance’ may be used uninitialized [-Wmaybe-uninitialized]
>    97 |     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp: In member function ‘void shasta::AlignmentGraph::createVertices(const std::array<std::vector<shasta::MarkerWithOrdinal>, 2>&, uint32_t)’:
> /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp:231:46: note: ‘vertex.shasta::AlignmentGraphVertex::distance’ was declared here
>   231 |                         AlignmentGraphVertex vertex;
>       |                                              ^~~~~~
> In function ‘constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = pair<shasta::AlignmentGraphVertex, long unsigned int>; _Args = {pair<shasta::AlignmentGraphVertex, long unsigned int>}]’,
>     inlined from ‘static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<shasta::AlignmentGraphVertex, long unsigned int>; _Args = {std::pair<shasta::AlignmentGraphVertex, long unsigned int>}; _Tp = std::pair<shasta::AlignmentGraphVertex, long unsigned int>]’ at /usr/include/c++/13/bits/alloc_traits.h:539:21,
>     inlined from ‘constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair<shasta::AlignmentGraphVertex, long unsigned int>}; _Tp = std::pair<shasta::AlignmentGraphVertex, long unsigned int>; _Alloc = std::allocator<std::pair<shasta::AlignmentGraphVertex, long unsigned int> >]’ at /usr/include/c++/13/bits/vector.tcc:117:30,
>     inlined from ‘constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair<shasta::AlignmentGraphVertex, long unsigned int>; _Alloc = std::allocator<std::pair<shasta::AlignmentGraphVertex, long unsigned int> >]’ at /usr/include/c++/13/bits/stl_vector.h:1296:21,
>     inlined from ‘shasta::CompactUndirectedGraph<Vertex, Edge>::vertex_descriptor shasta::CompactUndirectedGraph<Vertex, Edge>::addVertex(const Vertex&) [with Vertex = shasta::AlignmentGraphVertex; Edge = shasta::AlignmentGraphEdge]’ at /<<PKGBUILDDIR>>/src/CompactUndirectedGraph.hpp:499:26,
>     inlined from ‘void shasta::AlignmentGraph::createVertices(const std::array<std::vector<shasta::MarkerWithOrdinal>, 2>&, uint32_t)’ at /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp:239:34:
> /usr/include/c++/13/bits/stl_construct.h:97:14: warning: ‘vertex.shasta::AlignmentGraphVertex::color’ may be used uninitialized [-Wmaybe-uninitialized]
>    97 |     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp: In member function ‘void shasta::AlignmentGraph::createVertices(const std::array<std::vector<shasta::MarkerWithOrdinal>, 2>&, uint32_t)’:
> /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp:231:46: note: ‘vertex.shasta::AlignmentGraphVertex::color’ was declared here
>   231 |                         AlignmentGraphVertex vertex;
>       |                                              ^~~~~~
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘char shasta::Base::character() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:131:5: warning: control reaches end of non-void function [-Wreturn-type]
>   131 |     }
>       |     ^
> /<<PKGBUILDDIR>>/src/Base.hpp: In member function ‘char shasta::AlignedBase::character() const’:
> /<<PKGBUILDDIR>>/src/Base.hpp:267:5: warning: control reaches end of non-void function [-Wreturn-type]
>   267 |     }
>       |     ^
> make[4]: *** [staticLibrary/CMakeFiles/shastaStaticLibrary.dir/build.make:121: staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AssembledSegment.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/shasta_0.11.1-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=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@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.



More information about the Debian-med-packaging mailing list