Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#41664 closed defect (fixed)

Upgrade virtuoso 7.0.0_0 to 7.0.0_1 fails

Reported by: watsodw Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: virtuoso

Description

See log.

Attachments (1)

main.log (1.2 MB) - added by watsodw 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by watsodw

Attachment: main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

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

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

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.

comment:3 Changed 10 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:4 Changed 10 years ago by watsodw

Thanks, that worked.

comment:5 Changed 10 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

libiodbc appears to be fine, with only unixODBC conflicting. Added conflicts_build in r114352.

If you've any patches for the build system feel free to attach them.

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.