18 Oct 2024 |
hexa | breathe is for docs, so you wouldn't notice any audio issues anyway 😄 | 16:09:59 |
K900 | Hey I can't hear my docs anymore | 16:11:08 |
Fabián Heredia | :v oh nvm then | 16:12:22 |
Marcus | oh danny boy, the docs, the docs are calling | 16:13:04 |
Randy Eckenrode | In reply to @emilazy:matrix.org that'll rebuild the rest of Qt but it'll be simpler than overriding it just for qtwebengine for testing Qt 5 has a way of doing this to let Qt WebEngine build with a different SDK. | 21:27:05 |
Randy Eckenrode | As an example. | 21:27:14 |
Marcus | In reply to @emilazy:matrix.org Marcus: can you try replacing apple-sdk_15 with apple-sdk_14 in the Qt directory? https://gist.github.com/marcusramberg/652345fe9c32b880137370367d1cde80 | 22:54:42 |
19 Oct 2024 |
emily | In reply to @marcusramberg:matrix.org https://gist.github.com/marcusramberg/652345fe9c32b880137370367d1cde80 looks like the same error? | 05:31:21 |
emily | to be honest the error baffles me a bit | 05:31:43 |
emily | ohh. I wonder if it wants a newer Clang?! | 05:31:51 |
emily | can you try making the WebEngine build use llvmPackages_19.stdenv ? or even just 18? | 05:32:08 |
emily | compiler-rt
clang-16: error: invalid argument '-mmacos-version-min=11.0' not allowed with '-miphoneos-version-min=6.0'
🤔
| 06:02:39 |
emily | clang-16: error: no such file or directory: 'unable'
clang-16: error: no such file or directory: 'to'
clang-16: error: no such file or directory: 'find'
clang-16: error: no such file or directory: 'sdk:'
clang-16: error: no such file or directory: 'iphoneos'
clang-16: warning: no such sysroot directory: 'error:' [-Wmissing-sysroot]
| 06:02:53 |
emily | 🤔 🤔 🤔 | 06:02:55 |
oliver.falvai | Same vibes | 07:12:10 |
oliver.falvai | Download image.png | 07:12:10 |
emily | will look into compiler-rt laterâ„¢ | 07:15:56 |
emily | though it's LLVM 12 so uhhh | 07:16:00 |
emily | maybe it can just stay broken actually | 07:16:04 |
Randy Eckenrode | compiler-rt 12 is trying to invoke xcrun , failing, then getting very confused about it. You need to set some extra CMake to force it to build for macOS. | 17:14:47 |
Randy Eckenrode | It also hates the wrapped clang that always sets the macOS min version even when targeting other Darwin platforms. | 17:16:24 |
Randy Eckenrode | If you can suppress whatever SDK check it’s doing, compiler-rt should build. | 17:17:56 |
Fabián Heredia | on latest staging-next qtwebengine 6.8.0 is failing to build for me with the following message | 19:13:45 |
Fabián Heredia | > [153/285] Linking CXX shared library lib/libQt6WebEngineCore.so.6.8.0
> FAILED: lib/libQt6WebEngineCore.so.6.8.0
> : && /nix/store/hgw57m0jh2w10jsv8x86ng267pm5sla8-gcc-wrapper-13.3.0/bin/g++ -fPIC -DNDEBUG -O2 -Wl,-Bsymbolic-functions -Wl,--no-undefined -Wl,--version-script,/build/qtwebengine-everywhere-src-6.8.0/build/src/core/api/WebEngineCore.version @/build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/QtWebEngineCore_objects.rsp -Wl,--gc-sections -Wl,-z,relro,-z,now -Wl,--enable-new-dtags -shared -Wl,-soname,libQt6WebEngineCore.so.6 -o lib/libQt6WebEngineCore.so.6.8.0 src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qtwebenginecoreglobal.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclienthints.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedesktopmediarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefindtextresult.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineframe.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefullscreenrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehistory.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehttprequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineloadinginfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginemessagepumpscheduler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenavigationrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenewwindowrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenotification.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepermission.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineregisterprotocolhandlerrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescript.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinterceptor.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineglobalsettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginewebauthuxrequest.cpp.o -Wl,-rpath,::::::: /nix/store/0zyyvjbzbjm485yrf3w2ci8cbbfzcvbp-qtwebchannel-6.8.0/lib/libQt6WebChannel.so.6.8.0 /nix/store/pkhd7b0m4raybz0677m8j5ikdrc9p0fq-qtpositioning-6.8.0/lib/libQt6Positioning.so.6.8.0 -Wl,--start-group @/build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/QtWebEngineCore_archives.rsp -Wl,--end-group -Wl,--no-fatal-warnings @/build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/QtWebEngineCore_ldir.rsp @/build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/QtWebEngineCore_libs.rsp -Wl,--no-fatal-warnings /nix/store/1jx40qjsv7f7av5d1lgacy3vhkng34w8-qtdeclarative-6.8.0/lib/libQt6Quick.so.6.8.0 /nix/store/6h91aclb6w17s66061ah10kdv2pgbc44-qtbase-6.8.0/lib/libQt6OpenGL.so.6.8.0 /nix/store/6h91aclb6w17s66061ah10kdv2pgbc44-qtbase-6.8.0/lib/libQt6Gui.so.6.8.0 /nix/store/hinb0m8if8ic0dgm4h6dr2x3yk1f0qcr-libglvnd-1.7.0/lib/libGLX.so /nix/store/hinb0m8if8ic0dgm4h6dr2x3yk1f0qcr-libglvnd-1.7.0/lib/libOpenGL.so /nix/store/plc649w1wgw59ag1x20j5xacf32li398-libxkbcommon-1.7.0/lib/libxkbcommon.so /nix/store/1jx40qjsv7f7av5d1lgacy3vhkng34w8-qtdeclarative-6.8.0/lib/libQt6QmlMeta.so.6.8.0 /nix/store/1jx40qjsv7f7av5d1lgacy3vhkng34w8-qtdeclarative-6.8.0/lib/libQt6QmlModels.so.6.8.0 /nix/store/1jx40qjsv7f7av5d1lgacy3vhkng34w8-qtdeclarative-6.8.0/lib/libQt6QmlWorkerScript.so.6.8.0 /nix/store/1jx40qjsv7f7av5d1lgacy3vhkng34w8-qtdeclarative-6.8.0/lib/libQt6Qml.so.6.8.0 /nix/store/6h91aclb6w17s66061ah10kdv2pgbc44-qtbase-6.8.0/lib/libQt6Network.so.6.8.0 /nix/store/6h91aclb6w17s66061ah10kdv2pgbc44-qtbase-6.8.0/lib/libQt6Core.so.6.8.0 && :
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_info+0x2c6272): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x183): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x81e): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x168c): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x2ca1): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x2cab): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x2cdc): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x2ef5): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x4e9b): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x4ebe): relocation truncated to fit: R_X86_64_32 against `.debug_info'
> /build/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/x86_64/obj/third_party/blink/renderer/core/core/core_jumbo_226.o:(.debug_loclists+0x4eff): additional relocation overflows omitted from the output
> collect2: error: ld returned 1 exit status
> ninja: build stopped: subcommand failed.
| 19:13:51 |
Fabián Heredia | though unsure on what changed, was able to build that 3 days ago when the cycle was starting :s | 19:15:06 |
Fabián Heredia | and it is a bit on the way longer time to compile to bisect | 19:15:20 |
K900 | That sounds like it could be OOM | 19:16:37 |
Fabián Heredia | no OOM in dmesg | 19:17:15 |
Fabián Heredia | [ 193.348221] input: WH-1000XM5 (AVRCP) as /devices/virtual/input/input25
[ 193.412942] hid-generic 0005:054C:0DF0.0009: unknown main item tag 0x0
[ 193.413016] hid-generic 0005:054C:0DF0.0009: hidraw8: BLUETOOTH HID v2.10 Device [WH-1000XM5] on 5c:87:9c:88:03:6e
[ 193.420312] hid-sensor-hub 0005:054C:0DF0.0009: unknown main item tag 0x0
[ 193.420628] hid-sensor-hub 0005:054C:0DF0.0009: hidraw8: BLUETOOTH HID v2.10 Device [WH-1000XM5] on 5c:87:9c:88:03:6e
[ 631.921297] warning: `Socket Thread' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
fabian@fabian-desktop ~/D/O/nixpkgs>
| 19:17:27 |
Fabián Heredia | no oom in journalctl either | 19:18:17 |