[postgis-tickets] [PostGIS] #4180: liblwgeom.h:2378:10: fatal error: lwinline.h: No such file or directory

PostGIS trac at osgeo.org
Sun Sep 16 07:47:25 PDT 2018


#4180: liblwgeom.h:2378:10: fatal error: lwinline.h: No such file or directory
-----------------------+---------------------------
 Reporter:  robe       |      Owner:  robe
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  PostGIS 2.5.0
Component:  buildbots  |    Version:  2.4.x
 Keywords:             |
-----------------------+---------------------------
 I thought I was just seeing this error on bessie, but I'm seeing it on
 debbie as well when trying to build the 2.5 translation docs.

 On debbie it looks like this:


 {{{
 In file included from generator.c:37:
 /var/lib/jenkins/workspace/pg/rel/pg9.6w64/include/liblwgeom.h:2378:10:
 fatal error: lwinline.h: No such file or directory
  #include "lwinline.h"
           ^~~~~~~~~~~~
 compilation terminated.
 }}}


 I also noticed debbie hasn't been running her 2.5, probably because I was
 messing with her job, so this issue might exist in 25, especially since
 the 2.5 doc translation builds against 2.5

 On the bessie sisters it looks like this:


 {{{
 01:29:43 In file included from rtpostgis.c:138:
 01:29:43 In file included from ../../libpgcommon/lwgeom_pg.h:23:
 01:29:43 /usr/local/include/liblwgeom.h:2378:10: fatal error: 'lwinline.h'
 file not found
 01:29:43 #include "lwinline.h"
 01:29:43          ^~~~~~~~~~~~
 01:29:44 1 error generated.
 01:29:44 gmake[3]: *** [<builtin>: rtpostgis.o] Error 1
 01:29:44 gmake[3]: Leaving directory
 '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/82114a683cd1eb017a7ce3bc2ea9bfa09f4f1a79/raster/rt_pg'
 01:29:44 gmake[2]: *** [Makefile:32: pglib] Error 2
 01:29:44 gmake[2]: Leaving directory
 '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/82114a683cd1eb017a7ce3bc2ea9bfa09f4f1a79/raster'
 01:29:44 gmake[1]: *** [GNUmakefile:16: all] Error 1
 01:29:44 gmake[1]: Leaving directory
 '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/82114a683cd1eb017a7ce3bc2ea9bfa09f4f1a79'
 01:29:44 *** Error code 2
 01:29:44
 }}}


 I also thought this was a 3.0.0 error but I'm seeing it in PostGIS 2.5
 runs.

 All these are using the wrong include file, they should be using the one
 in source tree and NOT the installed one.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4180>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list