The current stage3 tarball (stage3-amd64-20141127.tar.bz2) is needlessly bloaty and weighs in at 199MB /var/db/pkg/dev-lang: perl-5.18.2-r2 python-2.7.7 python-3.3.5-r1 python-3.4.1 * dev-lang/python-3.3.5-r1 Total files : 4365 Total size : 75.67 MiB * dev-lang/python-3.4.1 Total files : 4648 Total size : 72.50 MiB So by removing python:3 we can save 150MB on disk or about half the download size (set USE="-python3" and PYTHON_TARGETS="python2_7" and dependencies are happy) dev-util/pkgconfig-0.28-r1 needlessly pulls in glib: * dev-libs/glib-2.40.0-r1 Total files : 1101 Total size : 32.17 MiB and other random bits for a good 10MB. setting USE="internal-glib" removes most of that ... emerge --depclean then removes: dev-libs/elfutils-0.158 dev-perl/XML-Parser-2.410.0-r2 sys-apps/tcp-wrappers-7.6.22-r1 dev-util/intltool-0.50.2-r1 The resulting archive is 159 instead of 199MB for about 20% savings
Using xz instead of bzip2 gets size down to 108MB
patrick, can you make a suggestion as to what to change in our profiles. one issue is that our @system is our stage3, so base/packages serves two purposes. any suggestions here?
(In reply to Anthony Basile from comment #2) > patrick, can you make a suggestion as to what to change in our profiles. > one issue is that our @system is our stage3, so base/packages serves two > purposes. any suggestions here? Hi, I currenly using this profile (a lot of packages gone) I think it could be more reduced. for make.conf: -- ... USE="-*" -- and package.use: --- #next entry required for bootstraping sys-devel/gcc cxx >=dev-lang/python-2.7 ssl =sys-apps/hwids-20141010 udev sys-process/procps ncurses sys-apps/busybox static sys-apps/openrc netifrc sys-apps/gawk readline sys-process/procps ncurses sys-apps/grep pcre net-misc/wget ssl dev-lang/python ncurses xml dev-libs/glib mime sys-libs/gdbm berkdb sys-apps/shadow cracklib sys-libs/ncurses cxx dev-libs/gmp cxx app-arch/unzip bzip2 dev-libs/libxml2 readline sys-devel/gettext cxx ncurses sys-devel/binutils cxx --- Currenly tested for x86 (this one) and amd64 (very similar). In previous builds, I was able to remove udev too. Now I can't. Hope it helps.
(In reply to Patrick Lauer from comment #0) > So by removing python:3 we can save 150MB on disk or about half the download > size > (set USE="-python3" and PYTHON_TARGETS="python2_7" and dependencies are > happy) I also added: PYTHON_SINGLE_TARGET="python2_7" USE_PYTHON='2.7'
We're going to move to tar.xz stages as soon as we get catalyst-3 on the build server. We're currently finishing some missing features so we can do a new release and start testing with that. For comparison, here is a link to my last successful builds for amd64 default - http://www.jmbsvicetto.name/releases/auto/amd64/default/20160926/
http://distfiles.gentoo.org/releases/amd64/autobuilds/20180109T214501Z/ We finally got tar.xz stages