Attempting a world build on 64bit Oneiric beta Ghostscript compilation fails with the following error: | In file included from ./base/gp_unix.c:19:0: | ./base/time_.h:49:8: error: redefinition of 'struct timeval' | /usr/include/x86_64-linux-gnu/bits/time.h:75:8: note: originally defined here | In file included from ./base/gp_stdia.c:19:0: | ./base/time_.h:49:8: error: redefinition of 'struct timeval' | /usr/include/x86_64-linux-gnu/bits/time.h:75:8: note: originally defined here | ./base/gp_unix.c: In function 'gp_get_realtime': | ./base/gp_unix.c:148:9: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
Please attach the config.log from ghostscript-native (not log.do_configure), I need the realy configure log file. It looks a configure test failed, possibly marking HAVE_SYS_TIME_H off. Can you verify how | /usr/include/x86_64-linux-gnu/bits/time was included into the compilation path? Via /usr/include/sys/time.h? or some other way. Also, please check the obj/gconfig_.h, is HAVE_SYS_TIME_H defined there?
Created attachment 259 [details] config.log for failing build obj/gconfig_.h is as follows: /* This file was generated automatically by unix-aux.mak. */ #define HAVE_DIRENT_H HAVE_SYS_TIME_H is not defined.
Assigned to Josh since he fixed and should have the honour of closing it!
Fixed in master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ea8a9978ec6a94e4047c3a9d5b0649479ac9f491 As this bug is marked 1.1 I'll keep it open until the change makes it into Edison
Merged into edison: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=edison&id=aa1cb68ce2d7a8a5d1597e96d530a98a174d1b53
Definitely fixed