Opened 3 years ago

Closed 3 years ago

#64915 closed defect (fixed)

openvpn3 @3.7_0: fatal error: 'json/json.h' file not found

Reported by: chrstphrchvz (Christopher Chavez) Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: openvpn3

Description

In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/openvpn/ovpnagent/mac/ovpnagent.cpp:67:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/init/initprocess.hpp:35:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/init/engineinit.hpp:33:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/openssl/ssl/sslctx.hpp:68:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/ssl/sslapi.hpp:35:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/common/jsonlib.hpp:26:10: fatal error: 'json/json.h' file not found
#include "json/json.h"             // JsonCpp library
         ^~~~~~~~~~~~~
…
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/test/ovpncli/cli.cpp:63:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../client/ovpncli.cpp:90:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/init/initprocess.hpp:35:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/init/engineinit.hpp:33:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/openssl/ssl/sslctx.hpp:68:
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/ssl/sslapi.hpp:35:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/common/jsonlib.hpp:26:10: fatal error: 'json/json.h' file not found
#include "json/json.h"             // JsonCpp library
         ^~~~~~~~~~~~~

Undeclared jsoncpp dependency?

(Reporting this on behalf of builders; I personally do not use this port)

Change History (2)

comment:1 Changed 3 years ago by i0ntempest

Thanks for caching this. jsoncpp wasn't needed before.

comment:2 Changed 3 years ago by i0ntempest

Resolution: fixed
Status: assignedclosed

In a6cfb873abb2eb93f4a82be2ea8119f7b8f67479/macports-ports (master):

openvpn3: add missed jsoncpp dependency

Closes: #64915

Note: See TracTickets for help on using tickets.