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 664929 - Build fails on openSUSE Factory (implicit declaration of strcmp)
Build fails on openSUSE Factory (implicit declaration of strcmp)
Status: RESOLVED FIXED
Product: gnome-user-share
Classification: Core
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-user-share maintainers
gnome-user-share maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-27 20:06 UTC by Dominique Leuenberger
Modified: 2012-01-06 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fir the error reported (637 bytes, patch)
2011-11-27 20:06 UTC, Dominique Leuenberger
none Details | Review

Description Dominique Leuenberger 2011-11-27 20:06:44 UTC
Created attachment 202253 [details] [review]
Fir the error reported

On openSUSE Factory, I currently see this build failure:

gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr"\" -DBINDIR=\""/usr/bin"\" -DLIBEXECDIR=\""/usr/lib/gnome-user-share"\" -DUSER_SHARE_PROGRAM=\""/usr/lib/gnome-user-share/gnome-user-share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gnome-user-share/"\" -DHTTPD_CONFIG_TEMPLATE=\""/usr/share/gnome-user-share/dav_user_%s.conf"\" -DHTTPD_PROGRAM=\"""\" -DHTTPD_MODULES_PATH=\""/usr/lib64/apache2/"\" -I.. -I.. -DGSEAL_ENABLE -pthread -I/usr/include/nautilus -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -DGSEAL_ENABLE -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gnome-bluetooth   -DGSEAL_ENABLE -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/unique-3.0       -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c file-share-properties.c
user_share-common.c: In function 'lookup_special_dir':
user_share-common.c:36:2: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  CC     user_share-private.o

(Yes, it's a warning by the compiler, the side effects of implicit declaration are well known and build root policy checkere raises this to an error)
Comment 1 Bastien Nocera 2012-01-06 17:14:53 UTC
commit e53cb4ddde2ed09433862b3f93d6885075e824e7
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Jan 6 17:14:26 2012 +0000

    Add missing string.h include
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664929