[Debian-med-packaging] Bug#811709: adun.app: FTBFS with GCC 6: unknown type name
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 01:31:12 UTC 2016
Package: adun.app
Version: 0.81-8
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unknown-type-name
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
...
> -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DMT_VERSION=\"3.0.1\" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -DUNSAFEENV -D none -fconstant-string-class=NSConstantString -march=athlon64 -I./derived_src -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
> -o obj/MolTalk.obj/MTResidue.m.o
> MTResidue.m: In function '-[MTResidue mutateTo:]':
> MTResidue.m:653:2: error: unknown type name 'MTResidue'
> MTResidue *res2 = [p_res copy];
> ^~~~~~~~~
>
> MTResidue.m:653:2: note: use 'struct' keyword to refer to the type
> MTResidue.m:653:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
> MTResidue *res2 = [p_res copy];
> ^
>
> MTResidue.m:654:11: error: request for member 'atomarr' in something not a structure or union
> l = [res2->atomarr count];
> ^~
>
> MTResidue.m:655:2: warning: invalid receiver type 'int *'
> [res2 translateBy: tr1]; // to origin
> ^
>
> MTResidue.m:657:2: warning: invalid receiver type 'int *'
> [res2 rotateBy: rot2]; // on Z-axis
> ^
>
> MTResidue.m:658:2: warning: invalid receiver type 'int *'
> [res2 rotateBy: rotZ]; // adjust rotation around Z axis
> ^
>
> MTResidue.m:659:2: warning: invalid receiver type 'int *'
> [res2 rotateBy: rot1]; // from Z-axis to orientation 1
> ^
>
> MTResidue.m:660:2: warning: invalid receiver type 'int *'
> [res2 translateBy: tr2]; // to location 1
> ^
>
> MTResidue.m:663:14: error: request for member 'atomarr' in something not a structure or union
> atm = [res2->atomarr objectAtIndex: i];
More information about the Debian-med-packaging
mailing list