[postgis-tickets] [PostGIS] #2878: winnie coughing up blood when trying to build cunit for twkb

PostGIS trac at osgeo.org
Sun Aug 10 07:42:53 PDT 2014


#2878: winnie coughing up blood when trying to build cunit for twkb
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  nicklas      
      Type:  defect   |      Status:  reopened     
  Priority:  blocker  |   Milestone:  PostGIS 2.2.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------

Comment(by robe):

 nope fixed for a minute when took out at r12877 and then broken as soon as
 you r12878 came back.


 Are you able to get to winnie okay -
 http://winnie.postgis.net:1500/job/PostGIS_EDB_regress/1181/consoleFull

 I think I may not have reset up permissions on new box so let me know.

 -- Warning: REGINA's uneducated opinion coming up --

 I suspect you need to move the functions out of varint.h (or we have to
 live with the warning which is just in cunit thankgoodness or you have to
 combine your twkb and cu_varint tests in one file.

 Since varint is included in both lwout_twkb and cu_varint.  I think the
 issue is the linker (something finicky with mingw evidentally).  That both
 cu_twkb and cu_varint don't consider varint already included  each embeds
 a copy of the functions and when they are linked together it sees
 duplicate function definitions and chokes.  I want to reiterate that I
 have NO IDEA what I am talking about, so take my opinion with a grain of
 salt :)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2878#comment:12>
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