[Debian-med-packaging] Bug#887305: ugene: FTBFS ucontext_reader.cc:92:12: error: invalid use of incomplete type 'const struct google_breakpad::ucontext'

Andreas Beckmann anbe at debian.org
Sun Jan 14 19:41:27 UTC 2018


Source: ugene
Version: 1.25.0+dfsg-1
Severity: serious
Tags: sid buster
Justification: fails to build from source

Hi,

ugene recently started to FTBFS in sid:

g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/ugene-1.25.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/ugene-1.25.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -w -D_REENTRANT -fPIC -DU2_DISTRIBUTION_INFO=sources -DUGENE_VERSION=1.25.0 -DUGENE_VER_MAJOR=1 -DUGENE_VER_MINOR=25 -DUGENE_VER_PATCH=0 -DUGENE_X86 -DUGENE_DATA_DIR=\"/usr/share/ugene/data\" -DHI_EXCLUDED -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include -Isrc -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o _tmp/obj/release/ucontext_reader.o src/client/linux/dump_writer_common/ucontext_reader.cc

src/client/linux/dump_writer_common/ucontext_reader.cc: In static member function 'static uintptr_t google_breakpad::UContextReader::GetStackPointer(const google_breakpad::ucontext*)':
src/client/linux/dump_writer_common/ucontext_reader.cc:92:12: error: invalid use of incomplete type 'const struct google_breakpad::ucontext'
   return uc->uc_mcontext.gregs[REG_RSP];
            ^~
In file included from src/client/linux/dump_writer_common/ucontext_reader.cc:30:0:
src/client/linux/dump_writer_common/ucontext_reader.h:44:49: note: forward declaration of 'struct google_breakpad::ucontext'
   static uintptr_t GetStackPointer(const struct ucontext* uc);
                                                 ^~~~~~~~
src/client/linux/dump_writer_common/ucontext_reader.cc:92:14: error: invalid use of incomplete type 'const struct google_breakpad::ucontext'
   return uc->uc_mcontext.gregs[REG_RSP];
              ^~~~~~~~~~~
In file included from src/client/linux/dump_writer_common/ucontext_reader.cc:30:0:
src/client/linux/dump_writer_common/ucontext_reader.h:44:49: note: forward declaration of 'struct google_breakpad::ucontext'
   static uintptr_t GetStackPointer(const struct ucontext* uc);
                                                 ^~~~~~~~
src/client/linux/dump_writer_common/ucontext_reader.cc: In static member function 'static uintptr_t google_breakpad::UContextReader::GetInstructionPointer(const google_breakpad::ucontext*)':
src/client/linux/dump_writer_common/ucontext_reader.cc:96:12: error: invalid use of incomplete type 'const struct google_breakpad::ucontext'
   return uc->uc_mcontext.gregs[REG_RIP];
            ^~
In file included from src/client/linux/dump_writer_common/ucontext_reader.cc:30:0:
src/client/linux/dump_writer_common/ucontext_reader.h:44:49: note: forward declaration of 'struct google_breakpad::ucontext'
   static uintptr_t GetStackPointer(const struct ucontext* uc);
                                                 ^~~~~~~~
src/client/linux/dump_writer_common/ucontext_reader.cc:96:14: error: invalid use of incomplete type 'const struct google_breakpad::ucontext'
   return uc->uc_mcontext.gregs[REG_RIP];
              ^~~~~~~~~~~
In file included from src/client/linux/dump_writer_common/ucontext_reader.cc:30:0:
src/client/linux/dump_writer_common/ucontext_reader.h:44:49: note: forward declaration of 'struct google_breakpad::ucontext'
   static uintptr_t GetStackPointer(const struct ucontext* uc);
                                                 ^~~~~~~~
src/client/linux/dump_writer_common/ucontext_reader.cc: In static member function 'static void google_breakpad::UContextReader::FillCPUContext(google_breakpad::RawContextCPU*, const google_breakpad::ucontext*, const _libc_fpstate*)':
src/client/linux/dump_writer_common/ucontext_reader.cc:101:26: error: invalid use of incomplete type 'const struct google_breakpad::ucontext'
   const greg_t* regs = uc->uc_mcontext.gregs;
                          ^~
In file included from src/client/linux/dump_writer_common/ucontext_reader.cc:30:0:
src/client/linux/dump_writer_common/ucontext_reader.h:44:49: note: forward declaration of 'struct google_breakpad::ucontext'
   static uintptr_t GetStackPointer(const struct ucontext* uc);
                                                 ^~~~~~~~
src/client/linux/dump_writer_common/ucontext_reader.cc:101:28: error: invalid use of incomplete type 'const struct google_breakpad::ucontext'
   const greg_t* regs = uc->uc_mcontext.gregs;
                            ^~~~~~~~~~~
In file included from src/client/linux/dump_writer_common/ucontext_reader.cc:30:0:
src/client/linux/dump_writer_common/ucontext_reader.h:44:49: note: forward declaration of 'struct google_breakpad::ucontext'
   static uintptr_t GetStackPointer(const struct ucontext* uc);
                                                 ^~~~~~~~
Makefile.Release:455: recipe for target '_tmp/obj/release/ucontext_reader.o' failed
make[3]: *** [_tmp/obj/release/ucontext_reader.o] Error 1


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ugene_1.25.0+dfsg-1.log.gz
Type: application/gzip
Size: 12389 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20180114/f9456d3e/attachment-0001.bin>


More information about the Debian-med-packaging mailing list