[Bug 2107682] [NEW] Missing build-dep: libzstd-dev

Daniel Richard G. 2107682 at bugs.launchpad.net
Sat Apr 19 06:27:16 UTC 2025


Public bug reported:

When I build [a slightly modified version of] this package on jammy,
after installing the build-deps noted in the control file, the build
configuration fails with the following error:

-- Configuring done
CMake Error at /usr/lib/llvm-19/lib/cmake/llvm/AddLLVM.cmake:1029 (add_executable):
  Target "enzyme-tblgen" links to target "zstd::libzstd_shared" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  /usr/lib/llvm-19/lib/cmake/llvm/TableGen.cmake:181 (add_llvm_executable)
  tools/enzyme-tblgen/CMakeLists.txt:9 (add_tablegen)


Installing libzstd-dev takes care of this.

** Affects: rustc-1.83 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rustc-1.84 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: plucky

** Also affects: rustc-1.84 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc-1.83 in Ubuntu.
https://bugs.launchpad.net/bugs/2107682

Title:
  Missing build-dep: libzstd-dev

Status in rustc-1.83 package in Ubuntu:
  New
Status in rustc-1.84 package in Ubuntu:
  New

Bug description:
  When I build [a slightly modified version of] this package on jammy,
  after installing the build-deps noted in the control file, the build
  configuration fails with the following error:

  -- Configuring done
  CMake Error at /usr/lib/llvm-19/lib/cmake/llvm/AddLLVM.cmake:1029 (add_executable):
    Target "enzyme-tblgen" links to target "zstd::libzstd_shared" but the
    target was not found.  Perhaps a find_package() call is missing for an
    IMPORTED target, or an ALIAS target is missing?
  Call Stack (most recent call first):
    /usr/lib/llvm-19/lib/cmake/llvm/TableGen.cmake:181 (add_llvm_executable)
    tools/enzyme-tblgen/CMakeLists.txt:9 (add_tablegen)

  
  Installing libzstd-dev takes care of this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2107682/+subscriptions




More information about the foundations-bugs mailing list