Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36225 - [glib] fails to build

Attached to Project: Arch Linux
Opened by Mike Brown (xenoxaos) - Sunday, 21 July 2013, 15:05 GMT
Last edited by Eric Belanger (Snowman) - Monday, 22 July 2013, 06:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:


gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -c gmain.c -fPIC -DPIC -o .libs/gmain.lo
gmain.c:191:42: error: 'poll' undeclared here (not in a function)
static GPollFunc poll_func = (GPollFunc) poll;
^
gmain.c: In function 'g_get_current_time':
gmain.c:597:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
gettimeofday (&r, NULL);
^
gmain.c: In function 'g_main_poll':
gmain.c:980:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration]
if (pipe (wake_up_pipe) < 0)
^
gmain.c:1079:7: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
read (wake_up_pipe[0], &c, 1);
^
gmain.c: In function 'g_main_wakeup':
gmain.c:1228:7: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration]
write (wake_up_pipe[1], "A", 1);
^
make[2]: *** [gmain.lo] Error 1
make[2]: Leaving directory `/build/tmp/abs/extra/glib/src/glib-1.2.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/tmp/abs/extra/glib/src/glib-1.2.10'
make: *** [all-recursive-am] Error 2
==> ERROR: A failure occurred in build().
Aborting...
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 22 July 2013, 06:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  glib-1.2.10-10

Loading...