Hi,
I'm not sure you were notified so here's a heads-up: lang/crystal doesn't build any more after the update to clang 7 in both base and ports. build log (with unprintable characters suppressed): --8<-- ===> Cleaning for crystal-0.26.1p1 ===> crystal-0.26.1p1 depends on: llvm-=7.0.1 -> llvm-7.0.1p3 ===> crystal-0.26.1p1 depends on: llvm->=7.0.1 -> llvm-7.0.1p3 ===> crystal-0.26.1p1 depends on: gmake-* -> gmake-4.2.1p0 ===> crystal-0.26.1p1 depends on: libiconv-* -> libiconv-1.14p3 ===> crystal-0.26.1p1 depends on: boehm-gc-* -> boehm-gc-7.6.0p2 ===> crystal-0.26.1p1 depends on: libevent-* -> libevent-2.0.22p1 ===> crystal-0.26.1p1 depends on: pcre-* -> pcre-8.41p2 ===> crystal-0.26.1p1 depends on: libyaml-* -> libyaml-0.1.7 ===> Verifying specs: c++ c++abi pthread c event_core event_extra gc iconv m pcre yaml c++ c++abi pthread ===> found c++.2.1 c++abi.0.1 pthread.26.1 c.95.0 event_core.1.1 event_extra.0.1 gc.4.0 iconv.6.0 m.10.1 pcre.3.0 yaml.0.0 ===> Checking files for crystal-0.26.1p1 `/usr/ports/distfiles/crystal-0.26.1.tar.gz' is up to date. `/usr/ports/distfiles/crystal-0.26.1-OpenBSD6.4.tar.gz' is up to date. `/usr/ports/distfiles/shards-0.26.1.tar.gz' is up to date. >> (SHA256) crystal-0.26.1.tar.gz: OK >> (SHA256) crystal-0.26.1-OpenBSD6.4.tar.gz: OK >> (SHA256) shards-0.26.1.tar.gz: OK ===> Extracting for crystal-0.26.1p1 ===> Patching for crystal-0.26.1p1 ===> Compiler link: gcc -> /usr/local/bin/clang ===> Compiler link: cc -> /usr/local/bin/clang ===> Compiler link: clang -> /usr/local/bin/clang ===> Compiler link: g++ -> /usr/local/bin/clang++ ===> Compiler link: c++ -> /usr/local/bin/clang++ ===> Compiler link: clang++ -> /usr/local/bin/clang++ ===> Generating configure for crystal-0.26.1p1 ===> Configuring for crystal-0.26.1p1 ===> Building for crystal-0.26.1p1 mkdir -p /usr/ports/pobj/crystal-0.26.1/crystal-0.26.1/.build # Link the compiler from the pre-built bootstrap object cd /usr/ports/pobj/crystal-0.26.1/crystal-0.26.1 && CXX=c++ gmake llvm_ext libcrystal [33mUsing /usr/local/bin/llvm-config [version=7.0.1][0m c++ -c -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc -I/usr/local/include -O2 -pipe -fno-ret-protector -mno-retpoline -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -fno-exceptions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS [1msrc/llvm/ext/llvm_ext.cc:89:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateFunction'[0m LLVMMetadataRef LLVMDIBuilderCreateFunction( [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:277:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateFunction( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:109:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateLexicalBlock'[0m LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(DIBuilderRef Dref, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:292:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:118:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateBasicType'[0m LLVMMetadataRef LLVMDIBuilderCreateBasicType(DIBuilderRef Dref, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:536:1: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder, const char *Name, [0;1;32m^ [0m[1msrc/llvm/ext/llvm_ext.cc:130:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderGetOrCreateTypeArray'[0m LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(DIBuilderRef Dref, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:420:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder, [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:139:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderGetOrCreateArray'[0m LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(DIBuilderRef Dref, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:929:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder, [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:148:1: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateSubroutineType'[0m LLVMDIBuilderCreateSubroutineType(DIBuilderRef Dref, LLVMMetadataRef File, [0;1;32m^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:435:1: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder, [0;1;32m^ [0m[1msrc/llvm/ext/llvm_ext.cc:154:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateAutoVariable'[0m LLVMMetadataRef LLVMDIBuilderCreateAutoVariable( [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:1115:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateAutoVariable( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:176:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateParameterVariable'[0m LLVMMetadataRef LLVMDIBuilderCreateParameterVariable( [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:1133:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateParameterVariable( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:192:14: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderInsertDeclareAtEnd'[0m LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(DIBuilderRef Dref, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:1064:14: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:206:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateExpression'[0m LLVMMetadataRef LLVMDIBuilderCreateExpression(DIBuilderRef Dref, int64_t *Addr, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:940:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:211:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateEnumerationType'[0m LLVMMetadataRef LLVMDIBuilderCreateEnumerationType( [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:455:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateEnumerationType( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:230:1: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateStructType'[0m LLVMDIBuilderCreateStructType(DIBuilderRef Dref, [0;1;32m^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:573:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateStructType( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:252:1: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateReplaceableCompositeType'[0m LLVMDIBuilderCreateReplaceableCompositeType(DIBuilderRef Dref, [0;1;32m^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:793:1: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMDIBuilderCreateReplaceableCompositeType( [0;1;32m^ [0m[1msrc/llvm/ext/llvm_ext.cc:279:1: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreateMemberType'[0m LLVMDIBuilderCreateMemberType(DIBuilderRef Dref, LLVMMetadataRef Scope, [0;1;32m^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:595:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreateMemberType( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:295:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMDIBuilderCreatePointerType'[0m LLVMMetadataRef LLVMDIBuilderCreatePointerType(DIBuilderRef Dref, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:550:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMDIBuilderCreatePointerType( [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:309:17: [0m[0;1;31merror: [0m[1mconflicting types for 'LLVMTemporaryMDNode'[0m LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef C, LLVMMetadataRef *MDs, [0;1;32m ^ [0m[1m/usr/local/include/llvm-c/DebugInfo.h:991:17: [0m[0;1;30mnote: [0mprevious declaration is here[0m LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef Ctx, LLVMMetadataRef *Data, [0;1;32m ^ [0m[1msrc/llvm/ext/llvm_ext.cc:443:28: [0m[0;1;31merror: [0m[1mreference to type 'const llvm::Module' could not bind to an lvalue of type 'llvm::Module *'[0m llvm::WriteBitcodeToFile(m, OS, true, &moduleSummaryIndex, true); [0;1;32m ^ [0m[1m/usr/local/include/llvm/Bitcode/BitcodeWriter.h:129:41: [0m[0;1;30mnote: [0mpassing argument to parameter 'M' here[0m void WriteBitcodeToFile(const Module &M, raw_ostream &Out, [0;1;32m ^ [0m17 errors generated. gmake: *** [Makefile:125: src/llvm/ext/llvm_ext.o] Error 1 *** Error 2 in . (Makefile:53 'do-build') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2797 '/usr/ports/pobj/crystal-0.26.1/.build_done') *** Error 1 in /usr/ports/lang/crystal (/usr/ports/infrastructure/mk/bsd.port.mk:2467 'all') -->8-- -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE