[libcamera-devel] build error with libunwind-14-dev

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sat Aug 13 18:26:30 CEST 2022


Hi Christian,

On Sat, Aug 13, 2022 at 01:38:10PM +0200, Christian Rauch via libcamera-devel wrote:
> Hello,
> 
> tl;dr: On Ubuntu 22.04, "libunwind-14-dev" breaks the build process.
> 
> When "libunwind-14-dev" is installed (sudo apt install libunwind-14-dev)
> meson will report "Library libunwind found: YES" but ninja will fail
> with "../src/libcamera/base/backtrace.cpp:26:10: fatal error:
> libunwind.h: Datei oder Verzeichnis nicht gefunden
> " (file not found).
> 
> The header "libunwind.h" is indeed in multiple conflicting Ubuntu
> packages, and the build only works with "libunwind-dev". All versioned
> packages (libunwind-12-dev libunwind-13-dev, libunwind-14-dev) will show
> the issue above.

That's quite messy. It seems to be a distribution-specific issue, I'm
tempted to say that Canonical should fix this.

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list