Build problems on Debian 9 (Stretch)

18 views
Skip to first unread message

Brad Fitzpatrick

unread,
Feb 14, 2019, 7:13:03 PM2/14/19
to darling...@googlegroups.com
I'm looking into using Darling and just tried following the Debian 9 build instructions (https://wiki.darlinghq.org/build_instructions) on a fresh VM.

And after adding a few missing deps (like "make") missing from the apt install line above, I get a build failure:

...
[  3%] Built target pbxproj
[  3%] Built target pbxspec
[  3%] Built target xcscheme
[  3%] Built target xcsdk
[  3%] Building CXX object src/external/xcbuild/Libraries/pbxbuild/CMakeFiles/pbxbuild.dir/Sources/FileTypeResolver.cpp.o
/root/darling/src/external/xcbuild/Libraries/pbxbuild/Sources/FileTypeResolver.cpp:34:70: error: default initialization of an object of const type 'const
      std::unordered_set<pbxspec::PBX::FileType::shared_ptr>' (aka 'const unordered_set<shared_ptr<pbxspec::PBX::FileType> >') without a user-provided default
      constructor
        const std::unordered_set<pbxspec::PBX::FileType::shared_ptr> emptySet;
                                                                     ^
Should cmake be selecting or requiring a newer version of clang or something?

I have:

# dpkg -l | grep clang
ii  clang                              1:3.8-36                       amd64        C, C++ and Objective-C compiler (LLVM based)
ii  clang-3.8                          1:3.8.1-24                     amd64        C, C++ and Objective-C compiler (LLVM based)
ii  clang-4.0                          1:4.0.1-10~deb9u2              amd64        C, C++ and Objective-C compiler
ii  libclang-common-3.8-dev            1:3.8.1-24                     amd64        clang library - Common development package
ii  libclang-common-4.0-dev            1:4.0.1-10~deb9u2              amd64        clang library - Common development package
ii  libclang1-3.8:amd64                1:3.8.1-24                     amd64        C interface to the clang library
ii  libclang1-4.0:amd64                1:4.0.1-10~deb9u2              amd64        C interface to the clang library

I guess it was using clang3.8 by default.

If Debian 9 is no longer supported, what do the main developers use? Ubuntu? Fedora?

I'm happy to switch to whatever others are using.

Help wanted. Thanks!

- Brad



Reply all
Reply to author
Forward
0 new messages