[MacPorts] #41664: Upgrade virtuoso 7.0.0_0 to 7.0.0_1 fails

MacPorts noreply at macports.org
Tue Dec 3 22:14:57 PST 2013


#41664: Upgrade virtuoso  7.0.0_0 to 7.0.0_1 fails
-------------------------------+-------------------
  Reporter:  david.w.watson@…  |      Owner:  snc@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  virtuoso          |
-------------------------------+-------------------

Comment (by ryandesign@…):

 Well the log says:
 {{{
 :info:build CLIcr.c:497:1: error: conflicting types for 'SQLSetPos'
 :info:build SQLSetPos (
 :info:build ^
 :info:build /opt/macports/include/sqlext.h:1997:19: note: previous
 declaration is here
 :info:build SQLRETURN SQL_API SQLSetPos(
 :info:build                   ^
 }}}

 On my system:

 {{{
 $ port provides /opt/local/include/sqlext.h
 /opt/local/include/sqlext.h is provided by: unixODBC
 }}}

 Find out what port provides the file on your system (it could also be
 libiodbc). Try deactivating that port for the duration of the virtuoso
 build. For example:

 {{{
 sudo port clean virtuoso
 sudo port -f deactivate unixODBC
 sudo port upgrade virtuoso
 sudo port activate unixODBC
 }}}

 Replace "unixODBC" with "libiodbc" above if necessary.

 If that works, we can use the conflicts_build portgroup here. Ideally of
 course this project's build system would use the correct include flags to
 begin with to avoid this problem. Possibly the fix from #40656 would avoid
 this problem as well.

-- 
Ticket URL: <https://trac.macports.org/ticket/41664#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list