|Summary:||Current stage3 tarballs are too big|
|Product:||Gentoo Release Media||Reporter:||Patrick Lauer <patrick>|
|Component:||Stages||Assignee:||Gentoo Release Team <releng>|
|Severity:||normal||CC:||alexander, chewi, enrique_pinos, gentoo, leho, nikoli, slyfox|
|Package list:||Runtime testing required:||---|
Description Patrick Lauer 2014-12-04 10:16:03 UTC
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
Comment 1 Patrick Lauer 2014-12-04 10:29:13 UTC
Using xz instead of bzip2 gets size down to 108MB
Comment 2 Anthony Basile 2015-01-19 17:21:18 UTC
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?
Comment 3 Enrique Domínguez 2015-01-25 11:04:09 UTC
(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.
Comment 4 Enrique Domínguez 2015-01-25 11:10:47 UTC
(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'
Comment 5 Jorge Manuel B. S. Vicetto 2017-02-06 21:30:54 UTC
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/
Comment 6 Jorge Manuel B. S. Vicetto 2018-01-10 11:27:59 UTC
http://distfiles.gentoo.org/releases/amd64/autobuilds/20180109T214501Z/ We finally got tar.xz stages