[Debian GNUstep maintainers] Bug#667149: cynthiune.app: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:08:33 UTC 2012


Package: cynthiune.app
Version: 0.9.5-13.1
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

ld: cannot find -lobjc

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/cynthiune.app_0.9.5-13.1_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
	  plmerge Mod.format/Resources/Info-gnustep.plist ModInfo.plist; \
	fi
make[2]: Leaving directory `/«PKGBUILDDIR»/Bundles/Mod'
Making all in Bundles/WindowsMedia ...
make[2]: Entering directory `/«PKGBUILDDIR»/Bundles/WindowsMedia'
cd .; \
	/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj
Making all for bundle WindowsMedia...
cd .; \
	/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj/WindowsMedia.obj/
/usr/share/GNUstep/Makefiles/mkinstalldirs WindowsMedia.format/.
gcc-4.6 WindowsMedia.m -c \
	      -MMD -MP -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 -Wall -Wno-import -fconstant-string-class=NSConstantString -I../../Frameworks -I../../Frameworks/Cynthiune/Cynthiune.framework/Headers -I../.. -I/usr/include/avifile-0.7 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
	       -o obj/WindowsMedia.obj/WindowsMedia.m.o
g++ CWMFile.cpp -c \
	      -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -I../../Frameworks -I../../Frameworks/Cynthiune/Cynthiune.framework/Headers -I../.. -I/usr/include/avifile-0.7 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep -g -O2 \
	       -o obj/WindowsMedia.obj/CWMFile.cpp.o
CWMFile.cpp: In function 'int WMStreamReadFrames(void***, void*, unsigned int, unsigned int, unsigned int*, unsigned int*)':
CWMFile.cpp:151:15: warning: variable 'eof' set but not used [-Wunused-but-set-variable]
g++ -shared  -rdynamic  -L../../Frameworks/Cynthiune/Cynthiune.framework/Versions/Current -lCynthiune     -Wl,-z,defs -Wl,--as-needed -Wl,-rpath,/usr/lib/cynthiune.app -shared-libgcc -fexceptions -o ./WindowsMedia.format/./WindowsMedia ./obj/WindowsMedia.obj/WindowsMedia.m.o ./obj/WindowsMedia.obj/CWMFile.cpp.o      -L/usr/local/lib -L/usr/lib   -laviplay    -lgnustep-gui    -lgnustep-base   -lpthread -lobjc   -lm
/usr/bin/ld: cannot find -lobjc
collect2: error: ld returned 1 exit status
make[5]: *** [WindowsMedia.format/./WindowsMedia] Error 1
make[4]: *** [internal-bundle-run-compile-submake] Error 2
make[3]: *** [WindowsMedia.all.bundle.variables] Error 2
make[2]: *** [internal-all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/Bundles/WindowsMedia'
make[1]: *** [internal-all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the pkg-GNUstep-maintainers mailing list