[MacPorts] #38906: Error: Processing of port keepassx failed
MacPorts
noreply at macports.org
Fri May 24 09:36:41 PDT 2013
#38906: Error: Processing of port keepassx failed
------------------------+--------------------------------
Reporter: gaga335@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: KeePassX |
------------------------+--------------------------------
Comment (by rememberthemer@…):
The issue is that the KeePassX CMakeLists.txt runs a compilation test to
determine if zlib version is > 1.2 has gzip support .
The test is a snippet of c++ that includes zlib.h to check the version.
The test has no means of setting the include path so the system copy (i.e.
/usr/lib/zlib.h).
However it still '''should not fail'''. I have cut out the piece of code,
compiled it as a stand-alone executable with all possible combos of clang,
g++
and include paths etc. and it '''always''' works.
It doesn't look like an upstream bug, as the relevant code was committed
in 2010 and there are no bug reports.
The immediate solution is to cut/patch out the test out of CMakeLists.txt
as we know that zlib > 1.2.0
I've tried it and the build sails through ... until it chokes on a whole
pile of clang cflags incompatibilities (this is an upstream bug).
I would suggest the port should be built with gcc4X.
--
Ticket URL: <https://trac.macports.org/ticket/38906#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list