Opened 5 weeks ago

Last modified 3 weeks ago

#63402 assigned defect

ccache @ 4.4_0 error: static_assert failed "unique_ptr constructed with null function pointer deleter"

Reported by: thetrial (alabay) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: elcapitan legacy-os Cc: judaew (Vadim-Valdis Yudaev)
Port: ccache

Description

/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:2579:13: error: static_assert failed "unique_ptr constructed with null function pointer deleter"
:info:build             static_assert(!is_pointer<deleter_type>::value,
:info:build             ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:2393:38: note: in instantiation of member function 'std::__1::unique_ptr<redisReply, void (*)(void *)>::unique_ptr' requested here
:info:build     : public integral_constant<bool, __is_constructible(_Tp, _Args...)>
:info:build                                      ^
:info:build /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:2697:14: note: in instantiation of template class 'std::__1::is_constructible<std::__1::unique_ptr<redisReply, void (*)(void *)>>' requested here
:info:build     : public is_constructible<_Tp>
:info:build              ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.4/src/third_party/nonstd/expected.hpp:1351:14: note: in instantiation of template class 'std::__1::is_default_constructible<std::__1::unique_ptr<redisReply, void (*)(void *)> >' requested here
:info:build         std::is_default_constructible<T>::value
:info:build              ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.4/src/storage/secondary/RedisStorage.cpp:158:22: note: in instantiation of template class 'nonstd::expected_lite::expected<std::__1::unique_ptr<redisReply, void (*)(void *)>, storage::secondary::SecondaryStorage::Backend::Failure>' requested here
:info:build   const auto reply = redis_command("GET %s", key_string.c_str());
:info:build                      ^
:info:build 1 error generated.

Attachments (1)

main.log (264.4 KB) - added by thetrial (alabay) 5 weeks ago.

Download all attachments as: .zip

Change History (3)

Changed 5 weeks ago by thetrial (alabay)

Attachment: main.log added

comment:1 Changed 5 weeks ago by judaew (Vadim-Valdis Yudaev)

Cc: judaew added

comment:2 Changed 3 weeks ago by thetrial (alabay)

Hm, 4.4_1 … and the problem still persists. Any solutions in sight?

Note: See TracTickets for help on using tickets.