Skip to content

digikam is broken on release-20.09 #98879

@bjornfor

Description

@bjornfor

Describe the bug
digikam doesn't build anymore, due to the kmime dependency being broken:

$ git checkout release-20.09  # e.g. on a90e5950688b5f02a0cef98cbac1d21e8e3bc83e
$ nix-build -A digikam
[...]
fixing cmake files...
-- Performing Test HAVE_DATE_TIME - Success
CMake Error at CMakeLists.txt:27 (find_package):
  Could not find a configuration file for package "Qt5" that is compatible
  with requested version "5.13.0".

  The following configuration files were considered but not accepted:

    /nix/store/php1q59c4vlsfzj7qqqm8kxcpd0ay9pd-qtbase-5.12.7-dev/lib/cmake/Qt5/Qt5Config.cmake, version: 5.12.7



-- Configuring incomplete, errors occurred!
See also "/build/kmime-20.08.1/build/CMakeFiles/CMakeOutput.log".
builder for '/nix/store/h6dibshz1swfdslbibrbh0k694p12h07-kmime-20.08.1.drv' failed with exit code 1
error: build of '/nix/store/h6dibshz1swfdslbibrbh0k694p12h07-kmime-20.08.1.drv' on 'ssh://nix-remote-build@bforsman.name' failed: builder for '/nix/store/h6dibshz1swfdslbibrbh0k694p12h07-kmime-20.08.1.drv' failed with exit code 1
builder for '/nix/store/h6dibshz1swfdslbibrbh0k694p12h07-kmime-20.08.1.drv' failed with exit code 1
cannot build derivation '/nix/store/c1cxigsiilq54zxdrdwhkxcrvxnj0y2z-akonadi-contacts-20.08.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nfrr2andwvnw2zldj9jf7dm44y1pkp3a-digikam-6.4.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/nfrr2andwvnw2zldj9jf7dm44y1pkp3a-digikam-6.4.0.drv' failed

I git bisected the breakage to ce4eb0b.

Expected behavior
nix-build -A digikam should work.

Additional context
digikam works on nixos-20.03 and master. It even works on the release-20.09 branch-off commit from master: 53ce0bf. So this looks like a regression directly on the release-20.09 branch.

Ref #97479

Notify maintainers

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken0.kind: regressionSomething that worked before working no longer6.topic: qt/kdeObject-oriented framework for GUI creation
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions