[alfs-discuss] Problem downloading sources for LFS 8.0 book
cosinekitty at gmail.com
Tue Jun 12 11:02:45 PDT 2018
On Tue, Jun 12, 2018 at 12:59 PM, Don Cross <cosinekitty at gmail.com> wrote:
> On Sun, Jun 10, 2018 at 10:20 PM, DJ Lucas <dj at linuxfromscratch.org>
>> On June 10, 2018 9:10:00 PM CDT, Don Cross <cosinekitty at gmail.com> wrote:
>> >Hello. I have manually completed two LFS builds before now (on amd64
>> >and on
>> >Raspberry Pi, based on http://intestinate.com/pilfs/), just so you know
>> >not a total noob! :)
>> >I'm trying ALFS for the first time. I'm trying to build LFS (System V)
>> >because that is the highest version that is described as being
>> >with jhalfs-2.4, according to
>> >The main problem is jhalfs can't download this file because it doesn't
>> >I think this URL is coming from
>> >which I'm guessing ends up being used to generate my local file
>> >/mnt/build_dir/sources/urls.lst (?)
>> >When I use my browser to look at the directory
>> >... I see lfs-bootscripts-20170626.tar.bz2 instead. But when I look in
>> >wget-list in that same directory, it specifies downloading
>> >So I'm thinking that is a bug, but I'm not sure how to correct this
>> >in the jhalfs-2.4 build process.
>> >What should I do? Is there some way to hack the build process to use
>> >20170626 version of the file, or do I need to find the 20150222 version
>> >from somewhere else?
>> >Incidentally, the following URL is giving me a 500 Internal Server
>> >(Maybe a temporary outage?)
>> >I found the following instead, and it hashes to the same md5 checksum:
>> >I just threw that in my $SRC_ARCHIVE, so I'm not worried about this one
>> >much. Just thought the maintainers would want to know.
>> >Thanks in advance for any help. LFS is an awesome educational
>> >- Don
>> Best to use SVN version of jhalfs and build 8.2 (or SVN book if you do
>> long term maintenance anyway rather than rebuild).
>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> Thanks DJ. I tried your first suggestion: SVN current trunk version of
> jhalfs and 8.2 version of the book. The build got a lot further this time,
> though I am hitting another problem in the step 117-Python-3.6.4. The last
> few lines of /mnt/build_dir/jhalfs/logs/117-Python-3.6.4 are:
> if test "xupgrade" != "xno" ; then \
> case upgrade in \
> upgrade) ensurepip="--upgrade" ;; \
> install|*) ensurepip="" ;; \
> esac; \
> LD_LIBRARY_PATH=/sources/Python-3.6.4 ./python -E -m ensurepip \
> $ensurepip --root=/ ; \
> /bin/sh: line 7: 30618 Illegal instruction
> LD_LIBRARY_PATH=/sources/Python-3.6.4 ./python -E -m ensurepip
> $ensurepip --root=/
> make: *** [Makefile:1099: install] Error 132
> make: Leaving directory '/sources/Python-3.6.4'
> My interpretation of the error is that there is something wrong with the
> built python executable, causing a crash due to an "Illegal instruction"
> exception. I put the complete log file and my build configuration file
> My host system is Debian Stretch 9.4.0 running on amd64:
> don at monolith:/mnt/build_dir$ uname -a
> Linux monolith 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)
> x86_64 GNU/Linux
> When I look at the above log, it really looks like there was no problem
> building the python executable, and I'm not attempting to cross-compile, so
> I don't understand why there is an illegal instruction being executed. Any
> help would be most appreciated. Also please let me know if there is more
> diagnostic info I can provide.
> Thanks in advance...
> - Don
Sorry for the double-post; I should have included this the first time.
Additional information: the python executable looks suspiciously small. It
is only 39K:
don at monolith:/mnt/build_dir/sources/Python-3.6.4$ ls -l python
-rwxr-xr-x 1 root root 39328 Jun 11 18:40 python
don at monolith:/mnt/build_dir/sources/Python-3.6.4$ file python
python: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not
For comparison, the Python 3.5 executable on another computer I have here
(installed from Debian Stretch stable package) is 4.6 MB:
don at spearmint:~$ ls -l /usr/bin/python3.5
-rwxr-xr-x 2 root root 4747120 Jan 19 2017 /usr/bin/python3.5
don at spearmint:~$ file /usr/bin/python3.5
/usr/bin/python3.5: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux
2.6.32, BuildID[sha1]=dbfc2e1a3c58b6d241b3f9af7b2fb3a24b81b90e, stripped
Maybe this will help someone point me in the right direction to getting my
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the alfs-discuss