Skip to content

libtiff-4.0.3-opentoonz fails to build #132964

@cjbayliss

Description

@cjbayliss

Describe the bug

Thought I'd try out Opentoonz because it looks cool, however I can't get the derivation for libtiff-4.0.3-opentoonz (patched version of libtiff for opentoonz) to build.

Steps To Reproduce

Steps to reproduce the behavior:

  1. run nix-shell -p opentoonz on NixOS 21.05
  2. libtiff-4.0.3-opentoonz derivation fails to build

Expected behavior

nix-shell -p opentoonz to successfully evaluate and drop me to a shell prompt from whence I can run opentoonz and try out Opentoonz.

Additional context

This is the relevant output from nix-shell -p opentoonz:

[... snipped output .. ]
building '/nix/store/vmmvzn0y814nk5g7v3sfp5zaw9yk9hji-libtiff-4.0.3-opentoonz.drv'...
unpacking sources
unpacking source archive /nix/store/f44nf2klayfmj0ynh1k1xm8cj7v4f53b-source
copying path '/nix/store/ri1izbgqflj9d86c9079x5lcahkkzqxj-qtsvg-5.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/8pfssb2mxgx783kax5hlygncjv32vm8s-qtdeclarative-5.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/7xdv5pacwafnqb3bvy0x75v0cvqs34d4-qtmultimedia-5.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/9kykzv214189pdv41i0x7ca8hrzw4jks-qtquickcontrols-5.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/zqmmdxh0r9h2inwgh5iwkrnyai1cfs4c-qttools-5.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/igkkgj1jwa362cxj35xpzbph685cija8-qtwayland-5.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/f92dw8sdpmb43yk610vc5mjwkhkv29nm-qtscript-5.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/ixx8vvhi18y8g7w3y936acmq7fba0z2z-hook' from 'https://cache.nixos.org'...
source root is source
patching sources
applying patch /nix/store/dcy9wbgfb7x938cx052j7wydw9jhqwq5-headers.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN a/libtiff/CMakeLists.txt b/libtiff/CMakeLists.txt
|--- a/libtiff/CMakeLists.txt   2019-05-31 13:05:22.849705817 +0000
|+++ b/libtiff/CMakeLists.txt   2020-11-27 21:50:03.527831837 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
builder for '/nix/store/vmmvzn0y814nk5g7v3sfp5zaw9yk9hji-libtiff-4.0.3-opentoonz.drv' failed with exit code 1
cannot build derivation '/nix/store/wymh906xvq1iv9x2rkbx988xrvp5vy7k-opentoonz-1.4.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/wymh906xvq1iv9x2rkbx988xrvp5vy7k-opentoonz-1.4.0.drv' failed

Notify maintainers

@chkno

Metadata

aster :: ~ » nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.52-hardened1, NixOS, 21.05.2132.733682c3292 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(cjb): `""`
 - channels(root): `"nixos-21.05.2132.733682c3292, unstable-21.11pre303315.16105403bdd"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

aster :: ~ »

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions