Extra dependencies added to built deb

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 21, 25
    • Component/s: tools
    • generic
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      Tested on JDK 21 and 25

      A DESCRIPTION OF THE PROBLEM :
      When using jpackage to build a deb for a static binary, e.g. "hello world" the resulting deb has a list of dependencies: Depends: libasound2t64, libbrotli1, libbsd0, libbz2-1.0, libc6, libfreetype6, libmd0, libpng16-16t64, libx11-6, libxau6, libxcb1, libxdmcp6, libxext6, libxi6, libxrender1, libxtst6, zlib1g
      The addition of libasound2t64 is particularly problematic as it makes the deb non portable to other debian distributions or other versions of Ubuntu. Is it possible to not add all these extra dependencies?


            Assignee:
            Alexey Semenyuk
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: