Opened 3 years ago

Closed 3 years ago

#4971 closed defect (fixed)

CUnit compile failures on 2.4 and 2.5

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.4.10
Component: postgis Version: 2.5.x -- EOL
Keywords: Cc:

Description

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

Change History (4)

comment:1 by Regina Obe <lr@…>, 3 years ago

In ad02524/git:

Backport Raúl Marín CUnit fixes. References #4971 for PostGIS 2.5.6

comment:2 by Regina Obe <lr@…>, 3 years ago

In 79e2d3c/git:

Backport Raúl Marín CUnit fixes. Missed a spot. References #4971 for PostGIS 2.5.6

comment:3 by Regina Obe <lr@…>, 3 years ago

In b079fb8/git:

Backport Raúl Marín CUnit fixes. More spots missed. References #4971 for PostGIS 2.5.6

comment:4 by Regina Obe <lr@…>, 3 years ago

Resolution: fixed
Status: newclosed

In e93b24e/git:

Backport Raúl Marín CUnit fixes. Closes #4971 for PostGIS 2.4.10

Note: See TracTickets for help on using tickets.