You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over on conda-forge we're currently rebuilding our packages for R 4.3. The ipaddress package is throwing the following error on OSX under R 4.3. Can you advise?
x86_64-apple-darwin13.4.0-clang++ -std=gnu++17 -I"$PREFIX/lib/R/include" -DNDEBUG -I../inst/include/ -I'$PREFIX/lib/R/library/AsioHeaders/include' -I'$PREFIX/lib/R/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.9 -I$PREFIX/include -DASIO_STANDALONE -DASIO_NO_DEPRECATED -fPIC -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684496426925/work=/usr/local/src/conda/r-base-4.3.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -c ip_address.cpp -o ip_address.o
In file included from ip_address.cpp:2:
In file included from /Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/ip/address_v4.hpp:352:
In file included from /Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/ip/impl/address_v4.ipp:23:
In file included from /Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/detail/socket_ops.hpp:21:
/Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/detail/memory.hpp:88:20: error: reference to unresolved using declaration
void* ptr = std::aligned_alloc(align, size);
^
/Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_build_env/bin/../include/c++/v1/cstdlib:148:1: note: using declaration annotated with 'using_if_exists' here
using ::aligned_alloc _LIBCPP_USING_IF_EXISTS;
^
In file included from ip_address.cpp:2:
In file included from /Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/ip/address_v4.hpp:352:
In file included from /Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/ip/impl/address_v4.ipp:23:
In file included from /Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/detail/socket_ops.hpp:21:
/Users/runner/miniforge3/conda-bld/r-ipaddress_1687141681389/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/R/library/AsioHeaders/include/asio/detail/memory.hpp:88:15: error: excess elements in scalar initializer
void* ptr = std::aligned_alloc(align, size);
^ ~~~~~~
2 errors generated.
Hi @dpryan79 - I'm afraid this error is caused by an upstream dependency package (AsioHeaders). From reading your linked issue, it sounds like you resolved the error by using C++14. Please re-open if there is a remaining issue.
Bug description
Over on conda-forge we're currently rebuilding our packages for R 4.3. The ipaddress package is throwing the following error on OSX under R 4.3. Can you advise?
Additional context
OSX
Xref: conda-forge/r-ipaddress-feedstock#15
The text was updated successfully, but these errors were encountered: