After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 558905 - gamin fails to build
gamin fails to build
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks: 558909
 
 
Reported: 2008-11-02 11:01 UTC by Luca Ferretti
Modified: 2008-11-26 11:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Ferretti 2008-11-02 11:01:08 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)
Comment 1 Frederic Peters 2008-11-02 11:02:53 UTC
Did you also report this as a gamin bug ?  jhbuild purpose is not to be a repository of patches.
Comment 2 Luca Ferretti 2008-11-26 11:56:23 UTC
It seems that gamin was updated from 0.1.9 to 0.1.10.

Now build fine, closing the bug.