On Sat, 2020-02-08 at 09:06 +0100, Pierre Labastie wrote: > Le 08/02/2020 à 01:42, Alan Feuerbacher a écrit : > > This is the first time I've tried playing with jhalfs, so I'm not > > really sure what to expect. > > > > After some adjustments I got to this state with make: > > > > ############################### > > *** lfs config parameters look good *** > > > > ----------------------------------------------------------------- > > ---- > > --------- > > > > Are you happy with these settings? yes/no (no): yes > > > > ----------------------------------------------------------------- > > ---- > > --------- > > Hmmm, it'd be easier if you had included the said settings in your > message.
I always have trouble deciding how much to include in these asking-for- help emails. > > Loading compare module...OK > > Why have you ticked "Run comparison analysis on final stage"? The > help states: > "Unless you are familiar with ICA, do not select this option". Are > you > familiar with ICA? Sorry, I missed that one can use F to bring up a Help menu. > > grep: /mnt/build_dir/jhalfs/lfs-development/general.ent: Is a > > directory > > Here, the first checks are: does /mnt/build_dir exist, and is the lfs > filesystem mounted on it? > > Then, if you used jhalfs to download the lfs book (ticked "SVN" or > "Branch or stable book" in Book Settings->Release), this shouldn't > happen. I'm not clear on where to download jhalfs. The first time I tried this, I downloaded to /mnt/build_dir, but got this error message after running make: ########### [alan@localhost jhalfs]$ make Using default symbol values (no 'configuration') Configuration saved to 'configuration' Do you want to run jhalfs? yes/no (yes): yes Loading config params from <configuration>...OK The jhalfs source directory conflicts with the jhalfs build directory. Please move the source directory or change the build directory. ########### So I removed jhalfs from /mnt/build_dir and then downloaded to /mnt, then ran jhalfs again. See below. > If you have downloaded the book by yourself (used "Working Copy"), > the > downloaded book is corrupted. Yes, I ticked SVN. > In any case, erase everything in /mnt/build_dir, except "lost+found", > and > start again. Done. > > Creating Makefile... START > > Processing... <Chapter4 ( SETUP ) > > > Processing... <Chapter5 ( LUSER ) > > > sed: can't read chapter05/*: No such file or directory > > There really seems to be a problem with the downloaded book. > Look at /mnt/build_dir/jhalfs/logs/000-masterscript to see if an > error has > been reported... I can't do that, because jhalfs was not created in /mnt/build_dir. Here is my directory structure after following you above instructsions and downloading jhalfs to /mnt: ################ [alan@localhost mnt]$ ll total 12 drwxr-xr-x. 3 alan wheel 4096 Feb 8 09:53 build_dir drwxrwxr-x. 15 alan alan 4096 Feb 8 09:54 jhalfs drwxr-xr-x. 9 alan wheel 4096 Jan 10 15:21 lfs [alan@localhost mnt]$ ll build_dir/ total 16 drwx------. 2 alan wheel 16384 Feb 7 15:20 lost+found ################ After configuring and running make, here is the output: ################# [alan@localhost jhalfs]$ make Using default symbol values (no 'configuration') Configuration saved to 'configuration' Do you want to run jhalfs? yes/no (yes): yes Loading config params from <configuration>...OK Loading file common/common-functions...OK Loading file common/libs/func_book_parser...OK Loading file common/libs/func_download_pkgs...OK Loading file common/libs/func_wrt_Makefile...OK Loading file LFS/master.sh...OK --------------------------------------------------------------------- --------- Loading file common/libs/func_check_version.sh...OK Loading file common/libs/func_validate_configs.sh...OK Loading file common/libs/func_custom_pkgs...OK --------------------------------------------------------------------- --------- Checking tools required for jhalfs SUDO <1.8.29> OK (Min version: 1.7.0) WGET <1.20.3> OK (Min version: 1.0.0) LIBXML2 <2.09.10> OK (Min version: 2.06.20) LIBXSLT <1.01.33> OK (Min version: 1.01.14) --------------------------------------------------------------------- --------- Checking supplementary tools for installing BLFSDocBook XML DTD <4.5> OK (Min version: 4.5) --------------------------------------------------------------------- --------- Loading file common/libs/func_install_blfs...OK BOOK </mnt/build_dir/jhalfs/lfs-development> CUSTOM_TOOLS <n> INITSYS <systemd> BLFS_TOOL <y> LUSER <lfs> LGROUP <lfs> LHOME </home> BUILDDIR </mnt/build_dir> CLEAN <y> GETPKG <y> SRC_ARCHIVE <> <-- NO directory name given SERVER <http://ftp.osuosl.org> RETRYSRCDOWNLOAD <y> RETRYDOWNLOADCNT <20> DOWNLOADTIMEOUT <30> RUNMAKE <y> TEST <1> BOMB_TEST <n> STRIP <n> NCURSES5 <n> DEL_LA_FILES <y> FSTAB </home/alan/Jhalfs/BitsFromsdd/fstab> CONFIG </home/alan/Jhalfs/BitsFromsdd/linux5.config> TIMEZONE <GMT+7> PAGE <letter> LANG <en_US.UTF-8> INSTALL_LOG <n> PKGMNGT <n> FULL_LOCALE <n> WRAP_INSTALL <n> HOSTNAME <komodo> INTERFACE <enp0s31f6> IP_ADDR <10.0.2.9> GATEWAY <10.0.2.2> PREFIX <24> BROADCAST <10.0.2.255> DOMAIN <local> DNS1 <127.0.0.1> DNS2 <127.0.1.1> FONT <lat0-16> KEYMAP <us> LOCAL <n> LOG_LEVEL <> COMPARE <n> OPTIMIZE <1> REPORT <y> REBUILD_MAKEFILE <y> blfs-tool settings BLFS_BRANCH_ID <development> BLFS_ROOT </srcsjhalfs> BLFS_XML <blfs-xml> TRACKING_DIR </var/lib/jhalfs/BLFS> DEP_LIBXML <y> DEP_LIBXSLT <y> DEP_DBXML <y> DEP_LYNX <y> DEP_SUDO <y> DEP_WGET <y> DEP_SVN <y> DEP_GPM <y> *** lfs config parameters look good *** --------------------------------------------------------------------- --------- Are you happy with these settings? yes/no (no): *** lfs config parameters look good *** --------------------------------------------------------------------- --------- Are you happy with these settings? yes/no (no): yes --------------------------------------------------------------------- --------- Loading optimization module...OK Loading optimization config...OK WARNING: The use of build optimizations may be dangerous. You should know what you are doing and be sure that the optimization settings listed below are what you want. If there are build issues or the system doesn't work as expected, please rebuild without optimizations before asking for support. MAKEFLAGS: <-j1> BLACK_LIST: <> DEF_OPT_MODE: <noOpt> CFLAGS: <unset> CXXFLAGS: <unset> LDFLAGS: <unset> OTHER_CFLAGS: <unset> OTHER_CXXFLAGS: <unset> OTHER_LDFLAGS: <unset> Overridden packages: gcc noOpt grub noOpt --------------------------------------------------------------------- --------- Are you happy with these optimization settings? yes/no (no): --------------------------------------------------------------------- --------- Are you happy with these optimization settings? yes/no (no): yes --------------------------------------------------------------------- --------- grep: /mnt/build_dir/jhalfs/lfs-development/general.ent: No such file or directory Creating Makefile... START LFS/master.sh: line 384: cd: /mnt/build_dir/jhalfs/lfs-commands: No such file or directory <jhalfs> exit make: *** [Makefile:12: all] Error 1 ################# You'll probably want to know what's in the relevant directories and other information, so here you go: ##################### [alan@localhost /]$ ll -d mnt drwxr-xr-x. 5 alan wheel 4096 Feb 8 09:54 mnt [alan@localhost /]$ ll -d srcsjhalfs/ drwxr-xr-x. 2 alan wheel 4096 Feb 7 15:43 srcsjhalfs/ [alan@localhost /]$ cd mnt [alan@localhost mnt]$ ll total 12 drwxr-xr-x. 3 alan wheel 4096 Feb 8 09:53 build_dir drwxrwxr-x. 15 alan alan 4096 Feb 8 10:13 jhalfs drwxr-xr-x. 9 alan wheel 4096 Jan 10 15:21 lfs [alan@localhost build_dir]$ ll total 16 drwx------. 2 alan wheel 16384 Feb 7 15:20 lost+found [alan@localhost lib]$ ll -d /var/lib/jhalfs drwxr-xr-x. 2 alan wheel 4096 Feb 8 10:02 /var/lib/jhalfs From mount: /dev/mapper/lfslvm2-root on /mnt/build_dir type ext4 (rw,relatime,seclabel) ################## Nothing was created in /mnt/build_dir . I don't understand why. Permissions are all ok, and the root directory on the hard drive is mounted on /mnt/build_dir. I'm using LVM and GPT partitions, and the LVM tools. These report: #################### From lsblk: sdd 8:48 0 1.8T 0 disk ├─sdd1 8:49 0 1G 0 part ├─sdd2 8:50 0 32G 0 part ├─sdd3 8:51 0 1G 0 part │ └─lfslvm2-boot 253:3 0 1020M 0 lvm ├─sdd4 8:52 0 200G 0 part │ └─lfslvm2-root 253:6 0 200G 0 lvm /mnt/build_dir ├─sdd5 8:53 0 500G 0 part │ └─lfslvm2-opt 253:9 0 500G 0 lvm └─sdd6 8:54 0 1.1T 0 part └─lfslvm2-home 253:12 0 1.1T 0 lvm From the LVM tools: [root@localhost ~]# pvscan PV /dev/sdd3 VG lfslvm2 lvm2 [1020.00 MiB / 0 free] PV /dev/sdd4 VG lfslvm2 lvm2 [<200.00 GiB / 0 free] PV /dev/sdd5 VG lfslvm2 lvm2 [<500.00 GiB / 0 free] PV /dev/sdd6 VG lfslvm2 lvm2 [1.10 TiB / 0 free] PV /dev/sdc3 VG fedora_localhost-live lvm2 [<1.82 TiB / 0 free] PV /dev/sdb3 VG lfslvm lvm2 [1020.00 MiB / 0 free] PV /dev/sdb4 VG lfslvm lvm2 [<200.00 GiB / 0 free] PV /dev/sdb5 VG lfslvm lvm2 [<1024.00 GiB / 0 free] PV /dev/sdb6 VG lfslvm lvm2 [2.41 TiB / 0 free] PV /dev/sda3 VG fedora_localhost-live00 lvm2 [929.92 GiB / 0 free] Total: 10 [<8.12 TiB] / in use: 10 [<8.12 TiB] / in no VG: 0 [0 ] [root@localhost ~]# vgscan Found volume group "lfslvm2" using metadata type lvm2 Found volume group "fedora_localhost-live" using metadata type lvm2 Found volume group "lfslvm" using metadata type lvm2 Found volume group "fedora_localhost-live00" using metadata type lvm2 [root@localhost ~]# lvscan ACTIVE '/dev/lfslvm2/boot' [1020.00 MiB] inherit ACTIVE '/dev/lfslvm2/root' [<200.00 GiB] inherit ACTIVE '/dev/lfslvm2/opt' [<500.00 GiB] inherit ACTIVE '/dev/lfslvm2/home' [1.10 TiB] inherit ACTIVE '/dev/fedora_localhost-live/swap' [<15.68 GiB] inherit ACTIVE '/dev/fedora_localhost-live/home' [1.73 TiB] inherit ACTIVE '/dev/fedora_localhost-live/root' [70.00 GiB] inherit ACTIVE '/dev/lfslvm/boot' [1020.00 MiB] inherit ACTIVE '/dev/lfslvm/root' [<200.00 GiB] inherit ACTIVE '/dev/lfslvm/opt' [<1024.00 GiB] inherit ACTIVE '/dev/lfslvm/home' [2.41 TiB] inherit ACTIVE '/dev/fedora_localhost-live00/swap' [<15.68 GiB] inherit ACTIVE '/dev/fedora_localhost-live00/home' [844.24 GiB] inherit ACTIVE '/dev/fedora_localhost-live00/root' [70.00 GiB] inherit #################### Again, thanks for your help! Alan -- http://lists.linuxfromscratch.org/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
