joseluisq / macosx-sdks

Some Mac OS X SDKs for development purposes with osxcross.
92 stars 3 forks source link

error: no member named 'clone' in 'Security::BlobCore' #7

Closed jshbrntt closed 1 month ago

jshbrntt commented 1 month ago

Getting this error when trying to build on `ubuntu:24.04.

Error

In file included from ./../code-sign-blobs/superblob.h:7:
./../code-sign-blobs/blob.h:185:60: error: no member named 'clone' in 'Security::BlobCore'
  185 |         { assert(validateBlob()); return specific(this->BlobCore::clone());     }
      |                                                         ~~~~~~~~~~^

Build log

521.6 Making all in parsers
521.6 make[4]: Entering directory '/osxcross/build/cctools-port/cctools/ld64/src/ld/parsers'
521.6 /bin/bash ../../../../libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype  -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks  -isystem /osxcross/target/include -c -o libParsers_la-archive_file.lo `test -f 'archive_file.cpp' || echo './'`archive_file.cpp
521.6 /bin/bash ../../../../libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype  -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks  -isystem /osxcross/target/include -c -o libParsers_la-lto_file.lo `test -f 'lto_file.cpp' || echo './'`lto_file.cpp
521.6 /bin/bash ../../../../libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype  -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks  -isystem /osxcross/target/include -c -o libParsers_la-macho_dylib_file.lo `test -f 'macho_dylib_file.cpp' || echo './'`macho_dylib_file.cpp
521.6 /bin/bash ../../../../libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype  -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks  -isystem /osxcross/target/include -c -o libParsers_la-macho_relocatable_file.lo `test -f 'macho_relocatable_file.cpp' || echo './'`macho_relocatable_file.cpp
521.6 /bin/bash ../../../../libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype  -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks  -isystem /osxcross/target/include -c -o libParsers_la-opaque_section_file.lo `test -f 'opaque_section_file.cpp' || echo './'`opaque_section_file.cpp
521.6 /bin/bash ../../../../libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype  -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks  -isystem /osxcross/target/include -c -o libParsers_la-textstub_dylib_file.lo `test -f 'textstub_dylib_file.cpp' || echo './'`textstub_dylib_file.cpp
521.6 /bin/bash ../../../../libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype  -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks  -isystem /osxcross/target/include -c -o libParsers_la-generic_dylib_file.lo `test -f 'generic_dylib_file.cpp' || echo './'`generic_dylib_file.cpp
521.9 libtool: compile:  clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -isystem /osxcross/target/include -c macho_relocatable_file.cpp  -fPIC -DPIC -o .libs/libParsers_la-macho_relocatable_file.o
521.9 libtool: compile:  clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -isystem /osxcross/target/include -c textstub_dylib_file.cpp  -fPIC -DPIC -o .libs/libParsers_la-textstub_dylib_file.o
522.0 libtool: compile:  clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -isystem /osxcross/target/include -c generic_dylib_file.cpp  -fPIC -DPIC -o .libs/libParsers_la-generic_dylib_file.o
522.0 libtool: compile:  clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -isystem /osxcross/target/include -c macho_dylib_file.cpp  -fPIC -DPIC -o .libs/libParsers_la-macho_dylib_file.o
522.0 libtool: compile:  clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -isystem /osxcross/target/include -c opaque_section_file.cpp  -fPIC -DPIC -o .libs/libParsers_la-opaque_section_file.o
522.0 libtool: compile:  clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -isystem /osxcross/target/include -c lto_file.cpp  -fPIC -DPIC -o .libs/libParsers_la-lto_file.o
522.0 libtool: compile:  clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /osxcross/target/include -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../../include -I../../../../include/foreign -I../../../../ld64/src/abstraction -I../../../../ld64/src/ld -I../../../../ld64/src/3rd -I../../../../ld64/src -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -isystem /osxcross/target/include -c archive_file.cpp  -fPIC -DPIC -o .libs/libParsers_la-archive_file.o
523.8 In file included from macho_dylib_file.cpp:46:
523.8 In file included from ./../code-sign-blobs/superblob.h:7:
523.8 ./../code-sign-blobs/blob.h:185:60: error: no member named 'clone' in 'Security::BlobCore'
523.8   185 |         { assert(validateBlob()); return specific(this->BlobCore::clone());     }
523.8       |                                                         ~~~~~~~~~~^
523.8 macho_dylib_file.cpp:350:16: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
523.8   350 |                         char frname[strlen(leafName)+32];
523.8       |                                     ^~~~~~~~~~~~~~~~~~~
523.8 macho_dylib_file.cpp:350:23: note: read of non-constexpr variable 'leafName' is not allowed in a constant expression
523.8   350 |                         char frname[strlen(leafName)+32];
523.8       |                                            ^
523.8 macho_dylib_file.cpp:349:16: note: declared here
523.8   349 |                         const char* leafName = lastSlash+1;
523.8       |                                     ^
523.8 textstub_dylib_file.cpp:238:15: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
523.8   238 |                 char frname[strlen(leafName)+32];
523.8       |                             ^~~~~~~~~~~~~~~~~~~
523.8 textstub_dylib_file.cpp:238:22: note: read of non-constexpr variable 'leafName' is not allowed in a constant expression
523.8   238 |                 char frname[strlen(leafName)+32];
523.8       |                                    ^
523.8 textstub_dylib_file.cpp:237:15: note: declared here
523.8   237 |                 const char* leafName = lastSlash+1;
523.8       |                             ^
523.9 macho_relocatable_file.cpp:1889:2: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
523.9  1889 |         STACK_ALLOC_IF_SMALL(typename CUSection<A>::Info, cuInfoArray, countOfCUs, 1024);
523.9       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
523.9 macho_relocatable_file.cpp:1838:23: note: expanded from macro 'STACK_ALLOC_IF_SMALL'
523.9  1838 |         _type _name##_buffer[_name##_stack_count]; \
523.9       |                              ^~~~~~~~~~~~~~~~~~~
523.9 <scratch space>:308:1: note: expanded from here
523.9   308 | cuInfoArray_stack_count
523.9       | ^~~~~~~~~~~~~~~~~~~~~~~
523.9 macho_relocatable_file.cpp:1889:2: note: read of non-const variable 'cuInfoArray_stack_count' is not allowed in a constant expression
523.9 macho_relocatable_file.cpp:1838:23: note: expanded from macro 'STACK_ALLOC_IF_SMALL'
523.9  1838 |         _type _name##_buffer[_name##_stack_count]; \
523.9       |                              ^
523.9 <scratch space>:308:1: note: expanded from here
523.9   308 | cuInfoArray_stack_count
523.9       | ^
523.9 macho_relocatable_file.cpp:1889:2: note: declared here
523.9 macho_relocatable_file.cpp:1828:11: note: expanded from macro 'STACK_ALLOC_IF_SMALL'
523.9  1828 |         uint32_t _name##_stack_count = _actual_count ? _actual_count : 1; \
523.9       |                  ^
523.9 <scratch space>:304:1: note: expanded from here
523.9   304 | cuInfoArray_stack_count
523.9       | ^
--- snip ---
537.6 make[4]: Leaving directory '/osxcross/build/cctools-port/cctools/ld64/src/ld/parsers'
537.6 make[3]: *** [Makefile:665: all-recursive] Error 1
537.6 make[3]: Leaving directory '/osxcross/build/cctools-port/cctools/ld64/src/ld'
537.6 make[2]: *** [Makefile:382: all-recursive] Error 1
537.6 make[2]: Leaving directory '/osxcross/build/cctools-port/cctools/ld64/src'
537.6 make[1]: Leaving directory '/osxcross/build/cctools-port/cctools/ld64'
537.6 make[1]: *** [Makefile:383: all-recursive] Error 1
537.6 make: *** [Makefile:415: all-recursive] Error 1
537.6 
537.6 exiting with abnormal exit code (2)
537.6 run 'OCDEBUG=1 ./build.sh' to enable debug messages
537.6 
ERROR: process "/bin/sh -c UNATTENDED=1 ./build.sh && mkdir -p /osxcross/target/macports && echo \"https://packages.macports.org\" > /osxcross/target/macports/MIRROR" did not complete successfully: exit code: 2
------
 > [macosx-toolchain 6/6] RUN UNATTENDED=1 ./build.sh && mkdir -p /osxcross/target/macports && echo "https://packages.macports.org" > /osxcross/target/macports/MIRROR:
537.6 make[3]: Leaving directory '/osxcross/build/cctools-port/cctools/ld64/src/ld'
537.6 make[2]: *** [Makefile:382: all-recursive] Error 1
537.6 make[2]: Leaving directory '/osxcross/build/cctools-port/cctools/ld64/src'
537.6 make[1]: Leaving directory '/osxcross/build/cctools-port/cctools/ld64'
537.6 make[1]: *** [Makefile:383: all-recursive] Error 1
537.6 make: *** [Makefile:415: all-recursive] Error 1
537.6 
537.6 exiting with abnormal exit code (2)
537.6 run 'OCDEBUG=1 ./build.sh' to enable debug messages
537.6 
------
Dockerfile:75
--------------------
  74 |     WORKDIR /osxcross
  75 | >>> RUN UNATTENDED=1 ./build.sh \
  76 | >>> && mkdir -p /osxcross/target/macports \
  77 | >>> && echo "https://packages.macports.org" > /osxcross/target/macports/MIRROR
  78 |     ENV PATH="${PATH}:/osxcross/target/bin"