[MacPorts] #52179: Can't build Lib GDA 5 with SQLite 3.14
#52179: Can't build Lib GDA 5 with SQLite 3.14 ----------------------+-------------------------------- Reporter: m.rick@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: GDA ----------------------+-------------------------------- Latest update of SQLite 3.14.1 broke the ability to build Lib GDA 5. Worked perfectly well before. -- Ticket URL: <https://trac.macports.org/ticket/52179> MacPorts <https://www.macports.org/> Ports system for macOS
#52179: libgda5 @5.2.4: build fails with sqlite @3.14.1_0 installed -----------------------+---------------------- Reporter: m.rick@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: libgda5 | -----------------------+---------------------- Changes (by larryv@…): * cc: jwa@… (added) * owner: macports-tickets@… => devans@… * version: 2.3.4 => * port: GDA => libgda5 Comment: In future tickets, please use the actual port name and Cc the port maintainers, if any (`port info --maintainers libgda5`). It looks like the build is getting its headers mixed up while building an embedding SQLite. Why is it doing that at all? Can it not use the `sqlite3` port? -- Ticket URL: <https://trac.macports.org/ticket/52179#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52179: libgda5 @5.2.4: build fails with sqlite @3.14.1_0 installed -----------------------+---------------------- Reporter: m.rick@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: libgda5 | -----------------------+---------------------- Changes (by devans@…): * status: new => assigned Comment: Replying to [comment:1 larryv@…]:
It looks like the build is getting its headers mixed up while building an embedding SQLite. Why is it doing that at all? Can it not use the `sqlite3` port?
Earlier on in this ports life, there was, indeed, a problem building with an external sqlite3 thus the use of the embedded version. libgda5 hasn't had any significant updates since then so this has remained. The embedded version is 3.8.0.2 which is pretty old but has worked to this point. As you say, it appears that there is interference between the sqlite3 version of sqlite3.h and the embedded version. The question is why this is causing a problem now when the location of the external sqlite3.h ($prefix/include/sqlite3.h) hasn't changed in any of the the recent updates. But it does. Looking into it. -- Ticket URL: <https://trac.macports.org/ticket/52179#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52179: libgda5 @5.2.4: build fails with sqlite @3.14.1_0 installed -----------------------+---------------------- Reporter: m.rick@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: libgda5 | -----------------------+---------------------- Comment (by m.rick@…): I tried to build it in both +quartz and +x11 options, the bug appears in both cases. -- Ticket URL: <https://trac.macports.org/ticket/52179#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52179: libgda5 @5.2.4: build fails with sqlite @3.14.1_0 installed -----------------------+---------------------- Reporter: m.rick@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: libgda5 | -----------------------+---------------------- Comment (by m.rick@…): I have been able to build libgda5 5.2.4 applying this procedure [https://trac.macports.org/wiki/howto/InstallingOlderPort | Installing Older Port].[[BR]] I reverted to version @3.13.0_0 r 148810 then I could install libgda5 5.2.4 port normally. Then I upgraded to sqlite3 3.14.2 without problem. There seems to be a difference in SQLite between version 3.13 and laters. -- Ticket URL: <https://trac.macports.org/ticket/52179#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52179: libgda5 @5.2.4: build fails with sqlite @3.14.1_0 installed -----------------------+---------------------- Reporter: m.rick@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libgda5 | -----------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: The problem stems from an ambiguous include in libgda/sqlite/virtual/gda- vprovider-data-model.c that uses <sqlite3.h>. Patched to unambiguously reference the embedded of copy of sqlite3.h rather than the system one. Attempting to build with the system sqlite3 introduced even more build problems so I'm sticking with using the embedded copy for now. Upgraded the configuration to use current vala 0.34.0 as well. Committed in r153658. -- Ticket URL: <https://trac.macports.org/ticket/52179#comment:7> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52179: libgda5 @5.2.4: build fails with sqlite @3.14.1_0 installed -----------------------+---------------------- Reporter: m.rick@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libgda5 | -----------------------+---------------------- Comment (by m.rick@…): The update works perfectly well. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/52179#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52179: libgda5 @5.2.4: build fails with sqlite @3.14.1_0 installed -----------------------+---------------------- Reporter: m.rick@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libgda5 | -----------------------+---------------------- Comment (by devans@…): Replying to [comment:8 m.rick@…]:
The update works perfectly well. Thank you.
Thanks for the confirmation and for your ticket as well. -- Ticket URL: <https://trac.macports.org/ticket/52179#comment:9> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts