Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Make failed! #293

Open
hyalpha opened this issue Nov 2, 2018 · 4 comments
Open

Make failed! #293

hyalpha opened this issue Nov 2, 2018 · 4 comments

Comments

@hyalpha
Copy link

hyalpha commented Nov 2, 2018

By following the instruction, it failed when I run the order "make", is it compatible with Xcode 10?

These are the error messages:
In file included from ../Libraries/builtin/Sources/Registry.cpp:10:
In file included from ../Libraries/builtin/Headers/builtin/Registry.h:13:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::copy::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copy::Driver, std::__1::allocatorbuiltin::copy::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copy::Driver, std::__1::allocatorbuiltin::copy::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::copy::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:60:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::copy::Driver' requested here
std::make_sharedbuiltin::copy::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::copyPlist::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copyPlist::Driver, std::__1::allocatorbuiltin::copyPlist::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copyPlist::Driver, std::__1::allocatorbuiltin::copyPlist::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::copyPlist::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:61:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::copyPlist::Driver' requested here
std::make_sharedbuiltin::copyPlist::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::copyStrings::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copyStrings::Driver, std::__1::allocatorbuiltin::copyStrings::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copyStrings::Driver, std::__1::allocatorbuiltin::copyStrings::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::copyStrings::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:62:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::copyStrings::Driver' requested here
std::make_sharedbuiltin::copyStrings::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::copyTiff::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copyTiff::Driver, std::__1::allocatorbuiltin::copyTiff::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::copyTiff::Driver, std::__1::allocatorbuiltin::copyTiff::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::copyTiff::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:63:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::copyTiff::Driver' requested here
std::make_sharedbuiltin::copyTiff::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::infoPlistUtility::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::infoPlistUtility::Driver, std::__1::allocatorbuiltin::infoPlistUtility::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::infoPlistUtility::Driver, std::__1::allocatorbuiltin::infoPlistUtility::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::infoPlistUtility::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:64:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::infoPlistUtility::Driver' requested here
std::make_sharedbuiltin::infoPlistUtility::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::lsRegisterURL::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::lsRegisterURL::Driver, std::__1::allocatorbuiltin::lsRegisterURL::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::lsRegisterURL::Driver, std::__1::allocatorbuiltin::lsRegisterURL::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::lsRegisterURL::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:65:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::lsRegisterURL::Driver' requested here
std::make_sharedbuiltin::lsRegisterURL::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::productPackagingUtility::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::productPackagingUtility::Driver, std::__1::allocatorbuiltin::productPackagingUtility::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::productPackagingUtility::Driver, std::__1::allocatorbuiltin::productPackagingUtility::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::productPackagingUtility::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:66:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::productPackagingUtility::Driver' requested here
std::make_sharedbuiltin::productPackagingUtility::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::validationUtility::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::validationUtility::Driver, std::__1::allocatorbuiltin::validationUtility::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::validationUtility::Driver, std::__1::allocatorbuiltin::validationUtility::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::validationUtility::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:67:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::validationUtility::Driver' requested here
std::make_sharedbuiltin::validationUtility::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final 'builtin::embeddedBinaryValidationUtility::Driver' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
_data.second()._Tp();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::embeddedBinaryValidationUtility::Driver, std::__1::allocatorbuiltin::embeddedBinaryValidationUtility::Driver >::__on_zero_shared' requested here
__shared_ptr_emplace(_Alloc __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<builtin::embeddedBinaryValidationUtility::Driver, std::__1::allocatorbuiltin::embeddedBinaryValidationUtility::Driver >::__shared_ptr_emplace' requested here
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptrbuiltin::embeddedBinaryValidationUtility::Driver::make_shared<>' requested here
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
^
../Libraries/builtin/Sources/Registry.cpp:68:14: note: in instantiation of function template specialization 'std::__1::make_sharedbuiltin::embeddedBinaryValidationUtility::Driver' requested here
std::make_sharedbuiltin::embeddedBinaryValidationUtility::Driver(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
_data.second().
_Tp();
^
9 errors generated.
[9/481] Building CXX object Libraries/...dir/Sources/lsRegisterURL/Driver.cpp.o
ninja: build stopped: subcommand failed.
make: *** [all] Error 1

@amadeu01
Copy link

amadeu01 commented Nov 5, 2018

Same here

1 similar comment
@strawferry
Copy link

Same here

@cntrump
Copy link

cntrump commented Dec 20, 2018

not compatible with Xcode 10
I build it with Xcode 9

@MarkH
Copy link

MarkH commented Jan 2, 2019

Hack workaround is to tell CMake to ignore that new Xcode 10 warning by adding the following as line 67 in CMakeLists.txt

add_compile_options(-Wno-delete-non-virtual-dtor)

But then I still ran into issue #288 and had to use the hack mentioned there of "export DEVELOPER_DIR=/Applications/Xcode.app" before running.

And after that, it still hit a seg fault during the build, so never mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants