FS#39138 - [orbit2] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Tuesday, 04 March 2014, 02:34 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 04 March 2014, 12:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

make[3]: Entering directory '/build/orbit2/src/ORBit2-2.14.19/linc2/src'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linc2/include -I../../linc2/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Werror-implicit-function-declaration -MT linc.lo -MD -MP -MF .deps/linc.Tpo -c -o linc.lo linc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linc2/include -I../../linc2/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Werror-implicit-function-declaration -MT linc.lo -MD -MP -MF .deps/linc.Tpo -c linc.c -fPIC -DPIC -o .libs/linc.o
linc.c: In function 'link_init':
linc.c:199:2: error: implicit declaration of function 'g_thread_supported' [-Werror=implicit-function-declaration]
if (thread_safe && !g_thread_supported ())
^
linc.c:200:3: error: implicit declaration of function 'g_thread_init' [-Werror=implicit-function-declaration]
g_thread_init (NULL);
^
linc.c:204:2: warning: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
g_type_init ();
^
linc.c:262:3: error: implicit declaration of function 'g_cond_new' [-Werror=implicit-function-declaration]
link_main_cond = g_cond_new ();
^
linc.c:262:18: warning: assignment makes pointer from integer without a cast [enabled by default]
link_main_cond = g_cond_new ();
^
linc.c:263:23: warning: assignment makes pointer from integer without a cast [enabled by default]
link_cmd_queue_cond = g_cond_new ();
^
linc.c: In function 'link_mutex_new':
linc.c:324:3: error: implicit declaration of function 'g_mutex_new' [-Werror=implicit-function-declaration]
return g_mutex_new ();
^
linc.c:324:3: warning: return makes pointer from integer without a cast [enabled by default]
linc.c: In function 'link_exec_set_io_thread':
linc.c:463:3: error: implicit declaration of function 'g_thread_create_full' [-Werror=implicit-function-declaration]
(link_io_thread_fn, NULL, 256 * 1024, TRUE, FALSE,
^
linc.c:464:4: error: 'G_THREAD_PRIORITY_NORMAL' undeclared (first use in this function)
G_THREAD_PRIORITY_NORMAL, &error);
^
linc.c:464:4: note: each undeclared identifier is reported only once for each function it appears in
linc.c: In function 'link_mainloop_handle_input':
linc.c:94:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LINK_WAKEUP_POLL, &c, sizeof (c));
^
cc1: some warnings being treated as errors
Makefile:390: recipe for target 'linc.lo' failed
make[3]: *** [linc.lo] Error 1
make[3]: Leaving directory '/build/orbit2/src/ORBit2-2.14.19/linc2/src'
Makefile:295: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/build/orbit2/src/ORBit2-2.14.19/linc2'
Makefile:484: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/orbit2/src/ORBit2-2.14.19'
Makefile:321: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 04 March 2014, 12:00 GMT
Reason for closing:  Fixed

Loading...