[Debian GNUstep maintainers] Bug#629424: steptalk: FTBFS with gnustep-base/1.22: /usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/objc-api.h:46:3: error: #error You can not include both objc/objc-api.h and objc/runtime.h. Include objc/objc-api.h for the traditional GNU Objective-C Runtime API and objc/runtime.h for the modern one.

Yavor Doganov yavor at gnu.org
Mon Jun 6 15:29:14 UTC 2011


Source: steptalk
Version: 0.10.0-4
Severity: important
Tags: sid wheezy
User: pkg-gnustep-maintainers at lists.alioth.debian.org
Usertags: gnustep-base1.22-transition gnustep-transition

This package fails to build with gnustep-base/1.22.0-1 with the
following error:

gcc NSInvocation+additions.m -c \
	      -MMD -MP -pipe -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 -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -Wno-import -DSTEPTALK_VERSION=0.10.0 -fconstant-string-class=NSConstantString -I./derived_src -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
	       -o obj/StepTalk.obj/NSInvocation+additions.m.o
In file included from NSInvocation+additions.m:43:0:
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/objc-api.h:46:3: error: #error You can not include both objc/objc-api.h and objc/runtime.h. Include objc/objc-api.h for the traditional GNU Objective-C Runtime API and objc/runtime.h for the modern one.
In file included from NSInvocation+additions.m:43:0:
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/objc-api.h:69:8: error: redefinition of ‘struct objc_method_description’
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/runtime.h:87:8: note: originally defined here
In file included from NSInvocation+additions.m:43:0:
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/objc-api.h:120:28: error: conflicting types for ‘Method’
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/runtime.h:70:29: note: previous declaration of ‘Method’ was here
In file included from NSInvocation+additions.m:43:0:
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/objc-api.h:174:30: error: conflicting types for ‘Category’
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/runtime.h:75:31: note: previous declaration of ‘Category’ was here
make[5]: *** [obj/StepTalk.obj/NSInvocation+additions.m.o] Error 1


Latest versions of the GNUstep core packages are available in
experimental.  The severity of this bug will be raised to `serious'
once they're uploaded to unstable (probably in June/early July).





More information about the pkg-GNUstep-maintainers mailing list