Skip to content

libutp: fix build with cmake 4#449457

Merged
leona-ya merged 2 commits intoNixOS:masterfrom
wrvsrx:fix-libutp
Oct 9, 2025
Merged

libutp: fix build with cmake 4#449457
leona-ya merged 2 commits intoNixOS:masterfrom
wrvsrx:fix-libutp

Conversation

@wrvsrx
Copy link
Contributor

@wrvsrx wrvsrx commented Oct 7, 2025

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 7, 2025
@nix-owners nix-owners bot requested a review from emilytrau October 7, 2025 10:37
Copy link
Member

@yayayayaka yayayayaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use patches (or substituteInPlace --replace-fail), if possible. See #445447 (comment) for more info.

@wrvsrx wrvsrx force-pushed the fix-libutp branch 2 times, most recently from 8865ed4 to 68e4ffd Compare October 8, 2025 12:05
@wrvsrx
Copy link
Contributor Author

wrvsrx commented Oct 8, 2025

@yayayayaka Done.

@wrvsrx wrvsrx requested a review from yayayayaka October 8, 2025 12:16
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 9, 2025
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 9, 2025
@SuperSandroBot
Copy link

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 449457
Commit: 925f3bdf356e6a36955f8bc6610f45a308e4a6c7 (subsequent changes)
Merge: 9221891158352a066eded4f7d75e02b240fc57f0

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/18381874549


x86_64-linux

❌ 13 packages failed to build:
  • libtransmission_3
  • libtransmission_3.apparmor
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)
  • torrential
  • transmission_3
  • transmission_3-gtk
  • transmission_3-gtk.apparmor
  • transmission_3-qt
  • transmission_3-qt.apparmor
  • transmission_3.apparmor
  • transmission_3_noSystemd
  • transmission_3_noSystemd.apparmor
✅ 1 package built:
  • libutp

Error logs: `x86_64-linux`
libtransmission_3
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/fhs1hmmgyz066mr13pqz7dppymk6989v-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=OFF -DENABLE_DAEMON=OFF -DENABLE_CLI=OFF -DINSTALL_LIB=ON
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!

transmission_3
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/dxrgfncq0n6fwwabmr3xd9n5wfw6m5qf-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=OFF -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!

transmission_3-gtk
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/3b2a40cvlpbccn0rs9ngiqf0qbyiv65d-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=ON -DENABLE_QT=OFF -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!

transmission_3-qt
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/d8ri54xais9bx35jl2sq60440grdqv6z-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=ON -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!

transmission_3_noSystemd
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/ir0rgaajr7pjfwzjhyiqh0635bipcmqd-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=OFF -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!


aarch64-linux

❌ 13 packages failed to build:
  • libtransmission_3
  • libtransmission_3.apparmor
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)
  • torrential
  • transmission_3
  • transmission_3-gtk
  • transmission_3-gtk.apparmor
  • transmission_3-qt
  • transmission_3-qt.apparmor
  • transmission_3.apparmor
  • transmission_3_noSystemd
  • transmission_3_noSystemd.apparmor
✅ 1 package built:
  • libutp

Error logs: `aarch64-linux`
libtransmission_3
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00/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/y2qavd3yzjajdanv8azgxqy3c7rwsghr-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=OFF -DENABLE_DAEMON=OFF -DENABLE_CLI=OFF -DINSTALL_LIB=ON
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!

transmission_3
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00/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/37qdpxmp3nibl5awjkjq8560adpdf0cm-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=OFF -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!

transmission_3-gtk
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00/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/s14d3lmzcg2pfl0kbbgi8xq1byr2kqrh-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=ON -DENABLE_QT=OFF -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!

transmission_3-qt
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00/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/ib8ni16v66r8alighyskzsr34dkkggsi-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=ON -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!

transmission_3_noSystemd
applying patch /nix/store/qgvwr9rwbrvad408djfdjvwvn205slvp-transmission-3.00-openssl-3.patch
patching file libtransmission/crypto-utils-openssl.c
applying patch /nix/store/5wsp10a30qr6sg32zg6mdj9vbi6pgrgm-transmission-3.00-miniupnpc-2.2.8.patch
patching file libtransmission/upnp.c
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/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/share/doc/transmission -DCMAKE_INSTALL_INFODIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/include -DCMAKE_INSTALL_SBINDIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00/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/291cmgxrvbljpj1rfaygf4k44clhib75-transmission-3.00 -DENABLE_MAC=OFF -DENABLE_GTK=OFF -DENABLE_QT=OFF -DENABLE_DAEMON=ON -DENABLE_CLI=ON -DINSTALL_LIB=OFF
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!


x86_64-darwin (sandbox = true)

❌ 10 packages failed to build:
  • libtransmission_3
  • libtransmission_3.apparmor
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)
  • transmission_3 (transmission_3_noSystemd)
  • transmission_3-gtk
  • transmission_3-gtk.apparmor
  • transmission_3-qt
  • transmission_3-qt.apparmor
  • transmission_3.apparmor (transmission_3_noSystemd.apparmor)
✅ 1 package built:
  • libutp

aarch64-darwin (sandbox = true)

❌ 10 packages failed to build:
  • libtransmission_3
  • libtransmission_3.apparmor
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)
  • transmission_3 (transmission_3_noSystemd)
  • transmission_3-gtk
  • transmission_3-gtk.apparmor
  • transmission_3-qt
  • transmission_3-qt.apparmor
  • transmission_3.apparmor (transmission_3_noSystemd.apparmor)
✅ 1 package built:
  • libutp

@leona-ya leona-ya added this pull request to the merge queue Oct 9, 2025
Merged via the queue into NixOS:master with commit 5d0ca5f Oct 9, 2025
27 of 31 checks passed
@wrvsrx wrvsrx deleted the fix-libutp branch October 9, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants