[Bug 264783] graphics/mesa-dri pulls in the entire llvm package

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jun 2022 09:02:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264783

            Bug ID: 264783
           Summary: graphics/mesa-dri pulls in the entire llvm package
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: billblake2018@gmail.com
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

I was hunting through my system for disk wasters and I noticed that
llvm13--which I don't use--is installed, consuming some 1.4 gigabytes of space.
 It gets pulled in because the mesa-dri package depends on it.  However, the
only thing mesa-dri seems to care about is libLLVM-13.so, a mere 94 megabytes.

Because X requires mesa-dri, any system using X will have over a gigabyte of
space that is very likely entirely wasted.  Disk is cheap.  It is not *that*
cheap. (Especially since a scan of my other disk wasters suggests that mesa-dri
is not the only package that pulls in large packages but uses only small parts
of them.)

Unless mesa-dri really needs a significant fraction of llvm's functionality, it
would make a lot more sense to simply include the needed parts of llvm in
mesa-dri.

-- 
You are receiving this mail because:
You are the assignee for the bug.