[MacPorts] #61350: File fmt/time.h is missing
MacPorts
noreply at macports.org
Tue Oct 20 02:27:33 UTC 2020
#61350: File fmt/time.h is missing
------------------------+---------------------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: libfmt and RESTinio
------------------------+---------------------------------
Port of the {{{fmt}}} library omits {{{fmt/time.h}}} file.
As a result, one cannot compile code for/with port {{{RESTinio}}}, because
its internal header files require {{{fmt/time.h}}}.
This is on Catalina 10.15.7 with Xcode-12.0.1, but I'm pretty sure that's
irrelevant.
{{{
clang++ -std=gnu++2a -O3 -march=native -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
-pthread -Wall -g -O2 -DSSL_LIB_INIT -I/opt/local/include
-I/opt/local/include/palisade -I/opt/local/include/palisade/core
-std=c++17 -o test_api2 test_api2.cpp -L/opt/local/lib -lcrypto -lrelic
-lrelic_ec -lopenabe -lPALISADEabe -lPALISADEcore
In file included from test_api2.cpp:14:
In file included from /opt/local/include/restinio/all.hpp:12:
In file included from /opt/local/include/restinio/settings.hpp:18:
In file included from /opt/local/include/restinio/request_handler.hpp:16:
/opt/local/include/restinio/message_builders.hpp:15:10: fatal error:
'fmt/time.h' file not found
#include <fmt/time.h>
^~~~~~~~~~~~
1 error generated.
}}}
Here's the beginning of the offending file
{{{restinio/message_builders.hpp}}}:
{{{
#pragma once
#include <ctime>
#include <chrono>
#include <fmt/format.h>
#include <fmt/time.h>
#include <restinio/common_types.hpp>
#include <restinio/http_headers.hpp>
#include <restinio/os.hpp>
#include <restinio/sendfile.hpp>
#include <restinio/impl/connection_base.hpp>
#include <restinio/impl/header_helpers.hpp>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61350>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list