Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: qt6.qtwebengine (darwin) #244151

Closed
wegank opened this issue Jul 18, 2023 · 5 comments
Closed

Build failure: qt6.qtwebengine (darwin) #244151

wegank opened this issue Jul 18, 2023 · 5 comments
Labels
0.kind: build failure A package fails to build 6.topic: darwin Running or building packages on Darwin

Comments

@wegank
Copy link
Member

wegank commented Jul 18, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. build qt6.qtwebengine

Build log

[310/425] Linking CXX shared library lib/QtWebEngineCore.framework/Versions/A/QtWebEngineCore
FAILED: lib/QtWebEngineCore.framework/Versions/A/QtWebEngineCore 
: && /nix/store/ffp3jwvc57s22fx1vx00nwh8ca6spw6k-clang-wrapper-14.0.6/bin/clang++ -DNDEBUG -O2 -mmacosx-version-min=11.0 -dynamiclib -Wl,-headerpad_max_install_names -Wl,-undefined,error @/nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/QtWebEngineCore_objects.rsp @/nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/QtWebEngineCore_archives.rsp @/nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/QtWebEngineCore_libs.rsp -fapplication-extension -compatibility_version 6.0.0 -current_version 6.5.1 -o lib/QtWebEngineCore.framework/Versions/A/QtWebEngineCore -install_name @rpath/QtWebEngineCore.framework/Versions/A/QtWebEngineCore 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/qwebenginecontextmenurequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.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/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/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/qwebengineurlrequestjob.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o -F/nix/store/nki9g2sch1jdmv4bc35lz822bk11qijm-qtdeclarative-6.5.1/lib -F/nix/store/g80lmvcb647nfwmmz21zqgw4fvk88dda-qtbase-6.5.1/lib -F/nix/store/rjfyj1sjfrgzwi6qabvdw93bwgyaq6jb-qtwebchannel-6.5.1/lib -F/nix/store/qk376fn6dayy1y0bb762k1bf80596lbi-qtpositioning-6.5.1/lib /nix/store/nki9g2sch1jdmv4bc35lz822bk11qijm-qtdeclarative-6.5.1/lib/QtQuick.framework/Versions/A/QtQuick  /nix/store/g80lmvcb647nfwmmz21zqgw4fvk88dda-qtbase-6.5.1/lib/QtOpenGL.framework/Versions/A/QtOpenGL  /nix/store/g80lmvcb647nfwmmz21zqgw4fvk88dda-qtbase-6.5.1/lib/QtGui.framework/Versions/A/QtGui  -Xlinker -framework -Xlinker OpenGL  -Xlinker -framework -Xlinker AGL  -framework AppKit  -framework ImageIO  -framework Metal  /nix/store/g80lmvcb647nfwmmz21zqgw4fvk88dda-qtbase-6.5.1/lib/QtDBus.framework/Versions/A/QtDBus  /nix/store/nki9g2sch1jdmv4bc35lz822bk11qijm-qtdeclarative-6.5.1/lib/QtQmlModels.framework/Versions/A/QtQmlModels  /nix/store/rjfyj1sjfrgzwi6qabvdw93bwgyaq6jb-qtwebchannel-6.5.1/lib/QtWebChannel.framework/Versions/A/QtWebChannel  /nix/store/nki9g2sch1jdmv4bc35lz822bk11qijm-qtdeclarative-6.5.1/lib/QtQml.framework/Versions/A/QtQml  /nix/store/g80lmvcb647nfwmmz21zqgw4fvk88dda-qtbase-6.5.1/lib/QtNetwork.framework/Versions/A/QtNetwork  /nix/store/qk376fn6dayy1y0bb762k1bf80596lbi-qtpositioning-6.5.1/lib/QtPositioning.framework/Versions/A/QtPositioning  /nix/store/g80lmvcb647nfwmmz21zqgw4fvk88dda-qtbase-6.5.1/lib/QtCore.framework/Versions/A/QtCore  -framework IOKit  -framework DiskArbitration && cd /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/api && /nix/store/casw5n20ai2y8g97kphbax772zrmryl1-cmake-3.26.4/bin/cmake -E make_directory /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/lib/QtWebEngineCore.framework/Versions/A/Resources/qtwebengine_locales/ && /nix/store/casw5n20ai2y8g97kphbax772zrmryl1-cmake-3.26.4/bin/cmake -E copy /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/am.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ar.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/bg.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/bn.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ca.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/cs.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/da.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/de.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/el.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/en-GB.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/en-US.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/es-419.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/es.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/et.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/fa.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/fi.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/fil.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/fr.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/gu.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/he.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/hi.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/hr.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/hu.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/id.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/it.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ja.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/kn.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ko.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/lt.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/lv.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ml.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/mr.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ms.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/nb.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/nl.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/pl.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/pt-BR.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/pt-PT.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ro.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ru.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/sk.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/sl.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/sr.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/sv.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/sw.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/ta.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/te.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/th.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/tr.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/uk.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/vi.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/zh-CN.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_locales/zh-TW.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/lib/QtWebEngineCore.framework/Versions/A/Resources/qtwebengine_locales/ && cd /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/api && /nix/store/casw5n20ai2y8g97kphbax772zrmryl1-cmake-3.26.4/bin/cmake -E make_directory /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/lib/QtWebEngineCore.framework/Versions/A/Resources/ && /nix/store/casw5n20ai2y8g97kphbax772zrmryl1-cmake-3.26.4/bin/cmake -E copy /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_resources.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_resources_100p.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_resources_200p.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/src/core/Release/arm64/qtwebengine_devtools_resources.pak /nix/store/l3shbizfdl6qh5y868rz6wlyixzzz6p7-qtwebengine-6.5.1/.build/qtwebengine-everywhere-src-6.5.1/build/lib/QtWebEngineCore.framework/Versions/A/Resources/
/nix/store/ffp3jwvc57s22fx1vx00nwh8ca6spw6k-clang-wrapper-14.0.6/bin/clang++: line 254: /nix/store/1zlrx7k71szs08cfl9cpjlwpw2lzy5fz-clang-14.0.6/bin/clang++: Argument list too long

Additional context

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 22.5.0, macOS 13.4.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.15.1`
 - channels(user): `"darwin, home-manager, nixpkgs, nur-packages"`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/Users/user/.nix-defexpr/channels/nixpkgs`
@wegank wegank added 0.kind: build failure A package fails to build 6.topic: darwin Running or building packages on Darwin labels Jul 18, 2023
@emilytrau
Copy link
Member

Could this be related to #239331? I attempted a test with reverting e0d2053 and letting the rebuild run overnight but failed on an unrelated glib build error.

@pwaller
Copy link
Contributor

pwaller commented Aug 2, 2023

Could this be related to #239331? I attempted a test with reverting e0d2053 and letting the rebuild run overnight but failed on an unrelated glib build error.

From inspection of the change in #239331, I don't think so? The error message in this issue is:

/nix/store/ffp3jwvc57s22fx1vx00nwh8ca6spw6k-clang-wrapper-14.0.6/bin/clang++: line 254: /nix/store/1zlrx7k71szs08cfl9cpjlwpw2lzy5fz-clang-14.0.6/bin/clang++: Argument list too long

However, the changes in #239331 only change the variable expansion used to test for the presence of a string with =~, which works fine without invoking an external process:

$ FOO=( {00000..140000} )

$ /run/current-system/sw/bin/echo "${FOO[@]}" > /dev/null
bash: /run/current-system/sw/bin/echo: Argument list too long


$ [[ " ${FOO[*]} " =~ " 010000 " ]] && echo true || echo false
true

Also, looking at the reported issue, it's failing on quite a short argument list, it's only 14k bytes long, though it does look truncated.

@wegank
Copy link
Member Author

wegank commented Aug 2, 2023

#245640 (comment) has been merged into staging.

@Endle
Copy link
Contributor

Endle commented Oct 10, 2023

When trying to install qt5 NIXPKGS_ALLOW_INSECURE=1 nix-shell -p qt5Full on mac, I hit such issue

       error: Package ‘qtwebengine-5.15.14’ in /nix/store/nnmkxf1vk9280k0jkxhgzysi0lxzxnhl-source/pkgs/development/libraries/qt-5/modules/qtwebengine.nix:236 is marked as broken, refusing to evaluate.
 - system: `"x86_64-darwin"`
 - host os: `Darwin 21.6.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/store/nnmkxf1vk9280k0jkxhgzysi0lxzxnhl-source`

Is this the same issue or a separate one?

@wegank
Copy link
Member Author

wegank commented Oct 10, 2023

Oh, I should have closed this long ago. There's another issue (#183383) dedicated to qt5.qtwebengine.

@wegank wegank closed this as completed Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

4 participants