dlang / ddox

Advanced D documentation engine
MIT License
62 stars 20 forks source link

linker error in github actions with macos-11, ldc-1.27.1 #247

Open WebFreak001 opened 9 months ago

WebFreak001 commented 9 months ago
2023-11-15T12:41:01.7167040Z ddox is not present, getting and storing it user wide
2023-11-15T12:41:02.3751330Z Fetching ddox 0.16.22...
2023-11-15T12:41:02.9807300Z Fetching vibe-core 2.2.0 (getting selected version)...
2023-11-15T12:41:03.3867680Z Fetching memutils 1.0.9 (getting selected version)...
2023-11-15T12:41:03.8532720Z Fetching taggedalgebraic 0.11.22 (getting selected version)...
2023-11-15T12:41:04.2943080Z Fetching vibe-d 0.9.6 (getting selected version)...
2023-11-15T12:41:05.5297040Z Fetching libdparse 0.15.4 (getting selected version)...
2023-11-15T12:41:06.1026490Z Fetching stdx-allocator 2.77.5 (getting selected version)...
2023-11-15T12:41:06.7177150Z Fetching diet-ng 1.8.1 (getting selected version)...
2023-11-15T12:41:07.1991910Z Fetching openssl 3.3.0 (getting selected version)...
2023-11-15T12:41:08.1321700Z Fetching hyphenate 1.1.4 (getting selected version)...
2023-11-15T12:41:09.7406440Z Fetching eventcore 0.9.25 (getting selected version)...
2023-11-15T12:41:11.2343480Z Fetching mir-linux-kernel 1.0.1 (getting selected version)...
2023-11-15T12:41:11.7005460Z Fetching libasync 0.8.6 (getting selected version)...
2023-11-15T12:41:12.1684120Z Fetching openssl-static 1.0.2+3.0.8 (getting selected version)...
2023-11-15T12:41:13.9121840Z Running pre-generate commands for openssl...
2023-11-15T12:41:18.7808950Z Performing "debug" build using /Users/runner/hostedtoolcache/dc/ldc2-1.27.1/x64/ldc2-1.27.1-osx-x86_64/bin/ldc2 for x86_64.
2023-11-15T12:41:18.7813360Z hyphenate 1.1.4: building configuration "library"...
2023-11-15T12:41:19.9768750Z stdx-allocator 2.77.5: building configuration "library"...
2023-11-15T12:41:20.3535390Z libdparse 0.15.4: building configuration "library"...
2023-11-15T12:41:26.3914190Z diet-ng 1.8.1: building configuration "library"...
2023-11-15T12:41:28.5352920Z mir-linux-kernel 1.0.1: building configuration "library"...
2023-11-15T12:41:28.6044960Z taggedalgebraic 0.11.22: building configuration "library"...
2023-11-15T12:41:28.6936950Z eventcore 0.9.25: building configuration "cfrunloop"...
2023-11-15T12:41:29.1938320Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(KqueueEventLoop, PosixEventDriverSockets!(KqueueEventLoop)), PosixEventDriverCore!(KqueueEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(KqueueEventLoop, PosixEventDriverSockets!(KqueueEventLoop)), PosixEventDriverProcesses!(KqueueEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:29.2000910Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:29.2051960Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(SelectEventLoop, PosixEventDriverSockets!(SelectEventLoop)), PosixEventDriverCore!(SelectEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(SelectEventLoop, PosixEventDriverSockets!(SelectEventLoop)), PosixEventDriverProcesses!(SelectEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:33.8592470Z vibe-core 2.2.0: building configuration "cfrunloop"...
2023-11-15T12:41:34.4006930Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:41.5230390Z vibe-d:crypto 0.9.6: building configuration "library"...
2023-11-15T12:41:41.8240190Z vibe-d:utils 0.9.6: building configuration "library"...
2023-11-15T12:41:43.0472800Z vibe-d:data 0.9.6: building configuration "library"...
2023-11-15T12:41:46.0056360Z vibe-d:stream 0.9.6: building configuration "library"...
2023-11-15T12:41:46.5800520Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:47.7279740Z vibe-d:textfilter 0.9.6: building configuration "library"...
2023-11-15T12:41:48.2454710Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:48.9848400Z vibe-d:inet 0.9.6: building configuration "library"...
2023-11-15T12:41:49.5235480Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:51.5967200Z vibe-d:tls 0.9.6: building configuration "openssl"...
2023-11-15T12:41:52.1600290Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:41:56.0254830Z vibe-d:http 0.9.6: building configuration "library"...
2023-11-15T12:41:56.6031420Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:42:09.4241460Z vibe-d:web 0.9.6: building configuration "library"...
2023-11-15T12:42:10.0011180Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:42:12.0140470Z ddox 0.16.22: building configuration "application"...
2023-11-15T12:42:12.7173140Z ../../../.dub/packages/eventcore-0.9.25/eventcore/source/eventcore/drivers/threadedfile.d(156,24): Deprecation: `eventcore.drivers.threadedfile.ThreadedFileEventDriver!(PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverCore!(CFRunLoopEventLoop, LoopTimeoutTimerDriver, PosixEventDriverEvents!(CFRunLoopEventLoop, PosixEventDriverSockets!(CFRunLoopEventLoop)), PosixEventDriverProcesses!(CFRunLoopEventLoop))).ThreadedFileEventDriver.open` cannot be marked as `deprecated` because it is overriding a function in the base class
2023-11-15T12:42:13.8608650Z Compiling Diet HTML template ddox.module.dt...
2023-11-15T12:42:14.4277900Z Compiling Diet HTML template ddox.module.dt...
2023-11-15T12:42:14.8206690Z Compiling Diet HTML template ddox.docpage.dt...
2023-11-15T12:42:15.4945870Z Compiling Diet HTML template ddox.docpage.dt...
2023-11-15T12:42:16.0872100Z Compiling Diet HTML template ddox.overview.dt...
2023-11-15T12:42:16.2709620Z Compiling Diet HTML template ddox.overview.dt...
2023-11-15T12:42:16.9982260Z Compiling Diet HTML template ddox.search-results.dt...
2023-11-15T12:42:17.4293910Z ../../../.dub/packages/ddox-0.16.22/ddox/source/ddox/main.d(196,20): Deprecation: enum member `vibe.data.json.Json.Type.Object` is deprecated - Use `object` instead.
2023-11-15T12:42:17.4297920Z ../../../.dub/packages/ddox-0.16.22/ddox/source/ddox/main.d(199,24): Deprecation: enum member `vibe.data.json.Json.Type.Object` is deprecated - Use `object` instead.
2023-11-15T12:42:17.4785490Z ../../../.dub/packages/ddox-0.16.22/ddox/source/ddox/main.d(243,27): Deprecation: enum member `vibe.data.json.Json.Type.Array` is deprecated - Use `array` instead.
2023-11-15T12:42:17.7793530Z ../../../.dub/packages/ddox-0.16.22/ddox/source/ddox/parsers/jsonparser.d(144,20): Deprecation: enum member `vibe.data.json.Json.Type.Undefined` is deprecated - Use `undefined` instead.
2023-11-15T12:42:17.7910440Z ../../../.dub/packages/ddox-0.16.22/ddox/source/ddox/parsers/jsonparser.d(351,20): Deprecation: enum member `vibe.data.json.Json.Type.Undefined` is deprecated - Use `undefined` instead.
2023-11-15T12:42:17.7914120Z ../../../.dub/packages/ddox-0.16.22/ddox/source/ddox/parsers/jsonparser.d(354,27): Deprecation: enum member `vibe.data.json.Json.Type.String` is deprecated - Use `string` instead.
2023-11-15T12:42:26.8887370Z Linking...
2023-11-15T12:42:27.3763900Z Undefined symbols for architecture x86_64:
2023-11-15T12:42:27.3764520Z   "_ERR_new", referenced from:
2023-11-15T12:42:27.3795500Z       __D4vibe6stream7openssl11setSSLErrorFNbNeAyaQdiQgZv in libvibe-d_tls.a(vibe.stream.openssl.o)
2023-11-15T12:42:27.4016450Z   "_ERR_set_debug", referenced from:
2023-11-15T12:42:27.4047470Z       __D4vibe6stream7openssl11setSSLErrorFNbNeAyaQdiQgZv in libvibe-d_tls.a(vibe.stream.openssl.o)
2023-11-15T12:42:27.4271640Z   "_ERR_set_error", referenced from:
2023-11-15T12:42:27.4303410Z       __D4vibe6stream7openssl11setSSLErrorFNbNeAyaQdiQgZv in libvibe-d_tls.a(vibe.stream.openssl.o)
2023-11-15T12:42:27.4527070Z   "_SSL_get1_peer_certificate", referenced from:
2023-11-15T12:42:27.4558970Z       __D4vibe6stream7openssl13OpenSSLStream6__ctorMFNfSQBv8internal14interfaceproxy__T14InterfaceProxyTCQDs4coreQDv6StreamZQBlCQEpQEnQEj14OpenSSLContextEQFpQFn3tls14TLSStreamStateAyaSQGtQDb3net14NetworkAddressAQBfZ10__lambda18MFNbNeZPS6deimosQIo5types7x509_st in libvibe-d_tls.a(vibe.stream.openssl.o)
2023-11-15T12:42:27.5010460Z ld: symbol(s) not found for architecture x86_64
2023-11-15T12:42:27.5067740Z clang: error: linker command failed with exit code 1 (use -v to see invocation)
2023-11-15T12:42:27.5076890Z Error: /usr/bin/cc failed with status: 1
2023-11-15T12:42:27.5095550Z /Users/runner/hostedtoolcache/dc/ldc2-1.27.1/x64/ldc2-1.27.1-osx-x86_64/bin/ldc2 failed with exit code 1.
2023-11-15T12:42:27.5290230Z ##[error]Process completed with exit code 2.

actions run: https://github.com/dlang-community/containers/actions/runs/6877402488/job/18704950266?pr=201#logs

openssl should not even be needed in ddox, right? Could we just set the notls config on the vibe ssl module?