GNOME Bugzilla – Bug 558905
gamin fails to build
Last modified: 2008-11-26 11:56:23 UTC
Due to unused variable. Solution: a) patch gaming b) remove it from build and from deps, it should be used only by gnome-vfs, deprecated by gio... gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/opt/gnome2/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -fPIC -DPIC -o .libs/gam_api.o gam_api.c: In function 'gamin_check_cred': gam_api.c:715: error: storage size of 'cr' isn't known gam_api.c:715: warning: unused variable 'cr' make[2]: *** [gam_api.lo] Error 1 On Ubuntu 8.10 luca@redrum:~$ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)
Did you also report this as a gamin bug ? jhbuild purpose is not to be a repository of patches.
It seems that gamin was updated from 0.1.9 to 0.1.10. Now build fine, closing the bug.