FS#7573 - Spring compilation error (bug in devil lib, /usr/include/IL/il.h)
Attached to Project:
Arch Linux
Opened by Christoph Zeiler (Rabyte) - Friday, 06 July 2007, 11:34 GMT
Last edited by Damir Perisa (damir.perisa) - Sunday, 02 December 2007, 15:30 GMT
Opened by Christoph Zeiler (Rabyte) - Friday, 06 July 2007, 11:34 GMT
Last edited by Damir Perisa (damir.perisa) - Sunday, 02 December 2007, 15:30 GMT
|
Details
Description:
When trying to compile spring (in AUR), the compilation procedure quits with the following error: In file included from rts/Map/SM3/terrain/TerrainBase.h:41, from rts/Map/SM3/Sm3Map.h:6, from rts/Map/ReadMap.cpp:19: /usr/include/IL/il.h:497: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:497: error: invalid use of 'ILvoid' /usr/include/IL/il.h:498: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:498: error: invalid use of 'ILvoid' /usr/include/IL/il.h:505: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:505: error: invalid use of 'ILvoid' /usr/include/IL/il.h:516: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:516: error: invalid use of 'ILvoid' /usr/include/IL/il.h:518: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:518: error: invalid use of 'ILvoid' /usr/include/IL/il.h:521: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:521: error: invalid use of 'ILvoid' /usr/include/IL/il.h:522: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:522: error: invalid use of 'ILvoid' /usr/include/IL/il.h:525: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:525: error: invalid use of 'ILvoid' /usr/include/IL/il.h:540: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:540: error: invalid use of 'ILvoid' /usr/include/IL/il.h:552: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:552: error: invalid use of 'ILvoid' /usr/include/IL/il.h:553: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:553: error: invalid use of 'ILvoid' /usr/include/IL/il.h:554: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:554: error: invalid use of 'ILvoid' /usr/include/IL/il.h:568: error: '<anonymous>' has incomplete type /usr/include/IL/il.h:568: error: invalid use of 'ILvoid' Additional info: This error is clearly related to a bug in /usr/include/IL/il.h, owned by the devil package. All occurences of "int name(ILvoid);" in the file need to be replaced by "int name(void);". It's already reported in DevIL's bugtracker: http://sourceforge.net/tracker/index.php?func=detail&aid=1651292&group_id=4470&atid=104470 Quick'n'dirty sed patch: sed 's|(ILvoid)|(void)|g' -i /usr/include/IL/il.h (For the spring package, you'll also need: sed '101 a\>> end_p' -i $startdir/src/spring_0.74b3/rts/System/tdf_grammar.hpp) Big thanks to Cirdan for the information :-) Steps to reproduce: Compile Spring. |
This task depends upon
Closed by Damir Perisa (damir.perisa)
Sunday, 02 December 2007, 15:30 GMT
Reason for closing: Implemented
Additional comments about closing: header fix backported to our pkg - waiting for official new release is not worth waiting for :)
Sunday, 02 December 2007, 15:30 GMT
Reason for closing: Implemented
Additional comments about closing: header fix backported to our pkg - waiting for official new release is not worth waiting for :)
as this is actually an upstream bug, does anybody know about the state of the upstream fix? or devil state of development in general? any new release planned? if i have a look at only this bug, i feel it is a dead project, since no work happened on the issue since february 2007 (report of bug).
-5 works for you?