ports/161194: [ERROR] cannot portupgrade /ports/x11/gnome-swallow with CLANG
Andrei Lavreniyuk
andy.lavr at gmail.com
Sat Oct 1 11:20:10 UTC 2011
>Number: 161194
>Category: ports
>Synopsis: [ERROR] cannot portupgrade /ports/x11/gnome-swallow with CLANG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 01 11:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Andrei Lavreniyuk
>Release: FreeBSD 9.0-BETA3
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD opensolaris.technica-03.local 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Thu Sep 29 13:05:43 EEST 2011 root at opensolaris.technica-03.local:/usr/obj/usr/src/sys/SMP64R amd64
>Description:
===> Building for gnome-swallow-1.2_10
if clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gnome-swallow\" -DVERSION=\"1.2\" -I. -I. `/usr/local/bin/pkg-config --cflags libpanelapplet-2.0` -I/usr/local/include -DORBIT2=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2 -I/usr/local/include/gnome-keyring-1 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 -I/usr/local/include/gail-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/atk-1.0 -I
/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/pixman-1 -I/usr/local/include/drm -O2 -pipe -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=core2 -fno-strict-aliasing -MT gnome-swallow.o -MD -MP -MF ".deps/gnome-swallow.Tpo" \
-c -o gnome-swallow.o `test -f 'gnome-swallow.c' || echo './'`gnome-swallow.c; \
then mv ".deps/gnome-swallow.Tpo" ".deps/gnome-swallow.Po"; \
else rm -f ".deps/gnome-swallow.Tpo"; exit 1; \
fi
gnome-swallow.c:56:19: error: non-void function 'swallow' should return a value [-Wreturn-type]
if(! display) return; /* WTF? */
^
gnome-swallow.c:68:41: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
&parent, &children, &number_of_kids);
^~~~~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:3031:1: note: passing argument to parameter here
);
^
gnome-swallow.c:90:52: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
&parent, &subchildren, &number_of_subkids);
^~~~~~~~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:3031:1: note: passing argument to parameter here
);
^
gnome-swallow.c:113:63: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
&parent, &subsubchildren, &number_of_subsubkids);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:3031:1: note: passing argument to parameter here
);
^
gnome-swallow.c:160:55: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry (display, victim, &root, &x, &y, width, height, &junk, &junk);
^~~~~
/usr/local/include/X11/Xlib.h:2633:37: note: passing argument to parameter here
unsigned int* /* width_return */,
^
gnome-swallow.c:160:62: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry (display, victim, &root, &x, &y, width, height, &junk, &junk);
^~~~~~
/usr/local/include/X11/Xlib.h:2634:38: note: passing argument to parameter here
unsigned int* /* height_return */,
^
gnome-swallow.c:160:70: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry (display, victim, &root, &x, &y, width, height, &junk, &junk);
^~~~~
/usr/local/include/X11/Xlib.h:2635:44: note: passing argument to parameter here
unsigned int* /* border_width_return */,
^
gnome-swallow.c:160:77: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry (display, victim, &root, &x, &y, width, height, &junk, &junk);
^~~~~
/usr/local/include/X11/Xlib.h:2637:1: note: passing argument to parameter here
);
^
gnome-swallow.c:269:9: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit(-1);
^
gnome-swallow.c:269:9: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
gnome-swallow.c:452:59: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
struct AppletConfigure* ap = (struct AppletConfigure*)malloc(sizeof(struct AppletConfigure));
^
gnome-swallow.c:452:59: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
gnome-swallow.c:456:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(ap);
^
10 warnings and 1 error generated.
gmake: *** [gnome-swallow.o] Ошибка 1
*** Error code 1
Stop in /usr/ports/x11/gnome-swallow.
** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20111001-17714-1n0iw6c env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnome-swallow-1.2_10 UPGRADE_PORT_VER=1.2_10 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11/gnome-swallow (gnome-swallow-1.2_10) (unknown build error)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list