Changes between Version 1 and Version 3 of Ticket #3849


Ignore:
Timestamp:
10/11/2015 08:50:01 PM (9 years ago)
Author:
Fernando de Oliveira
Comment:

Finally, finished chapter 6.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3849 – Description

    v1 v3  
    1919libncurses++w.a
    2020}}}
     21
     22{{{
     23======================================================
     24
     25Thu Oct  8 09:31:14 UTC 2015
     26LFS7.8 Notes Building chapter 6, starting with acl
     27
     28======================================================
     29We don't install the static libraries:
     30• acl-2.2.52
     31• libcap-2.24
     32• readline-6.3
     33• gdbm-1.11
     34• expat-2.1.0
     35• gettext-0.19.6
     36• util-linu
     37
     38Some other problems (mine or of the book).
     39
     40• shadow-4.2.1
     41new programs:
     421. newuidmap - set the uid mapping of a user namespace
     432. newgidmap - set the gid mapping of a user namespace
     44
     45• e2fsprogs-1.42.13
     46remove directory /usr/include/quota? (probabbly optional)
     47
     48remove library
     49libquota.a? (probabbly optional)
     50
     51both will exist if --enable-quota is used?
     52
     53add program
     54mklost+found  - create a lost+found directory on a mounted Linux second
     55extended file system
     56
     57I had removed all static libraries:
     58xz -v /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a    &&
     59mv -v /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a.xz \
     60      /usr/lib/famo-static-libs                         &&
     61
     62
     63• flex-2.5.39
     64I had removed static libraries in LFS-7.7 with --disable-static
     65
     66• bison-3.0.4
     67Exactly the same statistics:
     68
     69
     70Approximate build time:
     712.6 SBU
     72Required disk space:
     7336 MB
     74
     75But tests take much longer:
     76
     77real    4m53.309s
     78user    4m12.924s
     79sys     0m27.306s
     80
     81
     82which gives me 2.2 SBU just for tests
     83
     84Replace in
     85"To test the results (about 0.5 SBU), issue"
     86
     87s/0.5/2.2/
     88
     89• readline-6.3
     90remove directory:
     91/usr/share/readline
     92remove references to static libraries
     93
     94• libtool-2.4.6
     95I had removed static libraries in LFS-7.7 with --disable-static
     96
     97• inetutils-1.9.4
     98add program
     99dnsdomainname - show the system's DNS domain name
     100
     101remove programs:
     102rcp just for tests
     103rexec
     104rlogin
     105rsh
     106
     107
     108invert order:
     109
     110ifconfig Manages network interfaces
     111hostname Reports or sets the name of the host
     112
     113to:
     114
     115hostname Reports or sets the name of the host
     116ifconfig Manages network interfaces
     117
     118
     119• perl-5.22.0
     120
     121I have many differences here, maybe I missde installing some program?
     122
     123There are no symlinks to programs.
     124
     125hardlinked to each other:
     126c2ph and pstruct
     127perl and perl5.22.0
     128perlbug and perlthanks
     129
     130add new programs:
     131encguess Guess the encoding type of one or several files
     132
     133example:
     134
     135# encguess -h (help)
     136
     137# encguess ../tmp-porg/YAML-Tiny-test-BWBkLQtD \
     138           ../tmp-porg/YAML-Tiny-test-HzimSXAb \
     139           ../tmp-porg/perl-5.22.0-build-2015.10.10-10h39m59s
     140../tmp-porg/YAML-Tiny-test-BWBkLQtD     UTF-8
     141../tmp-porg/YAML-Tiny-test-HzimSXAb     UTF-8
     142../tmp-porg/perl-5.22.0-build-2015.10.10-10h39m59s      unknown
     143
     144
     145remove programs (from Installed programs and Short Descriptions):
     146a2p
     147cpan2dist
     148cpanp
     149cpanp-run-perl
     150find2perl
     151pod2latex
     152psed
     153s2p
     154
     155Programs:
     156corelist, cpan, enc2xs, encguess, h2ph, h2xs, instmodsh, json_pp,
     157libnetcfg, perldoc, perlivp, piconv, pl2pm, pod2html, pod2man, pod2text,
     158pod2usage, podchecker, podselect, prove, ptar, ptardiff, ptargrep,
     159shasum, splain, xsubpp, and zipdetails; hardlinked to each other: c2ph
     160and pstruct, perl and perl5.22.0, and perlbug and perlthanks
     161
     162Libraries are not hundreds, are only 55:
     163arybase.so, attributes.so, B.so, Base64.so, Byte.so, Bzip2.so, Call.so,
     164CN.so, Collate.so, Cwd.so, DosGlob.so, Dumper.so, EBCDIC.so, Encode.so,
     165encoding.so, FastCalc, Fcntl.so, FieldHash.so, GDBM_File.so, Glob.so,
     166HiRes.so, Hostname.so, IO.so, JP.so, KR.so, Langinfo.so, libperl.so,
     167MD5.so, mmap.so, mro.so, NamedCapture, NDBM_File.so, ODBM_File.so,
     168Opcode.so, Peek.so, Piece.so, POSIX.so, PPPort.so, re.so, scalar.so,
     169SDBM_File.so, SHA.so, shared.so, Socket.so, Storable.so, Symbol.so,
     170Syslog.so, SysV.so, threads.so, TW.so, Unicode.so, Util.so, Util.so,
     171via.so, and Zlib.so
     172
     173
     174• autoconf-2.69
     175"This takes a long time, about 4.7 SBUs." (Same measured here)
     176
     177However:
     178
     179
     180"Approximate build time:
     1814.0 SBU"
     182
     183It could be "less than 0.1 SBU (about 4.7 SBU with tests)" similar to
     184automake.
     185
     186• automake-1.15
     187Programs (since LFS-7.7):
     188aclocal and aclocal-1.15 (hardlinked to each other), and automake and
     189automake-1.15 (hardlinked to each other).
     190
     191Remove
     192compile, config.guess, config.sub, depcomp, install-sh, mdate-sh,
     193missing, mkinstalldirs, py-compile, and ylwrap from "Installed programs"
     194and "Short Descriptions"
     195
     196• findutils-4.4.2
     197Installed programs: find, locate, oldfind, updatedb, and xargs
     198
     199bigram  code  frcode: are under /usr/libexec/ and I was instructed not
     200to list. What is the correct procedure?
     201
     202• gettext-0.19.6
     203Installed programs: autopoint, envsubst, gettext, gettext.sh,
     204gettextize, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, msgexec,
     205msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq,
     206ngettext, recode-sr-latin, and xgettext
     207
     208config.charset config.rpath  hostname: are under /usr/{lib,share}/ and I
     209was instructed not to list. What is the correct procedure?
     210
     211New command:
     212
     213chmod -c 0755 /usr/lib/preloadable_libintl.so
     214
     215• gperf-3.0.4
     216
     217missing "Installed directory":
     218/usr/share/doc/gperf-3.0.4
     219
     220• groff-1.22.3
     221
     222remove programs (from Installed programs and Short Descriptions):
     223geqn
     224gtbl
     225
     226add programs:
     227glilypond
     228gperl
     229gpinyin
     230gropdf
     231pdfmom
     232
     233No hardlinks any longer.
     234
     235Man pages descriptions:
     236glilypond transforms sheet music written in the lilypond language into
     237the groff(7) language using the .PSPIC request, such that groff(1) can
     238transform it into a format that can be displayed directly.
     239
     240gperl This is a preprocesor for groff(1). It allows to add perl(7) code
     241into groff(7) files. The result of a Perl part can be stored in groff
     242strings or numerical registers based on the arguments at a final line of
     243a Perl part.
     244
     245gpinyin This is a preprocesor for groff(1). It allows to add the Chinese
     246European-like language Pinyin into groff(7) files.
     247
     248gropdf translates the output of GNU troff to PDF. Normally gropdf should
     249be invoked by using the groff command with a -Tpdf option. If no files
     250are given, gropdf reads the standard input. A filename of - also causes
     251gropdf to read the standard input. PDF output is written to the standard
     252output. When gropdf is run by groff options can be passed to gropdf
     253using groff's -P option.
     254
     255pdfmom is a wrapper around groff that facilitates the production of PDF
     256documents from files formatted with the mom macros.
     257
     258• grub-2.02~beta2
     259Directory not installed: /boot/grub
     260It is only installed when running grubinstall in  Section 8.4, “Using
     261GRUB to Set Up the Boot Process”
     262
     263New programs:
     264grub-file
     265grub-glue-efi
     266grub-macbless
     267grub-render-label
     268grub-syslinux2cfg
     269
     270Installed programs:
     271grub-bios-setup, grub-editenv, grub-file, grub-fstest, grub-glue-efi,
     272grub-install, grub-kbdcomp, grub-macbless, grub-menulst2cfg,
     273grub-mkconfig, grub-mkimage, grub-mklayout, grub-mknetdir,
     274grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-mkstandalone,
     275grub-ofpathname, grub-probe, grub-reboot, grub-render-label,
     276grub-script-check, grub-set-default, grub-sparc64-setup, and
     277grub-syslinux2cfg
     278
     279Notice that "and" is missing, in book's list.
     280
     281grub-file  Check if FILE is of specified type.
     282
     283grub-glue-efi processes ia32 and amd64 EFI images and glues them
     284according to Apple format.
     285
     286grub-macbless - bless a mac file/directory
     287
     288grub-render-label - Render Apple .disk_label for Apple Macs.
     289
     290grub-syslinux2cfg - transform syslinux config into grub.cfg
     291
     292• gzip-1.6
     293
     294gunzip and uncompress (hardlinked to each other).
     295
     296• kbd-2.0.3
     297Mising directory:
     298/usr/share/doc/kbd-2.0.3
     299
     300Missing program:
     301setvtrgb
     302
     303setvtrgb sets the console color map in all virtual terminals according
     304to custom values specified in a file or standard input. With the `vga'
     305parameter, it can also be used to restore the settings built into the
     306kernel.
     307
     308• tar-1.28
     309remove rmt: it is under /usr/libexec and I was instructed not to list.
     310What is the correct procedure?
     311
     312I have one more skipp in the tests:
     313
     314178: capabilities: binary store/restore              skipped (capabs_raw01.at:28)
     315
     316
     317• texinfo-6.0
     318remove program infokey.
     319
     320• eudev-3.1.2
     321remove directory
     322/lib/firmware
     323
     324add directory
     325/usr/share/doc/udev-20140408
     326
     327• util-linux-2.27
     328I don't have /etc/terminal-colors.d
     329
     330Directory
     331/usr/share/doc/util-linux-2.27/getopt
     332should be
     333/usr/share/doc/util-linux-2.27
     334
     335Directories I have listed:
     336/usr/include/blkid
     337/usr/include/libfdisk
     338/usr/include/libmount
     339/usr/include/libsmartcols
     340/usr/include/uuid
     341/usr/share/doc/util-linux-2.27
     342/var/lib/hwclock
     343
     344
     345New programs:
     346lsipc
     347mesg
     348nsenter
     349uname26
     350
     351       lsipc  -  show  information on IPC facilities currently employed
     352       in the system
     353       lsipc shows information on the inter-process  communication
     354       facilities for which the calling process has read access.
     355
     356       mesg - display (or do not display) messages from other users
     357       The  mesg  utility  is invoked by a user to control write access
     358       others have to the terminal device associated with standard error
     359       output.   If write access is allowed, then programs such as
     360       talk(1) and write(1) may display messages on the terminal.
     361
     362       nsenter - run program with namespaces of other processes
     363       Enters  the namespaces of one or more other processes and then
     364       executes the specified program.
     365
     366       setarch  -  change reported architecture in new program
     367       environment and set personality flags
     368       setarch currently only affects the output of uname -m.  For
     369       example, on an AMD64 system, running setarch i386 program will
     370       cause program to see i686 instead of x86_64 as the machine type.
     371       It also allows to set var‐ ious personality options.  The default
     372       program is /bin/sh.
     373
     374Installed programs:
     375addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu, chrt,
     376col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg, eject,
     377fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck, fsck.cramfs,
     378fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, i386 (symlink to
     379setarch), ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb
     380(symlink to last), ldattach, linux32 (symlink to setarch), linux64
     381(symlink to setarch), logger, look, losetup, lsblk, lscpu, lsipc,
     382lslocks, lslogins, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs,
     383mkfs.minix, mkswap, more, mount, mountpoint, namei, nsenter, partx, pg,
     384pivot_root, prlimit, raw, readprofile, rename, renice, resizepart, rev,
     385rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk,
     386sulogin, swaplabel, swapoff, swapon, switch_root, tailf, taskset, ul,
     387umount, uname26 (symlink to setarch), unshare, utmpdump, uuidd, uuidgen,
     388wall, wdctl, whereis, wipefs, x86_64 (symlink to setarch), and zramctl
     389
     390Installed libraries:
     391remove static ones
     392
     393• man-db-2.7.3
     394new directory:
     395/usr/lib/tmpfiles.d
     396
     397remove installed program
     398zsoelim
     399It is under /usr/libexec and I was instructed not to list. What is the
     400correct procedure?
     401}}}