[MacPorts] #68132: qgis3 broken by leveldb update
MacPorts
noreply at macports.org
Thu Sep 7 08:19:01 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):
After a coffee I understand that I can make things much cleaner and
simpler.
No need to touch qt ports at all :)
So, I've opened a PR: https://github.com/macports/macports-
ports/pull/20338 which adds one more hack for LevelDB to expose private
API `helpers/memenv/memenv.h` and creates fake library `libmemenv.dylib`
by default.
It allows to achieve an output of `port -v configure qt5-qtwebkit`:
{{{
Checking for fontconfig... yes
Checking for gccdepends... yes
Checking for glx... no
Checking for gnuld... no
Checking for icu... yes
Checking for leveldb... yes
Checking for libsqlite3... yes
Checking for libwebp... yes
Checking for libXcomposite... no
Checking for libxml2... yes
Checking for libXrender... no
Checking for libxslt... yes
Checking for libzlib... yes
}}}
The only issue which should be left is conflict with `gperftools`. It can
be avoided and LevelDB can be switched to `tmalloc` unconditionally via
such dependencies but it had been unstable and crashes at `qgis3` port.
Anyway, crash may appears by mixing different version of `tmalloc` because
old version links everything statically.
So, here I see two ways:
1. Build leveldb with `+tmalloc` and confirms that `qgis3` doesn't crash;
2. Try to make dependency from `gperftools` optional.
I have no idea how to test (1), perhabs you may help with this. But I will
investigate possibility of (2).
--
Ticket URL: <https://trac.macports.org/ticket/68132#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list