From: Stuart Henderson Subject: Re: prusaslicer binary unexpectedly big To: Mikolaj Kucharski Cc: ports@openbsd.org, Renato Aguiar Date: Sun, 1 Mar 2026 14:39:23 +0000 On 2026/03/01 13:17, Mikolaj Kucharski wrote: > Hi. > > I run out of disk space on /usr/local today with 25GB partition and that > got me really surprised. What cought my attention that prusa-slicer > binary is more that 800MB in size. Is this epxected? I stripped it to > approx 32MB. upstream builds various things with debug symbols. given that this is for LP64 archs only, probably easiest to just do this so they get moved to debug-prusaslicer, otherwise it seems a bunch of patching is needed. Renato, ok with you? -rw-r--r-- 2 _pbuild wsrc 165M Mar 1 14:34 debug-prusaslicer-2.9.4.tgz -rw-r--r-- 2 _pbuild wsrc 77.1M Mar 1 14:34 prusaslicer-2.9.4.tgz Index: Makefile =================================================================== RCS file: /cvs/ports/cad/prusaslicer/Makefile,v diff -u -p -r1.28 Makefile --- Makefile 15 Feb 2026 00:20:27 -0000 1.28 +++ Makefile 1 Mar 2026 13:56:12 -0000 @@ -3,6 +3,7 @@ ONLY_FOR_ARCHS = ${LP64_ARCHS} DPB_PROPERTIES = parallel V = 2.9.4 +REVISION = 0 PKGNAME = prusaslicer-${V} GH_ACCOUNT = prusa3d @@ -38,6 +39,7 @@ WANTLIB += wx_gtk3u_webview-3.2 z z3 FIX_CRLF_FILES = src/slic3r/GUI/GLCanvas3D.cpp COMPILER = base-clang ports-gcc +DEBUG_PACKAGES = ${BUILD_PACKAGES} MODULES = devel/cmake \ x11/gnome