On 2/20/20 8:16 PM, Alan Feuerbacher wrote:
I managed to get the configuration settings right enough that jhalfs
builds a lot of packages, but it stops with this:
#############################################
. . .
XZ <5.2.4> OK (Min version: 5.0.0)
PYTHON <3.7.6> OK (Min version: 3.4)
---------------------------------------------------------------------
---------
Building the system...
make[1]: Entering directory '/mnt/build_dir/jhalfs'
---------------------------------------------------------------------
-----------
mk_CHROOT
You are going to CHROOT into /mnt/build_dir lfs
a password is required
---------------------------------------------------------------------
-----------
Building target 064-util-linux
[|/tools/bin/bash: envars: Permission denied ] 0 min.
0 sec
make: *** [Makefile:596: 064-util-linux] Error 1
make[1]: *** [Makefile:103: mk_CHROOT] Error 2
make[1]: Leaving directory '/mnt/build_dir/jhalfs'
ERROR: Error 2 at common/common-functions line 39!
<jhalfs> exit
make: *** [Makefile:12: all] Error 2
#############################################
I don't know what to make of the error messages.
This is the configuration file:
#############################################
# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
#
# BOOK Settings
#
# BOOK_LFS is not set
BOOK_LFS_SYSD=y
# BOOK_CLFS is not set
# BOOK_CLFS2 is not set
# BOOK_CLFS3 is not set
# BOOK_BLFS is not set
INITSYS="systemd"
PROGNAME="lfs"
RUN_ME="./jhalfs run"
relSVN=y
# WORKING_COPY is not set
# BRANCH is not set
PLATFORM="GENERIC"
SPARC64_PROC="none"
BLFS_TOOL=y
#
# blfs-tool dependencies
#
DEP_LIBXML=y
DEP_LIBXSLT=y
DEP_DBXML=y
DEP_LYNX=y
DEP_SUDO=y
DEP_WGET=y
DEP_GPM=y
DEP_SVN=y
# end of blfs-tool dependencies
BLFS_SVN=y
# BLFS_WORKING_COPY is not set
# BLFS_BRANCH is not set
BLFS_ROOT="/blfs_root"
BLFS_XML="blfs-xml"
LFS_XML="lfs-xml"
# CUSTOM_TOOLS is not set
TRACKING_DIR="/var/lib/jhalfs/BLFS"
# end of BOOK Settings
#
# General Settings
#
LUSER="lfs"
LGROUP="lfs"
LHOME="/home"
BUILDDIR="/mnt/build_dir"
GETPKG=y
SRC_ARCHIVE="/srcsjhalfs"
RETRYSRCDOWNLOAD=y
RETRYDOWNLOADCNT=20
DOWNLOADTIMEOUT=30
SERVER="http://ftp.osuosl.org"
RUNMAKE=y
# CLEAN is not set
# end of General Settings
#
# Build Settings
#
CONFIG_TESTS=y
#
# Test settings
#
TST_1=y
# TST_2 is not set
# TST_3 is not set
NO_BOMB=y
# BOMB is not set
# end of Test settings
TEST=1
# PKGMNGT is not set
INSTALL_LOG=y
# STRIP is not set
DEL_LA_FILES=y
# NO_PROGRESS_BAR is not set
# end of Build Settings
#
# System configuration
#
HAVE_FSTAB=y
FSTAB="$SRC_ARCHIVE/fstablfs"
CONFIG_BUILD_KERNEL=y
CONFIG="$SRC_ARCHIVE/config-5.5.3"
# NCURSES5 is not set
TIMEZONE="GMT"
LANG="en_US.UTF-8"
# FULL_LOCALE is not set
PAGE_LETTER=y
# PAGE_A4 is not set
PAGE="letter"
HOSTNAME="komodo"
#
# Network configuration
#
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"
# end of Network configuration
#
# Console configuration
#
FONT="lat0-16"
KEYMAP="us"
# LOCAL is not set
# end of Console configuration
# end of System configuration
#
# Advanced Features
#
REPORT=y
# COMPARE is not set
CONFIG_OPTIMIZE=y
#
# Optimization settings
#
N_PARALLEL=1
OPT_1=y
# OPT_2 is not set
# end of Optimization settings
OPTIMIZE=1
#
# Internal Settings (WARNING: for jhalfs developers only)
#
SCRIPT_ROOT="jhalfs"
JHALFSDIR="$BUILDDIR/$SCRIPT_ROOT"
LOGDIRBASE="logs"
LOGDIR="$JHALFSDIR/$LOGDIRBASE"
TESTLOGDIRBASE="test-logs"
TESTLOGDIR="$JHALFSDIR/$TESTLOGDIRBASE"
FILELOGDIRBASE="installed-files"
FILELOGDIR="$JHALFSDIR/$FILELOGDIRBASE"
ICALOGDIR="$LOGDIR/ICA"
MKFILE="$JHALFSDIR/Makefile"
XSL="$PROGNAME.xsl"
PKG_LST="unpacked"
# end of Internal Settings (WARNING: for jhalfs developers only)
# end of Advanced Features
# REBUILD_MAKEFILE is not set
#############################################
I'm probably missing something. Helpful hints?
Alan
I've been consistently getting this problem as well, and I've never
figured out what caused it. Are you using the latest bash from LFS?
Normally what I do to fix this is:
sudo chown -v root:root /mnt/lfs/jhalfs/envars
And then restart jhalfs. It'll pick up from there and continue as normal.
--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page