Skip to content

{libubox,ustream-ssl,ubus,uci,uclient,ucode,uqmi,udebug}: upgrade, fix build with cmake 4#452993

Merged
mkg20001 merged 10 commits intoNixOS:masterfrom
ofalvai:push-rnvukkkptmuq
Oct 18, 2025
Merged

{libubox,ustream-ssl,ubus,uci,uclient,ucode,uqmi,udebug}: upgrade, fix build with cmake 4#452993
mkg20001 merged 10 commits intoNixOS:masterfrom
ofalvai:push-rnvukkkptmuq

Conversation

@ofalvai
Copy link
Contributor

@ofalvai ofalvai commented Oct 17, 2025

Tracking issue: #445447

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Oct 17, 2025
@nix-owners nix-owners bot requested review from dvn0, fpletz and mkg20001 October 17, 2025 17:30
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 17, 2025
@ofalvai ofalvai changed the title {libubox,ustream-ssl}: upgrade, fix build with cmake 4 {libubox,ustream-ssl,ubus,uci,uclient,ucode,uqmi}: upgrade, fix build with cmake 4 Oct 17, 2025
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. and removed 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Oct 17, 2025
@ofalvai ofalvai changed the title {libubox,ustream-ssl,ubus,uci,uclient,ucode,uqmi}: upgrade, fix build with cmake 4 {libubox,ustream-ssl,ubus,uci,uclient,ucode,uqmi,udebug}: upgrade, fix build with cmake 4 Oct 17, 2025
@ofalvai
Copy link
Contributor Author

ofalvai commented Oct 17, 2025

netifd is not as simple as a source update, I'm getting weird header errors after the update.

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 452993
Commit: a7754ab65da04f70a03ed615fa50ee7078423dce


aarch64-linux

⏩ 2 packages marked as broken and skipped:
  • libubox-mbedtls
  • ustream-ssl-mbedtls
❌ 1 package failed to build:
  • netifd
✅ 10 packages built:
  • libubox
  • libubox-nossl
  • libubox-wolfssl
  • ubus
  • uci
  • uclient
  • udebug
  • uqmi
  • ustream-ssl
  • ustream-ssl-wolfssl

aarch64-darwin

⏩ 2 packages marked as broken and skipped:
  • libubox-mbedtls
  • ustream-ssl-mbedtls
✅ 11 packages built:
  • libubox
  • libubox-nossl
  • libubox-wolfssl
  • ubus
  • uci
  • uclient
  • ucode
  • udebug
  • uqmi
  • ustream-ssl
  • ustream-ssl-wolfssl

Error logs: `aarch64-linux`
netifd
unpacking source archive /nix/store/6nafcwwshv47vdfqvvzmbvl798bramp7-netifd-02bc2e1
source root is netifd-02bc2e1
Running phase: patchPhase
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix {"action":"setPhase","phase":"updateAutotoolsGnuConfigScriptsPhase"}
Running phase: configurePhase
@nix {"action":"setPhase","phase":"configurePhase"}
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/share/doc/netifd -DCMAKE_INSTALL_INFODIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/include -DCMAKE_INSTALL_SBINDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/frxwlync78r3l94863r2cbnz7ngy273j-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/frxwlync78r3l94863r2cbnz7ngy273j-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/frxwlync78r3l94863r2cbnz7ngy273j-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/h0zpb0ych20196f49rgw40vl2b9vz34f-netifd-unstable-2023-11-27
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!

@mkg20001
Copy link
Member

mkg20001 commented Oct 18, 2025

See #449515 for cmake

You can open another pr for netifd

@mkg20001 mkg20001 added this pull request to the merge queue Oct 18, 2025
Merged via the queue into NixOS:master with commit b8cb3c1 Oct 18, 2025
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants