[Debian-med-packaging] Bug#975142: lambda-align2: FTBFS: lambda.cpp:100:1: error: type variant with ‘TYPE_ALIAS_SET_KNOWN_P’

Lucas Nussbaum lucas at debian.org
Thu Nov 19 09:35:39 GMT 2020


Source: lambda-align2
Version: 2.0.0-7
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201119 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++ -DCMAKE_BUILD_TYPE=\"Release\" -DSEQAN_APP_VERSION=\"2.0.0\" -DSEQAN_GLOBAL_EXCEPTION_HANDLER=1 -DSEQAN_HAS_BZIP2=1 -DSEQAN_HAS_EXECINFO=1 -DSEQAN_HAS_OPENMP=1 -DSEQAN_HAS_ZLIB=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fopenmp -Wno-vla -Wextra -Wall -pedantic -O3 -DNDEBUG -flto=4 -s -o CMakeFiles/lambda2.dir/lambda.cpp.o -c /<<PKGBUILDDIR>>/src/lambda.cpp
> In file included from /<<PKGBUILDDIR>>/src/search.hpp:32,
>                  from /<<PKGBUILDDIR>>/src/lambda.cpp:22:
> /<<PKGBUILDDIR>>/src/shared_options.hpp:219:21: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
>   219 |     setDate(parser, __DATE__);
>       |                     ^~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/shared_misc.hpp:29,
>                  from /<<PKGBUILDDIR>>/src/search.hpp:33,
>                  from /<<PKGBUILDDIR>>/src/lambda.cpp:22:
> /usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
>    21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
>       |  ^~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/search.hpp:32,
>                  from /<<PKGBUILDDIR>>/src/lambda.cpp:22:
> /<<PKGBUILDDIR>>/src/shared_options.hpp:219:21: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
>   219 |     setDate(parser, __DATE__);
>       |                     ^~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/shared_misc.hpp:29,
>                  from /<<PKGBUILDDIR>>/src/search.hpp:33,
>                  from /<<PKGBUILDDIR>>/src/lambda.cpp:22:
> /usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
>    21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
>       |  ^~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/mkindex.hpp:36,
>                  from /<<PKGBUILDDIR>>/src/lambda.cpp:23:
> /<<PKGBUILDDIR>>/src/mkindex_misc.hpp: In function ‘void getCwd(TString&) [with TString = std::__cxx11::basic_string<char>]’:
> /<<PKGBUILDDIR>>/src/mkindex_misc.hpp:33:11: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>    33 |     getcwd(cwd, 1000);
>       |     ~~~~~~^~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/mkindex.hpp:36,
>                  from /<<PKGBUILDDIR>>/src/lambda.cpp:23:
> /<<PKGBUILDDIR>>/src/mkindex_misc.hpp: In function ‘void getCwd(TString&) [with TString = std::__cxx11::basic_string<char>]’:
> /<<PKGBUILDDIR>>/src/mkindex_misc.hpp:33:11: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>    33 |     getcwd(cwd, 1000);
>       |     ~~~~~~^~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/lambda.cpp: At global scope:
> /<<PKGBUILDDIR>>/src/lambda.cpp:100:1: error: type variant with ‘TYPE_ALIAS_SET_KNOWN_P’
>   100 | }
>       | ^
>  <vector_type 0x7fc7b7d70498
>     type <integer_type 0x7fc7b7c3c498 short int sizes-gimplified asm_written public type_6 HI
>         size <integer_cst 0x7fc7b7c3f030 constant 16>
>         unit-size <integer_cst 0x7fc7b7c3f048 constant 2>
>         align:16 warn_if_not_align:0 symtab:-1310115248 alias-set 18 canonical-type 0x7fc7b7c3c498 precision:16 min <integer_cst 0x7fc7b7c1efc0 -32768> max <integer_cst 0x7fc7b7c3f000 32767>
>         pointer_to_this <pointer_type 0x7fc7b4d6fdc8> reference_to_this <reference_type 0x7fc7ae326a80>>
>     sizes-gimplified asm_written type_6 V8HI
>     size <integer_cst 0x7fc7b7c1eeb8 type <integer_type 0x7fc7b7c3c0a8 bitsizetype> constant 128>
>     unit-size <integer_cst 0x7fc7b7c1eed0 type <integer_type 0x7fc7b7c3c000 sizetype> constant 16>
>     align:128 warn_if_not_align:0 symtab:-1425320224 alias-set 18 canonical-type 0x7fc7b7d70498 nunits:8
>     pointer_to_this <pointer_type 0x7fc7a830ebd0> reference_to_this <reference_type 0x7fc7a713d9d8>>
>  <vector_type 0x7fc776927c78
>     type <integer_type 0x7fc7b7c3c498 short int sizes-gimplified asm_written public type_6 HI
>         size <integer_cst 0x7fc7b7c3f030 constant 16>
>         unit-size <integer_cst 0x7fc7b7c3f048 constant 2>
>         align:16 warn_if_not_align:0 symtab:-1310115248 alias-set 18 canonical-type 0x7fc7b7c3c498 precision:16 min <integer_cst 0x7fc7b7c1efc0 -32768> max <integer_cst 0x7fc7b7c3f000 32767>
>         pointer_to_this <pointer_type 0x7fc7b4d6fdc8> reference_to_this <reference_type 0x7fc7ae326a80>>
>     sizes-gimplified type_6 V8HI
>     size <integer_cst 0x7fc7b7c1eeb8 type <integer_type 0x7fc7b7c3c0a8 bitsizetype> constant 128>
>     unit-size <integer_cst 0x7fc7b7c1eed0 type <integer_type 0x7fc7b7c3c000 sizetype> constant 16>
>     align:128 warn_if_not_align:0 symtab:0 alias-set 18 canonical-type 0x7fc7b7d70498 nunits:8>
> during IPA pass: *free_lang_data
> /<<PKGBUILDDIR>>/src/lambda.cpp:100:1: internal compiler error: ‘verify_type’ failed
> 0x15039c0 verify_type(tree_node const*)
> 	../../src/gcc/tree.c:14727
> 0x1506877 free_lang_data
> 	../../src/gcc/tree.c:6357
> 0x1506877 execute
> 	../../src/gcc/tree.c:6402
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
> [ 33%] Linking CXX executable ../bin/lambda2
> cd /<<PKGBUILDDIR>>/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/lambda2.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fopenmp -Wno-vla -Wextra -Wall -pedantic -O3 -DNDEBUG -flto=4 -s -Wl,-z,relro -Wl,-z,now -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -rdynamic CMakeFiles/lambda2.dir/lambda.cpp.o -o ../bin/lambda2  -lrt -lz -lbz2 -lrt -lpthread -lz -lbz2 -lpthread 
> The bug is not reproducible, so it is likely a hardware or OS problem.
> make[3]: *** [src/CMakeFiles/lambda2-sse4.dir/build.make:85: src/CMakeFiles/lambda2-sse4.dir/lambda.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/lambda-align2_2.0.0-7_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list