#2619: Use gnu packages in xz or lzma format
------------------------+---------------------------------------------------
 Reporter:  gespinasse  |       Owner:  lfs-b...@…                   
     Type:  task        |      Status:  new                          
 Priority:  normal      |   Milestone:  6.7                          
Component:  Book        |     Version:  SVN                          
 Severity:  normal      |    Keywords:                               
------------------------+---------------------------------------------------
 Many gnu packages are changed to supply tar.gz and tar.xz and no more
 tar.bz2

 The proposed change is to
 - build xz just after bzip2 on toolchain [[BR]]
 - any package after that in the build order could use tar.xz [[BR]]


 To not change the tar prerequiste, those packages using tar.xz or tar.lzma
 has to use a pipe to tar to open the package like [[BR]]
 xz -d < $(DL_FILE) | tar xf -

 The gain is as follow [[BR]]
 1308    autoconf-2.65.tar.bz2 [[BR]]
 10292   coreutils-8.4.tar.gz [[BR]]
 1736    diffutils-2.9.tar.gz [[BR]]
 2316    gawk-3.1.7.tar.bz2 [[BR]]
 1280    grep-2.6.1.tar.gz [[BR]]
 892     gzip-1.4.tar.gz [[BR]]
 1104    m4-1.4.14.tar.bz2 [[BR]]
 304     patch-2.6.1.tar.gz [[BR]]
 2300    libtool-2.2.6b.tar.gz [[BR]]
 2692    texinfo-4.13a.tar.gz [[BR]]
 24224   total

 1112    autoconf-2.65.tar.xz [[BR]]
 4376    coreutils-8.4.tar.xz [[BR]]
 980     diffutils-2.9.tar.xz [[BR]]
 1704    gawk-3.1.7.tar.xz [[BR]]
 812     grep-2.6.1.tar.xz [[BR]]
 604     gzip-1.4.tar.xz [[BR]]
 904     m4-1.4.14.tar.xz [[BR]]
 240     patch-2.6.1.tar.xz [[BR]]
 728     libtool-2.2.6b.tar.lzma [[BR]]
 1532    texinfo-4.13a.tar.lzma [[BR]]
 12992   total

 So that spare 11 MB where you should withdraw xz size (1 MB) and xz
 building time.

 coreutils, diffutils, grep , gzip , libtools, textinfo are no more
 available as tar.bz2 (patch is still available as tar.bz2)

 More gain is reachable using binutils and glibc tar.xz but that suppose
 the build host support that format or build xz first and another time
 later just for the toolchain. That probably could wait until kernel.org
 distribute xz package ( such discussion has been opened in february by
 kernel.org admin )
 http://marc.info/?l=linux-kernel&m=126591363509450&w=2

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2619>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to