Package: gem Version: 1:0.92.3-2 Severity: important Tags: patch Justification: fails to build from source
The gem package from mentors.debian.net fails to build using launchpad for ubuntu maverick. http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=gem http://launchpadlibrarian.net/57732415/buildlog_ubuntu-maverick-i386.gem_1%3A0.92.3-2~ppa1~maverick1_FAILEDTOBUILD.txt.gz --8<-- g++ -c -I/usr/include/lqt -fopenmp -I/usr/include/ImageMagick -I/usr/include/lqt -I/usr/include/avifile-0.7 -I/usr/include/FTGL -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 -g -O2 -fPIC -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -g -O2 videoV4L2.cpp -o ../Objects/videoV4L2.o videoV4L2.cpp:300: warning: #warning implement fromBGRA videoV4L2.cpp:602: warning: #warning RGB32 vs BGRA confusion videoV4L2.cpp: In member function 'virtual int videoV4L2::startTransfer(int)': videoV4L2.cpp:389: error: 'fstat' was not declared in this scope videoV4L2.cpp:394: error: 'S_ISCHR' was not declared in this scope make[3]: *** [videoV4L2.o] Error 1 --8<-- With this patch it builds successfully: http://launchpadlibrarian.net/57735382/buildlog_ubuntu-maverick-i386.gem_1%3A0.92.3-2~ppa1~maverick3_BUILDING.txt.gz --8<-- Index: gem-0.92.3/src/Pixes/videoV4L2.h =================================================================== --- gem-0.92.3.orig/src/Pixes/videoV4L2.h 2010-10-16 16:44:39.000000000 +0100 +++ gem-0.92.3/src/Pixes/videoV4L2.h 2010-10-16 16:45:04.000000000 +0100 @@ -36,7 +36,8 @@ # include <fcntl.h> # include <errno.h> # include <sys/ioctl.h> -//# include <sys/types.h> +# include <sys/types.h> +# include <sys/stat.h> //# include <sys/time.h> # include <asm/types.h> # include <linux/videodev2.h> --8<-- Thanks, Claude -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org