FS#27365 - [libunique] doesn't build

Attached to Project: Arch Linux
Opened by Andrea Scarpino (BaSh) - Wednesday, 30 November 2011, 18:59 GMT
Last edited by Ionut Biru (wonder) - Thursday, 01 December 2011, 07:44 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

Description:
CC uniqueapp.lo
In file included from ./uniqueapp.h:26:0,
from ./uniqueapp.c:67:
../unique/uniquemessage.h:51:1: error: unknown type name 'G_CONST_RETURN'
../unique/uniquemessage.h:51:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../unique/uniquemessage.h:66:1: error: unknown type name 'G_CONST_RETURN'
../unique/uniquemessage.h:66:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ./uniqueapp.c:68:0:
./uniquebackend.h:97:1: error: unknown type name 'G_CONST_RETURN'
./uniquebackend.h:97:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
./uniquebackend.h:100:1: error: unknown type name 'G_CONST_RETURN'
./uniquebackend.h:100:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ./uniqueapp.c:71:0:
./uniqueinternals.h:47:1: error: unknown type name 'G_CONST_RETURN'
./uniqueinternals.h:47:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
./uniqueinternals.h:51:1: error: unknown type name 'G_CONST_RETURN'
./uniqueinternals.h:51:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
./uniqueapp.c: In function 'unique_app_get_property':
./uniqueapp.c:324:7: error: implicit declaration of function 'unique_backend_get_name' [-Werror=implicit-function-declaration]
./uniqueapp.c:324:7: error: passing argument 2 of 'g_value_set_string' makes pointer from integer without a cast [-Werror]
/usr/include/glib-2.0/gobject/gvaluetypes.h:213:13: note: expected 'const gchar *' but argument is of type 'int'
./uniqueapp.c:327:7: error: implicit declaration of function 'unique_backend_get_startup_id' [-Werror=implicit-function-declaration]
./uniqueapp.c:327:7: error: passing argument 2 of 'g_value_set_string' makes pointer from integer without a cast [-Werror]
/usr/include/glib-2.0/gobject/gvaluetypes.h:213:13: note: expected 'const gchar *' but argument is of type 'int'
./uniqueapp.c: In function 'unique_app_send_message':
./uniqueapp.c:645:3: error: passing argument 1 of 'g_strdup' makes pointer from integer without a cast [-Werror]
/usr/include/glib-2.0/glib/gstrfuncs.h:190:22: note: expected 'const gchar *' but argument is of type 'int'
./uniqueapp.c: In function 'unique_app_emit_message_received':
./uniqueapp.c:696:3: error: implicit declaration of function 'unique_message_data_get_startup_id' [-Werror=implicit-function-declaration]
./uniqueapp.c:696:14: error: assignment makes pointer from integer without a cast [-Werror]
./uniqueapp.c: At top level:
./uniqueapp.c:784:1: error: unknown type name 'G_CONST_RETURN'
./uniqueapp.c:784:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
./uniqueapp.c:866:1: error: unknown type name 'G_CONST_RETURN'
./uniqueapp.c:866:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
cc1: all warnings being treated as errors

make[4]: *** [uniqueapp.lo] Error 1
make[4]: Leaving directory `/build/src/libunique-1.1.6/unique'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/src/libunique-1.1.6/unique'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/src/libunique-1.1.6/unique'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/libunique-1.1.6'
make: *** [all] Error 2

Additional info:
* libunique 1.1.6-4

Steps to reproduce:
Try to build it.
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 01 December 2011, 07:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  libunique-1.1.6-5

Loading...