[Debian-med-packaging] Bug#811910: plink1.9: FTBFS with GCC 6: declared in this scope

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:28:55 UTC 2016


Package: plink1.9
Version: 1.90~b3.28-151216-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-not-declared

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> g++ -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro plink.c plink_assoc.c plink_calc.c plink_cluster.c plink_cnv.c plink_common.c plink_data.c plink_dosage.c plink_family.c plink_filter.c plink_glm.c plink_help.c plink_homozyg.c plink_lasso.c plink_ld.c plink_matrix.c plink_misc.c plink_perm.c plink_rserve.c plink_set.c plink_stats.c SFMT.c dcdflib.c pigz.c yarn.c Rconnection.cc hfile.c bgzf.c -o plink -llapack -lcblas -latlas -lm -lpthread -ldl -lz
> In file included from plink.c:19:0:
> plink_common.h:62:19: error: expected unqualified-id before 'long'
>    #define int64_t long long
>                    ^
> 
> plink_common.h:62:19: error: expected ';' before 'long'
> plink_common.h:62:24: error: declaration does not declare anything [-fpermissive]
>    #define int64_t long long
>                         ^
> 
> plink_common.h:61:20: error: expected unqualified-id before 'unsigned'
>    #define uint64_t unsigned long long
>                     ^
> 
> plink_common.h:61:20: error: expected ';' before 'unsigned'
> plink_common.h:61:34: error: declaration does not declare anything [-fpermissive]
>    #define uint64_t unsigned long long
>                                   ^
> 



More information about the Debian-med-packaging mailing list