Skip to content

Build failure: opentoonz #450378

@theEpicjosh

Description

@theEpicjosh

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

Put in configuration.nix:

nixpkgs.config = { 
    allowUnfree = true;
    permittedInsecurePackages = [
        "libtiff-4.0.3-opentoonz"
      ];
  };

Then, on terminal, run:
sudo nix-channel --update,
nix flake update,
and then sudo nixos-rebuild switch --upgrade --flake .

Receive error after several minutes (relevant log output below).

Can Hydra reproduce this build failure?

Hydra doesn’t try to build the package.

Link to Hydra build job

https://hydra.nixos.org/search?query=opentoonz

Relevant log output

error: Cannot build '/nix/store/23b2ni0xmflidfdlm378ssx0njs2r9xa-opentoonz-1.7.1.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1
       Last 20 log lines:
       > Using udevCheckHook
       > Running phase: qtPreHook
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/mxdam25h1i044rf514vcxjx1fxpryfyk-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running 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/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/share/doc/OpenToonz -DCMAKE_INSTALL_INFODIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1/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/7sv2y3k5n0vwpmyjj5v19mkpsh7r0db7-opentoonz-1.7.1 -DCMAKE_SKIP_BUILD_RPATH=ON -DTIFF_INCLUDE_DIR=/nix/store/19v2r6b5m1d9mw04d3p09q250gd1ybd1-libtiff-4.0.3-opentoonz-dev/include -DTIFF_LIBRARY=/nix/store/3dw43f57ms5i9qa8d66vb0mvw9jvdp9c-libtiff-4.0.3-opentoonz/lib/libtiff.so -DCMAKE_SKIP_BUILD_RPATH:BOOL=TRUE
       > 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!
       For full logs, run:
         nix log /nix/store/23b2ni0xmflidfdlm378ssx0njs2r9xa-opentoonz-1.7.1.drv
error: Cannot build '/nix/store/dgrd22gkgf747bhznbnwpi8s5yi96kns-user-environment.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/8c4lkj6pjrh7a0n63slirf4lmyq61pm0-user-environment
error: Cannot build '/nix/store/k21qv10nymj55fwiypgzhkm200aviq7l-etc.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/90dsrj57ndpmj91q14854b0nmcibfgmz-etc
error: Cannot build '/nix/store/x02yrmrhi6aqxv4b03l6q9hcx1897xsl-nixos-system-PC64-Nix-25.11.20251007.c9b6fb7.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/sg3j9n2yr163n21i7k3i3mpyn4gx2may-nixos-system-PC64-Nix-25.11.20251007.c9b6fb7
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."PC64-Nix".config.system.build.toplevel' --no-link' returned non-zero exit status 1.

Additional context

Upon looking up opentoonz on hydra.nixos.org, I receive a 500 internal server error:

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR: canceling statement due to statement timeout [for Statement "SELECT me.id, me.finished, me.timestamp, me.jobset_id, me.job, me.nixname, me.description, me.drvpath, me.system, me.license, me.homepage, me.maintainers, me.maxsilent, me.timeout, me.ischannel, me.iscurrent, me.priority, me.globalpriority, me.starttime, me.stoptime, me.iscachedbuild, me.buildstatus, me.size, me.closuresize, me.releasename, me.keep, me.notificationpendingsince FROM builds me LEFT JOIN buildoutputs buildoutputs ON buildoutputs.build = me.id WHERE ( buildoutputs.path ILIKE ? ) ORDER BY id desc LIMIT ?" with ParamValues: 1='%opentoonz%', 2='10'] at /nix/store/869js2rgzz9l8szbmsj66ywqd99hbw1b-hydra-0.1.20250913.274027e/libexec/hydra/lib/Hydra/Controller/Root.pm line 545

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.48, NixOS, 25.11 (Xantusia), 25.11.20250921.554be64
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.5
  • channels(root): "home-manager, nixos-24.11, nixpkgs"
  • nixpkgs: /nix/store/yw0wijix50n0y2ii15sk8kvnwgalpq6f-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions