All
It has been a while since I have done a run of jhalfs. I typically use my
own scripts, but since I am going to start helping Jeremy with the package
management stuff, I figured I would need to get a sense of jhalfs. I did a
run of a recent svn version of the lfs book and ran into a few snags that I
had to manually fix. Here are my notes:
SVN Notes SVN-20120617
JHALFS 2.3.2
Build started 6/20/12 19:41
Configuration
#
# Automatically generated configuration: don't edit
# use make menuconfig or make config to make changes
#
#
# --- BOOK Settings
#
BOOK_LFS=y
# BOOK_CLFS is not set
# BOOK_CLFS2 is not set
# BOOK_CLFS3 is not set
# BOOK_BLFS is not set
PROGNAME="lfs"
RUN_ME="./jhalfs run"
relSVN=y
# WORKING_COPY is not set
# BRANCH is not set
BRANCH_ID=""
BOOK=""
# ARCH_X86 is not set
# ARCH_MIPS is not set
# ARCH_PPC is not set
# ARCH_SPARC is not set
# ARCH_ALPHA is not set
# ARCH_ARM is not set
# ARCH_HPPA is not set
# PLATFORM_GENERIC is not set
# PLATFORM_WRT is not set
# DATA_32 is not set
# DATA_64 is not set
# DATA_MULTI is not set
# PROC_i486 is not set
# PROC_i586 is not set
# PROC_i686 is not set
# PROC_mipsel is not set
# PROC_mips is not set
# PROC_unknown is not set
# PROC_hppa1 is not set
# PROC_hppa2 is not set
# PROC_EV5 is not set
# PROC_EV56 is not set
# PROC_PCA56 is not set
# PROC_PCA57 is not set
# PROC_EV6 is not set
# PROC_EV67 is not set
# PROC_EV68 is not set
# PROC_ARM is not set
# PROC_ARM5L is not set
# PROC_ARM5B is not set
# PROC_ULTRA1 is not set
# PROC_ULTRA2 is not set
# PROC_ULTRA3 is not set
# ABI_32 is not set
# ABI_N32 is not set
# ABI_64 is not set
TARGET=""
TARGET32=""
PLATFORM="GENERIC"
SPARC64_PROC="none"
ARCH=""
MIPS_LEVEL=""
ABI=""
ENDIAN=""
# BUILD_CHROOT is not set
# BUILD_BOOT is not set
METHOD=""
BOOT_CONFIG=""
# GRSECURITY_HOST is not set
# LIB_GLIBC is not set
# LIB_UCLIBC is not set
MODEL=""
# KERNEL_26 is not set
# KERNEL_24 is not set
KERNEL=""
SSP=",ssp,"
ASLR=",aslr,"
PAX=",pax,"
HARDENED_TMP=",hardened_tmp,"
WARNINGS=",warnings,"
MISC=",misc,"
BLOWFISH=",blowfish,"
# CUSTOM_TOOLS is not set
# BLFS_TOOL is not set
# BLFS_SVN is not set
# BLFS_BRANCH is not set
BLFS_BRANCH_ID=""
# DEP_LIBXML is not set
# DEP_LIBXSLT is not set
# DEP_TIDY is not set
# DEP_DBXML is not set
# DEP_UNZIP is not set
# DEP_LYNX is not set
# DEP_SUDO is not set
# DEP_WGET is not set
# DEP_GPM is not set
# DEP_SVN is not set
BLFS_ROOT=""
BLFS_XML=""
TRACKING_DIR=""
#
# --- General Settings
#
# CONFIG_USER is not set
DEF_USER="lfs"
SET_USER=""
# CONFIG_GROUP is not set
SET_GROUP=""
# CONFIG_HOME is not set
SET_HOME=""
LUSER="lfs"
LGROUP="lfs"
LHOME="/home"
BUILDDIR="/media/LFS"
GETPKG=y
SRC_ARCHIVE="/media/Storage/sources"
SERVER="ftp://ftp.lfs-matrix.net"
GETKERNEL=y
# RUNMAKE is not set
# CLEAN is not set
#
# --- Build Settings
#
CONFIG_TESTS=y
# TST_1 is not set
TST_2=y
# TST_3 is not set
TEST=2
# NO_BOMB is not set
BOMB=y
BOMB_TEST=y
INSTALL_LOG=y
# HAVE_FSTAB is not set
FSTAB=""
# CONFIG_BUILD_KERNEL is not set
CONFIG=""
STRIP=y
# VIMLANG is not set
NO_PROGRESS_BAR=y
TIMEZONE="GMT"
LANG="en"
PAGE_LETTER=y
# PAGE_A4 is not set
PAGE="letter"
#
# --- Advanced Features
#
REPORT=y
# COMPARE is not set
ITERATIONS=0
# RUN_ICA is not set
# RUN_FARCE is not set
# CONFIG_OPTIMIZE is not set
# OPT_1 is not set
# OPT_2 is not set
OPTIMIZE=0
#
# --- 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"
FARCELOGDIR="$LOGDIR/farce"
MKFILE="$JHALFSDIR/Makefile"
XSL="$PROGNAME.xsl"
PKG_LST="unpacked"
# REBUILD_MAKEFILE is not set
make all
//--------------------------
++ get a "tar: write error" with every command set. Can't tell where the
error is coming from.
++ the tar:write error is not for all tar commands, but many in ch5 do get
the error message. It does not seem to totally impact the build.
//--------------------------
Building target 033-gcc-pass1
mpfr-3.1.0' -> `mpfr'
tar (child): ../gmp-5.0.5.tar.xz: Cannot open: No such file or directory
++ had to manually copy gmp-5.0.5.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 034-linux-headers
ls: cannot access /media/LFS/sources/linux-3.4.1.tar.xz: No such file or
directory
++ had to manually copy linux-3.4.1.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 035-glibc
ls: cannot access /media/LFS/sources/glibc-2.15.tar.xz: No such file or
directory
++ had to manually copy glibc-2.15.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 039-expect
make: *** [039-expect] Error 1
make: *** [mk_LUSER] Error 2
/media/LFS/jhalfs/lfs-commands/chapter05/039-expect: line 5: cd:
/media/LFS/sources/tcl8.5.11: No such file or directory
++ edit Makefile (diff)
jhalfs]$ diff Makefile Makefile.039
315a316,318
> @$(call remove_existing_dirs,expect5.45.tar.gz)
> @$(call unpack,expect5.45.tar.gz)
> @$(call get_pkg_root_LUSER)
318a322
> @$(call remove_build_dirs,expect)
//--------------------------
Building target 045-coreutils
ls: cannot access /media/LFS/sources/coreutils-8.17.tar.xz: No such file or
directory
++ had to manually copy coreutils-8.17.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 049-gawk
ls: cannot access /media/LFS/sources/gawk-4.0.1.tar.xz: No such file or
directory
++ had to manually copy gawk-4.0.1.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 051-grep
ls: cannot access /media/LFS/sources/grep-2.12.tar.xz: No such file or
directory
++ had to manually copy grep-2.12.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 060-xz-utils
make: *** [060-xz-utils] Error 1
make: *** [mk_LUSER] Error 2
/media/LFS/jhalfs/lfs-commands/chapter05/060-xz-utils: line 5: cd:
/media/LFS/sources/texinfo-4.13: No such file or directory
++ edit Makefile (diff)
jhalfs]$ diff Makefile Makefile.060
609a610,612
> @$(call remove_existing_dirs,xz-5.0.3.tar.bz2)
> @$(call unpack,xz-5.0.3.tar.bz2)
> @$(call get_pkg_root_LUSER)
612a616
> @$(call remove_build_dirs,xz)
//--------------------------
Building target 061-stripping
Target 061-stripping OK
--------------------------------------------------------------------------------
-bash: line 1: 7771 Segmentation fault (core dumped) make BREAKPOINT=
LUSER
make: *** [mk_LUSER] Error 139
++ issue a make again and it keeps going
//--------------------------
Building target 070-man-pages
ls: cannot access /sources/man-pages-3.41.tar.xz: No such file or directory
++ had to manually copy man-pages-3.41.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 083-util-linux
ls: cannot access /sources/util-linux-2.21.2.tar.xz: No such file or
directory
++ had to manually copy util-linux-2.21.2.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 089-bison
ls: cannot access /sources/bison-2.5.1.tar.xz: No such file or directory
++ had to manually copy bison-2.5.1.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 100-autoconf
ls: cannot access /sources/autoconf-2.69.tar.xz: No such file or directory
++ had to manually copy autoconf-2.69.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 101-automake
ls: cannot access /sources/automake-1.12.1.tar.xz: No such file or directory
++ had to manually copy automake-1.12.1.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 108-xz-utils
make: *** [108-xz-utils] Error 1
make: *** [mk_CHROOT] Error 2
/jhalfs/lfs-commands/chapter06/108-xz-utils: line 5: cd:
/sources/groff-1.21: No such file or directory
++ edit Makefile (diff)
$ diff Makefile Makefile.108
1367a1368,1373
> @$(call touch_timestamp)
> @$(call remove_existing_dirs2,xz-5.0.3.tar.bz2)
> @$(call unpack2,xz-5.0.3.tar.bz2)
> @$(call get_pkg_root2)
> @echo "export TEST_LOG=$(crTESTLOGDIR)/108-xz-utils" >> envars && \
> echo "$(nl_)`date`$(nl_)" >test-logs/$@
1370a1377,1378
> @$(call remove_build_dirs2,xz)
> @$(call log_new_files,xz)
//--------------------------
Building target 111-iproute2
ls: cannot access /sources/iproute2-3.4.0.tar.xz: No such file or directory
++ had to manually copy iproute2-3.4.0.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
//--------------------------
Building target 113-kmod
ls: cannot access /sources/kmod-8.tar.xz: No such file or directory
++ had to manually copy kmod-8.tar.xz from $SRC_ARCHIVE to $BUILDDIR/sources
//--------------------------
Building target 124-udev
ls: cannot access /sources/udev-182.tar.xz: No such file or directory
++ had to manually copy udev-182.tar.xz from $SRC_ARCHIVE to
$BUILDDIR/sources
Build Ended 6/21/12 19:55
So not sure what is up with the two areas where I had to manually edit the
Makefile and for some reason a collection of archive files did not get
copied over to my chroot environment. Hopefully someone wiser than me
knows what we can do about it. I have some other thoughts about
automation, but I'll put those in another email.
James
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page