[MacPorts] #68132: qgis3 broken by leveldb update
MacPorts
noreply at macports.org
Thu Sep 7 07:28:18 UTC 2023
#68132: qgis3 broken by leveldb update
------------------------+----------------------
Reporter: gwright83 | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qgis3 |
------------------------+----------------------
Comment (by catap):
> Another issue caused by the leveldb update is that because leveldb
conflicts with gperftools, and qgis3 depends on leveldb, there is a
conflict between qgis3 and grpc (which requires gperftools).
This is funny but the root cause of that variant and conflicts is qgis3 :)
See: https://trac.macports.org/ticket/56164
If it irrelevant anymore, I'd happy to removed that hack.
> It looks as if qt5-qtwebkit is not detecting leveldb and is using a
bundled version, which causes a conflict with the installed header file
from the leveldb port. This problem was reported in #65832. The same issue
occurs when I tried to build qt5-qtwebkit
On my system it fails because:
{{{
> leveldb.cpp:22:10: fatal error: 'helpers/memenv/memenv.h' file not found
> #include <helpers/memenv/memenv.h>
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> make: *** [obj/leveldb.o] Error 1
}}}
which means that qtwebkit uses some internal API of leveldb which exists
in helpers. Quite wired.
Anyway, I've prepared a kind of fix: https://github.com/catap/macports-
ports/tree/leveldb
It contains two commits / changes:
1. a new variant at LevelDB which exposes `helpers/memenv/memenv.h`;
2. a hack inside qtwebkit to stop using `libmemenv` which doesn't exist
anymore.
May I ask you to give it a try? Thanks,
--
Ticket URL: <https://trac.macports.org/ticket/68132#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list