Opened 11 years ago

Last modified 7 years ago

#40191 assigned defect

spatialite will not upgrade (build fails if spatialite is active)

Reported by: petrrr Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: spatialite

Description

The upgrade from spatialite @2.3.1_1 to spatialite @4.1.1_0.

To my understanding this is due to the fact that /opt/local/include includes header files from the old version. A forced deactivate and an subsequent build worked fine. The main.log is attached.

Attachments (1)

UPDATE-darwin9.spatialite.main.log (50.2 KB) - added by petrrr 11 years ago.
main.log of a build where spatial was already installed

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by petrrr

main.log of a build where spatial was already installed

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: landonf@… removed
Owner: changed from macports-tickets@… to landonf@…

A simple workaround would be to add these lines to the portfile:

PortGroup conflicts_build 1.0
conflicts_build ${name}

However a better fix would be to fix the order of the -I and/or -L flags so that the /opt/local ones appear after (instead of before) the work directory ones.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Owner: landonf@… deleted
Status: newassigned
Note: See TracTickets for help on using tickets.