Pol Vangheluwe wrote:

Op 13 dec. 2017, om 21:42 heeft Pol Vangheluwe
<[email protected] <mailto:[email protected]>> het
volgende geschreven:
That’s not what happens here.  Below some extracts from the script file;
there are 5 lines with wget:

pol@PowerMac-G5:/mnt/build_dir/blfs_root/scripts$ cat 012-z-cacerts
#!/bin/bash
set -e

(…)

PACKAGE=make-ca.sh-20170514
if [[ ! -f $PACKAGE ]] ; then
  if [[ -f $SRC_ARCHIVE/$PACKAGE ]] ; then
    cp $SRC_ARCHIVE/$PACKAGE $PACKAGE
  else
    wget -T 30 -t 5
http://anduin.linuxfromscratch.org/BLFS/other/make-ca.sh-20170514 ||
    wget -T 30 -t 5 ${FTP_SERVER}svn/m/$PACKAGE
  fi
fi

PACKAGE1=certdata.txt
if [[ ! -f $PACKAGE1 ]] ; then
  if [[ -f $SRC_ARCHIVE/$PACKAGE1 ]] ; then
    cp $SRC_ARCHIVE/$PACKAGE1 $PACKAGE1
  else
    wget -T 30 -t 5
http://anduin.linuxfromscratch.org/BLFS/other/certdata.txt ||
    wget -T 30 -t 5 ${FTP_SERVER}svn/c/$PACKAGE1
  fi
fi
[[ "$SRC_DIR" != "$BUILD_DIR" ]] && ln -sf $SRC_DIR/$PACKAGE1 $BUILD_DIR


(…)

install -vdm755 /etc/ssl/local &&
wget http://www.cacert.org/certs/root.crt &&
openssl x509 -in root.crt -text -fingerprint -setalias "CAcert Class 1
root" \
        -addtrust serverAuth -addtrust emailProtection -addtrust
codeSigning \
        > /etc/ssl/local/CAcert_Class_1_root.pem
install -vm755 make-ca.sh- /usr/sbin/make-ca.sh
/usr/sbin/make-ca.sh
ldconfig

cd $BUILD_DIR
[[ -n "$KEEP_FILES" ]] || rm -rf $UNPACKDIR unpacked

I ran into a couple more problems:

1. the path to download the systemd-units was wrong.  Should be:
http://www.linuxfromscratch.org/blfs/downloads/8.1-systemd/
instead of
http://www.linuxfromscratch.org/blfs/downloads/8.1/

Fixed with a symlink on the website.

  2. Two scripts were corrupt in a similar way:
012-z-cacerts: the digits '20170514' were missing in the line:
install -vm755 make-ca.sh-20170514 /usr/sbin/make-ca.sh

  016-z-sqlite: the digits ‘3200000' were missing in the lines
  unzip -q ../sqlite-doc-3200000.zip
  cp -v -R sqlite-doc-3200000/* /usr/share/doc/sqlite-3.20.0

That does appear to be an alfs issue.

I could solve above problems, but I am still stuck with this next problem:
The build of python-2 is only partially successful.  I find this in the
log file:

pol@PowerMac-G5:/mnt/build_dir/blfs_root/work/logs$ cat  004-z-python2 |
grep Errno

*** WARNING: importing extension "_multiprocessing" failed with <type
'exceptions.OSError'>: [Errno 38] Function not implemented

*** WARNING: importing extension "_multiprocessing" failed with <type
'exceptions.OSError'>: [Errno 38] Function not implemented

*** WARNING: importing extension "_multiprocessing" failed with <type
'exceptions.OSError'>: [Errno 38] Function not implemented

OSError: [Errno 38] Function not implemented

Usually warnings are not a problem. However on my manually built version, I do not see them.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to