[postgis-tickets] [PostGIS] #4971: CUnit compile failures on 2.4 and 2.5

PostGIS trac at osgeo.org
Sun Aug 15 16:16:22 PDT 2021


#4971: CUnit compile failures on 2.4 and 2.5
---------------------+----------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 2.4.10
Component:  postgis  |    Version:  2.5.x
 Keywords:           |
---------------------+----------------------------
 Both the bessie32 and debbie are failing on testing PostGIS 2.5 branch.
 I'm guessing maybe they are running with newer CUnit and maybe there was a
 patch we added in 3.0 and up to deal with this.
 It's too bad we don't list the CUnit version anywhere.
 Anyway both shows this message over and over again


 {{{
 19:07:31 checking CUnit/CUnit.h usability... yes
 19:07:31 checking CUnit/CUnit.h presence... yes
 19:07:31 checking for CUnit/CUnit.h... yes
 19:07:31 checking for CU_initialize_registry in -lcunit... yes

 19:11:30 /usr/local/bin/ld:
 cu_bytebuffer.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 multiple definition of `cu_error_msg';
 cu_algorithm.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 first defined here
 19:11:30 /usr/local/bin/ld:
 cu_buildarea.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 multiple definition of `cu_error_msg';
 cu_algorithm.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 first defined here
 19:11:30 /usr/local/bin/ld:
 cu_clean.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 multiple definition of `cu_error_msg';
 cu_algorithm.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 first defined here
 19:11:30 /usr/local/bin/ld:
 cu_print.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 multiple definition of `cu_error_msg';
 cu_algorithm.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 first defined here
 19:11:31 /usr/local/bin/ld:
 cu_minimum_bounding_circle.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 multiple definition of `cu_error_msg';
 cu_algorithm.o:/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie32/447e6ee9ab961d6d5566699b2a880a66b6eaf609/liblwgeom/cunit/cu_tester.h:20:
 first defined here
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4971>
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