Public bug reported:
I ran:
sudo apt-get build-dep darktable
after a git-clone with submodules, the build.sh failed with the following error:
CMake Error at
/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
Could NOT find Potrace (missing: POTRACE_LIBRARY POTRACE_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654
(_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindPotrace.cmake:12 (find_package_handle_standard_args)
src/CMakeLists.txt:325 (find_package)
to make the build complete I had to run
sudo apt-get install libpotrace-dev libpotrace0
wpferguso experienced the same issue also on ubuntu-26.04
As such this seems to be a packaging bug with listed source-code dependencies.
I'm on Ubuntu 26.04 LTS \n \l
on x86_64 architecture.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: darktable 5.4.1-1
Uname: Linux 7.0.11-1-t2-resolute x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 11 12:40:11 2026
InstallationDate: Installed on 2026-06-03 (8 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/usr/bin/zsh
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: darktable
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: darktable (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156499
Title:
apt-get build-src darktable fails to install sudo apt-get install
libpotrace-dev libpotrace0 as source building dependencies
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darktable/+bug/2156499/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs