!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

549 Members
118 Servers

Load older messages


SenderMessageTime
27 Sep 2025
@outfoxxed:outfoxxed.meoutfoxxed
				list(PREPEND CMAKE_PREFIX_PATH "${_qt_additional_host_packages_prefix_paths}")

was it really so hard

23:21:58
@outfoxxed:outfoxxed.meoutfoxxed *
list(PREPEND CMAKE_PREFIX_PATH "${_qt_additional_host_packages_prefix_paths}")

was it really so hard

23:22:04
@outfoxxed:outfoxxed.meoutfoxxedI personally prefer this to injecting _DIR variables into every package when cross compiling23:23:00
28 Sep 2025
@outfoxxed:outfoxxed.meoutfoxxedimage.png
Download image.png
00:16:20
@outfoxxed:outfoxxed.meoutfoxxedand we're green with all the _DIRs removed00:16:25
@rosssmyth:matrix.orgrosssmyth How are deps calculated w.r.t. splicing (i.e. what pkgset are they pulled from) when they are used strings? So for example if you write buildPhase = "echo '${lib.getExe foo}' >> buz.sh" or whatever, how is 02:25:33
@rosssmyth:matrix.orgrosssmyth * How are deps calculated w.r.t. splicing (i.e. what pkgset are they pulled from) when they are used strings? So for example if you write buildPhase = "echo '${lib.getExe foo}' >> buz.sh" or whatever, how is the package set calculated? Or is it? Or is it just always nataiveBuildInputs or something? 02:28:08
@outfoxxed:outfoxxed.meoutfoxxed

I haven't been able to figure out whats causing this one:

qttools> CMake Warning at /nix/store/v4fyxmxyz26vva1wj76975dsyifrv99m-qtbase-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2811 (add_library):
qttools>   Cannot generate a safe runtime search path for target QHelpEnginePlugin
qttools>   because files in some directories may conflict with libraries in implicit
qttools>   directories:
qttools>
qttools>     runtime library [libQt6Qml.so.6] in /nix/store/jyxg2klmh4ix6rgkpz8cfr21z1h6dpqn-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib may be hidden by files in:
qttools>       /nix/store/4ah1npaxxlvwgc5pfgdf5x2727na1c8x-qtdeclarative-6.9.2/lib
qttools>
qttools>   Some of these libraries may not be found correctly.
qttools> Call Stack (most recent call first):
qttools>   /nix/store/v4fyxmxyz26vva1wj76975dsyifrv99m-qtbase-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2621 (_qt_internal_add_library)
qttools>   /nix/store/v4fyxmxyz26vva1wj76975dsyifrv99m-qtbase-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6/QtPluginHelpers.cmake:95 (qt6_add_plugin)
qttools>   src/assistant/plugins/help/CMakeLists.txt:4 (qt_internal_add_plugin)

qttools is picking up the host qtdeclarative from somewhere and failing to link to it.
Its not find_package because the debug logs for that are all right

CMake Debug Log at /nix/store/a94d5zmalqava26y3hqsnj5l11l5kl5y-cmake-3.31.7/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  The internally managed CMAKE_FIND_PACKAGE_REDIRECTS_DIR.

    /home/admin/programming/outfoxxed/milkv/tmp/qttools-everywhere-src-6.9.2/build/CMakeFiles/pkgRedirects

  Paths specified by the find_package HINTS option.

    none

  Paths specified by the find_package PATHS option.

    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake
    /home/admin/programming/outfoxxed/milkv/tmp/qtbaseout/lib/cmake
    /nix/store/wkdwl1hzw4ydd8v9aj3l2xxw8hpxw2xq-libxml2-riscv64-unknown-linux-gnu-2.14.5-dev/lib/cmake
    /nix/store/4ymgv032xpvnzarmgv0n237aydn81jga-libxslt-riscv64-unknown-linux-gnu-1.1.43-dev/lib/cmake
    /nix/store/khxglpc0j3m3aml4fdz3y0z1wh8gk93z-vulkan-loader-riscv64-unknown-linux-gnu-1.4.321.0-dev/lib/cmake
    /nix/store/mn4gjpqli60i53lxzbykrcjn68lip9gp-harfbuzz-riscv64-unknown-linux-gnu-11.2.1-dev/lib/cmake
    /nix/store/fgyl255rhjdrnwjg1l44753k90za21a8-libjpeg-turbo-riscv64-unknown-linux-gnu-3.1.1-dev/lib/cmake
    /nix/store/jbzv29ydmivmcnv3lgd419app7c698ly-zstd-riscv64-unknown-linux-gnu-1.5.7-dev/lib/cmake
    /nix/store/jhcfij3b2f7v3ppshs5qv3350wawnwqr-md4c-riscv64-unknown-linux-gnu-0.5.2-dev/lib/cmake
    /nix/store/8bxas9svdd1ry82h8ksd43pgdvhak77v-double-conversion-riscv64-unknown-linux-gnu-3.3.1/lib/cmake
    /nix/store/0r52mlbzgvkcqx98llq3dn0dp7gxs9cx-dbus-riscv64-unknown-linux-gnu-1.14.10-dev/lib/cmake
    /nix/store/wi40mjk22jkwl3qnl6ll39cl6gghqw7f-expat-riscv64-unknown-linux-gnu-2.7.1-dev/lib/cmake
    /nix/store/kay9r1bs569lv9b6bzdipvr9z3971kjs-qtbase-riscv64-unknown-linux-gnu-6.9.2/lib/cmake
    /nix/store/8dv1lhrs4j84dczqyigzn8h8mij8ki20-qtlanguageserver-riscv64-unknown-linux-gnu-6.9.2/lib/cmake
    /nix/store/d922kjqhlda1qxrdsf6l2xxdc1a5f86h-qtshadertools-riscv64-unknown-linux-gnu-6.9.2/lib/cmake
    /nix/store/bk9cfbyqpq3fdlvwjlpnsw9iwald78db-qtsvg-riscv64-unknown-linux-gnu-6.9.2/lib/cmake

  find_package considered the following locations for Qt6Qml's Config module:

    /home/admin/programming/outfoxxed/milkv/tmp/qttools-everywhere-src-6.9.2/build/CMakeFiles/pkgRedirects/Qt6QmlConfig.cmake
    /home/admin/programming/outfoxxed/milkv/tmp/qttools-everywhere-src-6.9.2/build/CMakeFiles/pkgRedirects/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlModelsPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlModelsPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlXmlListModelPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlXmlListModelPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlAssetDownloader/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlAssetDownloader/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlToolingSettingsPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlToolingSettingsPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlCompiler/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlCompiler/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlCorePrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlCorePrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlTypeRegistrarPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlTypeRegistrarPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlIntegration/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlIntegration/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlNetworkPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlNetworkPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlNetwork/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlNetwork/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlWorkerScriptPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlWorkerScriptPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlFormatPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlFormatPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlModels/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlModels/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlLocalStorage/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlLocalStorage/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlMetaPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlMetaPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlMeta/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlMeta/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlXmlListModel/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlXmlListModel/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlCompilerPrivate/Qt6QmlConfig.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6QmlCompilerPrivate/qt6qml-config.cmake
    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake

  The file was found at

    /nix/store/i1vkid27p6xdfdcqvkh948cnvqspzm5x-qtdeclarative-riscv64-unknown-linux-gnu-6.9.2/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake
03:06:39
@outfoxxed:outfoxxed.meoutfoxxedfixed the above, qt disables a bunch of outputs when it detects you're cross compiling, presumably for embedded targets, which makes other packages not build04:44:37
@outfoxxed:outfoxxed.meoutfoxxedPython packages that run c compilers seem to break weirdly even in pkgsBuildBuild, is there a way around that?07:10:10
29 Sep 2025
@matthewcroughan:defenestrate.itmatthewcroughangit/gitMinimal is a thing that usually fails tests every now on musl/llvm, weird isn't it?13:07:44
@matthewcroughan:defenestrate.itmatthewcroughanI wonder why this happens13:07:48
@matthewcroughan:defenestrate.itmatthewcroughan

For example

t4204-patch-id.sh .................................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/26 subtests
13:07:57
@qyliss:fairydust.spaceAlyssa RossIt happens on x86_64 glibc too13:09:22
@qyliss:fairydust.spaceAlyssa RossAt least some git tests are flaky13:09:34
@matthewcroughan:defenestrate.itmatthewcroughanOh right so just a general failure13:09:38
@matthewcroughan:defenestrate.itmatthewcroughanI didn't check that actually yeah 13:09:45
@matthewcroughan:defenestrate.itmatthewcroughanI'm making flakes with CI right now to track some of this stuff13:09:57
@matthewcroughan:defenestrate.itmatthewcroughanyeah it just looks like flakiness13:10:53
@matthewcroughan:defenestrate.itmatthewcroughanmaybe that can somehow be reduced by reducing parallelism13:11:00
@matthewcroughan:defenestrate.itmatthewcroughan
error: Cannot build '/nix/store/n5bnwbw7wh2l4bk6y7arl70fghgk2ri7-python3.13-fb-re2-1.0.7.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/2sc10vh6wjylr4nk8rd9kylglg0i6nsd-python3.13-fb-re2-1.0.7
         /nix/store/gphgdcysf9yv6sliimd8hqb6p20vr812-python3.13-fb-re2-1.0.7-dist
       Last 25 log lines:
       > running bdist_wheel
       > running build
       > running build_py
       > creating build/lib.linux-aarch64-cpython-313
       > copying re2.py -> build/lib.linux-aarch64-cpython-313
       > running build_ext
       > building '_re2' extension
       > creating build/temp.linux-aarch64-cpython-313
       > g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/nix/store/b187n72n9xglqyypj0f9nyhm9xhi3abz-python3-3.13.7/include/python3.13 -c _re2.cc -o build/temp.linux-aarch64-cpython-313/_re2.o -std=c++17
       > _re2.cc:252:1: error: cannot convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
       >   252 | };
       >       | ^
       > _re2.cc:296:1: error: cannot convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
       >   296 | };
       >       | ^
       > _re2.cc:340:1: error: cannot convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
       >   340 | };
       >       | ^
13:56:26
@matthewcroughan:defenestrate.itmatthewcroughannew issue13:56:28
@piroko:pintobyte.comjeremy joined the room.20:44:23
@lt1379:matrix.orgLun joined the room.20:55:30
30 Sep 2025
@niklas.foerster:scs.ems.hostNiklas Förster changed their display name from Niklas Förster (vacation until 29.09.) to Niklas Förster.07:50:15
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) joined the room.16:05:09
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) 16:06:50
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) left the room.18:24:05
1 Oct 2025
@qyriad:katesiria.orgQyriad left the room.12:22:18
@truelle_trash_queen:matrix.orgTheodora The Absurdist Schizotisticoball joined the room.13:48:42

Show newer messages


Back to Room ListRoom Version: 6