I have been following the instructions of the LFS manual so far but have come to an error when making bash, I ran
make in the bash-5.1 folder but it displayed an error at the end of the command output:
/mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname': /mnt/lfs/sources/bash-5.1/lib/sh/tmpfile.c:160: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' collect2: error: ld returned 1 exit status make: *** [Makefile:583: bash] Error 1
All the commands I ran before this one have worked, I also ran
echo $? and it outputted 2. I am on the latest version of manjaro.