Found the problem. I had an old copy of libarchive in /usr/local/lib which I assume pointed to libnettle6.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879239 Title: cmake requires libnettle6 and libnettle7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1879239/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs