Bug 281611 - security/gvm-libs: missing dependency: devel/libcjson
Summary: security/gvm-libs: missing dependency: devel/libcjson
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-20 18:15 UTC by Trond Endrestøl
Modified: 2024-09-20 18:30 UTC (History)
2 users (show)

See Also:


Attachments
Patch for security/gvm-libs/Makefile adding devel/libcjson and sorting the list of dependencies (4.13 KB, patch)
2024-09-20 18:17 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2024-09-20 18:15:59 UTC
--------------------------------------------------------------------------------
--  Phase: configure
--------------------------------------------------------------------------------
===>  Configuring for gvm-libs-22.12.1
===>  Performing out-of-source build
/bin/mkdir -p /construction/xports/security/gvm-libs/work/.build
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Configuring the Greenbone Vulnerability Management Libraries...
-- The C compiler identification is Clang 18.1.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Looking for clang-format...
-- Looking for clang-format... /usr/bin/clang-format
-- Using redis socket /var/run/redis/redis.sock
-- Install prefix: /usr/local
-- Found PkgConfig: /usr/local/bin/pkgconf (found version "2.3.0")
-- Checking for module 'glib-2.0>=2.42'
--   Found glib-2.0, version 2.80.5
-- Looking for libnet...
-- Looking for net... /usr/local/lib/libnet.so
-- Looking for libnet-config...
-- Looking for libnet-config... /usr/local/bin/libnet-config
-- Looking for pcap...
-- Looking for pcap... /usr/lib/libpcap.so
-- Looking for pcap-config...
-- pcap-config not found, using defaults...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Checking for module 'zlib>=1.2.8'
--   Found zlib, version 1.3.1
-- Checking for module 'gio-2.0>=2.42'
--   Found gio-2.0, version 2.80.5
-- Checking for module 'gnutls>=3.2.15'
--   Found gnutls, version 3.8.7
-- Checking for module 'uuid>=1.45.6'
--   Found uuid, version 1.47.1
-- Checking for module 'libssh>=0.6.0'
--   Found libssh, version 0.11.1
-- Checking for module 'hiredis>=0.10.1'
--   Found hiredis, version 1.2.0
-- Checking for module 'libxml-2.0>=2.0'
--   Found libxml-2.0, version 2.11.9
-- Checking for module 'gpgme>=1.7.0'
--   Found gpgme, version 1.23.2
-- Checking for module 'libgcrypt'
--   Found libgcrypt, version 1.11.0
-- Checking for module 'libcjson>=1.7.14'                                                                                                                                                                                                                                         --   Package 'libcjson' not found
CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - libcjson>=1.7.14

Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  util/CMakeLists.txt:46 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /xports/security/gvm-libs
Comment 1 Trond Endrestøl 2024-09-20 18:17:07 UTC
Created attachment 253696 [details]
Patch for security/gvm-libs/Makefile adding devel/libcjson and sorting the list of dependencies
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-09-20 18:30:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16df1f947f007b209535f6e315740b918f7b43a9

commit 16df1f947f007b209535f6e315740b918f7b43a9
Author:     Trond Endrestøl <Trond.Endrestol@ximalas.info>
AuthorDate: 2024-09-20 18:27:46 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-09-20 18:29:06 +0000

    security/gvm-libs: missing dependency: devel/libcjson

    - Sorting the list of dependencies

    PR:             281611

 security/gvm-libs/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2024-09-20 18:30:23 UTC
Committed thanks!