Le mercredi 04 avril 2018 à 18:04 +0200, Pierre Labastie a écrit :
> On 04/04/2018 17:30, Alain Toussaint wrote:
> > 
> > > > > But I'd like to help debug this problem. Could you please, in a shell 
> > > > > where
> > > > > building manually works, run:
> > > > > $ source <envars.conf directory>/envars.conf
> > > > > 
> > > > > then build manually again, and report if it still works or not?
> > > > > 
> > > > > Pierre
> > > 
> > > Yes, I'm on it.
> > 
> > I got the results almost immediately. included in this email.
> > 
> > Alain
> > 
> > 
> > 
> 
> OK... Could you post envars.conf itself?
> 
> Also, what is the ouptut of the "env" command (after sourcing envars.conf)?
> 
> Pierre

Here they are.

Alain
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
LANG=fr_CA.UTF-8
HISTIGNORE=&:[bf]g:exit
JH_BUILD_ROOT=/sources
OLDPWD=/home/alain/llvm-6.0.0.src/build
C_INCLUDE_PATH=/usr/include
INPUTRC=/etc/inputrc
PWD=/home/alain
HOME=/home/alain
XDG_DATA_DIRS=/usr/share/
JH_FTP_SERVER=http://ftp.osuosl.org/pub/blfs/
JH_PACK_INSTALL=/blfs_root/packInstall.sh
XORG_CONFIG=--prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--disable-static
LIBRARY_PATH=/usr/lib
TERM=xterm-256color
ACLOCAL=aclocal -I /usr/share/aclocal
JH_SRC_ARCHIVE=/sources
JH_BUILD_SUBDIRS=1
SHLVL=1
MANPATH=/usr/share/man
XDG_RUNTIME_DIR=/tmp/xdg-
CPLUS_INCLUDE_PATH=/usr/include
XDG_CONFIG_DIRS=/etc/xdg/
PATH=/usr/local/bin:/bin:/usr/bin
PS1=\[\e[1;32m\]\u [ \[\e[0m\]\w\[\e[1;32m\] ]$ \[\e[0m\]
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig
INFOPATH=/usr/share/info
MAKEFLAGS=-j5
HISTSIZE=1000
XORG_PREFIX=/usr
BASH_FUNC_pathprepend%%=() {  pathremove $1 $2;
 local PATHVARIABLE=${2:-PATH};
 export $PATHVARIABLE="$1${!PATHVARIABLE:+:${!PATHVARIABLE}}"
}
BASH_FUNC_pathremove%%=() {  local IFS=':';
 local NEWPATH;
 local DIR;
 local PATHVARIABLE=${2:-PATH};
 for DIR in ${!PATHVARIABLE};
 do
 if [ "$DIR" != "$1" ]; then
 NEWPATH=${NEWPATH:+$NEWPATH:}$DIR;
 fi;
 done;
 export $PATHVARIABLE="$NEWPATH"
}
BASH_FUNC_pathappend%%=() {  pathremove $1 $2;
 local PATHVARIABLE=${2:-PATH};
 export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
}
_=/usr/bin/env
#####
#
# Configuration file for the BLFS module
#
# $Id: envars.conf 4031 2018-01-30 13:53:34Z pierre $
#
# Set default envars used in the build scripts
#
#####

#======== Common envars ==========

#--- The build directory:
#    - If JH_BUILD_SUBDIRS is set, this directory contains sub directories
#      (one for each package), where packages are unpacked, and compiled.
#    - If JH_BUILD_SUBDIRS is unset, packages are unpacked, and compiled
#      directly in $JH_BUILD_ROOT.
export JH_BUILD_ROOT=/sources
export JH_BUILD_SUBDIRS=1

#--- The local repository for packages/file:
#    Any missing file will be downloaded and archived either:
#    - into a subdirectory (one for each page of the book) of this directory,
#      if JH_SRC_SUBDIRS is set.
#    - directly into this directory if JH_SRC_SUBDIRS is unset.
#    This directory can be the same as $JH_BUILD_ROOT, provided JH_BUILD_SUBDIRS
#    and JH_SRC_SUBDIRS are different.
export JH_SRC_ARCHIVE=/sources
unset  JH_SRC_SUBDIRS

#--- Set a well-known working locale when building software
# Note that an UTF-8 locale may be needed for some packages,
# but normally it is set in the package instructions.
# Furthermore, LANG may be set in /etc/profile, which is
# sourced at the end of this file. Note that LC_ALL takes
# precedence over LANG. As of {B,}LFS 8.1, this setting is
# not needed...
# export LC_ALL=C

#--- Server used if the file isn't found in SRC_DIR,
# and cannot be downloaded from upstream.
#
# The server path MUST be set as listed in
# http://www.linuxfromscratch.org/blfs/download.html.
# Note that despite the name of the variable, it can be an http url.
export JH_FTP_SERVER=http://ftp.osuosl.org/pub/blfs/

#--- Keep the buid directory to examine it:
#    If JH_KEEP_FILES is unset, the extracted tarball is removed after build.
#    Otherwise, the build tree is kept for later study.
#export JH_KEEP_FILES=1
unset JH_KEEP_FILES

### Currently not used in scripts ###
# Use a server close to you for Xorg (see http://wiki.x.org/wiki/Mirrors)
# export FTP_X_SERVER=ftp://mirror.cict.fr/x.org/

#======== Optimizations =============

# Global optimization settings can be placed here. This settings can be
# overriden by settings in the packages build scripts.

# WARNING: The use of build optimizations may be dangerous.
#   You should know what you are doing and be sure that the
#   optimization settings placed below are what you want.
#   It there are build issues or the system doesn't work as
#   expected, please rebuild without optimizations before
#   asking for support.

export MAKEFLAGS="-j5"

#export CFLAGS="-O3 -pipe"
#export CXXFLAGS=$CFLAGS
#export LDFLAGS="-s"

#export OTHER_CFLAGS=$CFLAGS
#export OTHER_CXXFLAGS=$CXXFLAGS
#export OTHER_LDFLAGS=$LDFLAGS

#======== Environment settings ========

# The prefered way to setup environment variables nowadays
# is to set them in /etc/profile{,.d/*.sh}.
# It is recommended to source /etc/profile in this file
# since a package may add some new variables in there,
# which may be needed later in dependant packages.

if [ -r /etc/profile ]; then source /etc/profile; fi

#======== Package management ========

# We need the functions in "packInstall.sh" when installing a package,
# if package management is requested. Note that we have no way to know
# whether package management is requested for a given build.
# Furthermore, "sudo -E" exports variables, but not functions from
# the environment, and sudo needs to be called before porg, due
# to porg limitations. So we just export the location of the file
# where the functions are defined, and we'll source it just before
# installing.

export JH_PACK_INSTALL=/blfs_root/packInstall.sh # change as needed
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to