Skip to content

Instantly share code, notes, and snippets.

@acgetchell
Created October 8, 2019 04:31
Show Gist options
  • Save acgetchell/a2514cf4f3dc1634edd49a4414fc78b1 to your computer and use it in GitHub Desktop.
Save acgetchell/a2514cf4f3dc1634edd49a4414fc78b1 to your computer and use it in GitHub Desktop.
vcpkg macOS Catalina build failure log
╭─adam@hapkido ~/vcpkg ‹master›
╰─$ ./bootstrap-vcpkg.sh 1 ↵
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/local/bin/g++-9
-- Check for working CXX compiler: /usr/local/bin/g++-9 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/adam/vcpkg/toolsrc/build.rel
[0/2] Re-checking globbed directories...
[1/66] Building CXX object CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o
FAILED: CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -MF CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o.d -o CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -c ../src/vcpkg.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from ../include/vcpkg/base/cstringview.h:4,
from ../include/vcpkg/base/chrono.h:3,
from ../src/vcpkg.cpp:23:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../src/vcpkg.cpp:20:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[2/66] Building CXX object CMakeFiles/...pkglib.dir/src/vcpkg/base/checks.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -c ../src/vcpkg/base/checks.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/checks.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/checks.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[3/66] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -c ../src/vcpkg/base/enums.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/enums.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/enums.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[4/66] Building CXX object CMakeFiles/...b.dir/src/vcpkg/base/machinetype.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/machinetype.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/machinetype.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/machinetype.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/machinetype.cpp.o -c ../src/vcpkg/base/machinetype.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/machinetype.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/machinetype.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[5/66] Building CXX object CMakeFiles/...ir/src/vcpkg/base/cofffilereader.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -c ../src/vcpkg/base/cofffilereader.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/cofffilereader.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/cofffilereader.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[6/66] Building CXX object CMakeFiles/....dir/src/vcpkg/base/system.print.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.print.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.print.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.print.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.print.cpp.o -c ../src/vcpkg/base/system.print.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/system.print.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/system.print.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[7/66] Building CXX object CMakeFiles/...ib.dir/src/vcpkg/base/stringview.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/stringview.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/stringview.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/stringview.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/stringview.cpp.o -c ../src/vcpkg/base/stringview.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/stringview.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/stringview.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[8/66] Building CXX object CMakeFiles/...lib.dir/src/vcpkg/base/downloads.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -c ../src/vcpkg/base/downloads.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/downloads.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/downloads.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[9/66] Building CXX object CMakeFiles/...kglib.dir/src/vcpkg/base/strings.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/strings.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/strings.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/strings.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/strings.cpp.o -c ../src/vcpkg/base/strings.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/strings.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/strings.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[10/66] Building CXX object CMakeFiles...pkglib.dir/src/vcpkg/base/chrono.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -c ../src/vcpkg/base/chrono.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/chrono.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/chrono.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[11/66] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/hash.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/hash.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/hash.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/hash.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/hash.cpp.o -c ../src/vcpkg/base/hash.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/hash.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/hash.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[12/66] Building CXX object CMakeFiles...pkglib.dir/src/vcpkg/base/system.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/system.cpp.o -c ../src/vcpkg/base/system.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/system.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/system.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[13/66] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/archives.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/archives.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/archives.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/archives.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/archives.cpp.o -c ../src/vcpkg/archives.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/archives.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/archives.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
[14/66] Building CXX object CMakeFiles...cpkglib.dir/src/vcpkg/base/files.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o
/usr/local/bin/g++-9 -DDISABLE_METRICS=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o -c ../src/vcpkg/base/files.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:90,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cwchar:44,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/postypes.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/bits/char_traits.h:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/string:40,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/stdexcept:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/array:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tuple:39,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/functional:54,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/pstl/glue_algorithm_defs.h:13,
from /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/algorithm:71,
from ../include/pch.h:22,
from ../src/vcpkg/base/files.cpp:1:
/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
222 | char *ctermid(char *);
| ^~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:525,
from ../include/pch.h:19,
from ../src/vcpkg/base/files.cpp:1:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
26 | char *ctermid(char *);
| ^~~~~~~
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment