[MacPorts] #38906: Error: Processing of port keepassx failed
#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 Keywords: keepassx | Port: keepassx -----------------------+-------------------------------- Error: Processing of port keepassx failed The problem seems zlib 1.2.x cannot be found in the path. Please let me know how to fix it. Many thanks! {{{ ---> Computing dependencies for KeePassX DEBUG: KeePassX has no conflicts DEBUG: Searching for dependency: pkgconfig DEBUG: Found Dependency: receipt exists for pkgconfig DEBUG: Searching for dependency: cmake DEBUG: Found Dependency: receipt exists for cmake DEBUG: Searching for dependency: qt4-mac DEBUG: Found Dependency: receipt exists for qt4-mac DEBUG: Searching for dependency: libgcrypt DEBUG: Found Dependency: receipt exists for libgcrypt DEBUG: Executing org.macports.main (KeePassX) DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 502 DEBUG: Skipping completed org.macports.archivefetch (KeePassX) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.fetch (KeePassX) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.checksum (KeePassX) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.extract (KeePassX) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.patch (KeePassX) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: configure phase started at Wed Apr 24 17:39:59 CST 2013 ---> Configuring KeePassX DEBUG: Using compiler 'Mac OS X clang' DEBUG: Executing org.macports.configure (KeePassX) DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' PKG_CONFIG_PATH='/opt/local/lib/pkgconfig' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_KeePassX/KeePassX/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/clang' INSTALL='/usr/bin/install -c' MOC='/opt/local/bin/moc' QMAKESPEC='macx-g++' FFLAGS='-pipe -O2 -m64' OBJCFLAGS='-pipe -O2 -arch x86_64' QTDIR='/opt/local' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' QMAKE='/opt/local/bin/qmake' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_KeePassX/KeePassX/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_QMAKESPEC=macx-g++ -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib ../keepassx-2.0-alpha3' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_KeePassX/KeePassX/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_QMAKESPEC=macx-g++ -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib ../keepassx-2.0-alpha3 CMake Error at CMakeLists.txt:179 (message): zlib 1.2.x or higher is required to use the gzip format -- Configuring incomplete, errors occurred! Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_KeePassX/KeePassX/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_QMAKESPEC=macx-g++ -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib ../keepassx-2.0-alpha3 Exit code: 1 Error: org.macports.configure for port KeePassX returned: configure failure: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: configure failure: command execution failed while executing "$procedure $targetname" Warning: targets not executed for KeePassX: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Please see the log file for port KeePassX for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_KeePassX/KeePassX/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port keepassx failed }}} -- Ticket URL: <https://trac.macports.org/ticket/38906> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: keepassx => * port: keepassx => KeePassX Comment: What is the output of the following? {{{ port installed zlib }}} -- Ticket URL: <https://trac.macports.org/ticket/38906#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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 ryandesign@…): The output you showed above is not from a clean attempt. Please [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites clean and try again] and attach the main.log. -- Ticket URL: <https://trac.macports.org/ticket/38906#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 technonerd@…): Replying to [ticket:38906 gaga335@…]: I am running into the same problem, it looks like its building against the system zlib /usr/lib/libz.dylib and not /opt/local/lib/libz.dylib -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") $ port installed zlib The following ports are currently installed: zlib @1.2.7_0 zlib @1.2.8_0 (active) -- Ticket URL: <https://trac.macports.org/ticket/38906#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#38906: Error: Processing of port keepassx failed ------------------------+-------------------------------- Reporter: gaga335@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: KeePassX | ------------------------+-------------------------------- Changes (by eborisch@…): * cc: eborisch@… (added) * status: new => closed * resolution: => fixed Comment: Hopefully fixed in r107426. Please reopen if it isn't. -- Ticket URL: <https://trac.macports.org/ticket/38906#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts