[MacPorts] #42895: New port: zmap

MacPorts noreply at macports.org
Mon May 15 03:20:09 UTC 2023


#42895: New port: zmap
-----------------------------+--------------------------------
  Reporter:  davidcadrian@…  |      Owner:  macports-tickets@…
      Type:  submission      |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  zmap            |
-----------------------------+--------------------------------

Comment (by artkiver):

 OK, another PR attempt submitted: https://github.com/macports/macports-
 ports/pull/18688

 The CI/build bots are still failing with a "cannot find libjson" despite
 my tweaks.

 Excerpt from the error log:


 {{{
   DEBUG: system:  cd "/opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_net_zmap/zmap/work/zmap-3.0.0-beta1" && /opt/local/bin/cmake
 -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX"
 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr"
 -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="13.0"
 -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk"
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_net_zmap/zmap/work/zmap-3.0.0-beta1
   Executing:  cd "/opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_net_zmap/zmap/work/zmap-3.0.0-beta1" && /opt/local/bin/cmake
 -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX"
 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr"
 -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="13.0"
 -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk"
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_net_zmap/zmap/work/zmap-3.0.0-beta1
   -- The C compiler identification is AppleClang 14.0.3.14030022
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: /usr/bin/clang - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
   CMake Error at CMakeLists.txt:74 (message):
     Did not find libjson


   -- Configuring incomplete, errors occurred!
   See also "/opt/local/var/macports/build/_Users_runner_work_macports-
 ports_macports-
 ports_ports_net_zmap/zmap/work/zmap-3.0.0-beta1/CMakeFiles/CMakeOutput.log".
   Command failed:  cd "/opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_net_zmap/zmap/work/zmap-3.0.0-beta1" && /opt/local/bin/cmake
 -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX"
 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr"
 -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev
 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="13.0"
 -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk"
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_net_zmap/zmap/work/zmap-3.0.0-beta1
   Exit code: 1
   Error: Failed to configure zmap: configure failure: command execution
 failed
   DEBUG: Error code: NONE
   DEBUG: Backtrace: configure failure: command execution failed
       while executing
   "$procedure $targetname"
   Error: See /opt/local/var/macports/logs/_Users_runner_work_macports-
 ports_macports-ports_ports_net_zmap/zmap/main.log for details.
   Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
   Error: Processing of port zmap failed
   Build of 'zmap' failed.
   /Users/runner/work/macports-ports/macports-ports/mpbb/mpbb: error:
 `install-port' failed to run successfully
   /Users/runner/work/_temp/7ac9ca8d-eaf9-463a-8452-aee1147e8b0e.sh: line
 6: 12016 Terminated: 15          tail -f "$workdir/logs/dependencies-
 progress.txt" 2> /dev/null
 Error: Failed to install zmap
 Error: Process completed with exit code 1.
 }}}

 Additional insights welcome!

-- 
Ticket URL: <https://trac.macports.org/ticket/42895#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list